123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358 |
- /*
- ** MediaWiki 'monobook' style sheet for CSS2-capable browsers.
- ** Copyright Gabriel Wicke - http://wikidev.net/
- ** License: GPL (http://www.gnu.org/copyleft/gpl.html)
- **
- ** Loosely based on http://www.positioniseverything.net/ordered-floats.html by Big John
- ** and the Plone 2.0 styles, see http://plone.org/ (Alexander Limi,Joe Geldart & Tom Croucher,
- ** Michael Zeltner and Geir Bækholt)
- ** All you guys rock :)
- */
- @import 'variables.less';
- /*
- ** Common styles across desktop and mobile
- */
- div#column-content {
- width: 100%;
- margin: 0;
- padding: 0;
- }
- .mw-body {
- padding: 1em;
- position: relative;
- z-index: 2;
- background: @content-background;
- color: @text-color;
- border: 1px solid @content-border;
- line-height: 1.5em;
- }
- /* Hide, but keep accessible for screen-readers */
- #column-one h2 {
- .hidden();
- }
- /* the left column width is specified in class .portlet */
- /* Font size:
- ** We take advantage of keyword scaling- browsers won't go below 9px
- ** More at http://www.w3.org/2003/07/30-font-size
- ** http://style.cleverchimp.com/font_size_intervals/altintervals.html
- */
- body {
- font: x-small sans-serif;
- background: @background url( images/headbg.jpg ) 0 0 no-repeat;
- // stylelint-disable value-list-comma-newline-after
- /* @embed */
- background: linear-gradient( transparent, transparent ),
- url( images/headbg.svg ) 0 0 no-repeat,
- @background url( images/headbg-gradient.svg ) 0 0 repeat-x;
- // stylelint-enable value-list-comma-newline-after
- color: @text-color;
- margin: 0;
- padding: 0;
- direction: ltr; /* Needed for RTL flipping */
- unicode-bidi: embed;
- }
- /* scale back up to a sane default */
- div#globalWrapper {
- font-size: 127%;
- width: 100%;
- margin: 0;
- padding: 0;
- position: relative;
- z-index: 0;
- }
- /* general styles */
- a {
- color: @link;
- }
- a:visited {
- color: @link-visited;
- }
- a.new,
- #p-personal a.new {
- color: @link-new;
- }
- ul {
- list-style-type: square;
- .list-style-image( 'images/bullet.svg' );
- }
- pre,
- .mw-code {
- line-height: 1.1em;
- }
- #firstHeading {
- padding-top: 0;
- overflow: visible;
- }
- .mw-indicators {
- float: right;
- line-height: 1.5em;
- font-size: 95%;
- }
- .mw-indicator {
- display: -moz-inline-block;
- display: inline-block;
- zoom: 1;
- *display: inline; /* stylelint-disable-line declaration-block-no-duplicate-properties */
- }
- .mw-jump-link:not( :focus ) {
- .mixin-screen-reader-text;
- }
- /*
- ** the main content area
- */
- #siteNotice {
- font-size: 95%;
- padding: 0 0.9em;
- p {
- margin: 0;
- padding: 0;
- }
- }
- #localNotice {
- margin: 0;
- }
- /*
- ** classes for special content elements like town boxes
- ** intended to be referenced directly from the wiki src
- */
- /*
- ** User styles
- */
- /* table standards */
- table.rimage {
- float: right;
- position: relative;
- margin-left: 1em;
- margin-bottom: 1em;
- text-align: center;
- }
- /*
- ** Structural Elements
- */
- /*
- ** general portlet styles (elements in the quickbar)
- */
- .portlet {
- overflow: hidden;
- h3 {
- background: transparent;
- display: inline;
- height: 1em;
- font-size: 91%;
- white-space: nowrap;
- }
- ul {
- line-height: 1.5em;
- font-size: 95%;
- }
- li {
- padding: 0;
- margin: 0;
- }
- }
- .pBody {
- font-size: 95%;
- color: @text-color;
- border-collapse: collapse;
- /* allows .pBody styles to wrap around content added via BaseTemplateAfterPortlet hook */
- &:after {
- content: '';
- clear: both;
- display: block;
- }
- }
- /*
- ** Logo properties
- */
- #p-logo {
- position: absolute;
- z-index: 3;
- overflow: visible;
- a,
- a:hover {
- display: block;
- background-repeat: no-repeat;
- text-decoration: none;
- }
- }
- /*
- ** the personal toolbar
- */
- /* "Not logged in" text in gray */
- li#pt-anonuserpage {
- color: @text-grey;
- }
- /*
- ** footer
- */
- #footer {
- background-color: @content-background;
- border-top: 1px solid @orange-border;
- border-bottom: 1px solid @orange-border;
- margin: 0.6em 0 1em 0;
- overflow: hidden;
- padding: 0.4em 0 0.3em 0;
- text-align: center;
- font-size: 90%;
- li {
- display: inline;
- margin: 0 1.3em;
- }
- }
- #userloginprompt,
- #languagelinks {
- font-size: 85%;
- }
- #login-sectiontip {
- font-size: 85%;
- line-height: 1.2;
- padding-top: 2em;
- }
- /**
- * This was originally added by Gabriel Wicke in r3681 (committed on 25 May 2004)
- * with the commit message "tweaks to page history".
- * Unlike the other IE/Mac fixes that used to be present here, this seems to get
- * applied on more modern browsers, so let's keep it here until someone has the
- * time to properly test it out.
- */
- #pagehistory li.selected {
- position: relative;
- }
- div.patrollink {
- clear: both;
- }
- .sharedUploadNotice {
- font-style: italic;
- }
- .toggle {
- margin-left: 2em;
- text-indent: -2em;
- }
- /* @bug 1714 */
- input#wpSave,
- input#wpDiff {
- margin-right: 0.33em;
- }
- #wpSave {
- font-weight: bold;
- }
- /* noarticletext */
- div.noarticletext {
- border: 1px solid @content-border;
- background: @content-background;
- padding: 0.2em 1em;
- color: @text-color;
- }
- #powersearch p {
- margin-top: 0;
- }
- div.multipageimagenavbox {
- border: solid 1px @content-border;
- padding: 4px;
- margin: 1em;
- background: @background;
- div.thumb {
- border: 0;
- margin-left: 2em;
- margin-right: 2em;
- }
- hr {
- margin: 6px;
- }
- }
- table.multipageimage td {
- text-align: center;
- }
- .templatesUsed {
- margin-top: 1.5em;
- }
- .mw-summary-preview {
- margin: 0.1em 0;
- }
- /* Friendlier slave lag warnings */
- div.mw-lag-warn-normal,
- div.mw-lag-warn-high {
- padding: 3px;
- text-align: center;
- margin: 3px auto;
- }
- div.mw-lag-warn-normal {
- border: 1px solid #fc6;
- background-color: #ffc;
- }
- div.mw-lag-warn-high {
- font-weight: bold;
- border: 2px solid #f03;
- background-color: #fcc;
- }
- .MediaTransformError {
- background-color: @content-border;
- padding: 0.1em;
- td {
- text-align: center;
- vertical-align: middle;
- font-size: 90%;
- }
- }
- /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */
- .tipsy {
- font-size: 127%;
- }
|