Template:FertilizerWindows/styles.css
Template page
More actions
/* =========================
Fertilization Timeline
========================= */
.vp-fert-timeline {
display: flex;
border: 3px solid var(--vp-journal-border);
border-radius: 10px;
overflow: hidden;
margin-top: 0.5em;
}
/* Individual time windows */
.vp-fert-window {
flex: 1;
text-align: center;
padding: 6px;
border-right: 3px solid var(--vp-journal-border);
background: var(--vp-journal-bg);
}
.vp-fert-window:last-child {
border-right: none;
}
/* Alternating time coloration */
.vp-fert-window:nth-child(odd) {
background: #dff1c9;
}
.vp-fert-window:nth-child(even) {
background: #fff2b3;
}
/* Labels */
.vp-fert-label {
font-family: 'VPTIP';
font-size: 0.9em;
margin-bottom: 4px;
text-shadow: 1px 1px 2px #003366;
}
/* Fertilizer icons */
.vp-fert-icons img {
width: 40px !important;
height: 40px !important;
margin: 2px;
}
/* Note text */
.vp-fert-note {
margin-top: 0.4em;
font-size: 0.85em;
text-align: center;
font-family: 'VPTIP';
}
/* =========================
Mobile Layout
========================= */
@media (max-width: 700px) {
.vp-fert-timeline {
flex-direction: column;
}
.vp-fert-window {
border-right: none;
border-bottom: 3px solid var(--vp-journal-border);
}
.vp-fert-window:last-child {
border-bottom: none;
}
}