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 |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 27: | Line 27: | ||
border-radius: 8px; | border-radius: 8px; | ||
overflow: hidden; | overflow: hidden; | ||
align-items: stretch; | |||
} | } | ||
/* ========================= | /* ========================= | ||
Individual windows | Individual windows | ||
| Line 35: | Line 35: | ||
.vp-fert-window { | .vp-fert-window { | ||
flex: 1; | flex: 1; | ||
display: flex; | |||
flex-direction: column; | |||
border-right: 2px solid #3e7a3e; | border-right: 2px solid #3e7a3e; | ||
background: #eaf5e4; | background: #eaf5e4; | ||
| Line 51: | Line 53: | ||
border-bottom: 2px solid #3e7a3e; | border-bottom: 2px solid #3e7a3e; | ||
text-align: center; | text-align: center; | ||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
height: 100%; | |||
} | } | ||
/* ========================= | /* ========================= | ||
ICON CELLS | ICON CELLS | ||
========================= */ | ========================= */ | ||
| Line 85: | Line 92: | ||
.vp-fert-window { | .vp-fert-window { | ||
display: grid; | |||
grid-template-columns: 3fr 2fr; | |||
border-right: none; | border-right: none; | ||
border-bottom: 2px solid #3e7a3e; | border-bottom: 2px solid #3e7a3e; | ||
| Line 91: | Line 100: | ||
.vp-fert-window:last-child { | .vp-fert-window:last-child { | ||
border-bottom: none; | border-bottom: none; | ||
} | |||
.vp-fert-header { | |||
border-bottom: none; | |||
border-right: 2px solid #3e7a3e; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
text-align: center; | |||
white-space: nowrap; | |||
} | |||
.vp-fert-icons { | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
} | |||
.vp-fert-icons img { | |||
width: 34px !important; | |||
height: 34px !important; | |||
} | } | ||
Latest revision as of 12:38, 26 February 2026
/* =========================
Title pill (text-height only)
========================= */
.vp-fert-title {
display: inline-flex;
align-items: center;
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;
height: 2em;
margin-bottom: 4px;
}
/* =========================
Timeline container
========================= */
.vp-fert-timeline {
display: flex;
border: 2px solid #3e7a3e;
border-radius: 8px;
overflow: hidden;
align-items: stretch;
}
/* =========================
Individual windows
========================= */
.vp-fert-window {
flex: 1;
display: flex;
flex-direction: column;
border-right: 2px solid #3e7a3e;
background: #eaf5e4;
}
.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;
display: flex;
align-items: center;
justify-content: center;
height: 100%;
}
/* =========================
ICON CELLS
========================= */
.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 {
display: grid;
grid-template-columns: 3fr 2fr;
border-right: none;
border-bottom: 2px solid #3e7a3e;
}
.vp-fert-window:last-child {
border-bottom: none;
}
.vp-fert-header {
border-bottom: none;
border-right: 2px solid #3e7a3e;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
white-space: nowrap;
}
.vp-fert-icons {
display: flex;
align-items: center;
justify-content: center;
}
.vp-fert-icons img {
width: 34px !important;
height: 34px !important;
}
}
.vp-fert-bag {
filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.4));
}