Upload files to "css/widgets"
This commit is contained in:
71
css/widgets/topbar.css
Normal file
71
css/widgets/topbar.css
Normal file
@@ -0,0 +1,71 @@
|
|||||||
|
.frosty-header {
|
||||||
|
position: fixed;
|
||||||
|
top: 1vh;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
z-index: 1000;
|
||||||
|
|
||||||
|
width: 95%;
|
||||||
|
max-width: 100%;
|
||||||
|
padding: 10px 20px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
|
||||||
|
background: rgba(209, 209, 209, 0.075);
|
||||||
|
backdrop-filter: blur(5px);
|
||||||
|
-webkit-backdrop-filter: blur(5px);
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.15);
|
||||||
|
border-radius: 25px;
|
||||||
|
|
||||||
|
color: white;
|
||||||
|
font-family: "Inter" sans-serif;
|
||||||
|
letter-spacing: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.center {
|
||||||
|
font-size: clamp(1.2rem, 3vw, 2rem);
|
||||||
|
}
|
||||||
|
|
||||||
|
.frosty-header .left,
|
||||||
|
.frosty-header .center,
|
||||||
|
.frosty-header .right {
|
||||||
|
flex: 1;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: opacity 0.2s ease;
|
||||||
|
user-select: none;
|
||||||
|
will-change: opacity;
|
||||||
|
}
|
||||||
|
|
||||||
|
.frosty-header .left { justify-content: flex-start; }
|
||||||
|
.frosty-header .center { justify-content: center; text-align: center; }
|
||||||
|
.frosty-header .right { justify-content: flex-end; font-family: "Inter" sans-serif; }
|
||||||
|
button {
|
||||||
|
font-family: "Inter" sans-serif;
|
||||||
|
font-size: 14px;
|
||||||
|
color: #ffffff;
|
||||||
|
|
||||||
|
background: rgba(134, 134, 134, 0.4);
|
||||||
|
backdrop-filter: blur(8px);
|
||||||
|
-webkit-backdrop-filter: blur(8px);
|
||||||
|
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.15);
|
||||||
|
border-radius: 100px;
|
||||||
|
padding: 8px 16px;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: background 0.3s ease, transform 0.2s ease, border-color 0.3s ease;
|
||||||
|
|
||||||
|
backface-visibility: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
button:hover {
|
||||||
|
background: rgba(134, 134, 134, 0.6);
|
||||||
|
transform: translateY(-1px);
|
||||||
|
border-color: rgba(255, 255, 255, 0.4);
|
||||||
|
}
|
||||||
|
|
||||||
|
button:active {
|
||||||
|
transform: translateY(0px);
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user