-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
51a11f3
commit 19ddd61
Showing
2 changed files
with
28 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,103 +1,40 @@ | ||
// Hide elements that are not needed in print | ||
.mw-header, | ||
.citizen-toc, | ||
#siteNotice, | ||
.mw-indicators, | ||
.page-actions, | ||
.section-toggle, | ||
.mw-editsection, | ||
.catlinks, | ||
.mw-body-footer, | ||
#mw-data-after-content, | ||
#footer-desc, | ||
#footer-places, | ||
#footer-bottom { | ||
.citizen-footer__bottom { | ||
display: none; | ||
} | ||
|
||
a { | ||
border-bottom: 1px solid #aaa; | ||
color: #000; | ||
} | ||
|
||
.firstHeading { | ||
margin: 0; | ||
} | ||
|
||
#siteSub { | ||
color: @color-base30; | ||
} | ||
|
||
.mw-body-header { | ||
margin-bottom: var( --space-md ); | ||
} | ||
|
||
.printfooter { | ||
font-size: 14px; | ||
} | ||
|
||
.mw-footer { | ||
color: @color-base30; | ||
font-size: 14px; | ||
} | ||
|
||
#footer-content { | ||
padding-top: 10px; | ||
border-top: 1px solid; | ||
margin-top: 20px; | ||
} | ||
|
||
#footer-info { | ||
ul { | ||
padding: 0; | ||
list-style: none; | ||
} | ||
} | ||
|
||
// Table of contents | ||
.toc { | ||
display: table; | ||
padding: 10px; | ||
border: 1px solid; | ||
margin-top: var( --space-md ); | ||
font-size: 14px; | ||
|
||
&title { | ||
padding-bottom: 10px; | ||
border-bottom: 1px solid; | ||
} | ||
margin-bottom: 0; | ||
} | ||
|
||
#mw-toc-heading { | ||
margin: 0; | ||
font-size: 1rem; | ||
.citizen-body, | ||
.mw-body-content { | ||
line-height: var( --line-height-xs ); | ||
} | ||
|
||
.thumb { | ||
margin-top: var( --space-md ); | ||
margin-bottom: var( --space-md ); | ||
} | ||
|
||
// Float styles | ||
div.tleft, | ||
div.floatleft, | ||
table.floatleft { | ||
margin-right: 1.4rem; | ||
clear: left; | ||
float: left; | ||
} | ||
|
||
div.tright, | ||
div.floatright, | ||
table.floatright { | ||
margin-left: 1.4rem; | ||
clear: right; | ||
float: right; | ||
.printfooter { | ||
border-top: 1px solid #aaa; | ||
clear: both; | ||
font-size: 13px; | ||
} | ||
|
||
// Gallery | ||
.skin-citizen { | ||
ul.mw-gallery-packed { | ||
&-hover, | ||
&-overlay { | ||
div.thumb:after { | ||
display: none; | ||
} | ||
} | ||
} | ||
.citizen-footer { | ||
margin-top: var( --space-lg ); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters