Files
HexUnlockedWeb/styles/Home.module.css
T

252 lines
4.0 KiB
CSS

.container {
padding: 3rem 4rem;
max-width: 1200px;
margin: 0 auto;
}
.header {
margin-bottom: 3rem;
border-bottom: 2px solid #1a1a1a;
padding-bottom: 1.5rem;
}
.title {
font-size: 2.25rem;
text-transform: uppercase;
color: #ffffff;
letter-spacing: 0.05em;
margin: 0 0 0.5rem 0;
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}
.subtitle {
font-size: 0.9rem;
color: #777777;
text-transform: uppercase;
letter-spacing: 0.1em;
margin: 0;
}
.statsGrid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 1.5rem;
margin-bottom: 3rem;
}
@media (max-width: 1000px) {
.statsGrid {
grid-template-columns: repeat(3, 1fr);
}
}
@media (max-width: 600px) {
.statsGrid {
grid-template-columns: repeat(2, 1fr);
}
}
.statCard {
background: #0d0d0d;
border: 1px solid #1a1a1a;
border-top: 3px solid #330000;
padding: 1.5rem;
transition: all 0.2s ease;
}
.statCard:hover {
border-color: #a30000;
box-shadow: 0 0 15px rgba(163, 0, 0, 0.15);
}
.statLabel {
font-size: 0.75rem;
text-transform: uppercase;
color: #555555;
font-weight: bold;
letter-spacing: 0.1em;
margin-bottom: 0.5rem;
}
.statValue {
font-size: 1.25rem;
font-weight: bold;
color: #ffffff;
font-family: 'Oswald', sans-serif;
line-height: 1;
}
.statTotal {
font-size: 0.9rem;
color: #555555;
}
.panelGrid {
display: grid;
grid-template-columns: 1fr 1.2fr;
gap: 2rem;
}
@media (max-width: 900px) {
.panelGrid {
grid-template-columns: 1fr;
}
}
.card {
background: #0d0d0d;
border: 1px solid #1a1a1a;
border-top: 3px solid #630000;
padding: 2rem;
display: flex;
flex-direction: column;
}
.cardTitle {
font-size: 1.25rem;
text-transform: uppercase;
color: #ffffff;
margin: 0 0 1.5rem 0;
letter-spacing: 0.05em;
font-family: 'Oswald', sans-serif;
}
.textarea {
width: 100%;
height: 200px;
background: #050505;
border: 1px solid #1a1a1a;
color: #999999;
font-family: monospace;
font-size: 0.8rem;
padding: 1rem;
resize: none;
margin-bottom: 1.5rem;
}
.textarea:focus {
outline: none;
border-color: #a30000;
}
.btnRow {
display: flex;
gap: 1rem;
flex-wrap: wrap;
}
.primaryBtn {
background: #a30000;
border: 1px solid #ff0000;
color: #ffffff;
padding: 0.8rem 1.5rem;
font-size: 0.8rem;
text-transform: uppercase;
font-weight: bold;
cursor: pointer;
transition: all 0.2s ease;
}
.primaryBtn:hover {
background: #ff0000;
box-shadow: 0 0 10px rgba(255, 0, 0, 0.4);
}
.secondaryBtn {
background: #121212;
border: 1px solid #333333;
color: #c9c9c9;
padding: 0.8rem 1.5rem;
font-size: 0.8rem;
text-transform: uppercase;
font-weight: bold;
cursor: pointer;
transition: all 0.2s ease;
}
.secondaryBtn:hover {
background: #1a1a1a;
color: #ffffff;
}
.toggleRow {
display: flex;
align-items: center;
justify-content: space-between;
padding: 1rem 0;
border-bottom: 1px solid #1a1a1a;
}
.toggleRow:last-child {
border-bottom: none;
}
.toggleInfo {
display: flex;
flex-direction: column;
gap: 0.2rem;
padding-right: 1.5rem;
}
.toggleLabel {
font-size: 0.85rem;
font-weight: bold;
text-transform: uppercase;
color: #ffffff;
letter-spacing: 0.05em;
font-family: 'Oswald', sans-serif;
}
.toggleDesc {
font-size: 0.68rem;
color: #555555;
line-height: 1.3;
}
.switch {
position: relative;
display: inline-block;
width: 48px;
height: 24px;
flex-shrink: 0;
}
.switch input {
opacity: 0;
width: 0;
height: 0;
}
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #121212;
border: 1px solid #333333;
transition: 0.2s;
}
.slider:before {
position: absolute;
content: "";
height: 16px;
width: 16px;
left: 3px;
bottom: 3px;
background-color: #555555;
transition: 0.2s;
}
input:checked + .slider {
background-color: #2b0000;
border-color: #a30000;
}
input:checked + .slider:before {
transform: translateX(24px);
background-color: #a30000;
box-shadow: 0 0 8px rgba(163, 0, 0, 0.7);
}