This file contains hidden or 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
| table.wikitable { | |
| margin: 1em 0; | |
| background-color: #FFF; | |
| border: 1px solid #aaa; | |
| border-collapse: collapse; | |
| color: @pureBlack; | |
| font-size: 10pt !important; | |
| } | |
| table.wikitable caption { |
This file contains hidden or 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
| /* brand */ | |
| #siteSub { | |
| font-size: 13px; | |
| padding-bottom: 5px; | |
| color: #333; | |
| &:after { | |
| content: " "; | |
| display: block; |
This file contains hidden or 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
| ul.gallery { | |
| margin: 2px; | |
| padding: 2px; | |
| display: block; | |
| } | |
| ul.gallery, li.gallerybox { | |
| zoom: 1; | |
| } | |
| div#content .gallerybox div.thumb { |
This file contains hidden or 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
| .toc { | |
| page-break-before: always; | |
| page-break-after: always; | |
| font-family: serif; | |
| } | |
| .toc ul { | |
| list-style: none; | |
| } | |
| .toc > ul > li { |
This file contains hidden or 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
| .toc { | |
| page-break-before: always; | |
| page-break-after: always; | |
| font-family: serif; | |
| } | |
| .toc ul { | |
| list-style: none; | |
| } | |
| .toc > ul > li { |
This file contains hidden or 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
| /* | |
| - Basic infobox styling | |
| - Remove background colors, they are hard to print | |
| */ | |
| .infobox { | |
| border: 1px solid #aaa; | |
| border-spacing: 3px; | |
| background-color: #fff; |
This file contains hidden or 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
| weightedBoolean = function ( name, trueWeight, token ) { | |
| return mw.experiments.getBucket( { | |
| enabled: true, | |
| name: name, | |
| buckets: { | |
| 'true': trueWeight, | |
| 'false': 1 - trueWeight | |
| } | |
| }, token ) === 'true'; |
This file contains hidden or 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
| /* pint css */ | |
| /* This css files can be applied to any wikipedia article. | |
| Note: remove any other css applied to page. this is the only css needed to print. | |
| */ | |
| /* | |
| - Have some padding and body typeface | |
| - Turn color to pure black. good for printing pure black | |
| */ |
This file contains hidden or 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
| import json | |
| from collections import OrderedDict | |
| f = open('skin.json', 'r') | |
| skinData = json.load(f, object_pairs_hook=OrderedDict) | |
| f.close() | |
| newModule = { | |
| "class": "MFResourceLoaderParsedMessageModule", | |
| "targets": [ "desktop", "mobile" ], |