pmicares/html/style.css
2025-04-29 04:36:16 -04:00

235 lines
No EOL
4.1 KiB
CSS

body {
background-color: gray;
overflow: hidden;
height: 100vh;
box-sizing: border-box;
margin: 0;
background-image: radial-gradient(rgba(10,10,10,.15) 10%, transparent 10%),
radial-gradient(rgba(10,10,10,.15) 10%, transparent 10%);
background-size: 20px 20px; /* Adjust the size of the dots */
background-position: 0 0, 10px 10px; /* Offset the second layer for perpendicular dots */
}
div.app {
z-index: 50;
display: none;
top: 45%;
left: 50%;
transform: translateX(-50%);
margin: auto;
width: fit-content;
height: fit-content;
min-width: 300px;
position: absolute;
background: #F0EAD6;
text-align: center;
}
div.app .titlebar {
background: blue;
align-items: center;
color: white;
justify-content: space-between;
display: flex;
padding-left: 5px;
user-select: none;
}
div.app .titlebar .close-button {
background: red;
color: white;
border: none;
padding: 5px 10px;
cursor: pointer;
border: none;
}
div.app .content {
padding: 10px;
border: 2px solid blue;
border-top: none;
}
div.app .content button {
margin-top: 10px;
}
#boot {
background: black;
color: white;
position: absolute;
height: 100vh;
width: 100vw;
z-index: 100000;
cursor: none;
}
#boot #bootHelpText {
position: absolute;
bottom: 15px;
right: 15px;
text-align: right;
}
#boot #bootLogo {
position: absolute;
top: 15px;
right: 30px;
font-size: 30px;
}
#mnetext {
height: 200px;
border: 1px solid black;
margin-bottom: 15px;
word-wrap: normal;
text-wrap: normal;
overflow-y: scroll;
}
#BIOS {
cursor: none;
display: none;
/* display: flex; */
z-index: 1000000;
position: absolute;
width: 100vw;
height: 100vh;
justify-content: center;
align-items: center;
background: blue;
}
#innerBIOS {
background: lightgray;
width: 500px;
filter: drop-shadow(-15px 15px 0 black);
padding: 15px;
}
#innerBIOS #top {
text-align: center;
}
#BiosSelectables .selection {
display: flex;
justify-content: space-between;
padding: 5px 15px;
}
#BiosSelectables .selection.active {
background: red;
}
.fadeout {
animation: fadeout 1s forwards;
animation-iteration-count: 1;
}
@keyframes fadeout {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}
#backscreen {
height: 100vh;
display: flex;
align-items: center;
flex-direction: column;
justify-content: space-between;
}
#backscreen #clock {
padding-top: 10px;
user-select: none;
pointer-events: none;
}
#backscreen #backlogo {
pointer-events: none;
user-select: none;
text-align: center;
}
#backscreen #startbar {
margin-bottom: 10px;
padding: 2px 5px;
background: black;
color: white;
border: 3px solid black;
user-select: none;
}
#userinfo {
background: black;
color: white;
opacity: .25;
position: absolute;
bottom: 15px;
right: 15px;
text-align: right;
border: 2px solid black;
padding: 5px;
pointer-events: none;
user-select: none;
}
#exitCommands {
z-index: 40;
position: absolute;
top: 20px;
right: 30px;
text-align: center;
gap: 30px;
display: flex;
flex-direction: column;
width: 10%;
}
table {
border-collapse: collapse;
}
table td, table th {
border: 1px solid black;
}
table tr:first-child th {
border-top: 0;
}
table tr:last-child td {
border-bottom: 0;
}
table tr td:first-child,
table tr th:first-child {
border-left: 0;
}
table tr td:last-child,
table tr th:last-child {
border-right: 0;
}
span.icon {
cursor: pointer;
z-index: 101; /* Ensure it appears above other elements */
}
#apps {
width: 100vw;
}
#icons {
z-index: 40; /* Lower than the z-index of div.app */
position: absolute;
top: 20px;
left: 30px;
text-align: center;
gap: 30px;
display: flex;
flex-direction: column;
width: 10%;
}
span.icon p {
padding: 0;
text-align: center;
margin: 0;
}