mediawiki-skins-Citizen/resources/print.less

201 lines
2.9 KiB
Plaintext
Raw Normal View History

2019-12-02 21:56:33 +00:00
@import 'variables.less';
2019-08-15 17:40:13 +00:00
/* Styles for print view and printing */
/* Hide some extra stuff from print view (some of the navigation is already hidden automatically, but not all) */
.mw-indicators,
2019-12-02 21:55:35 +00:00
.toctoggle,
.mw-side,
.noprint,
2019-08-15 17:40:13 +00:00
#p-logo,
#catlinks,
2019-12-02 21:55:35 +00:00
#p-namespaces,
#mw-bottombar,
.hatnote,
.mbox,
2019-12-02 22:41:41 +00:00
#footer-container-icons,
.tabbernav,
.embedvideo {
2019-12-02 21:55:35 +00:00
display: none !important;
2019-08-15 17:40:13 +00:00
}
2019-12-02 21:55:35 +00:00
* {
box-shadow: none !important;
}
html,
body {
color: @base-20;
2019-12-02 22:23:19 +00:00
font-family: @fonts;
2019-12-02 21:55:35 +00:00
}
p,
ul,
ol {
margin: 0.8rem 0 0 0;
}
2019-12-02 22:23:19 +00:00
#toc {
background: none;
border: 0;
}
2019-12-02 22:33:39 +00:00
.mw-body {
color: @base-20;
}
2019-12-02 22:13:17 +00:00
.mw-wiki-title,
.mw-body h1,
.mw-body-content h1,
.mw-body-content h2,
.mw-body-content h3,
.mw-body-content h4 {
font-family: @fonts-secondary;
}
2019-12-02 21:55:35 +00:00
.mw-body .firstHeading {
margin: 0;
padding-top: 1.2rem;
color: @base-10;
overflow: inherit;
line-height: 1.2;
}
.mw-body h1,
.mw-body-content h1 {
2019-12-02 21:59:04 +00:00
font-size: @content-h1-size;
2019-12-02 21:55:35 +00:00
}
.mw-body-content {
2019-12-02 21:59:04 +00:00
line-height: @content-line-height;
font-size: @content-body-size;
#contentSub,
#contentSub2 {
color: @base-30;
font-size: @content-caption-size;
}
2019-12-02 21:55:35 +00:00
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;
}
2019-12-02 22:13:17 +00:00
h1,
h2 {
margin-top: @content-margin-top * 3;
}
h3,
h4,
h5,
h6,
p+p {
margin-top: @content-margin-top * 2;
}
2019-12-02 21:55:35 +00:00
h1+h2,
h2+h3,
h3+h4,
h4+h5,
h5+h6,
p,
table {
margin-top: @content-margin-top;
}
ul {
margin: @content-margin-top 0 0 @content-margin-top * 2;
2019-12-02 22:33:39 +00:00
padding: 0;
2019-12-02 21:55:35 +00:00
ul {
margin: 0 0 0 @content-margin-top * 2;
}
}
}
.mw-body #siteSub {
display: block;
margin: .4rem 0 1.6rem;
color: @base-30;
2019-12-02 21:59:04 +00:00
font-size: @content-caption-size;
2019-12-02 21:55:35 +00:00
}
2019-12-02 22:13:17 +00:00
#mw-wrapper,
#footer-list {
display: flex;
flex-direction: column;
}
#mw-sidebar-sitename,
#lastmod {
order: -1;
}
2019-12-02 22:23:19 +00:00
#footer {
margin-top: 2rem;
2019-12-02 22:33:39 +00:00
font-size: @content-monospace-size;
color: @base-30;
}
#footer-list {
padding: 0;
list-style: none;
}
#sitetitle {
margin-top: @content-margin-top;
margin-bottom: @content-margin-top / 2;
2019-12-02 22:23:19 +00:00
}
2019-12-02 22:13:17 +00:00
.mw-wiki-title {
2019-12-02 22:23:19 +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 {
margin: 0 !important;
}
2019-12-02 21:55:35 +00:00
.infobox {
background: @base-100 !important;
2019-12-02 22:41:41 +00:00
border: 1px solid @base-30 !important;
}
.tabbertab {
display: block !important;
2019-12-02 21:55:35 +00:00
}