mediawiki-skins-Citizen/resources/skins.citizen.styles/common/print.less

189 lines
2.3 KiB
Plaintext
Raw Normal View History

2019-12-02 21:56:33 +00:00
/*
* Hide some extra stuff from print view
* (some of the navigation is already hidden automatically, but not all)
*/
2020-06-12 20:21:27 +00:00
.mw-header,
2019-08-15 17:40:13 +00:00
.mw-indicators,
2019-12-02 21:55:35 +00:00
.toctoggle,
.mw-side,
.noprint,
2019-08-15 17:40:13 +00:00
#catlinks,
2019-12-02 21:55:35 +00:00
#p-namespaces,
2020-06-12 20:21:27 +00:00
#p-variants,
#footer-bottom,
2019-12-02 21:55:35 +00:00
.hatnote,
.mbox,
.mw-sidebar-sitename,
2019-12-02 22:41:41 +00:00
.tabbernav,
.embedvideo {
2019-12-26 10:21:50 +00:00
display: none !important;
2019-08-15 17:40:13 +00:00
}
2019-12-02 21:55:35 +00:00
* {
2019-12-26 10:21:50 +00:00
box-shadow: none !important;
2019-12-02 21:55:35 +00:00
}
html,
body {
2019-12-26 10:21:50 +00:00
color: @base-20;
font-family: @fonts;
2019-12-02 21:55:35 +00:00
}
p,
ul,
ol {
2019-12-26 10:21:50 +00:00
margin: 0.8rem 0 0 0;
2019-12-02 21:55:35 +00:00
}
2019-12-02 22:23:19 +00:00
#toc {
2020-06-12 20:28:47 +00:00
font-size: 90%;
display: block !important;
2019-12-26 10:21:50 +00:00
background: none;
border: 0;
2020-06-12 20:28:47 +00:00
> ul {
display: block !important;
}
2019-12-02 22:23:19 +00:00
}
2019-12-02 22:33:39 +00:00
.mw-body {
2019-12-26 10:21:50 +00:00
color: @base-20;
2019-12-02 22:33:39 +00:00
}
2019-12-02 21:55:35 +00:00
.mw-body .firstHeading {
2019-12-26 10:21:50 +00:00
margin: 0;
padding-top: 1.2rem;
color: @base-10;
overflow: inherit;
line-height: 1.2;
2019-12-02 21:55:35 +00:00
}
.mw-body h1,
.mw-body-content h1 {
2019-12-26 10:21:50 +00:00
font-size: @content-h1-size;
2019-12-02 21:55:35 +00:00
}
.mw-body-content {
2019-12-26 10:21:50 +00:00
line-height: @content-line-height;
font-size: @content-body-size;
#contentSub,
#contentSub2 {
color: @base-30;
font-size: @content-caption-size;
}
p {
line-height: inherit;
overflow-wrap: break-word;
}
h2 {
font-size: @content-h2-size;
}
h3 {
font-size: @content-h3-size;
}
h4 {
font-size: @content-h4-size;
}
h5 {
font-size: @content-h5-size;
}
h6 {
font-size: @content-h6-size;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 0;
padding: 0;
color: @color-content-header;
}
h1,
h2 {
margin-top: @content-margin-top * 3;
}
h3,
h4,
h5,
h6,
p + p {
margin-top: @content-margin-top * 2;
}
/* stylelint-disable no-descending-specificity */
h1 + h2,
h2 + h3,
h3 + h4,
h4 + h5,
h5 + h6,
p,
table {
margin-top: @content-margin-top;
}
/* stylelint-enable */
ul {
margin: @content-margin-top 0 0 @content-margin-top * 2;
padding: 0;
ul {
margin: 0 0 0 @content-margin-top * 2;
}
}
2019-12-02 21:55:35 +00:00
}
2020-06-12 20:21:27 +00:00
#siteSub {
2019-12-26 10:21:50 +00:00
display: block;
2020-06-12 20:21:44 +00:00
margin: 0.4rem 0 1.6rem;
color: #72777d;
font-size: 0.8125rem;
2019-12-02 22:13:17 +00:00
}
2020-06-12 20:21:27 +00:00
.mw-footer {
padding-top: 1rem;
border-top: 1px solid @base-30;
2019-12-02 22:33:39 +00:00
2020-06-12 20:21:27 +00:00
ul {
padding: 0;
list-style-type: none;
}
2019-12-02 22:33:39 +00:00
}
2020-06-12 20:21:27 +00:00
.last-modified-bar {
padding-bottom: 1rem;
font-size: @content-caption-size;
2019-12-02 22:23:19 +00:00
}
2019-12-02 22:13:17 +00:00
.mw-wiki-title {
2019-12-26 10:21:50 +00:00
color: @base-30;
font-size: 1.2rem;
text-transform: uppercase;
letter-spacing: 2px;
2019-12-02 22:13:17 +00:00
}
2019-12-02 22:41:41 +00:00
.gallery {
2019-12-26 10:21:50 +00:00
margin: 0 !important;
2019-12-02 22:41:41 +00:00
}
2019-12-02 21:55:35 +00:00
.infobox {
2019-12-26 10:21:50 +00:00
background: @base-100 !important;
border: 1px solid @base-30 !important;
2019-12-02 22:41:41 +00:00
}
.tabbertab {
2019-12-26 10:21:50 +00:00
display: block !important;
}