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

104 lines
1.2 KiB
Plaintext
Raw Normal View History

2021-03-07 18:11:15 +00:00
// Hide elements that are not needed in print
2020-06-12 20:21:27 +00:00
.mw-header,
2021-03-07 18:11:15 +00:00
#siteNotice,
2019-08-15 17:40:13 +00:00
.mw-indicators,
2021-03-07 18:11:15 +00:00
.page-actions,
.section-toggle,
.mw-editsection,
.catlinks,
2021-03-07 19:03:10 +00:00
#footer-places,
#footer-bottom {
2021-03-07 18:11:15 +00:00
display: none;
2019-12-02 21:55:35 +00:00
}
2021-03-07 18:11:15 +00:00
a {
color: #000;
2019-12-02 21:55:35 +00:00
}
2021-03-07 18:11:15 +00:00
.firstHeading {
margin: 0;
2019-12-02 21:55:35 +00:00
}
2021-03-07 18:11:15 +00:00
#siteSub {
color: @color-base30;
2019-12-02 21:55:35 +00:00
}
2021-03-07 18:11:15 +00:00
.mw-body-header {
margin-bottom: var( --space-md );
2019-12-02 21:55:35 +00:00
}
2021-03-07 18:11:15 +00:00
.printfooter {
font-size: 14px;
2019-12-02 22:13:17 +00:00
}
2020-06-12 20:21:27 +00:00
.mw-footer {
2021-03-07 18:11:15 +00:00
color: @color-base30;
font-size: 14px;
}
2019-12-02 22:33:39 +00:00
2021-03-07 19:03:10 +00:00
#footer-content {
padding-top: 10px;
border-top: 1px solid;
margin-top: 20px;
}
#footer-info {
ul {
padding: 0;
list-style: none;
}
}
2021-03-07 18:11:15 +00:00
// Table of contents
.toc {
display: table;
padding: 10px;
border: 1px solid;
margin-top: var( --space-md );
2021-03-07 18:11:15 +00:00
font-size: 14px;
&title {
padding-bottom: 10px;
border-bottom: 1px solid;
2020-06-12 20:21:27 +00:00
}
2019-12-02 22:33:39 +00:00
}
2021-03-07 18:11:15 +00:00
#mw-toc-heading {
margin: 0;
font-size: 1rem;
2019-12-02 22:23:19 +00:00
}
2021-03-07 18:11:15 +00:00
.thumb {
margin-top: var( --space-md );
margin-bottom: var( --space-md );
2019-12-02 22:13:17 +00:00
}
2021-03-07 18:11:15 +00:00
// Float styles
div.tleft,
div.floatleft,
table.floatleft {
margin-right: 1.4rem;
clear: left;
float: left;
2019-12-02 22:41:41 +00:00
}
2021-03-07 18:11:15 +00:00
div.tright,
div.floatright,
table.floatright {
margin-left: 1.4rem;
clear: right;
float: right;
2019-12-02 22:41:41 +00:00
}
2021-03-07 18:11:15 +00:00
// Gallery
.skin-citizen {
ul.mw-gallery-packed {
&-hover,
&-overlay {
div.thumb:after {
display: none;
}
}
}
2019-12-26 10:21:50 +00:00
}