mirror of
https://github.com/Michatec/xhud.git
synced 2026-03-31 23:46:29 +02:00
136 lines
1.8 KiB
CSS
136 lines
1.8 KiB
CSS
body {
|
|
margin: 0;
|
|
}
|
|
|
|
img {
|
|
width: 100%;
|
|
}
|
|
|
|
#Container {
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
margin: 0;
|
|
display: none;
|
|
flex-direction: column;
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
}
|
|
|
|
#IconsContainer {
|
|
margin-bottom: 20px;
|
|
position: absolute;
|
|
bottom: 20px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
#Icons {
|
|
display: flex;
|
|
gap: 20px;
|
|
margin: 20px 50px;
|
|
}
|
|
|
|
.Icon {
|
|
position: relative;
|
|
width: 50px;
|
|
height: 50px;
|
|
border-radius: 50%;
|
|
background: rgb(50, 50, 50);
|
|
display: none;
|
|
}
|
|
|
|
.Icon i {
|
|
color: white;
|
|
position: absolute;
|
|
font-size: 16px;
|
|
left: 50%;
|
|
top: 50%;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
|
|
#TopRight {
|
|
position: absolute;
|
|
top: 20px;
|
|
right: 40px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
gap: 10px;
|
|
}
|
|
|
|
.IconTop {
|
|
position: relative;
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
background: rgb(50, 50, 50);
|
|
display: none;
|
|
}
|
|
|
|
.IconTop i {
|
|
color: white;
|
|
position: absolute;
|
|
font-size: 14px;
|
|
left: 50%;
|
|
top: 50%;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
|
|
.outerIcon {
|
|
color: #fff;
|
|
font-size: 1.2rem;
|
|
height: 50px;
|
|
text-shadow: 1px 1px 10px #000;
|
|
text-align: center;
|
|
line-height: 50px;
|
|
display: none;
|
|
}
|
|
|
|
.outerIconTop {
|
|
color: #fff;
|
|
font-family: sans-serif;
|
|
font-weight: 700;
|
|
font-size: 16px;
|
|
text-shadow: 1px 1px 10px #000;
|
|
text-align: right;
|
|
display: none;
|
|
}
|
|
|
|
#Logo {
|
|
max-width: 128px;
|
|
opacity: 0.8;
|
|
display: none;
|
|
}
|
|
|
|
#Logo img {
|
|
width: 100%;
|
|
}
|
|
|
|
/* Customisations */
|
|
|
|
#SpeedIcon:not(.fa-tachometer-alt) {
|
|
font-family: sans-serif;
|
|
font-size: 18px;
|
|
}
|
|
|
|
/* Animations */
|
|
|
|
.flash {
|
|
-webkit-animation: flash 1s;
|
|
animation: flash 1s;
|
|
}
|
|
|
|
@keyframes flash {
|
|
0% {
|
|
opacity: 1;
|
|
}
|
|
50% {
|
|
opacity: 0.5;
|
|
}
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
}
|