Template:FertilizerWindows/styles.css: Difference between revisions
Template page
More actions
Admin Jeremy (talk | contribs) No edit summary |
Admin Jeremy (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
/* ========================= | /* ========================= | ||
Title pill (text-height only) | |||
========================= */ | ========================= */ | ||
.vp-fert-title { | .vp-fert-title { | ||
| Line 17: | Line 7: | ||
background: var(--vp-journal-text); | background: var(--vp-journal-text); | ||
color: #000; | color: #000; | ||
padding: | padding: 0 6px; | ||
border: 2px solid #000; | border: 2px solid #000; | ||
border-radius: 4px; | border-radius: 4px; | ||
font-size: larger; | font-size: larger; | ||
font-family: 'VPTIP'; | font-family: 'VPTIP'; | ||
margin-bottom: | line-height: 1.1; | ||
margin-bottom: 4px; | |||
} | } | ||
/* Timeline container */ | /* ========================= | ||
Timeline container | |||
========================= */ | |||
.vp-fert-timeline { | .vp-fert-timeline { | ||
| Line 35: | Line 27: | ||
} | } | ||
/* Individual | /* ========================= | ||
Individual windows | |||
========================= */ | |||
.vp-fert-window { | .vp-fert-window { | ||
| Line 46: | Line 40: | ||
} | } | ||
/* Header | /* Header */ | ||
.vp-fert-header { | .vp-fert-header { | ||
| Line 56: | Line 50: | ||
} | } | ||
/* | /* ========================= | ||
ICON CELLS | |||
Alternating light greens | |||
========================= */ | |||
.vp-fert-window:nth-child(odd) .vp-fert-icons { | |||
background: #eaf5e4; | |||
} | |||
.vp-fert-window:nth-child(even) .vp-fert-icons { | |||
background: #dff0d7; | |||
} | |||
.vp-fert-icons { | .vp-fert-icons { | ||
| Line 63: | Line 68: | ||
} | } | ||
/* | /* ========================= | ||
Note | |||
========================= */ | |||
.vp-fert-note { | .vp-fert-note { | ||
Revision as of 11:37, 25 February 2026
/* =========================
Title pill (text-height only)
========================= */
.vp-fert-title {
display: inline-block;
background: var(--vp-journal-text);
color: #000;
padding: 0 6px;
border: 2px solid #000;
border-radius: 4px;
font-size: larger;
font-family: 'VPTIP';
line-height: 1.1;
margin-bottom: 4px;
}
/* =========================
Timeline container
========================= */
.vp-fert-timeline {
display: flex;
border: 2px solid #3e7a3e;
border-radius: 8px;
overflow: hidden;
}
/* =========================
Individual windows
========================= */
.vp-fert-window {
flex: 1;
border-right: 2px solid #3e7a3e;
}
.vp-fert-window:last-child {
border-right: none;
}
/* Header */
.vp-fert-header {
background: #cfe8c6;
font-weight: bold;
padding: 4px;
border-bottom: 2px solid #3e7a3e;
text-align: center;
}
/* =========================
ICON CELLS
Alternating light greens
========================= */
.vp-fert-window:nth-child(odd) .vp-fert-icons {
background: #eaf5e4;
}
.vp-fert-window:nth-child(even) .vp-fert-icons {
background: #dff0d7;
}
.vp-fert-icons {
text-align: center;
padding: 6px;
}
/* =========================
Note
========================= */
.vp-fert-note {
margin-top: 0.4em;
font-size: 0.85em;
text-align: center;
font-family: 'VPTIP';
}
/* =========================
Mobile
========================= */
@media (max-width: 700px) {
.vp-fert-timeline {
flex-direction: column;
}
.vp-fert-window {
border-right: none;
border-bottom: 2px solid #3e7a3e;
}
.vp-fert-window:last-child {
border-bottom: none;
}
}