mirror of
https://github.com/pound-emu/www.git
synced 2026-01-31 01:15:20 +01:00
218 lines
4.5 KiB
CSS
218 lines
4.5 KiB
CSS
body, html {
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: 'Segoe UI', sans-serif;
|
|
height: 100%;
|
|
background: linear-gradient(135deg, #c0c0c0, #e0e0e0);
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
background-attachment: fixed;
|
|
background-position: center;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.bg {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 0 16px; /* mobile breathing room */
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.glass-card {
|
|
background: rgba(240, 240, 240, 0.15);
|
|
border-radius: 20px;
|
|
padding: 40px;
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
border: 1px solid rgba(180, 180, 180, 0.3);
|
|
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
|
|
text-align: center;
|
|
color: #333;
|
|
max-width: 400px;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
h1 {
|
|
margin: 0;
|
|
font-size: 2em;
|
|
color: #222;
|
|
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
|
|
}
|
|
|
|
p {
|
|
margin: 20px 0;
|
|
font-size: 1em;
|
|
color: #444;
|
|
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.03);
|
|
}
|
|
|
|
.btn {
|
|
display: inline-block;
|
|
background: rgba(200, 200, 200, 0.3);
|
|
padding: 10px 20px;
|
|
border-radius: 12px;
|
|
color: #222;
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
transition: background 0.2s ease, box-shadow 0.2s ease;
|
|
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.06);
|
|
}
|
|
|
|
.btn:hover {
|
|
background: rgba(200, 200, 200, 0.5);
|
|
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.08);
|
|
}
|
|
|
|
.glass-header {
|
|
position: fixed;
|
|
top: 20px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 33%;
|
|
min-width: 250px;
|
|
background: rgba(240, 240, 240, 0.15);
|
|
backdrop-filter: blur(8px);
|
|
-webkit-backdrop-filter: blur(8px);
|
|
border-radius: 20px;
|
|
padding: 10px 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
z-index: 1000;
|
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
|
|
border: 1px solid rgba(180, 180, 180, 0.3);
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.glass-header {
|
|
left: 16px;
|
|
right: 16px;
|
|
width: auto;
|
|
transform: none;
|
|
}
|
|
}
|
|
|
|
.logo-link {
|
|
display: flex;
|
|
align-items: center;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.header-logo {
|
|
height: 32px;
|
|
width: 32px;
|
|
aspect-ratio: 1 / 1;
|
|
object-fit: contain;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
|
|
padding: 4px;
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.header-icons {
|
|
display: flex;
|
|
gap: 15px;
|
|
align-items: center;
|
|
}
|
|
|
|
.icon-link {
|
|
color: #222;
|
|
font-size: 1.1rem;
|
|
text-decoration: none;
|
|
transition: color 0.2s ease, text-shadow 0.2s ease;
|
|
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.icon-link:hover {
|
|
color: #555;
|
|
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
|
|
}
|
|
|
|
/* Dropdown container */
|
|
.dropdown {
|
|
position: relative;
|
|
display: inline-block;
|
|
}
|
|
|
|
/* Drop-down button */
|
|
.dropbtn {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
backdrop-filter: blur(10px);
|
|
border: 1px solid rgba(255, 255, 255, 0.25);
|
|
color: black;
|
|
padding: 10px 16px;
|
|
font-size: 14px;
|
|
border-radius: 12px;
|
|
cursor: pointer;
|
|
transition: background 0.3s ease;
|
|
font-family: 'Segoe UI', sans-serif;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
/* Arrow rotation */
|
|
.dropbtn i {
|
|
transition: transform 0.3s ease;
|
|
display: inline-block;
|
|
transform-origin: center;
|
|
transform: rotate(0deg);
|
|
}
|
|
|
|
.dropbtn:hover {
|
|
background: rgba(255, 255, 255, 0.25);
|
|
}
|
|
|
|
/* Drop-down content hidden by default */
|
|
.dropdown-content {
|
|
display: none;
|
|
position: absolute;
|
|
top: 110%;
|
|
left: 0;
|
|
min-width: 180px;
|
|
z-index: 999;
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
padding: 8px 0;
|
|
}
|
|
|
|
/* More intense blurry glass effect with lighter background */
|
|
.glass-dropdown {
|
|
background: rgba(255, 255, 255, 0.22);
|
|
backdrop-filter: blur(20px);
|
|
-webkit-backdrop-filter: blur(20px);
|
|
border: 1px solid rgba(255, 255, 255, 0.3);
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
/* Drop-down links with black text */
|
|
.dropdown-content a {
|
|
display: block;
|
|
color: black;
|
|
text-decoration: none;
|
|
padding: 10px 16px;
|
|
transition: background 0.2s;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.dropdown-content a:hover {
|
|
background: rgba(0, 0, 0, 0.08);
|
|
}
|
|
|
|
/* Show dropdown only when active class added */
|
|
.dropdown-content.active {
|
|
display: block;
|
|
}
|