Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* ================================================================
Varnyra Wiki Content CSS
Main Page only
================================================================
Structure:
1. Base
2. Hero (intro + showcase)
3. Sections / panels
4. Featured cards
5. Responsive
================================================================ */
/* ------------------------------
1. Base
------------------------------ */
.vy-main {
font-family: Georgia, "Times New Roman", serif;
color: #f5efe1;
}
.vy-main a {
text-decoration: none !important;
}
/* Shared "card" look, reused by intro / showcase / panel blocks below.
Each block adds its own layout rules (padding, height, display) on top. */
.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;
}
/* ------------------------------
2. Hero (intro + showcase)
------------------------------ */
.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 {
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;
}
/* Shared link-wrapper behaviour for image slots (main + feature cards) */
.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;
}
/* ------------------------------
3. 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;
}
/* ------------------------------
4. 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;
}
/* ------------------------------
5. 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;
}
}