More actions
No edit summary |
No edit summary |
||
(28 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
/* | /* | ||
NAVIGATION CARDS | NAVIGATION CARDS | ||
Line 95: | Line 5: | ||
.navigation { | .navigation { | ||
display: grid; | display: grid; | ||
gap: | gap: 8px; | ||
grid-template-columns: repeat(auto- | grid-auto-rows: 2.5em; | ||
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); | |||
font-size: 15px; | font-size: 15px; | ||
margin-bottom: 30px; | margin-bottom: 30px; | ||
Line 103: | Line 14: | ||
.navigation-card { | .navigation-card { | ||
border: 1px solid #333; | border: 1px solid #333; | ||
border-radius: 8px; | border-radius: 8px; | ||
Line 118: | Line 28: | ||
pointer-events: none; | pointer-events: none; | ||
opacity: 0; | opacity: 0; | ||
transition: all 0.3s ease; | |||
z-index: 0; | |||
} | } | ||
Line 125: | Line 37: | ||
} | } | ||
.navigation-card-text | .navigation-card > a { | ||
z-index: 1; | |||
display: flex; | |||
width: 100%; | |||
height: 100%; | |||
align-items: center; | |||
justify-content: center; | |||
text-decoration: none; | |||
color: #fff; | |||
} | } | ||
.navigation-card-background | .navigation-card:hover .navigation-card-background { | ||
opacity: 0. | opacity: 0.40; | ||
} | } | ||
.navigation-card:hover { | .navigation-card:hover { | ||
filter: brightness(1.60); | filter: brightness(1.60); | ||
} | } | ||
Line 142: | Line 60: | ||
display: flex; | display: flex; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
background: linear-gradient(to right, # | background: linear-gradient(to right, #101214, #0c0e10); | ||
border:1px solid #444; | border:1px solid #444; | ||
border-radius: 8px; | border-radius: 8px; | ||
Line 154: | Line 72: | ||
margin-bottom: 15px; | margin-bottom: 15px; | ||
width: 100%; | width: 100%; | ||
display: flex; | |||
justify-content: space-between; | |||
align-items: center; | |||
} | } | ||
. | .news-title-label { | ||
font-size: 1.3em; | |||
font- | |||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
. | .news-title-update { | ||
font-size: 1em; | |||
} | } | ||
/* | /* | ||
Line 220: | Line 100: | ||
} | } | ||
.card-button a { | .card-button a, .card-button a.external:visited { | ||
flex-grow: 1; | flex-grow: 1; | ||
padding: 5px; | padding: 5px; | ||
border-radius: 6px; | border-radius: 6px; | ||
text-decoration: none !important; | text-decoration: none !important; | ||
color: | color: white; | ||
background: # | background: #2a2a2a; | ||
transition: all 0.3s ease; | |||
} | } | ||
.card-button a:hover { | .card-button a:hover { | ||
filter: brightness(1.2); | |||
. | |||
} | } | ||
h1, h2 { | |||
h1 { | |||
margin-top: 1em; | margin-top: 1em; | ||
} | } |
Latest revision as of 22:35, 9 May 2025
/*
NAVIGATION CARDS
*/
.navigation {
display: grid;
gap: 8px;
grid-auto-rows: 2.5em;
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
font-size: 15px;
margin-bottom: 30px;
color: white;
}
.navigation-card {
border: 1px solid #333;
border-radius: 8px;
overflow: hidden;
transition: all 0.3s ease;
background-color: #1e1e1e;
font-weight:600;
position: relative;
}
.navigation-card-background {
position: absolute;
inset: 0;
pointer-events: none;
opacity: 0;
transition: all 0.3s ease;
z-index: 0;
}
.navigation-card-background img {
height: 100%;
width: auto;
}
.navigation-card > a {
z-index: 1;
display: flex;
width: 100%;
height: 100%;
align-items: center;
justify-content: center;
text-decoration: none;
color: #fff;
}
.navigation-card:hover .navigation-card-background {
opacity: 0.40;
}
.navigation-card:hover {
filter: brightness(1.60);
}
.news-section {
width: 100%;
display: flex;
flex-wrap: wrap;
background: linear-gradient(to right, #101214, #0c0e10);
border:1px solid #444;
border-radius: 8px;
padding: 15px;
margin-top: 15px;
}
.news-title {
border-bottom: 1px solid #444;
padding-bottom: 5px;
margin-bottom: 15px;
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
}
.news-title-label {
font-size: 1.3em;
font-weight: bold;
}
.news-title-update {
font-size: 1em;
}
/*
JUST BUTTONS
*/
.card-button-grid {
display: grid;
grid-gap: 5px;
text-align: center;
}
.card-button {
display: flex;
}
.card-button a, .card-button a.external:visited {
flex-grow: 1;
padding: 5px;
border-radius: 6px;
text-decoration: none !important;
color: white;
background: #2a2a2a;
transition: all 0.3s ease;
}
.card-button a:hover {
filter: brightness(1.2);
}
h1, h2 {
margin-top: 1em;
}