Template:Helpbox/styles.css: Difference between revisions
Jump to navigation
Jump to search
Richardpruen (talk | contribs) m (1 revision imported) |
(and ditch that display block) |
||
Line 1: | Line 1: | ||
/* {{pp|small=y}} */ | /* {{pp|small=y}} */ | ||
.help-box { | .help-box { | ||
background: #f5faff; | background: #f5faff; | ||
line-height: 1.6em; | line-height: 1.6em; | ||
Line 12: | Line 10: | ||
padding-left: 0.4em; | padding-left: 0.4em; | ||
padding-right: 0.4em; /* gap before first heading/content */ | padding-right: 0.4em; /* gap before first heading/content */ | ||
margin-bottom: 6px; | margin-bottom: 6px; | ||
} | } | ||
Line 25: | Line 22: | ||
.help-box .sidebar-content-with-subgroup { | .help-box .sidebar-content-with-subgroup { | ||
padding-top: 0.15em; | padding-top: 0.15em; | ||
} | |||
@media all and (min-width: 720px) { | |||
.help-box { | |||
width: auto; | |||
max-width: 22em; | |||
} | |||
} | } |
Revision as of 22:53, 4 November 2021
/* {{pp|small=y}} */
.help-box {
background: #f5faff;
line-height: 1.6em;
}
.help-box .sidebar-title {
background: #cee0f2;
font-size: 130%;
padding-left: 0.4em;
padding-right: 0.4em; /* gap before first heading/content */
margin-bottom: 6px;
}
.help-box .sidebar-heading {
background: #cee0f2;
padding: 0.1em 0.7em 0.15em;
}
.help-box .sidebar-content,
/* conservatively target subgroups since we're working with a metatemplate */
.help-box .sidebar-content-with-subgroup {
padding-top: 0.15em;
}
@media all and (min-width: 720px) {
.help-box {
width: auto;
max-width: 22em;
}
}