Template:NavCard/styles.css: Difference between revisions
Appearance
Created page with " .lumi-navcard { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid #444; border-radius: 8px; background: #20242b; color: #f5f5f5; text-decoration: none !important; transition: border-color 0.2s ease, transform 0.2s ease; } .lumi-navcard:hover { border-color: #36a9d6; transform: translateY(-3px); text-decoration: none !important; } .lumi-navcard-image { width:..." |
No edit summary |
||
| Line 9: | Line 9: | ||
background: #20242b; | background: #20242b; | ||
color: #f5f5f5; | color: #f5f5f5; | ||
transition: border-color 0.2s ease, transform 0.2s ease; | |||
transition: border-color 0.2s ease, | |||
} | } | ||
| Line 17: | Line 15: | ||
border-color: #36a9d6; | border-color: #36a9d6; | ||
transform: translateY(-3px); | transform: translateY(-3px); | ||
} | |||
.lumi-navcard-image-link { | |||
display: block; | |||
aspect-ratio: 16 / 9; | |||
background: #303640; | |||
overflow: hidden; | |||
} | } | ||
.lumi-navcard-image { | .lumi-navcard-image { | ||
width: 100%; | width: 100%; | ||
height: 100%; | |||
} | } | ||
| Line 43: | Line 46: | ||
font-size: 1.15em; | font-size: 1.15em; | ||
font-weight: 700; | font-weight: 700; | ||
} | |||
.lumi-navcard-title a { | |||
color: #f5f5f5; | |||
text-decoration: none; | |||
} | } | ||
| Line 53: | Line 61: | ||
margin-top: auto; | margin-top: auto; | ||
padding-top: 12px; | padding-top: 12px; | ||
} | |||
.lumi-navcard-link a { | |||
color: #36a9d6; | color: #36a9d6; | ||
font-size: 0.8em; | font-size: 0.8em; | ||
font-weight: 700; | font-weight: 700; | ||
text-decoration: none; | |||
} | } | ||
Revision as of 18:42, 13 November 2026
.lumi-navcard {
display: flex;
flex-direction: column;
height: 100%;
overflow: hidden;
border: 1px solid #444;
border-radius: 8px;
background: #20242b;
color: #f5f5f5;
transition: border-color 0.2s ease, transform 0.2s ease;
}
.lumi-navcard:hover {
border-color: #36a9d6;
transform: translateY(-3px);
}
.lumi-navcard-image-link {
display: block;
aspect-ratio: 16 / 9;
background: #303640;
overflow: hidden;
}
.lumi-navcard-image {
width: 100%;
height: 100%;
}
.lumi-navcard-img {
width: 100%;
height: 100%;
object-fit: cover;
}
.lumi-navcard-content {
display: flex;
flex-direction: column;
flex-grow: 1;
padding: 16px;
gap: 8px;
}
.lumi-navcard-title {
font-size: 1.15em;
font-weight: 700;
}
.lumi-navcard-title a {
color: #f5f5f5;
text-decoration: none;
}
.lumi-navcard-description {
color: #b9c0c9;
font-size: 0.9em;
}
.lumi-navcard-link {
margin-top: auto;
padding-top: 12px;
}
.lumi-navcard-link a {
color: #36a9d6;
font-size: 0.8em;
font-weight: 700;
text-decoration: none;
}