Template:Botany series/styles.css: Difference between revisions
Template page
More actions
Eloise Zomia (talk | contribs) Created page with "→Template:Botany series/styles.css: →Content model: Sanitised CSS (set via Special:ChangeContentModel): .series-navbox { float: right; clear: right; width: 280px; margin: 0 0 1em 1.4em; background: #ffffff; border: 1px solid #d2ddce; border-radius: 10px; box-shadow: 0 2px 6px rgba(0,0,0,0.04); font-size: 0.85em; line-height: 1.6; overflow: hidden; text-align: center; } →Header: "Part of a series on": .series-n..." |
Eloise Zomia (talk | contribs) No edit summary |
||
| Line 49: | Line 49: | ||
} | } | ||
/* | /* Quick navigation row (Cannabis Botany · Glossary) */ | ||
.series-navbox-browse { | .series-navbox-browse { | ||
padding: 8px 16px; | padding: 8px 16px; | ||
| Line 83: | Line 83: | ||
float: right; | float: right; | ||
font-size: 0.85em; | font-size: 0.85em; | ||
padding-right: | padding-right: 8px; | ||
line-height: 2.2; | |||
} | } | ||
Revision as of 19:18, 2 April 2026
/* Template:Botany series/styles.css */
/* Content model: Sanitised CSS (set via Special:ChangeContentModel) */
.series-navbox {
float: right;
clear: right;
width: 280px;
margin: 0 0 1em 1.4em;
background: #ffffff;
border: 1px solid #d2ddce;
border-radius: 10px;
box-shadow: 0 2px 6px rgba(0,0,0,0.04);
font-size: 0.85em;
line-height: 1.6;
overflow: hidden;
text-align: center;
}
/* Header: "Part of a series on" */
.series-navbox-preamble {
padding: 12px 16px 2px;
font-size: 0.9em;
color: #5a6650;
}
.series-navbox-title {
padding: 0 16px 8px;
font-size: 1.4em;
font-weight: 700;
}
.series-navbox-title a {
color: #2d5016;
text-decoration: none;
}
.series-navbox-title a:hover {
text-decoration: underline;
}
/* Optional hero image */
.series-navbox-image {
padding: 4px 16px 8px;
}
.series-navbox-image img {
max-width: 100%;
border-radius: 6px;
}
/* Quick navigation row (Cannabis Botany · Glossary) */
.series-navbox-browse {
padding: 8px 16px;
font-size: 0.9em;
color: #5a6650;
border-top: 1px solid #e8ede5;
border-bottom: 1px solid #e8ede5;
background: #f7faf6;
}
.series-navbox-browse a {
color: #2d6a4f;
text-decoration: none;
}
.series-navbox-browse a:hover {
text-decoration: underline;
}
.series-navbox-sep {
color: #b0bfac;
padding: 0 3px;
}
/* Collapsible topic sections */
.series-navbox-section {
border-top: 1px solid #e8ede5;
text-align: left;
}
/* Section header row (the toggle) */
.series-navbox-section .mw-collapsible-toggle {
float: right;
font-size: 0.85em;
padding-right: 8px;
line-height: 2.2;
}
.series-navbox-section-head {
background: #f7faf6;
padding: 7px 16px;
font-weight: 600;
font-size: 0.95em;
color: #2d5016;
cursor: pointer;
}
/* Section content (the collapsible body) */
.series-navbox-section-body {
padding: 6px 16px 10px;
font-size: 0.9em;
line-height: 1.8;
}
.series-navbox-section-body a {
color: #2d6a4f;
text-decoration: none;
}
.series-navbox-section-body a:hover {
text-decoration: underline;
}
.series-navbox-section-body a.new {
color: #ba4a00;
}
/* Footer: portal + category */
.series-navbox-footer {
padding: 8px 16px;
border-top: 1px solid #e8ede5;
background: #f7faf6;
font-size: 0.85em;
text-align: center;
}
.series-navbox-footer a {
color: #2d6a4f;
text-decoration: none;
}
.series-navbox-footer a:hover {
text-decoration: underline;
}