125 lines
2.1 KiB
CSS
125 lines
2.1 KiB
CSS
/* styles.css */
|
|
|
|
/* Add styles here to customize the appearance of your app */
|
|
|
|
html {
|
|
overflow: hidden;
|
|
}
|
|
|
|
body {
|
|
user-select: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
position: fixed;
|
|
}
|
|
|
|
#navbar {
|
|
position: fixed;
|
|
top: 0;
|
|
height: 10%;
|
|
width: 100%;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
#nwBtn {
|
|
background-color: #4CAF50; /* Green */
|
|
border: none;
|
|
color: white;
|
|
padding: 1% 1%;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
#goBtn {
|
|
background-color: #4CAF50; /* Green */
|
|
border: none;
|
|
color: white;
|
|
padding: 1% 1%;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
#backBtn {
|
|
background-color: #7a551d;
|
|
border: none;
|
|
color: white;
|
|
padding: 1% 1%;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
#stopBtn {
|
|
background-color: #4f1007; /* Red */
|
|
border: none;
|
|
color: white;
|
|
padding: 1% 1%;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
|
|
#forwardBtn {
|
|
background-color: #01315e; /* Blue */
|
|
border: none;
|
|
color: white;
|
|
padding: 1% 1%;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
#refreshBtn {
|
|
background-color: #507fac; /* Aqua */
|
|
border: none;
|
|
color: white;
|
|
padding: 1% 1%;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
#txtUrl {
|
|
border: none;
|
|
padding: 1% 1%;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
font-size: 1.25rem;
|
|
width:69%;
|
|
}
|
|
|
|
html, body {
|
|
height: 98%;
|
|
width: 100%;
|
|
justify-content: center; /* Center horizontally */
|
|
align-items: center; /* Center vertically */
|
|
}
|
|
|
|
#whProtection {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
bottom: 5%;
|
|
transform: translate(-50%, -46%); /* Offset by half the width and 46% height */
|
|
width: 90%; /* % of viewport width */
|
|
height: 86%; /* % of viewport height */
|
|
border: 1vw solid green; /* Border color and thickness */
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
webview {
|
|
width: 100%;
|
|
height: 100%;
|
|
border: none;
|
|
}
|