No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* ------------------------------ | /* ------------------------------ | ||
Varnyra Main Page | Varnyra Wiki Content CSS | ||
Main Page only | |||
------------------------------ */ | ------------------------------ */ | ||
.vy-main { | .vy-main { | ||
font-family: Georgia, "Times New Roman", serif; | font-family: Georgia, "Times New Roman", serif; | ||
color: #f5efe1; | |||
} | } | ||
| Line 10: | Line 12: | ||
text-decoration: none !important; | text-decoration: none !important; | ||
} | } | ||
/* ------------------------------ | |||
Hero | |||
------------------------------ */ | |||
.vy-main-hero { | .vy-main-hero { | ||
display: grid; | display: grid; | ||
grid-template-columns: minmax(0, 1. | grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr); | ||
gap: | gap: 20px; | ||
align-items: stretch; | align-items: stretch; | ||
margin-bottom: | margin-bottom: 24px; | ||
} | } | ||
| Line 25: | Line 31: | ||
border-radius: 12px; | border-radius: 12px; | ||
background: | background: | ||
radial-gradient(circle at top right, rgba(168, 85, 247, 0. | radial-gradient(circle at top right, rgba(168, 85, 247, 0.18), transparent 38%), | ||
linear-gradient(180deg, rgba(9, 13, 24, 0.96), rgba(4, 7, 13, 0.98)); | linear-gradient(180deg, rgba(9, 13, 24, 0.96), rgba(4, 7, 13, 0.98)); | ||
box-shadow: | box-shadow: | ||
| Line 34: | Line 40: | ||
.vy-main-intro { | .vy-main-intro { | ||
padding: 34px | padding: 32px 34px; | ||
} | } | ||
.vy-main-kicker { | .vy-main-kicker { | ||
margin-bottom: 8px; | |||
color: #c084fc; | color: #c084fc; | ||
font-size: 12px; | font-size: 12px; | ||
| Line 43: | Line 50: | ||
letter-spacing: 3px; | letter-spacing: 3px; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
} | } | ||
.vy-main-title { | .vy-main-title { | ||
margin: 0 0 15px; | |||
color: #fff8e7; | color: #fff8e7; | ||
font-size: | font-size: 50px; | ||
font-weight: 900; | font-weight: 900; | ||
line-height: 1; | line-height: 1; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
text-shadow: 0 0 18px rgba(251, 191, 36, 0.16); | text-shadow: 0 0 18px rgba(251, 191, 36, 0.16); | ||
} | } | ||
.vy-main-text { | .vy-main-text { | ||
color: # | max-width: 760px; | ||
color: #eadfc8; | |||
font-size: 16px; | font-size: 16px; | ||
line-height: 1. | line-height: 1.62; | ||
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35); | |||
} | } | ||
.vy-main-focus { | .vy-main-focus { | ||
margin-top: 20px; | margin-top: 20px; | ||
padding: | padding: 14px 16px; | ||
border-left: 4px solid #a855f7; | border-left: 4px solid #a855f7; | ||
border-radius: 8px; | border-radius: 8px; | ||
background: rgba(168, 85, 247, 0.08); | background: rgba(168, 85, 247, 0.08); | ||
color: # | color: #fff3d8; | ||
font-size: 14px; | font-size: 14px; | ||
line-height: 1.55; | line-height: 1.55; | ||
} | } | ||
/* ------------------------------ | |||
Showcase image block | |||
------------------------------ */ | |||
.vy-main-showcase { | .vy-main-showcase { | ||
min-height: | min-height: 270px; | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
| Line 81: | Line 92: | ||
.vy-main-image-slot { | .vy-main-image-slot { | ||
min-height: | min-height: 210px; | ||
flex: 1; | flex: 1; | ||
display: flex; | display: flex; | ||
| Line 87: | Line 98: | ||
justify-content: center; | justify-content: center; | ||
background: | background: | ||
radial-gradient(circle at center, rgba(168, 85, 247, 0. | radial-gradient(circle at center, rgba(168, 85, 247, 0.32), transparent 56%), | ||
linear-gradient(135deg, rgba(8, 12, 22, 0.98), rgba(45, 24, 70, 0.94)); | linear-gradient(135deg, rgba(8, 12, 22, 0.98), rgba(45, 24, 70, 0.94)); | ||
color: rgba(255, 248, 231, 0. | color: rgba(255, 248, 231, 0.54); | ||
font-size: | font-size: 12px; | ||
font-weight: 900; | font-weight: 900; | ||
letter-spacing: 1.5px; | letter-spacing: 1.5px; | ||
text-align: center; | |||
text-transform: uppercase; | text-transform: uppercase; | ||
} | } | ||
.vy-main-image-slot | .vy-main-image-slot a, | ||
.vy-main-feature-image a { | |||
display: block; | |||
width: 100%; | width: 100%; | ||
height: 100%; | height: 100%; | ||
min-height: | } | ||
.vy-main-image-slot img, | |||
.vy-main-image-slot .mw-file-element { | |||
display: block; | |||
width: 100% !important; | |||
height: 100% !important; | |||
min-height: 210px; | |||
object-fit: cover; | object-fit: cover; | ||
} | } | ||
.vy-main-showcase-caption { | .vy-main-showcase-caption { | ||
padding: | padding: 14px 16px; | ||
border-top: 1px solid rgba(251, 191, 36, 0.18); | border-top: 1px solid rgba(251, 191, 36, 0.18); | ||
color: # | color: #fff3d8; | ||
font-size: 13.5px; | font-size: 13.5px; | ||
font-weight: 700; | |||
line-height: 1.45; | line-height: 1.45; | ||
} | } | ||
/* ------------------------------ | |||
Sections / panels | |||
------------------------------ */ | |||
.vy-main-section-title { | .vy-main-section-title { | ||
margin: | margin: 30px 0 14px; | ||
padding-bottom: 8px; | padding-bottom: 8px; | ||
border-bottom: 1px solid rgba(251, 191, 36, 0.22); | border-bottom: 1px solid rgba(251, 191, 36, 0.22); | ||
| Line 129: | Line 155: | ||
.vy-main-panel { | .vy-main-panel { | ||
min-height: 138px; | |||
padding: 18px 20px; | padding: 18px 20px; | ||
} | } | ||
.vy-main-panel-title { | .vy-main-panel-title { | ||
margin-bottom: 9px; | |||
color: #fff8e7; | color: #fff8e7; | ||
font-size: | font-size: 20px; | ||
font-weight: 900; | font-weight: 900; | ||
line-height: 1.22; | |||
text-shadow: 0 0 10px rgba(251, 191, 36, 0.10); | |||
} | } | ||
.vy-main-panel-text { | .vy-main-panel-text { | ||
color: rgba(245, 239, 225, 0. | color: rgba(245, 239, 225, 0.82); | ||
font-size: 14.5px; | font-size: 14.5px; | ||
line-height: 1. | line-height: 1.56; | ||
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35); | |||
} | } | ||
/* Notes are present in the page text, but hidden to keep the homepage calm. */ | |||
.vy-main-panel-note { | .vy-main-panel-note { | ||
display: none !important; | |||
} | } | ||
/* ------------------------------ | |||
Featured cards with image slots | |||
------------------------------ */ | |||
.vy-main-feature-grid { | .vy-main-feature-grid { | ||
| Line 159: | Line 191: | ||
.vy-main-feature { | .vy-main-feature { | ||
display: flex; | |||
min-height: 315px; | |||
flex-direction: column; | |||
border: 1px solid rgba(148, 163, 184, 0.20); | border: 1px solid rgba(148, 163, 184, 0.20); | ||
border-radius: 12px; | border-radius: 12px; | ||
| Line 165: | Line 200: | ||
linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.014)); | linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.014)); | ||
overflow: hidden; | overflow: hidden; | ||
} | |||
.vy-main-feature:hover { | |||
border-color: rgba(251, 191, 36, 0.34); | |||
} | } | ||
| Line 180: | Line 219: | ||
font-weight: 900; | font-weight: 900; | ||
letter-spacing: 1px; | letter-spacing: 1px; | ||
text-align: center; | |||
text-transform: uppercase; | text-transform: uppercase; | ||
} | } | ||
.vy-main-feature-image img { | .vy-main-feature-image img, | ||
width: 100%; | .vy-main-feature-image .mw-file-element { | ||
height: 150px; | display: block; | ||
width: 100% !important; | |||
height: 150px !important; | |||
object-fit: cover; | object-fit: cover; | ||
} | } | ||
.vy-main-feature-body { | .vy-main-feature-body { | ||
display: flex; | |||
min-height: 150px; | |||
flex: 1; | |||
flex-direction: column; | |||
padding: 15px 16px 17px; | padding: 15px 16px 17px; | ||
} | } | ||
.vy-main-feature-title { | .vy-main-feature-title { | ||
margin-bottom: 7px; | |||
color: #fff8e7; | color: #fff8e7; | ||
font-size: 18px; | font-size: 18px; | ||
font-weight: 900; | font-weight: 900; | ||
line-height: 1.25; | |||
text-shadow: 0 0 10px rgba(251, 191, 36, 0.10); | |||
} | } | ||
.vy-main-feature-text { | .vy-main-feature-text { | ||
color: rgba(245, 239, 225, 0. | color: rgba(245, 239, 225, 0.78); | ||
font-size: 13.5px; | font-size: 13.5px; | ||
line-height: 1. | line-height: 1.46; | ||
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35); | |||
} | } | ||
| Line 209: | Line 258: | ||
.vy-main-link a { | .vy-main-link a { | ||
display: inline-block; | display: inline-block; | ||
margin-top: | margin-top: auto; | ||
padding-top: 12px; | |||
color: #fbbf24 !important; | color: #fbbf24 !important; | ||
font-size: 13.5px; | font-size: 13.5px; | ||
| Line 219: | Line 269: | ||
color: #fff8e7 !important; | color: #fff8e7 !important; | ||
} | } | ||
/* ------------------------------ | |||
Responsive | |||
------------------------------ */ | |||
@media screen and (max-width: 1150px) { | @media screen and (max-width: 1150px) { | ||
| Line 243: | Line 297: | ||
grid-template-columns: 1fr; | grid-template-columns: 1fr; | ||
} | } | ||
} | } | ||
Revision as of 19:53, 6 July 2026
/* ------------------------------
Varnyra Wiki Content CSS
Main Page only
------------------------------ */
.vy-main {
font-family: Georgia, "Times New Roman", serif;
color: #f5efe1;
}
.vy-main a {
text-decoration: none !important;
}
/* ------------------------------
Hero
------------------------------ */
.vy-main-hero {
display: grid;
grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
gap: 20px;
align-items: stretch;
margin-bottom: 24px;
}
.vy-main-intro,
.vy-main-showcase,
.vy-main-panel {
border: 1px solid rgba(251, 191, 36, 0.24);
border-radius: 12px;
background:
radial-gradient(circle at top right, rgba(168, 85, 247, 0.18), transparent 38%),
linear-gradient(180deg, rgba(9, 13, 24, 0.96), rgba(4, 7, 13, 0.98));
box-shadow:
0 0 26px rgba(0, 0, 0, 0.26),
inset 0 0 24px rgba(255, 255, 255, 0.014);
overflow: hidden;
}
.vy-main-intro {
padding: 32px 34px;
}
.vy-main-kicker {
margin-bottom: 8px;
color: #c084fc;
font-size: 12px;
font-weight: 900;
letter-spacing: 3px;
text-transform: uppercase;
}
.vy-main-title {
margin: 0 0 15px;
color: #fff8e7;
font-size: 50px;
font-weight: 900;
line-height: 1;
text-transform: uppercase;
text-shadow: 0 0 18px rgba(251, 191, 36, 0.16);
}
.vy-main-text {
max-width: 760px;
color: #eadfc8;
font-size: 16px;
line-height: 1.62;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.vy-main-focus {
margin-top: 20px;
padding: 14px 16px;
border-left: 4px solid #a855f7;
border-radius: 8px;
background: rgba(168, 85, 247, 0.08);
color: #fff3d8;
font-size: 14px;
line-height: 1.55;
}
/* ------------------------------
Showcase image block
------------------------------ */
.vy-main-showcase {
min-height: 270px;
display: flex;
flex-direction: column;
}
.vy-main-image-slot {
min-height: 210px;
flex: 1;
display: flex;
align-items: center;
justify-content: center;
background:
radial-gradient(circle at center, rgba(168, 85, 247, 0.32), transparent 56%),
linear-gradient(135deg, rgba(8, 12, 22, 0.98), rgba(45, 24, 70, 0.94));
color: rgba(255, 248, 231, 0.54);
font-size: 12px;
font-weight: 900;
letter-spacing: 1.5px;
text-align: center;
text-transform: uppercase;
}
.vy-main-image-slot a,
.vy-main-feature-image a {
display: block;
width: 100%;
height: 100%;
}
.vy-main-image-slot img,
.vy-main-image-slot .mw-file-element {
display: block;
width: 100% !important;
height: 100% !important;
min-height: 210px;
object-fit: cover;
}
.vy-main-showcase-caption {
padding: 14px 16px;
border-top: 1px solid rgba(251, 191, 36, 0.18);
color: #fff3d8;
font-size: 13.5px;
font-weight: 700;
line-height: 1.45;
}
/* ------------------------------
Sections / panels
------------------------------ */
.vy-main-section-title {
margin: 30px 0 14px;
padding-bottom: 8px;
border-bottom: 1px solid rgba(251, 191, 36, 0.22);
color: #fbbf24;
font-size: 24px;
font-weight: 900;
font-variant: small-caps;
letter-spacing: 0.9px;
}
.vy-main-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 16px;
}
.vy-main-panel {
min-height: 138px;
padding: 18px 20px;
}
.vy-main-panel-title {
margin-bottom: 9px;
color: #fff8e7;
font-size: 20px;
font-weight: 900;
line-height: 1.22;
text-shadow: 0 0 10px rgba(251, 191, 36, 0.10);
}
.vy-main-panel-text {
color: rgba(245, 239, 225, 0.82);
font-size: 14.5px;
line-height: 1.56;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
/* Notes are present in the page text, but hidden to keep the homepage calm. */
.vy-main-panel-note {
display: none !important;
}
/* ------------------------------
Featured cards with image slots
------------------------------ */
.vy-main-feature-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 16px;
}
.vy-main-feature {
display: flex;
min-height: 315px;
flex-direction: column;
border: 1px solid rgba(148, 163, 184, 0.20);
border-radius: 12px;
background:
radial-gradient(circle at top right, rgba(168, 85, 247, 0.12), transparent 44%),
linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.014));
overflow: hidden;
}
.vy-main-feature:hover {
border-color: rgba(251, 191, 36, 0.34);
}
.vy-main-feature-image {
height: 150px;
display: flex;
align-items: center;
justify-content: center;
background:
radial-gradient(circle at center, rgba(251, 191, 36, 0.12), transparent 52%),
linear-gradient(135deg, rgba(8, 12, 22, 0.98), rgba(45, 24, 70, 0.94));
border-bottom: 1px solid rgba(251, 191, 36, 0.16);
color: rgba(255, 248, 231, 0.48);
font-size: 12px;
font-weight: 900;
letter-spacing: 1px;
text-align: center;
text-transform: uppercase;
}
.vy-main-feature-image img,
.vy-main-feature-image .mw-file-element {
display: block;
width: 100% !important;
height: 150px !important;
object-fit: cover;
}
.vy-main-feature-body {
display: flex;
min-height: 150px;
flex: 1;
flex-direction: column;
padding: 15px 16px 17px;
}
.vy-main-feature-title {
margin-bottom: 7px;
color: #fff8e7;
font-size: 18px;
font-weight: 900;
line-height: 1.25;
text-shadow: 0 0 10px rgba(251, 191, 36, 0.10);
}
.vy-main-feature-text {
color: rgba(245, 239, 225, 0.78);
font-size: 13.5px;
line-height: 1.46;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.vy-main-link,
.vy-main-link a {
display: inline-block;
margin-top: auto;
padding-top: 12px;
color: #fbbf24 !important;
font-size: 13.5px;
font-weight: 900;
}
.vy-main-link:hover,
.vy-main-link a:hover {
color: #fff8e7 !important;
}
/* ------------------------------
Responsive
------------------------------ */
@media screen and (max-width: 1150px) {
.vy-main-hero,
.vy-main-grid {
grid-template-columns: 1fr;
}
.vy-main-feature-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media screen and (max-width: 680px) {
.vy-main-title {
font-size: 38px;
}
.vy-main-intro {
padding: 26px 22px;
}
.vy-main-feature-grid {
grid-template-columns: 1fr;
}
}