Template:FertilizerWindows/styles.css
Template page
More actions
/* =========================
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));
}