diff options
Diffstat (limited to 'skins/common')
-rw-r--r-- | skins/common/commonContent.css | 19 | ||||
-rw-r--r-- | skins/common/commonElements.css | 7 | ||||
-rw-r--r-- | skins/common/commonInterface.css | 10 | ||||
-rw-r--r-- | skins/common/commonPrint.css | 4 | ||||
-rw-r--r-- | skins/common/config.css | 1 | ||||
-rw-r--r-- | skins/common/images/icons/fileicon-djvu.xcf | bin | 83394 -> 0 bytes | |||
-rw-r--r-- | skins/common/images/icons/fileicon-ogg.xcf | bin | 40236 -> 0 bytes | |||
-rw-r--r-- | skins/common/images/icons/fileicon-psd.png | bin | 0 -> 10376 bytes | |||
-rw-r--r-- | skins/common/shared.css | 44 | ||||
-rw-r--r-- | skins/common/wikibits.js | 3 |
10 files changed, 72 insertions, 16 deletions
diff --git a/skins/common/commonContent.css b/skins/common/commonContent.css index 0fe8489e..a550d97a 100644 --- a/skins/common/commonContent.css +++ b/skins/common/commonContent.css @@ -1,6 +1,9 @@ -/* -** MediaWiki style sheet for general styles on complex content -*/ +/** + * MediaWiki style sheet for general styles on complex content + * + * Styles for complex things which are a standard part of page content + * (ie: the CSS classing built into the system), like the TOC. + */ /* Table of Contents */ #toc, @@ -110,6 +113,16 @@ img.thumbborder { } /** + * Edit forms + */ +#editform textarea { + display: block; + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} + +/** * Basic styles for the user login and create account forms */ #userlogin, #userloginForm { diff --git a/skins/common/commonElements.css b/skins/common/commonElements.css index 02fd29fe..2fa0cbaf 100644 --- a/skins/common/commonElements.css +++ b/skins/common/commonElements.css @@ -1,6 +1,9 @@ /** * MediaWiki style sheet for general styles on basic content elements - * This style sheet is used by the monobook and vector skins + * + * Styles for basic elements: links, lists, etc... + * + * This style sheet is used by the Monobook and Vector skins. */ /* Links */ @@ -186,7 +189,7 @@ blockquote { pre, code, tt, kbd, samp, .mw-code { /* * Some browsers will render the monospace text too small, namely Firefox, Chrome and Safari. - * Specifying any valid, second value will trigger correct behaviour without forcing a different font. + * Specifying any valid, second value will trigger correct behavior without forcing a different font. */ font-family: monospace, Courier; } diff --git a/skins/common/commonInterface.css b/skins/common/commonInterface.css index 60d6436b..af6665e4 100644 --- a/skins/common/commonInterface.css +++ b/skins/common/commonInterface.css @@ -1,6 +1,10 @@ -/* -** MediaWiki style sheet for common core styles on interfaces -*/ +/** + * MediaWiki style sheet for common core styles on interfaces + * + * Styles for the Monobook/Vector pattern of laying out common interfaces. + * These ids/classes are not built into the system, + * they are outputted by the actual MonoBook/Vector code by convention. + */ /* Categories */ .catlinks { diff --git a/skins/common/commonPrint.css b/skins/common/commonPrint.css index 48dd943f..6cb213f2 100644 --- a/skins/common/commonPrint.css +++ b/skins/common/commonPrint.css @@ -125,7 +125,9 @@ li#privacy, .mw-hidden-catlinks, tr.mw-metadata-show-hide-extended, span.mw-filepage-other-resolutions, -#filetoc { +#filetoc, +.usermessage, +#mw-navigation { /* Hides all the elements irrelevant for printing */ display: none; } diff --git a/skins/common/config.css b/skins/common/config.css index aa982d32..39206c3a 100644 --- a/skins/common/config.css +++ b/skins/common/config.css @@ -102,7 +102,6 @@ .config-settings-block { list-style-type: none; list-style-image: none; - float: left; margin: 0; padding: 0; } diff --git a/skins/common/images/icons/fileicon-djvu.xcf b/skins/common/images/icons/fileicon-djvu.xcf Binary files differdeleted file mode 100644 index 8043dcdb..00000000 --- a/skins/common/images/icons/fileicon-djvu.xcf +++ /dev/null diff --git a/skins/common/images/icons/fileicon-ogg.xcf b/skins/common/images/icons/fileicon-ogg.xcf Binary files differdeleted file mode 100644 index a91024bf..00000000 --- a/skins/common/images/icons/fileicon-ogg.xcf +++ /dev/null diff --git a/skins/common/images/icons/fileicon-psd.png b/skins/common/images/icons/fileicon-psd.png Binary files differnew file mode 100644 index 00000000..5bd40cb0 --- /dev/null +++ b/skins/common/images/icons/fileicon-psd.png diff --git a/skins/common/shared.css b/skins/common/shared.css index 8f771e9a..6e1c94fd 100644 --- a/skins/common/shared.css +++ b/skins/common/shared.css @@ -31,6 +31,12 @@ direction: rtl; } +/* User-Agent styles for new HTML5 elements */ +mark { + background-color: yellow; + color: black; +} + /* Input types that should follow user direction, like buttons */ /* TODO: What about buttons in wikipage content ? */ input[type="submit"], @@ -226,6 +232,9 @@ td.mw-label { .prefsection table { width: 100%; } +.prefsection table.mw-htmlform-matrix { + width: auto; +} td.mw-submit { white-space: nowrap; } @@ -248,6 +257,11 @@ tr.mw-htmlform-vertical-label td.mw-label { white-space: nowrap; } +.mw-htmlform-matrix td { + padding-left: 0.5em; + padding-right: 0.5em; +} + input#wpSummary { width: 80%; margin-bottom: 1em; @@ -307,6 +321,11 @@ input#wpSummary { padding-left: 0.25em; border-left: none; } + +/* (bug 5346) make category redirects italic */ +.catlinks li a.mw-redirect { + font-style: italic; +} /** * Hidden categories */ @@ -448,6 +467,11 @@ th.mw-revdel-checkbox { text-align: center; } +/* red links; see bug 36276 */ +a.new { + color: #BA0000; +} + /* feed links */ a.feedlink { /* @embed */ @@ -815,6 +839,7 @@ div.gallerytext { /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */ /* Languages like hi or ml require slightly more vertical space to show diacritics properly */ +h1:lang(anp), h1:lang(as), h1:lang(bh), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */ h1:lang(bho), @@ -822,16 +847,22 @@ h1:lang(bn), h1:lang(gu), h1:lang(hi), h1:lang(kn), +h1:lang(ks), h1:lang(ml), h1:lang(mr), h1:lang(my), +h1:lang(mai), +h1:lang(ne), +h1:lang(new), h1:lang(or), h1:lang(pa), +h1:lang(pi), h1:lang(sa), h1:lang(ta), h1:lang(te) { line-height: 1.6em !important; } +h2:lang(anp), h3:lang(anp), h4:lang(anp), h5:lang(anp), h6:lang(anp), h2:lang(as), h3:lang(as), h4:lang(as), h5:lang(as), h6:lang(as), h2:lang(bho), h3:lang(bho), h4:lang(bho), h5:lang(bho), h6:lang(bho), h2:lang(bh), h3:lang(bh), h4:lang(bh), h5:lang(bh), h6:lang(bh), @@ -839,11 +870,16 @@ h2:lang(bn), h3:lang(bn), h4:lang(bn), h5:lang(bn), h6:lang(bn), h2:lang(gu), h3:lang(gu), h4:lang(gu), h5:lang(gu), h6:lang(gu), h2:lang(hi), h3:lang(hi), h4:lang(hi), h5:lang(hi), h6:lang(hi), h2:lang(kn), h3:lang(kn), h4:lang(kn), h5:lang(kn), h6:lang(kn), +h2:lang(ks), h3:lang(ks), h4:lang(ks), h5:lang(ks), h6:lang(ks), h2:lang(ml), h3:lang(ml), h4:lang(ml), h5:lang(ml), h6:lang(ml), h2:lang(mr), h3:lang(mr), h4:lang(mr), h5:lang(mr), h6:lang(mr), h2:lang(my), h3:lang(my), h4:lang(my), h5:lang(my), h6:lang(my), +h2:lang(mai), h3:lang(mai), h4:lang(mai), h5:lang(mai), h6:lang(mai), +h2:lang(ne), h3:lang(ne), h4:lang(ne), h5:lang(ne), h6:lang(ne), +h2:lang(new), h3:lang(new), h4:lang(new), h5:lang(new), h6:lang(new), h2:lang(or), h3:lang(or), h4:lang(or), h5:lang(or), h6:lang(or), h2:lang(pa), h3:lang(pa), h4:lang(pa), h5:lang(pa), h6:lang(pa), +h2:lang(pi), h3:lang(pi), h4:lang(pi), h5:lang(pi), h6:lang(pi), h2:lang(sa), h3:lang(sa), h4:lang(sa), h5:lang(sa), h6:lang(sa), h2:lang(ta), h3:lang(ta), h4:lang(ta), h5:lang(ta), h6:lang(ta), h2:lang(te), h3:lang(te), h4:lang(te), h5:lang(te), h6:lang(te) { @@ -1057,8 +1093,8 @@ table.floatleft { } .editsection, .toctoggle { - -moz-user-select: none; - -webkit-user-select: none; - -ms-user-select: none; - user-select: none; + -moz-user-select: none; + -webkit-user-select: none; + -ms-user-select: none; + user-select: none; } diff --git a/skins/common/wikibits.js b/skins/common/wikibits.js index 05efb4a9..709cc334 100644 --- a/skins/common/wikibits.js +++ b/skins/common/wikibits.js @@ -91,10 +91,9 @@ window.importStylesheet = function( page ) { window.importStylesheetURI = function( url, media ) { var l = document.createElement( 'link' ); - l.type = 'text/css'; l.rel = 'stylesheet'; l.href = url; - if( media ) { + if ( media ) { l.media = media; } document.getElementsByTagName('head')[0].appendChild( l ); |