From: Antoine Musso Date: Sun, 5 Sep 2004 03:33:26 +0000 (+0000) Subject: files moved from /stylesheets/ (wich is now obsolete) X-Git-Tag: 1.5.0alpha1~2103 X-Git-Url: http://git.cyclocoop.org/geomaker.php?a=commitdiff_plain;h=2daff0bbf05895a8d4f1000aaaacbb99475dcc2f;p=lhc%2Fweb%2Fwiklou.git files moved from /stylesheets/ (wich is now obsolete) --- diff --git a/skins/chick/main.css b/skins/chick/main.css new file mode 100755 index 0000000000..294f8d1862 --- /dev/null +++ b/skins/chick/main.css @@ -0,0 +1,432 @@ +/* +** MediaWiki 'chick' style sheet for PDAs or other small-screen devices. +** Copyright Timwi +** License: GPL (http://www.gnu.org/copyleft/gpl.html) +** +** Loosely based on Monobook by Gabriel Wicke +*/ + +body { + font: sans-serif; + color: Black; + margin: 0; + padding: 0.3em; +} + +a { color: #002bb8; } +a:visited { color: #5a3696; } +a:active { color: Orange; } +a.stub { color: #772233; } +a.new, +#p-personal a.new { color:#ba0000; } +a.new:visited, +#p-personal a.new:visited { color:#a55858; } + +img { + border: none; + vertical-align: middle; +} +p { + margin: 0.4em 0em 0.5em 0em; + line-height: 1.5em; +} + +p img { margin: 0; } + +hr { + height: 1px; + color: #aaaaaa; + background-color: #aaaaaa; + border: 0; + margin: 0.2em 0 0.2em 0; +} + +h1, h2, h3, h4, h5, h6 { + color: Black; + background: none; + font-weight: normal; + margin: 0; + padding-top: 0.5em; + padding-bottom: 0.17em; + border-bottom: 1px solid #aaaaaa; +} +h1 { font-size: 188%; } +h2 { font-size: 150%; } +h3, h4, h5, h6 { + border-bottom: none; + font-weight: bold; +} +h3 { font-size: 132%; } +h4 { font-size: 116%; } +h5 { font-size: 100%; } +h6 { font-size: 80%; } + +ul { + line-height: 1.5em; + margin: 0.3em 0 0 1.5em; + padding:0; +} +ol { + line-height: 1.5em; + margin: 0.3em 0 0 3.2em; + padding:0; + list-style-image: none; +} +li { margin-bottom: 0.1em; } +dt { + font-weight: bold; + margin-bottom: 0.1em; +} +dl{ + margin-top: 0.2em; + margin-bottom: 0.5em; +} +dd { + line-height: 1.5em; + margin-left: 2em; + margin-bottom: 0.1em; +} + +fieldset { + border: 1px solid #2f6fab; + margin: 1em 0em 1em 0em; + padding: 0em 1em 1em 1em; + line-height: 1.5em; +} +legend { + background: White; + padding: 0.5em; + font-size: 95%; +} +form { + border: none; + margin: 0; +} + +textarea { + border: 1px solid #2f6fab; + color: Black; + background-color: white; + width: 100%; + padding: 0.1em; + overflow: auto; +} +/* hide this from ie/mac and konq2.2 */ +@media All { + head:first-child+body input { + visibility: visible; + border: 1px solid #2f6fab; + color: Black; + background-color: white; + vertical-align: middle; + padding: 0.2em; + } +} +input.historysubmit { + padding: 0 0.3em 0.3em 0.3em !important; + font-size: 94%; + cursor: pointer; + height: 1.7em !important; + margin-left: 1.6em; +} +input[type="radio"], +input[type="checkbox"] { border:none; } +select { + border: 1px solid #2f6fab; + color: Black; + vertical-align: top; +} +abbr, acronym, .explain { + border-bottom: 1px dotted Black; + color: Black; + background: none; + cursor: help; +} +q { + font-family: Times, "Times New Roman", serif; + font-style: italic; +} +code { background-color: #f9f9f9; } +pre { + padding: 1em; + border: 1px dashed #2f6fab; + color: Black; + background-color: #f9f9f9; + line-height: 1.1em; +} + +/* +** the main content area +*/ + +span.subpages { display: block; } + +/* Some space under the headers in the content area */ +#bodyContent h1, #bodyContent h2 { margin-bottom:0.6em; } +#bodyContent h3, +#bodyContent h4, +#bodyContent h5 { + margin-bottom: 0.3em; +} +.firstHeading { margin-bottom:0.1em; } + +/* user notification thing */ +.usermessage { + background-color: #ffce7b; + border: 1px solid #ffa500; + color: Black; + font-weight: bold; + margin: 0.1em 0 0 0; + padding: 2px 5px; + vertical-align: middle; +} +#siteNotice { + text-align: center; + font-size: 95%; + padding: 0 0.9em 0 0.9em; +} +#siteNotice p { margin: none; padding: none; } +.error { + color: red; + font-size: larger; +} +#catlinks { + border:1px solid #aaaaaa; + background-color:#f9f9f9; + padding: 2px 5px; + margin: 0.1em 0 0 0; + clear: both; +} +p.catlinks { margin: 0; padding: 0; } + + +/* currently unused, intended to be used by a metadata box +in the bottom-right corner of the content area */ +.documentDescription { + /* The summary text describing the document */ + font-weight: bold; + display: block; + margin: 1em 0em; + line-height: 1.5em; +} +.documentByLine { + text-align: right; + font-size: 90%; + clear: both; + font-weight: normal; + color: #76797c; +} + +/* emulate center */ +.center { + width: 100%; + text-align: center; +} +*.center * { + margin-left: auto; + margin-right: auto; +} +/* small for tables and similar */ +.small, .small * { font-size: 94%; } +table.small { font-size: 100% } + +/* +** content styles +*/ + +#toc { + /*border:1px solid #2f6fab;*/ + border:1px solid #aaaaaa; + background-color:#f9f9f9; + padding:5px; + font-size: 95%; +} +#toc .tocindent { margin-left: 2em; } +#toc .tocline { margin-bottom: 0px; } +#toc p { margin: 0 } +#toc .toctoggle { font-size: 94%; } +#toc .editsection { + margin-top: 0.7em; + font-size: 94%; +} + +/* images */ +div.floatright, table.floatright { + clear: right; + float: right; + margin: 0; + position: relative; + border: 0.5em solid White; + border-width: 0.5em 0 0.8em 1.4em; +} +div.floatright p { font-style: italic; } +div.floatleft, table.floatleft { + float: left; + margin: 0.3em 0.5em 0.5em 0; + position: relative; + border: 0.5em solid White; + border-width: 0.5em 1.4em 0.8em 0; +} +div.floatleft p { font-style: italic; } +/* thumbnails */ +div.thumb { + margin-bottom: 0.5em; + border-style: solid; border-color: White; + width: auto; +} +div.thumb div { + border:1px solid #cccccc; + padding: 3px !important; + background-color:#f9f9f9; + font-size: 94%; + text-align: center; + overflow: hidden; +} +div.thumb div a img { + border:1px solid #cccccc; +} +div.thumb div div.thumbcaption { + border: none; + text-align: left; + line-height: 1.4em; + padding: 0.3em 0 0.1em 0; +} +div.magnify { + float: right; + border: none !important; + background: none !important; +} +div.magnify a, div.magnify img { + display: block; + border: none !important; + background: none !important; +} +div.tright { + clear: right; + float: right; + border-width: 0.5em 0 0.8em 1.4em; +} +div.tleft { + float: left; + margin-right:0.5em; + border-width: 0.5em 1.4em 0.8em 0; +} +.urlexpansion, +.hiddenStructure { + display: none; +} +img.tex { vertical-align: middle; } +span.texhtml { font-family: serif; } + +/* +** 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; +} +.toccolours { + border:1px solid #aaaaaa; + background-color:#f9f9f9; + padding:5px; + font-size: 95%; +} +div.townBox { + position:relative; + float:right; + background:White; + margin-left:1em; + border: 1px solid Grey; + padding:0.3em; + width: 200px; + overflow: hidden; + clear: right; +} +div.townBox dl { + padding: 0; + margin: 0 0 0.3em 0; + font-size: 96%; +} +div.townBox dl dt { + background: none; + margin: 0.4em 0 0 0; +} +div.townBox dl dd { + margin: 0.1em 0 0 1.1em; + background-color: #f3f3f3; +} + +/* +** edit views etc +*/ +.special li { + line-height: 1.4em; + margin: 0; + padding: 0; +} + +/* Page history styling */ +/* the auto-generated edit comments */ +.autocomment { color: gray; } +#pagehistory span.user { + margin-left: 1.4em; + margin-right: 0.4em; +} +#pagehistory span.minor { font-weight: bold; } +#pagehistory li { border: 1px solid White; } +#pagehistory li.selected { + background-color:#f9f9f9; + border:1px dashed #aaaaaa; +} +/* +** Diff rendering +*/ +table.diff { background:white; } +td.diff-otitle { background:#ffffff; } +td.diff-ntitle { background:#ffffff; } +td.diff-addedline { + background:#ccffcc; + font-size: smaller; +} +td.diff-deletedline { + background:#ffffaa; + font-size: smaller; +} +td.diff-context { + background:#eeeeee; + font-size: smaller; +} +span.diffchange { color: red; } + +a.external { color: #3366bb; } + +div#footer { text-align: center; } + +ul#f-list li { list-style: none; text-align: center; } + +div.portlet { margin: 0.5em 0; } + +.redirectText { + font-size:150%; + margin:5px; +} + +ul.special li.not_patrolled, ol.special li.not_patrolled { + background-color: #ffa; +} +div.patrollink { + font-size: 75%; + text-align: right; +} +span.newpage, span.minor { + font-weight: bold; +} diff --git a/skins/common/IEFixes.js b/skins/common/IEFixes.js new file mode 100644 index 0000000000..4fbc9a8216 --- /dev/null +++ b/skins/common/IEFixes.js @@ -0,0 +1,47 @@ +// IE fix javascript +var rslt = navigator.appVersion.match(/MSIE (\d+\.\d+)/, ''); +if (rslt != null ) var version = Number(rslt[1]); +else var version = 0; + +window.attachEvent("onload", hookit); +function hookit() { + fixalpha(); + relativeforfloats(); +} + +// png alpha transparency fixes +function fixalpha(){ + // bg + if(version >= 5.5) { + var logoa = document.getElementById('p-logo').firstChild; + var bg = logoa.currentStyle.backgroundImage; + if (bg.match(/\.png/i) != null){ + var mypng = bg.substring(5,bg.length-2); + logoa.style.backgroundImage = "none"; + logoa.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+mypng+"', sizingMethod='crop')"; + } + } +} + +// fix ie6 disappering float bug +function relativeforfloats() { + var bc = document.getElementById('bodyContent'); + if (bc) { + var tables = bc.getElementsByTagName('table'); + var divs = bc.getElementsByTagName('div'); + } + setrelative(tables); + setrelative(divs); +} +function setrelative (nodes) { + var i = 0; + while (i < nodes.length) { + if(((nodes[i].style.float && nodes[i].style.float != ('none') || + (nodes[i].align && nodes[i].align != ('none'))) && + (!nodes[i].style.position || nodes[i].style.position != 'relative'))) + { + nodes[i].style.position = 'relative'; + } + i++; + } +} diff --git a/skins/common/cologneblue.css b/skins/common/cologneblue.css new file mode 100644 index 0000000000..237b1de62d --- /dev/null +++ b/skins/common/cologneblue.css @@ -0,0 +1,101 @@ +@import url("common.css"); + +body { margin: 0px; padding: 0px; color: black; } +#specialform { display: inline; } +#content { top: 0; margin: 0; padding: 0; } +#topbar { padding: 0px; } +#powersearch { + background: #DDEEFF; border-style: solid; border-width: 1; padding: 2; +} +#quickbar { + width: 140px; top: 18ex; padding: 2px; visibility: visible; z-index: 99; +} +#article, #article td, #article th, #article p { + font-family: Verdana, Arial, sans-serif; + font-size: 10pt; color: black; +} +#article p { + padding-top: 0; padding-bottom: 0; + margin-top: 1ex; margin-bottom: 0; +} +p, pre, td, th, li, dd, dt { line-height: 12pt; } +textarea { overflow: auto; } + +#footer { padding: 4px; } +#footer form { display: inline; } +#sitetitle { + font-family: Times, serif; + color: white; + font-weight: normal; font-size: 32pt; + line-height: 32pt; +} +td.top { + background-color: #6688AA; color: white; + margin-top: 4px; margin-bottom: 4px; + padding-top: 0; padding-bottom: 0; + text-transform: uppercase; + font-family: Verdana, Arial, sans-serif; font-size: 8pt; +} +td.top a { + font-family: Verdana, Arial, sans-serif; + background-color: #6688AA; color: white; + text-decoration: none; font-size: 10pt; +} +td.bottom { + font-family: Verdana, Arial, sans-serif; + font-size: 10pt; + padding: 0; +} +#pagestats { + font-family: Verdana, Arial, sans-serif; + color: black; + font-size: 9pt; +} +#sitesub { + font-family: Verdana, Arial, sans-serif; + font-size: 9pt; font-weight: bold; + color: black; + padding-top: 0; +} +#quickbar { + font-family: Verdana, Arial, sans-serif; + font-size: 8pt; font-weight: bold; line-height: 9.5pt; + text-decoration: none; + color: black; + padding: 0; margin-top: 0; +} +#quickbar a { color: #446688; } + +#quickbar h6 { + font-family: Verdana, Arial, sans-serif; + font-size: 10pt; font-weight: bold; line-height: 12pt; + text-decoration: none; + color: #666666; + padding: 0; margin-bottom: 2px; margin-top: 6px; +} +#quickbar form { padding: 0; margin-top: 0; } + +h1 { font-family: Arial, Helvetica, sans-serif; + color: #666666; + font-family: Verdana, Arial, sans-serif; + font-size: 18pt; font-weight: bold; line-height: 21pt; +} +h1.pagetitle { padding-bottom: 0; margin-bottom: 0; } +#article p.subtitle { + color: #666666; font-size: 11pt; font-weight: bold; + padding-top: 0; margin-top: 0; padding-bottom: 1ex; +} + +a { color: #0000FF; } +a:visited { color: #000080; } +a.external { color: #00C000; } +a.external:visited { color: #008000; } +a.stub { color:#800080; } +a.stub:visited { color:#600060; } +a.new, #quickbar a.new { color:#FF0000; } +a.new:visited , #quickbar a.new:visited { color:#800000; } + +a.printable { text-decoration: underline; } +h2, h3, h4, h5, h6 { margin-bottom: 0; } +small { font-size: 75%; } + diff --git a/skins/common/common.css b/skins/common/common.css new file mode 100644 index 0000000000..4e8bc08f18 --- /dev/null +++ b/skins/common/common.css @@ -0,0 +1,206 @@ +/* + * common.css + * This file contains CSS settings common to Wikistandard, Nostalgia and CologneBlue + */ +#footer { clear: both } +/* images */ +div.floatright { float: right; margin: 0 0 1em 1em; } +div.floatright p { font-style: italic; } +div.floatleft { float: left; margin: 0.3em 0.5em 0.5em 0; } +div.floatleft p { font-style: italic; } + + +/* Print-specific things to hide */ +.urlexpansion, .printfooter { + display: none; +} + +/* table standards */ +table.rimage { + float:right; + margin-left:1em; + margin-bottom:1em; + text-align:center; + font-size:smaller; +} + +/* thumbnails */ +div.thumb { + margin: 10px; + text-align: center; + width: auto; +} +div.thumb div { + border: 1px solid #8888aa; + background-color: #f7f8ff; + padding: 2px; + font-size: 94%; + text-align: center; + overflow: hidden; +} +div.thumb div * { + border: none; + background: none; +} +div.thumb img { + border:1px solid #8888AA; + margin-bottom:3px; + background:#FFFFFF; +} +div.thumbcaption, +div.thumbcaption * { + border: none !important; + background: none !important; +} +div.thumbcaption { + padding: 0.2em 0 0.2em 0 !important; + text-align: left !important; +} +div.tright { + float: right; + margin-left:0.5em; +} +div.tleft { + float: left; + margin-right:0.5em; +} + +/* Page history styling */ +/* the auto-generated edit comments */ +.autocomment { color: #4b4b4b; } +#pagehistory span.user { + margin-left: 1.4em; + margin-right: 0.4em; +} +#pagehistory span.minor { font-weight: bold; } +#pagehistory li { border: 1px solid White; } +#pagehistory li.selected { + background-color:#f9f9f9; + border:1px dashed #aaaaaa; +} + +table.diff { background:white; } +td.diff-otitle { background:#cccccc; } +td.diff-ntitle { background:#cccccc; } +td.diff-addedline { + background:#ccffcc; + font-size: 94%; +} +td.diff-deletedline { + background:#ffffaa; + font-size: 94%; +} +td.diff-context { + background:#eeeeee; + font-size: 94%; +} +span.diffchange { color: red; } + +img { border: none; } +img.tex { vertical-align: middle; } +span.texhtml { font-family: serif; } + + +#toc { + border: 1px solid #8888aa; + background-color: #f7f8ff; + padding: 5px; + font-size: 95%; +} +#toc .tocindent { margin-left: 2em; } +#toc .tocline { margin-bottom: 0px; } +#toc p { margin: 0 } +#toc .toctoggle { font-size: 95%; } +#toc .editsection { + margin-top: 0.7em; + font-size: 94%; +} + +.error { + color: red; + font-size: larger; +} + +/* preference page with js-genrated toc */ +#preftoc { + float: left; + margin: 1em 1em 1em 1em; + width: 13em; +} +#preftoc li { border: 1px solid White; } +#preftoc li.selected { + background-color:#f9f9f9; + border:1px dashed #aaaaaa; +} +#preftoc a, +#preftoc a:active { + display: block; + color: #005189; +} +#prefcontrol { + clear: left; + float: left; + margin-top: 1em; +} +div.prefsectiontip { + font-size: 94%; + margin-top: 1em; +} +fieldset.prefsection { margin-top: 1em } +fieldset.operaprefsection { margin-left: 15em } + +/* emulate center */ +.center { + width: 100%; + text-align: center; +} +*.center * { + margin-left: auto; + margin-right: auto; +} +/* small for tables and similar */ +.small, .small * { font-size: 94%; } +table.small { font-size: 100% } + +div.townBox { + position:relative; + float:right; + background:White; + margin-left:1em; + border: 1px solid Grey; + padding:0.3em; + width: 200px; + overflow: hidden; + clear: right; +} +div.townBox dl { + padding: 0; + margin: 0 0 0.3em 0; + font-size: 96%; +} +div.townBox dl dt { + background: none; + margin: 0.4em 0 0 0; +} +div.townBox dl dd { + margin: 0.1em 0 0 1.1em; + background-color: #f3f3f3; +} +/* use this instead of #toc for page content */ +.toccolours { + border:1px solid #aaaaaa; + background-color:#f9f9f9; + padding:5px; + font-size: 95%; +} +#siteNotice { + border:1px solid #aaaaaa; +} +.redirectText { + font-size:150%; + margin:5px; +} +.searchmatch { + color: red; + font-weight: bold; +} diff --git a/skins/common/commonPrint.css b/skins/common/commonPrint.css new file mode 100644 index 0000000000..3e91adcbb9 --- /dev/null +++ b/skins/common/commonPrint.css @@ -0,0 +1,226 @@ +/* +** MediaWiki Print style sheet for CSS2-capable browsers. +** Copyright Gabriel Wicke, http://www.aulinx.de/ +** +** Derived from the plone (http://plone.org/) styles +** Copyright Alexander Limi +*/ + +/* Thanks to A List Apart (http://alistapart.com/) for useful extras */ +a.stub, +a.new{ color:#ba0000; text-decoration:none; } + +#toc { + /*border:1px solid #2f6fab;*/ + border:1px solid #aaaaaa; + background-color:#f9f9f9; + padding:5px; +} +.tocindent { + margin-left: 2em; +} +.tocline { + margin-bottom: 0px; +} +.toctoggle, .editsection { + font-size: smaller; +} + +/* images */ +div.floatright { + float: right; + margin: 0; + position:relative; + border: 0.5em solid White; + border-width: 0.5em 0 0.8em 1.4em; +} +div.floatright p { font-style: italic;} +div.floatleft { + float: left; + margin: 0.3em 0.5em 0.5em 0; + position:relative; + border: 0.5em solid White; + border-width: 0.5em 1.4em 0.8em 0; +} +div.floatleft p { font-style: italic; } +/* thumbnails */ +div.thumb { + margin-bottom: 0.5em; + border-style: solid; border-color: White; + width: auto; + overflow: hidden; +} +div.thumb div { + border:1px solid #cccccc; + padding: 3px !important; + background-color:#f9f9f9; + font-size: 94%; + text-align: center; +} +div.thumb div a img { + border:1px solid #cccccc; +} +div.thumb div div.thumbcaption { + border: none; + text-align: left; + padding: 0.3em 0 0.1em 0; +} +div.magnify { display: none; } +div.tright { + float: right; + border-width: 0.5em 0 0.8em 1.4em; +} +div.tleft { + float: left; + margin-right:0.5em; + border: 0.5em 1.4em 0.8em 0; +} + +/* table standards */ +table.rimage { + float:right; + width:1pt; + position:relative; + margin-left:1em; + margin-bottom:1em; + text-align:center; +} + +body { + background: White; + /*font-size: 11pt !important;*/ + color: Black; + margin: 0; + padding: 0; +} + +div.top, +div#column-one, +#colophon, +.editsection, +.toctoggle, +div#f-poweredbyico, +div#f-copyrightico, +li#f-viewcount, +li#f-about, +li#f-disclaimer { + /* Hides all the elements irrelevant for printing */ + display: none; +} + +ul { + list-style-type: square; +} + +#content { + background: none; + border: none ! important; + font-size: 11pt; + padding: 0 ! important; + margin: 0 ! important; + text-align: left; +} +#footer { + border-top: 1px solid black; +} + +h1, h2, h3, h4, h5, h6 +{ + font-weight: bold; +} + +p, .documentDescription { + margin: 1em 0 ! important; + line-height: 1.2em; +} + +pre { + border: 1pt dashed black; + white-space: pre; + font-size: 8pt; + overflow: auto; + padding: 1em 0; +} + +table.listing, +table.listing td { + border: 1pt solid black; + border-collapse: collapse; +} + +a { + color: Black !important; + padding: 0 !important +} + +a:link, a:visited { + color: #520; + background: transparent; + text-decoration: underline; +} +/* +#content a:link:after, +#content a:visited:after { + content: " ( " attr(href) " ) "; +}*/ + +#globalWrapper { + width: 100% !important; + min-width: 0 !important; +} + +#column-content { + margin: 0 !important; +} + +#column-content #content { + padding: 1em; + margin: 0 !important; +} +/* MSIE/Win doesn't understand 'inherit' */ +a, a.external, a.new, a.stub { + color: black ! important; + text-decoration: none ! important; +} + +/* Continue ... */ +a, a.external, a.new, a.stub { + color: inherit ! important; + text-decoration: inherit ! important; +} + +img { border: none; } +img.tex { vertical-align: middle; } +span.texhtml { font-family: serif; } + +/* Show some stuff */ +.urlexpansion { + display: inline ! important; +} + +div.townBox { + position:relative; + float:right; + background:White; + margin-left:1em; + border: 1px solid Grey; + padding:0.3em; + width: 200px; + overflow: hidden; + clear: right; +} +div.townBox dl { + padding: 0; + margin: 0 0 0.3em 0; + font-size: 96%; +} +div.townBox dl dt { + background: none; + margin: 0.4em 0 0 0; +} +div.townBox dl dd { + margin: 0.1em 0 0 1.1em; + background-color: #f3f3f3; +} + +#siteNotice { display: none; } diff --git a/skins/common/common_rtl.css b/skins/common/common_rtl.css new file mode 100644 index 0000000000..8f50b2abb7 --- /dev/null +++ b/skins/common/common_rtl.css @@ -0,0 +1,15 @@ +/* js pref toc */ +#preftoc { float: right; } +/* workaround for moz bug, displayed bullets on left side */ +#preftoc li { list-style: none; } +#prefcontrol { float: right; } +fieldset.prefsection, +fieldset.operaprefsection { + margin-left: 0; + margin-right: 18em; +} +/* page history */ +#pagehistory span.user { + margin-right: 1.4em; + margin-left: 0.4em; +} diff --git a/skins/common/feed.css b/skins/common/feed.css new file mode 100644 index 0000000000..fa52a45c22 --- /dev/null +++ b/skins/common/feed.css @@ -0,0 +1,92 @@ +/* +Make RSS and Atom feeds at least semi-legible to folk who accidentally +load them in a browser... + +Compatibility: +* Mozilla is fine. +* Safari 1.2: the RSS text isn't shown +* Opera 7.5 uses the style sheet instead of its native RSS mode. +* IE/Mac 5.2: none of the :before content works; doesn't get the charset right and displays garbage for non-ASCII. +* IE/Win 6.0: No background color, borders, font size, font weight, or :before content. + +*/ + +/* RSS: */ rss, channel, title, link, description, language, generator, lastBuildDate, item, pubDate, author, comments, creator, +/* Atom: */ feed, modified, tagline, entry, issued, created, summary, comment { + display: block; +} + +rss, feed { + background: white; + color: black; + margin: 1em; + font-family: "Verdana", "Tahoma", "Arial", "Helvetica", sans-serif; + line-height: 1.5em; +} + +rss:before { + content: "This RSS feed is meant to be read in a syndicated news reader, and isn't ideal for a web browser."; +} + +feed:before { + content: "This Atom feed is meant to be read in a syndicated news reader, and isn't ideal for a web browser."; +} +rss:before, feed:before { + color: red; + text-align: center; + line-height: 2em; +} + +channel>title, +item>title, +feed>title, +entry>title { + font-weight: bold; + border-bottom: solid 1px #aaa; + margin-left: -0.5em; +} +channel>title, feed>title { + font-size: larger; +} +item>title, entry>title { + font-size: large; +} +item, entry { + margin-top: 1em; + margin-left: 2em; +} + +item>description, entry>summary { + white-space: pre; + overflow: auto; + background: #f8f8ff; +} + +pubDate:before { content: "Date: " } +link:before { content: "Link: " } +author:before, creator:before { content: "Author: " } +description:before { content: "Description: " } + +generator:before { content: "Generator: " } +language:before { content: "Language: " } +lastBuildDate:before { content: "Updated: " } +comments:before { content: "Comments page: " } + +tagline:before { content: "Tagline: " } +issued:before { content: "Issued: " } +created:before { content: "Created: " } +modified:before { content: "Modified: " } +summary:before { content: "Summary: " } +comment:before { content: "Comment: " } + +pubDate:before, link:before, author:before, description:before, +language:before, generator:before, lastBuildDate:before, comments:before, +tagline:before, issued:before, created:before, modified:before, +summary:before, comment:before, creator:before { + color: #224; + font-weight: bold; +} + +feed link:after { + content: attr(href); +} diff --git a/skins/common/nostalgia.css b/skins/common/nostalgia.css new file mode 100644 index 0000000000..f07e3a64e1 --- /dev/null +++ b/skins/common/nostalgia.css @@ -0,0 +1,20 @@ +@import url("common.css"); +body { + /* Background color is set separately on page type */ + color: black; +} +#article { } +#specialform { display: inline; } +#powersearch { + background: #DDEEFF; border-style: solid; border-width: 1; padding: 2; +} +.bodytext { } +a.interwiki, a.external { color: #3366BB; } +a.printable { text-decoration: underline; } +a.stub { color:#772233; text-decoration:none; } +h1.pagetitle { padding-top: 0; margin-top: 0; padding-bottom: 0; margin-bottom: 0; } +h2, h3, h4, h5, h6 { margin-bottom: 0; } +textarea { overflow: auto; } +p.subtitle { padding-top: 0; margin-top: 0; } + + diff --git a/skins/common/quickbar.css b/skins/common/quickbar.css new file mode 100644 index 0000000000..d7930c2abc --- /dev/null +++ b/skins/common/quickbar.css @@ -0,0 +1 @@ +#quickbar { position: fixed; padding: 4px; } diff --git a/skins/common/sticky.js b/skins/common/sticky.js new file mode 100644 index 0000000000..cf248c3e36 --- /dev/null +++ b/skins/common/sticky.js @@ -0,0 +1,124 @@ +// Make a layer that stays in the same place on screen when scrolling the browser window. +// Version 1.2 +// See http://www.mark.ac/help for browser support. + +var mySticky; +var theLayer; + +// Setup variables for sliding. +// lastY and staticYOffset should match your CSS top definition. + +lastY=10;YOffset=0;staticYOffset=10;refreshMS=25; + + +// Setup function that runs when the page loads. + function setup(eID){ + bw=new checkBrowser; + if(bw.ns4||bw.opera){MM_reloadPage(true);} + var noFix=bw.ie4||bw.ns4||(bw.macie50)?true:false; + if (window.attachEvent){fix_bind()} + else if(noFix){ + if(bw.ns6){document.getElementById(eID).style.position="absolute";} + if(bw.macie50){document.getElementById(eID).style.position="absolute";document.getElementById(eID).style.backgroundColor="#ccffcc";} + if(bw.ns6&&YOffset==0){YOffset=-15} + mySticky=new makeLayerObj(eID); + layerSlide(eID)} + else{ + mySticky=new makeLayerObj(eID); + mySticky.css.position="fixed";} + + if(!mySticky){mySticky=new makeLayerObj(eID);} + //mySticky.css.visibility="visible"; + } + + +// ------------------------- +// emulate css 'position: fixed' in IE5+ Win +// code by aclover@1value.com + fix_elements = new Array(); + + function fix_event(){ + var i; + for (i=0; i < fix_elements.length; i++){ + fix_elements[i].style.left = parseInt(fix_elements[i].fix_left)+document.getElementsByTagName('html')[0].scrollLeft+document.getElementsByTagName('body')[0].scrollLeft+'px'; + fix_elements[i].style.top = parseInt(fix_elements[i].fix_top)+document.getElementsByTagName('html')[0].scrollTop+document.getElementsByTagName('body')[0].scrollTop+'px'; + } + } + + function fix_bind(){ + var i; + for (i=0; i < document.all.length; i++){ + if (document.all[i].currentStyle.position=='fixed'){ + document.all[i].fix_left = document.all[i].currentStyle.left; + document.all[i].fix_top = document.all[i].currentStyle.top; + document.all[i].style.position = 'absolute'; + fix_elements[fix_elements.length] = document.all[i]; + window.attachEvent('onscroll', fix_event); + window.attachEvent('onresize', fix_event); + } + } + } +// ------------------------- + + +// ------------------------- +// DHTML menu sliding. Requires checkBrowser() +// Based on source at http://www.simplythebest.net/ + function layerSlide(layerID) { + if(bw.dhtml){ + if(!mySticky){mySticky=new makeLayerObj(layerID);} + if (bw.ns) {winY = window.pageYOffset;} + else if (bw.ie) {winY = document.body.scrollTop;} + if (bw.ie||bw.ns) { + if (winY!=lastY&&winY>YOffset-staticYOffset){smooth = .3 * (winY - lastY - YOffset + staticYOffset);} + else if (YOffset-staticYOffset+lastY>YOffset-staticYOffset){smooth = .3 * (winY - lastY - (YOffset-(YOffset-winY)));} + else{smooth=0} + if(smooth > 0) {smooth = Math.ceil(smooth);} + else{smooth = Math.floor(smooth);} + if (bw.ie){mySticky.css.pixelTop+=smooth;} + else if (bw.ns){mySticky.css.top=parseInt(mySticky.css.top)+smooth;} + lastY = lastY+smooth; + top.window.status=new Date() + setTimeout('layerSlide("'+layerID+'")', refreshMS)}}} +// ------------------------- + +// Netscape 4.x browser resize fix + function MM_reloadPage(init) { + if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { + document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; top.onresize=MM_reloadPage; }} + else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) {location.reload();}} + +// Create browser-independent layer and browser objects + function makeLayerObj(eID){ + if(document.getElementById){this.css=document.getElementById(eID).style} + else if(document.layers){this.css=document.layers[eID];} + else if(document.all){this.css=document.all[eID].style;} + return this + } + + function checkBrowser(){ + this.ver=navigator.appVersion; + this.name=navigator.appName; + this.mac=(navigator.platform.toLowerCase().indexOf('mac')>-1)?true:false; + this.opera=(navigator.userAgent.toLowerCase().indexOf('opera')>-1)?true:false; + this.dom=document.getElementById?true:false; + this.ns=(this.name=='Netscape'); + this.ie4=(document.all && !this.dom)?true:false; + this.ie=(this.name =='Microsoft Internet Explorer'&&!this.opera)?true:false; + this.ie5=(this.ie && (navigator.userAgent.indexOf("MSIE 5")!=-1))?true:false; + this.macie50=(this.mac&&this.ie5&&(navigator.userAgent.indexOf("MSIE 5.0")!=-1))?true:false + this.ns4=(this.ns && parseInt(this.ver) == 4)?true:false; + this.ns6=((this.name=="Netscape")&&(parseInt(this.ver)==5))?true:false + this.standards=document.getElementById?true:false; + this.dhtml=this.standards||this.ie4||this.ns4; + } + + function showMe(eID){ + myFloater=new makeLayerObj(eID) + myFloater.css.visibility="visible"; + } + + function hideMe(eID){ + myFloater=new makeLayerObj(eID) + myFloater.css.visibility="hidden"; + } \ No newline at end of file diff --git a/skins/common/wikibits.js b/skins/common/wikibits.js new file mode 100644 index 0000000000..e9c786611c --- /dev/null +++ b/skins/common/wikibits.js @@ -0,0 +1,392 @@ +// Wikipedia JavaScript support functions +// if this is true, the toolbar will no longer overwrite the infobox when you move the mouse over individual items +var noOverwrite=false; +var alertText; +var clientPC = navigator.userAgent.toLowerCase(); // Get client info +var is_gecko = ((clientPC.indexOf('gecko')!=-1) && (clientPC.indexOf('spoofer')==-1) + && (clientPC.indexOf('khtml') == -1) && (clientPC.indexOf('netscape/7.0')==-1)); +var is_safari = ((clientPC.indexOf('AppleWebKit')!=-1) && (clientPC.indexOf('spoofer')==-1)); +var is_khtml = (navigator.vendor == 'KDE' || ( document.childNodes && !document.all && !navigator.taintEnabled )); +if (clientPC.indexOf('opera')!=-1) { + var is_opera = true; + var is_opera_preseven = (window.opera && !document.childNodes); + var is_opera_seven = (window.opera && document.childNodes); +} + +// add any onload functions in this hook (please don't hard-code any events in the xhtml source) +function onloadhook () { + // don't run anything below this for non-dom browsers + if(!(document.getElementById && document.getElementsByTagName)) return; + histrowinit(); + unhidetzbutton(); + tabbedprefs(); + akeytt(); +} +if (window.addEventListener) window.addEventListener("load",onloadhook,false); +else if (window.attachEvent) window.attachEvent("onload",onloadhook); + + +// document.write special stylesheet links +if(typeof stylepath != 'undefined' && typeof skin != 'undefined') { + if (is_opera_preseven) { + document.write(''); + } else if (is_opera_seven) { + document.write(''); + } else if (is_khtml) { + document.write(''); + } +} +// Un-trap us from framesets +if( window.top != window ) window.top.location = window.location; + +// for enhanced RecentChanges +function toggleVisibility( _levelId, _otherId, _linkId) { + var thisLevel = document.getElementById( _levelId ); + var otherLevel = document.getElementById( _otherId ); + var linkLevel = document.getElementById( _linkId ); + if ( thisLevel.style.display == 'none' ) { + thisLevel.style.display = 'block'; + otherLevel.style.display = 'none'; + linkLevel.style.display = 'inline'; + } else { + thisLevel.style.display = 'none'; + otherLevel.style.display = 'inline'; + linkLevel.style.display = 'none'; + } +} + +// page history stuff +// attach event handlers to the input elements on history page +function histrowinit () { + hf = document.getElementById('pagehistory'); + if(!hf) return; + lis = hf.getElementsByTagName('LI'); + for (i=0;i= 0) ? "-" : "+") + ((tzHour < 10) ? "0" : "") + tzHour + ((tzMin < 10) ? "0" : "") + tzMin; + if( tz != tzString ) { + var junk = msg.split( '$1' ); + document.write( junk[0] + "UTC" + tzString + junk[1] ); + } +} +function unhidetzbutton() { + tzb = document.getElementById('guesstimezonebutton') + if(tzb) tzb.style.display = 'inline'; +} + +// in [-]HH:MM format... +// won't yet work with non-even tzs +function fetchTimezone() { + // FIXME: work around Safari bug + var localclock = new Date(); + // returns negative offset from GMT in minutes + var tzRaw = localclock.getTimezoneOffset(); + var tzHour = Math.floor( Math.abs(tzRaw) / 60); + var tzMin = Math.abs(tzRaw) % 60; + var tzString = ((tzRaw >= 0) ? "-" : "") + ((tzHour < 10) ? "0" : "") + tzHour + + ":" + ((tzMin < 10) ? "0" : "") + tzMin; + return tzString; +} + +function guessTimezone(box) { + document.preferences.wpHourDiff.value = fetchTimezone(); +} + +function showTocToggle(show,hide) { + if(document.getElementById) { + document.writeln('[' + + '' + + '' + hide + '' + + ']'); + } +} + + +function toggleToc() { + var toc = document.getElementById('tocinside'); + var showlink=document.getElementById('showlink'); + var hidelink=document.getElementById('hidelink'); + if(toc.style.display == 'none') { + toc.style.display = tocWas; + hidelink.style.display=''; + showlink.style.display='none'; + + } else { + tocWas = toc.style.display; + toc.style.display = 'none'; + hidelink.style.display='none'; + showlink.style.display=''; + + } +} + +// this function generates the actual toolbar buttons with localized text +// we use it to avoid creating the toolbar where javascript is not enabled +function addButton(imageFile, speedTip, tagOpen, tagClose, sampleText) { + + speedTip=escapeQuotes(speedTip); + tagOpen=escapeQuotes(tagOpen); + tagClose=escapeQuotes(tagClose); + sampleText=escapeQuotes(sampleText); + var mouseOver=""; + + // we can't change the selection, so we show example texts + // when moving the mouse instead, until the first button is clicked + if(!document.selection && !is_gecko) { + // filter backslashes so it can be shown in the infobox + var re=new RegExp("\\\\n","g"); + tagOpen=tagOpen.replace(re,""); + tagClose=tagClose.replace(re,""); + mouseOver = "onMouseover=\"if(!noOverwrite){document.infoform.infobox.value='"+tagOpen+sampleText+tagClose+"'};\""; + } + + document.write(""); + + document.write("\""+speedTip+"\""); + document.write(""); + return; +} + +function addInfobox(infoText,text_alert) { + alertText=text_alert; + var clientPC = navigator.userAgent.toLowerCase(); // Get client info + + var re=new RegExp("\\\\n","g"); + alertText=alertText.replace(re,"\n"); + + // if no support for changing selection, add a small copy & paste field + // document.selection is an IE-only property. The full toolbar works in IE and + // Gecko-based browsers. + if(!document.selection && !is_gecko) { + infoText=escapeQuotesHTML(infoText); + document.write("
"+ + "
"); + } + +} + +function escapeQuotes(text) { + var re=new RegExp("'","g"); + text=text.replace(re,"\\'"); + re=new RegExp('"',"g"); + text=text.replace(re,'"'); + re=new RegExp("\\n","g"); + text=text.replace(re,"\\n"); + return text; +} + +function escapeQuotesHTML(text) { + var re=new RegExp('"',"g"); + text=text.replace(re,"""); + return text; +} + +// apply tagOpen/tagClose to selection in textarea, +// use sampleText instead of selection if there is none +// copied and adapted from phpBB +function insertTags(tagOpen, tagClose, sampleText) { + + var txtarea = document.editform.wpTextbox1; + // IE + if(document.selection && !is_gecko) { + var theSelection = document.selection.createRange().text; + if(!theSelection) { theSelection=sampleText;} + txtarea.focus(); + if(theSelection.charAt(theSelection.length - 1) == " "){// exclude ending space char, if any + theSelection = theSelection.substring(0, theSelection.length - 1); + document.selection.createRange().text = tagOpen + theSelection + tagClose + " "; + } else { + document.selection.createRange().text = tagOpen + theSelection + tagClose; + } + + // Mozilla + } else if(txtarea.selectionStart || txtarea.selectionStart == '0') { + var startPos = txtarea.selectionStart; + var endPos = txtarea.selectionEnd; + var scrollTop=txtarea.scrollTop; + var myText = (txtarea.value).substring(startPos, endPos); + if(!myText) { myText=sampleText;} + if(myText.charAt(myText.length - 1) == " "){ // exclude ending space char, if any + subst = tagOpen + myText.substring(0, (myText.length - 1)) + tagClose + " "; + } else { + subst = tagOpen + myText + tagClose; + } + txtarea.value = txtarea.value.substring(0, startPos) + subst + + txtarea.value.substring(endPos, txtarea.value.length); + txtarea.focus(); + + var cPos=startPos+(tagOpen.length+myText.length+tagClose.length); + txtarea.selectionStart=cPos; + txtarea.selectionEnd=cPos; + txtarea.scrollTop=scrollTop; + + // All others + } else { + var copy_alertText=alertText; + var re1=new RegExp("\\$1","g"); + var re2=new RegExp("\\$2","g"); + copy_alertText=copy_alertText.replace(re1,sampleText); + copy_alertText=copy_alertText.replace(re2,tagOpen+sampleText+tagClose); + var text; + if (sampleText) { + text=prompt(copy_alertText); + } else { + text=""; + } + if(!text) { text=sampleText;} + text=tagOpen+text+tagClose; + document.infoform.infobox.value=text; + // in Safari this causes scrolling + if(!is_safari) { + txtarea.focus(); + } + noOverwrite=true; + } + // reposition cursor if possible + if (txtarea.createTextRange) txtarea.caretPos = document.selection.createRange().duplicate(); +} + +function akeytt() { + if(typeof ta == "undefined" || !ta) return; + pref = 'alt-'; + if(is_safari || navigator.userAgent.toLowerCase().indexOf( 'mac' ) + 1 ) pref = 'control-'; + if(is_opera) pref = 'shift-esc-'; + for(id in ta) { + n = document.getElementById(id); + if(n){ + a = n.childNodes[0]; + if(a){ + if(ta[id][0].length > 0) { + a.accessKey = ta[id][0]; + ak = ' ['+pref+ta[id][0]+']'; + } else { + ak = ''; + } + a.title = ta[id][1]+ak; + } else { + if(ta[id][0].length > 0) { + n.accessKey = ta[id][0]; + ak = ' ['+pref+ta[id][0]+']'; + } else { + ak = ''; + } + n.title = ta[id][1]+ak; + } + } + } +} diff --git a/skins/common/wikiprintable.css b/skins/common/wikiprintable.css new file mode 100644 index 0000000000..22e7193580 --- /dev/null +++ b/skins/common/wikiprintable.css @@ -0,0 +1,52 @@ +/* MediaWiki print stylesheet */ + +body { + color: #000000; background: #ffffff; +} + + +/* MSIE/Win doesn't understand 'inherit' */ +a, a.external, a.new, a.stub { + color: black ! important; + text-decoration: none ! important; +} +#article { + margin: 0 ! important; +} + +/* Continue ... */ +a, a.external, a.new, a.stub { + color: inherit ! important; + text-decoration: inherit ! important; +} + +/* Hide ugly UI stuff */ +#quickbar, #topbar, #footer, #siteNotice, +.editsection, .toctoggle { + display: none; +} + +/* */ +#article { + position: relative; + margin: inherit ! important; +} + +/* Show some stuff */ +.urlexpansion { + display: inline ! important; +} + +.printfooter { + border-top: solid 1px black; + display: block ! important; +} + +/* Old stuff, fixme: +.bodytext { } +a.CBlink { color: #0000AA; text-decoration: none; font-size: 12pt; } +a.interwiki, a.external { color: #3333BB; text-decoration: none; } +h1.pagetitle { padding-bottom: 0; margin-bottom: 0; } +i.link, u.link { color: #000066; } +p.subtitle { padding-top: 0; margin-top: 0; } +*/ diff --git a/skins/common/wikistandard.css b/skins/common/wikistandard.css new file mode 100644 index 0000000000..a1f96644ed --- /dev/null +++ b/skins/common/wikistandard.css @@ -0,0 +1,44 @@ +@import url("common.css"); + +#article { padding: 4px; } +#content { margin: 0; padding: 0; } +#footer { padding: 4px;font-size:95%;clear: both; } +#pagestats { font-size: 9pt; } +#powersearch { + background: #DDEEFF; border-style: solid; border-width: 1px; padding: 2px; +} +#quickbar { width: 140px; padding: 4px; visibility: visible; z-index:99;font-size:95%;} +#topbar { padding: 4px;font-size:95%; } + + +/* Table of contents */ +.toctoggle, .editsection { font-size: smaller; } + +/* ... */ +#toolbar { padding:0px; } +#infobox { background:#eeeeff;color:black;;} +#editform { margin-top:1px; } +.bodytext { } +a.interwiki, a.external { color: #3366BB; } +a.printable { text-decoration: underline; } +a.stub { color:#772233; text-decoration:none; } +body { margin: 0px; padding: 4px; color: black; } +form.inline { display: inline; } +textarea { overflow: auto; } + + +h1.pagetitle { padding-top: 0; margin-top: 0; padding-bottom: 0; margin-bottom: 0; +font-size:150%; } +h2 { font-size: 120%; } +h2, h3, h4, h5, h6 { margin-bottom: 0;} +h3 { font-size: 106.25%; } +h4 { font-size: 103.125%; } +h5 { font-size: 100%; } +h6 { font-size: 95%; } +hr.sep { color:gray;height:1px;background-color:gray;} +p.subpages { font-size:small;} +p.subtitle { padding-top: 0; margin-top: 0;} +p.catlinks { font-size:small; margin-top:0; text-align:right;} +td { empty-cells:show; } +td.bottom { border-top: 1px solid gray; } +td.top { border-bottom: 1px solid gray; } diff --git a/skins/davinci/IE50Fixes.css b/skins/davinci/IE50Fixes.css new file mode 100644 index 0000000000..abeeaf0cb0 --- /dev/null +++ b/skins/davinci/IE50Fixes.css @@ -0,0 +1,135 @@ +/* +** IE5.0 Fix Stylesheet +*/ + +/* IE 4&5 interpret keyword sizes one off */ +body { + font-size: xx-small; +} + +* html #visual-portal-wrapper { + width: 100%; +} +* html*#visual-portal-wrapper { + width: auto; +} + +input { + margin-bottom: 1px; /* bug fix */ +} + +table.listing td.top { + /* insane IE row bug workaround */ + position: relative; + left: -1px; + top: -1px; +} + +/* 5.0 doesn't like the background icon for external links and user */ +.link-external, +.external { + background: none; + padding: 0; +} +li#personaltools-userpage, +li#personaltools-login, +li#personaltools-logout { + background: none; + padding-left: none; +} + +/* try to prevent the sidebar from getting pushed to the bottom */ + +.portlet { + width: 13.5em; + overflow: hidden; +} + +#portal-column-one { + position: absolute; + z-index:0; + overflow: visible; + top: 0px; +} + +textarea { + width: 78% !important; +} + + +#portal-column-content { + margin: 2.8em 0 0 -12.2em !important; +} +#portal-column-content #content { + margin-left: 12.2em; + position: relative; + z-index: 1; +} +/* slightly smaller top margin for the content area */ + + +#portlet-contentViews { + top: 1.4em; + left: 11.8em; + background: transparent; + width: 76% !important; +} + +#portlet-contentViews ul { + display: block; + float: left; +} +#portlet-contentViews li { + display: block; + float: left; +} +#portlet-contentViews li a { + display: block; + float: left; + padding-bottom: 0.2em; +} +#portlet-contentViews .selected a, +#portlet-contentViews li a:hover { + padding-bottom: 0.2em; +} + +#portlet-personal { + position: absolute; + text-align: right; + top: 0px; + left: 0px; + /*width: 760px !important;*/ + width: 100% !important; + white-space: nowrap !important; + padding: 0; + margin: 0; + border: none; +} + +#portal-personaltools { + padding-bottom: 0.1em; +} + +#portal-personaltools li a { + padding-left: 2em !important; + margin-left: 2em !important; +} + + +#portal-footer { + margin: 0 0 0 15em; +} + +/* padding fixes */ +#content { + padding: 0 0 1em 0em; + margin: 0; +} +.urlexpansion { + display: none !important; +} +#documentSubtitle { + margin: -1em 0 0.6em 1em; +} + +/*div{ border:1px solid Red !important;}*/ diff --git a/skins/davinci/IE55Fixes.css b/skins/davinci/IE55Fixes.css new file mode 100644 index 0000000000..661a54775b --- /dev/null +++ b/skins/davinci/IE55Fixes.css @@ -0,0 +1,21 @@ +/* IE5.5/win- only fixes */ + +/* slightly smaller top margin for the content area */ + +#portlet-contentViews li a, +#portlet-contentViews .selected a, +#portlet-contentViews li a:hover { + padding-bottom: 0.2em; +} + +#portal-personaltools { + padding-bottom: 0.1em; +} + +body { + font-size: xx-small; +} + +.portlet { + overflow:hidden; +} diff --git a/skins/davinci/IE60Fixes.css b/skins/davinci/IE60Fixes.css new file mode 100644 index 0000000000..f57380f464 --- /dev/null +++ b/skins/davinci/IE60Fixes.css @@ -0,0 +1,61 @@ +/* 6.0 - only fixes */ + +/* slightly smaller top margin for the content area */ +#portlet-contentViews { + left: 11.4em; + top: 1.7em; + width: 76% !important; +} + +#portlet-contentViews ul { + display: block; + float: left; +} +#portlet-contentViews li { + display: block; + float: left; +} +#portlet-contentViews li a { + display: block; + float: left; + padding-bottom: 0.2em; +} +#portlet-contentViews .selected a, +#portlet-contentViews li a:hover { + padding-bottom: 0.2em; +} + +#portal-column-content { + margin: 1.9em 0 0 -11.9em; +} + +#portal-column-content #content { + margin: 0 0 0 11.9em; +} + +#portal-personaltools { + padding-bottom: 0.1em; +} + + +/* height on everything... */ +#content, +#content p, +div.comment, +h1, +h2, +h3, +h4, +h5, +h6, +.description, +.portalMessage { + height: 100%; +} + +p { + margin: 0.2em 0em 0.4em 0em; + line-height: 1.5em; +} + +/*{ border:1px solid Red !important;}*/ diff --git a/skins/davinci/IEFixes.css b/skins/davinci/IEFixes.css new file mode 100644 index 0000000000..19ce467bb7 --- /dev/null +++ b/skins/davinci/IEFixes.css @@ -0,0 +1,23 @@ +/* +** Stylesheet filter for some b0rked browser +** Don't touch! +*/ +/* IE6.0 */ +@import "null?\"\{"; +@import "IE60Fixes.css"; + +voice-family: "\"}\""; +voice-family:inherit; + +/* IE5.0 */ +@media tty { + i{content:"\";/*" "*/}}; @import 'IE50Fixes.css'; {;}/*";} +} + +/* IE5.5 */ +@media tty { + i{content:"\";/*" "*/}}@m; @import 'IE55Fixes.css'; /*";} +} + + + diff --git a/skins/davinci/bullet.gif b/skins/davinci/bullet.gif new file mode 100644 index 0000000000..b43de48a47 Binary files /dev/null and b/skins/davinci/bullet.gif differ diff --git a/skins/davinci/discussionitem_icon.gif b/skins/davinci/discussionitem_icon.gif new file mode 100644 index 0000000000..baec471afc Binary files /dev/null and b/skins/davinci/discussionitem_icon.gif differ diff --git a/skins/davinci/file_icon.gif b/skins/davinci/file_icon.gif new file mode 100644 index 0000000000..847f6485ef Binary files /dev/null and b/skins/davinci/file_icon.gif differ diff --git a/skins/davinci/link_icon.gif b/skins/davinci/link_icon.gif new file mode 100644 index 0000000000..815ccb1b1c Binary files /dev/null and b/skins/davinci/link_icon.gif differ diff --git a/skins/davinci/lock_icon.gif b/skins/davinci/lock_icon.gif new file mode 100644 index 0000000000..8a87e28330 Binary files /dev/null and b/skins/davinci/lock_icon.gif differ diff --git a/skins/davinci/mail_icon.gif b/skins/davinci/mail_icon.gif new file mode 100644 index 0000000000..50a87a9a06 Binary files /dev/null and b/skins/davinci/mail_icon.gif differ diff --git a/skins/davinci/main.css b/skins/davinci/main.css new file mode 100644 index 0000000000..1d484d2b3a --- /dev/null +++ b/skins/davinci/main.css @@ -0,0 +1,935 @@ +/* +** MediaWiki 'DaVinci' style sheet for CSS2-capable browsers. +** +** Copyright Gabriel Wicke - http://www.aulinx.de/ +** +** Based on the Plone 2.0 styles, see http://plone.org/. +** Plone stylesheet Copyright: +** Alexander Limi - http://www.plonesolutions.com +** additional plone work: +** Joe Geldart & Tom Croucher - http://www.netalleynetworks.com +** Michael Zeltner - http://niij.org +** Geir Bækholt - http://www.plonesolutions.com +** +** All you guys rock :) +*/ + +/* +** Tableless Column Layout for CSS2 capable Browsers +** Based on http://www.positioniseverything.net/ordered-floats.html by Big John. +** Fixed width modifications by Tonico Strasser (http://www.webproducer.at) and +** Michael Zeltner (http://niij.org). +** simplified heavily by Gabriel Wicke +*/ + +#portal-columns { +/* width: auto;*/ + margin: 0; +} + + +#portal-column-content { + /*position:relative; + top:2.2em; */ + width: 100%; + float: right; + margin: 2.1em 0 0 -12.2em; +} +#portal-column-content #content { + margin: 0 0 0 12.2em; +/* position: relative; + z-index:1;*/ +} + +#portal-column-one { + padding-top: 160px; +} + +/* 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 "Bitstream Vera Sans", "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif; + background-color: White; + color: Black; + margin: 0; + padding: 0; +} + + +/* scale back up to a sane default */ +#visual-portal-wrapper { + font-size:123% +} + +/* general styles */ + +table { + font-size: 100%; +} + + +a { + text-decoration: none; + /*color: #436976;*/ + color: #005189; + background-color: transparent; +} +img { + border: none; + vertical-align: middle; +} +p { + margin: 0.4em 0em 0.7em 0em; + line-height: 1.5em; +} +p a { + text-decoration: none; +} +p a:visited { + color: #5a3696; + background-color: transparent; +} +p a:active { + color: Red; + background-color: transparent; +} +p img { + border: 0; + margin: 0; +} + +hr { + height: 1px !important; + color: #aaaaaa; + background-color: #aaaaaa; + border: 0; + margin: 0.2em 0 0.2em 0; +} + + +h1, h2, h3, h4, h5, h6 { + color: Black; + background-color: transparent; + font-family: "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif; + font-size: 100%; + font-weight: normal; + margin: 0; + padding-top: 0.5em; + padding-bottom: 0.17em; + /* border-bottom: 1px solid #2f6fab;*/ + border-bottom: 1px solid #aaaaaa; + +} + +h1 a, +h2 a, +h3 a, +h4 a, +h5 a, +h6 a { + color: Black ! important; +} + +h1 { + font-size: 188%; +} + +h2 { + font-size: 150%; +} + +h3 { + font-size: 132%; + border-bottom: none; + font-weight: bold; +} + +h4 { + font-size: 116%; + border-bottom: none; + font-weight: bold; +} + +h5 { + font-size: 100%; + border-bottom: none; + font-weight: bold; +} + +h6 { + font-size: 80%; + border-bottom: none; + font-weight: bold; +} + + +ul { + line-height: 1.2em; + list-style-type: square; + margin: 0.3em 0 0 1.5em; + padding:0; + list-style-image: url("bullet.gif"); +} + +ol { + line-height: 1.2em; + margin: 0.3em 0 0 1.5em; + padding:0; +} +ul a, ol a { + text-decoration: none; +} +li { + margin-bottom: 0.4em; +} +dt { + font-weight: bold; +} +dt a { + text-decoration: none; +} + +dd { + line-height: 1.5em; + margin-bottom: 1em; +} +dd a { + text-decoration: none; +} + +dd.link a { + text-decoration: none; + color: Black; +} + +fieldset { + border: 1px solid #2f6fab; + margin: 1em 0em 1em 0em; + padding: 0em 1em 1em 1em; + line-height: 1.5em; +} +legend { + background: White; + padding: 0.5em; + font-size: 90%; +} + +form { + border: none; + margin: 0; +} + +textarea { + border: 1px solid #2f6fab; + color: Black; + background-color: white; + width: 98%; + padding: 0.1em; +} +input { + font-family: "Bitstream Vera Sans", "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif; + visibility: visible; + border: 1px solid #2f6fab; + color: Black; + background-color: white; + vertical-align: middle; + padding: 0.1em; +} +select { + border: 1px solid #2f6fab; + color: Black; + vertical-align: top; +} +abbr, acronym, .explain { + border-bottom: 1px dotted Black; + color: Black; + background-color: transparent; + cursor: help; +} +q { + font-family: Times, "Times New Roman", serif; + font-style: italic; +} +blockquote { + font-family: Times, "Times New Roman", serif; + font-style: italic; +} +code { + color: Black; + background-color: #f9f9f9; +} +pre { + padding: 1em; + border: 1px dashed #2f6fab; + color: Black; + background-color: #f9f9f9; + overflow: auto; +} +.pre a { + text-decoration: none; +} + + +/* +** the main content area +*/ + +#documentSubtitle { + font-size: 84%; + line-height: 1.2em; + margin: -1.6em 0 0.6em 1em; + color: #7d7d7d; +} + +#siteSubtitle { + display: none; +} + + +#content { + padding: 0.8em 0 1em 0em; + margin: 0; +} + +#bodyContent a:hover { + text-decoration: underline; +} + +/* Some space under the headers in the content area */ +#bodyContent h1, +.documentFirstHeading, +#bodyContent h2, +#bodyContent h3, +#bodyContent h4, +#bodyContent h5 { + margin-bottom:0.8em; +} + + +.documentContent { + font-size: 105%; + padding: 0em 1em 2em 1em !important; + background: White; + border: 1px solid #74ae0b; + border-top:2px solid #cde2a7; + border-style: solid; + margin:0; + line-height: 1.5em; +} + +/* this will be the user notification thing */ +.portalMessage { + background-color: #ffce7b; + border: 1px solid #ffa500; + color: Black; + font-size: 100%; + font-weight: bold; + margin: 2em 0em 1em 0em; + padding: 0.5em 1em; + vertical-align: middle; +} +.portalMessage a { + color: Black; + text-decoration: none; +} +.documentDescription { + /* The summary text describing the document */ + font-weight: bold; + display: block; + margin: 1em 0em; + line-height: 1.5em; +} +.documentByLine { + text-align: right; + font-size: 90%; + clear: both; + font-weight: normal; + color: #76797c; +} +.documentByLine a { + text-decoration: none; +} + +/* +** Special content area views +*/ + +.special li { + line-height: 1.4em !important; + margin: 0; + padding: 0; +} + +/* the auto-generated edit comments */ +#autocomment { color: gray; } + + + +/* +** Structural Elements +*/ + +#visual-portal-wrapper { + position: relative; + margin: 0; + padding: 0; +} + +/* +** the portlets (elements in the quickbar) +*/ + +.portlet { + border: none; + position:relative; + z-index:1; + margin: 0 0 1em 0em; + float: none; + padding: 0; + width: 13.5em !important; + overflow: hidden; +} +.portlet h4 { + font-size: 100%; + font-weight: normal; + white-space: nowrap; +} +.portlet h5 { + background: #ffb938; + border: 1px solid #2f6fab; + border-style: solid solid none solid; + padding: 0em 1em 0em 1em; + text-transform: lowercase; + display: inline; + font-size: 1em; + height: 1em; + font-weight: normal; + white-space: nowrap; +} +.portlet h6 { + background: #ffae2e; + border: 1px solid #2f6fab; + border-style: solid solid none solid; + padding: 0em 1em 0em 1em; + text-transform: lowercase; + display: block; + font-size: 1em; + height: 1.2em; + font-weight: normal; + white-space: nowrap; +} + +.portletBody { + background: transparent; + border-collapse: collapse; + border: 1px solid #2f6fab; +} +.portletDetails { + text-align: right; +} + +.portletMore { + display: block; + text-align: right; +} + +.portletContent { + padding: 0.1em 0.8em 0.7em 0.5em; +} +.portletClose { + float: right; + text-transform: none; + border-left: 1px solid #2f6fab; + padding: 0em 0.2em; +} +.portlet h1, +.portlet h2, +.portlet h3, +.portlet h4 { + margin: 0; + padding: 0; +} +.portlet .even { + background-color: #f7f9fa; +} +.portlet .odd { + background-color: transparent; +} +.portlet input { + font-size: 100%; +} + +.portlet ul { + list-style-type: square; + list-style-image: url("bullet.gif"); + font-size:107%; +} +.portlet li { + line-height: 1.3em; + font-size:106%; + margin: 0 0 0.3em 0.2em; + padding:0; + line-height: 1em; +} + +.even { + background-color: #f7f9fa; +} +.odd { + background-color: transparent; +} +.visualHighlight { + background-color: #f7f9fa; +} + +.discreet { + color: #76797c; + font-size: 80%; + font-weight: normal; +} + +/* +** Logo properties +*/ + +#portlet-logo { + z-index: 3; + position:absolute; /*needed to use z-index */ + top: 0; + left: 0; + height: 155px; + width: 135px; + overflow: visible; +} +#portlet-logo a { + display: block; + height: 155px; + width: 135px; + background: url(wiki.png) no-repeat; + background-repeat: no-repeat; +} + +/* +** the navigation portlet +*/ + + +#portlet-navigation-tree .plain { + white-space: nowrap; +} + +/* +** Search portlet +*/ + +input.searchButton { + width:5.4em; + margin-top:1px; + /* font-size: 100%; + margin-bottom: 1px ! important; + background: White url(search_icon.gif) 2px 1px no-repeat; + cursor: pointer; + padding: 1px 1px 1px 15px; + text-transform: lowercase;*/ + +} + +#searchGadget { + width:11.3em; + margin: 0; +} + + +#portlet-search .portletContent { + padding: 0.5em 0.4em 0.4em 0.4em; +} + + +/* +** the personal toolbar +*/ + +#portlet-personal { + width:100% !important; + white-space:nowrap !important; + padding:0 0 0 0; + margin:0; + position:absolute; + right:0px; + top:0px; + border: none; + /* border-bottom: 1px solid #2f6fab;*/ + border-bottom: 1px solid #2f6fab; + overflow: visible; + line-height: 1.2em; +} + +#portlet-personal .hiddenStructure { + display:none; +} +#portlet-personal .portlet, +#portlet-personal .portletBody, +#portlet-personal .portletContent, +#portlet-personal .odd{ + padding:0; + margin:0; + border: none !important; + z-index:0; + overflow: visible; +} +#portal-personal ul, +#portal-personal li { + z-index:0; + border:none; +} + +/* this is the ul contained in the portlet */ + +#portal-personaltools { + background-color: #ffb938; +/* border-bottom-color: #2f6fab;*/ + border: none; + line-height: 1.4em; + color: #2f6fab; + padding: 0em 3em 0 3em; + margin: 0; + text-align: right; + text-transform: lowercase; + list-style: none; + z-index:0; +} + +#portal-personaltools .portalNotLoggedIn { + color: #2f6fab; + padding: 0; + background: transparent; + background-image: none; +} /* Used on all descriptions relevant to those not logged in */ + +#portal-personaltools li { + padding:0; + display: inline; + color: #2f6fab; + margin-left: 1em; + line-height: 1.2em; +} +#portal-personaltools li a { + text-decoration: none; +/* color: #436976;*/ + color: #005896; + padding-bottom: 0.2em; +} +#portal-personaltools li a:hover { + text-decoration: none; +/* color: #436976;*/ + background-color: #ffcd6b; + padding-bottom: 0.2em; +} + +/* the icon in front of the user name */ +li#personaltools-userpage, +li#personaltools-login{ + background: transparent url(user.gif) center left no-repeat; + background-repeat: no-repeat; + padding-left: 20px; + text-transform: none; +} + +/* +** the page-related actions- page/talk, edit etc +*/ + +#portlet-contentViews { + position:absolute; + /*top:2.5em; + left:0px;*/ + top: 2em; + left: 13.3em; + margin:0 0 0 0; + white-space:nowrap !important; + width:auto; + height: 1.5em; + line-height: 1.5em; + overflow: visible; + background-color: transparent; + border-collapse: collapse; + padding-left: 1em; + list-style: none; +} + +#portlet-contentViews .hiddenStructure { + display: none; +} + +#portlet-contentViews li { + display: inline; +} +#portlet-contentViews li a { + background-color: transparent; + border-color: #74ae0b; + border-width: 1px; + border-style: solid solid none solid; + color: #446b00; + height: auto; + margin-right: 0.3em; + padding: 0 0.9em 0.1em 0.9em; + text-decoration: none; + text-transform: lowercase; +} +#portlet-contentViews .selected a { + background-color: #cde2a7; + border-bottom: none; + padding: 0 0.9em 0.1em 0.9em !important; + /* border-bottom: #cde2a7 1px solid;*/ + color: #446b00; +} +#portlet-contentViews li a:hover { + background-color: #cde2a7; + color: #446b00; +} + +/* offsets to distinguish the tab groups +IE5.5/6.0 is too dumb for this, hides the right tabs +*/ +li#contentaction-talk { + margin-right: 1.6em; +} +li#contentaction-watch { + margin-left: 1.6em; +} + +/* +#portlet-contentViews .contentViews { + padding: 0 1em 0 1em; +} +*/ + + +/* +** footer +*/ + + +#portal-footer { + background-color: #ffb938; + border-top: 1px solid #2f6fab; + border-bottom: 1px solid #2f6fab; + float: none; + margin: 0.3em 0em 1em 0em; + padding: 0.4em 0em 1em 0em; + text-align: center; +} + +#portal-footer li { + display: inline; + margin-right: 2em; +} + +#portal-colophon { + float: none; +/* margin: 0em 0em 2em 0em; + padding: 0.5em 0em 1em 0em;*/ + text-align: center; +} + +#portal-colophon ul, +#portal-colophon ul li, +#portal-colophon ul li a { + list-style: none; + display: inline; + text-decoration: none; +} + + + +/* +** mediawiki-specific styles +*/ + +a.stub, +a.new{ color:#ba0000; text-decoration:none; } + +#toc { + /*border:1px solid #2f6fab;*/ + border:1px solid #aaaaaa; + background-color:#f9f9f9; + padding:5px; +} + +/* images */ +div.floatright { float: right; + margin: 0 0 1em 1em; + position:relative; + +} +div.floatright p { font-style: italic;} +div.floatleft { float: left; margin: 0.3em 0.5em 0.5em 0; + position:relative; +} +div.floatleft p { font-style: italic; } + +/* thumbnails */ +div.thumbnail-none, +div.thumbnail-right, +div.thumbnail-left { + /* border:1px solid #2f6fab;*/ + border:1px solid #cccccc; + + background-color:#f9f9f9; + padding: 2px; + position:relative; + margin: 0.3em 0 0.5em; + font-size: 95%; + text-align: center; +} + +div.thumbnail-none p, div.thumbnail-right p, div.thumbnail-left p { + margin-top:3px; margin-bottom:3px; + position:relative; + text-align: left; +} + +div.thumbnail-right { + float: right; + position:relative; + margin-left:0.5em; +} + +div.thumbnail-left { + float: left; + position:relative; + margin-right:0.5em; +} + +/* table standards */ +table.rimage { + float:right; + width:1pt; + position:relative; + margin-left:1em; + margin-bottom:1em; + text-align:center; +} + + + + + + +/* +** Accessibility and visual enhancement elements +*/ + +.link-plain { + background-image: none; + padding: 0; +} + +.link-parent { + display: block; + background: transparent url("arrowUp.gif") 4px 5px no-repeat; + padding: 1px 0px 1px 16px; + font-size: 80%; +} + +.link-user { + background: transparent url("user.gif") 0 1px no-repeat; + padding: 1px 0px 1px 16px; +} + +/* the div* hides it from older browsers that choke on css3 */ +/* +.link-external, +html*.external{ + background: transparent url("link_icon.gif") 0px 1px no-repeat; + background-repeat: no-repeat; + padding: 1px 0px 1px 16px; +}*/ + +.urlexpansion { + display: none; +} + +.link-https { + background: transparent url("lock_icon.gif") 0px 1px no-repeat; + padding: 1px 0px 1px 16px; +} + +.link-mailto { + background: transparent url("mail_icon.gif") 0px 1px no-repeat; + padding: 1px 0px 1px 16px; +} + +.link-ftp { + background: transparent url("file_icon.gif") 0px 1px no-repeat; + padding: 1px 0px 1px 16px; +} + +.link-irc { + background: transparent url("discussionitem_icon.gif") 0px 1px no-repeat; + padding: 1px 0px 1px 16px; +} + + +.link-comment { + background: transparent url("discussionitem_icon.gif") center left no-repeat; + padding: 1px 0px 1px 16px !important; +} + +.hiddenStructure { + display: none; + } + +.contentActions .hiddenStructure { + position: absolute; + top: -200px; + left: -200px; +} + +.visualClear { + display: block; + clear: both; +} +.hiddenLabel { + display: block; + background: transparent; + background-image: none; /* safari bug */ + border: none; + height: 1px; + overflow: hidden; + padding: 0; + margin: -1px 0 0 -1px; + width: 1px; +} +.label { + font-weight: bold; + display: inline; + padding-right: 0.5em; +} + +.visualOverflow { + overflow: auto; + margin: 0 0 1em 0; +} + +.visualOverflow pre, +.visualOverflow table, +.visualOverflow img { + margin: 0; +} + +/* for highlighting of search terms */ + +.highlightedSearchTerm { + background-color: #feff82; +} + +/* debugging tool.. */ +/*div{ border:1px solid #000000 !important;}*/ + diff --git a/skins/davinci/required.gif b/skins/davinci/required.gif new file mode 100644 index 0000000000..bd7197698e Binary files /dev/null and b/skins/davinci/required.gif differ diff --git a/skins/davinci/user.gif b/skins/davinci/user.gif new file mode 100644 index 0000000000..bc9343960f Binary files /dev/null and b/skins/davinci/user.gif differ diff --git a/skins/davinci/wiki.png b/skins/davinci/wiki.png new file mode 100644 index 0000000000..cd5bd4e256 Binary files /dev/null and b/skins/davinci/wiki.png differ diff --git a/skins/mono/IE50Fixes.css b/skins/mono/IE50Fixes.css new file mode 100644 index 0000000000..2b7d8d301d --- /dev/null +++ b/skins/mono/IE50Fixes.css @@ -0,0 +1,128 @@ +/* +** IE5.0 Fix Stylesheet +*/ + +/* IE 4&5 interpret keyword sizes one off */ +body { + font-size: xx-small; +} + +* html #visual-portal-wrapper { + width: 100%; +} +* html*#visual-portal-wrapper { + width: auto; +} + +input { + margin-bottom: 1px; /* bug fix */ +} + +table.listing td.top { + /* insane IE row bug workaround */ + position: relative; + left: -1px; + top: -1px; +} + +/* 5.0 doesn't like the background icon for external links and user */ +.link-external, +.external { + background: none; + padding: 0; +} +li#personaltools-userpage, +li#personaltools-login, +li#personaltools-logout { + background: none; + padding-left: none; +} + +/* try to prevent the sidebar from getting pushed to the bottom */ + +.portlet { + width: 13.5em; + overflow: hidden; +} + +#portal-column-one { + position: absolute; + overflow: visible; + top: 0px; +} + +textarea { + width: 78% !important; +} + + +#portal-column-content { + margin: 0 0 0 -12.2em !important; +} +#portal-column-content #content { + margin-left: 12.2em; + margin-top: 2.8em; +/* padding-top: 0.3em;*/ + position: relative; +} +/* slightly smaller top margin for the content area */ + + +#portlet-contentViews { + background: transparent; + width: 76% !important; + line-height: 1.1em; +} + +#portlet-contentViews li a, +#portlet-contentViews .selected a, +#portlet-contentViews li a:hover { + padding-bottom: 0.1em; + margin-top: 1px; + padding-top: -1px; +} + +#portlet-contentViews li.selected { + background-color: White; + padding-top: -1px; +} +#portlet-contentViews li { + padding-top: 0; +} +#portlet-personal { + position: absolute; + text-align: right; + top: 0px; + left: 0px; + /*width: 760px !important;*/ + width: 100% !important; + white-space: nowrap !important; + padding: 0; + margin: 0; + border: none; + background: transparent; +} + +#portal-personaltools { + padding-bottom: 0; + background: transparent; +} + +#portal-personaltools li a { + padding-left: 2em !important; + margin-left: 2em !important; +} + + +#portal-footer { + margin: 0 0 0 15em; +} + +.urlexpansion { + display: none !important; +} +#documentSubtitle { + margin: -1em 0 0.6em 1em; +} + +/*div{ border:1px solid Red !important;}*/ diff --git a/skins/mono/IE55Fixes.css b/skins/mono/IE55Fixes.css new file mode 100644 index 0000000000..f351fe619d --- /dev/null +++ b/skins/mono/IE55Fixes.css @@ -0,0 +1,35 @@ +/* IE5.5/win- only fixes */ + +/* slightly smaller top margin for the content area */ + + +#portal-personaltools { + padding-bottom: 0.1em; +} + +body { + font-size: xx-small; +} +/*#portlet-contentViews { + left: 11.4em; + z-index: 3; +}*/ + +#portlet-contentViews li.selected { + background-color: White; +} +#portal-column-content #content { + margin-top: 1.9em; + padding-top: 0.3em; +} +#portlet-contentViews li a, +#portlet-contentViews .selected a, +#portlet-contentViews li a:hover { + padding-bottom: 0.1em; +} +#portlet-contentViews li a { + z-index: 0 !important; +} +.portlet { + overflow:hidden; +} diff --git a/skins/mono/IE60Fixes.css b/skins/mono/IE60Fixes.css new file mode 100644 index 0000000000..5d970695d9 --- /dev/null +++ b/skins/mono/IE60Fixes.css @@ -0,0 +1,54 @@ +/* 6.0 - only fixes */ + +/* slightly smaller top margin for the content area */ +#portlet-contentViews { + left: 12.4em; + z-index: 3; +} + +#portlet-contentViews li a, +#portlet-contentViews .selected a, +#portlet-contentViews li a:hover { + padding-bottom: 0.1em; +} + +#portlet-contentViews li.selected { + background-color: White; +} + + +#portal-column-content { + margin: 0 0 0 -11.9em; +} + +#portal-column-content #content { + margin: 1.9em 0 0 11.9em; + padding-top: 0.3em; +} + +#portal-personaltools { + padding-bottom: 0.1em; +} + + +/* height on everything... */ +#content, +#content p, +div.comment, +h1, +h2, +h3, +h4, +h5, +h6, +.description, +.portalMessage { + height: 100%; +} + +p { + margin: 0.2em 0em 0.4em 0em; + line-height: 1.5em; +} + +/*{ border:1px solid Red !important;}*/ diff --git a/skins/mono/IEFixes.css b/skins/mono/IEFixes.css new file mode 100644 index 0000000000..19ce467bb7 --- /dev/null +++ b/skins/mono/IEFixes.css @@ -0,0 +1,23 @@ +/* +** Stylesheet filter for some b0rked browser +** Don't touch! +*/ +/* IE6.0 */ +@import "null?\"\{"; +@import "IE60Fixes.css"; + +voice-family: "\"}\""; +voice-family:inherit; + +/* IE5.0 */ +@media tty { + i{content:"\";/*" "*/}}; @import 'IE50Fixes.css'; {;}/*";} +} + +/* IE5.5 */ +@media tty { + i{content:"\";/*" "*/}}@m; @import 'IE55Fixes.css'; /*";} +} + + + diff --git a/skins/mono/bullet.gif b/skins/mono/bullet.gif new file mode 100644 index 0000000000..b43de48a47 Binary files /dev/null and b/skins/mono/bullet.gif differ diff --git a/skins/mono/discussionitem_icon.gif b/skins/mono/discussionitem_icon.gif new file mode 100644 index 0000000000..baec471afc Binary files /dev/null and b/skins/mono/discussionitem_icon.gif differ diff --git a/skins/mono/file_icon.gif b/skins/mono/file_icon.gif new file mode 100644 index 0000000000..847f6485ef Binary files /dev/null and b/skins/mono/file_icon.gif differ diff --git a/skins/mono/link_icon.gif b/skins/mono/link_icon.gif new file mode 100644 index 0000000000..815ccb1b1c Binary files /dev/null and b/skins/mono/link_icon.gif differ diff --git a/skins/mono/lock_icon.gif b/skins/mono/lock_icon.gif new file mode 100644 index 0000000000..8a87e28330 Binary files /dev/null and b/skins/mono/lock_icon.gif differ diff --git a/skins/mono/mail_icon.gif b/skins/mono/mail_icon.gif new file mode 100644 index 0000000000..50a87a9a06 Binary files /dev/null and b/skins/mono/mail_icon.gif differ diff --git a/skins/mono/main.css b/skins/mono/main.css new file mode 100644 index 0000000000..c1ba9c1fb0 --- /dev/null +++ b/skins/mono/main.css @@ -0,0 +1,986 @@ +/* +** MediaWiki 'mono' style sheet for CSS2-capable browsers. +** +** Copyright Gabriel Wicke - http://www.aulinx.de/ +** +** Based on the Plone 2.0 styles, see http://plone.org/. +** Plone stylesheet Copyright: +** Alexander Limi - http://www.plonesolutions.com +** additional plone work: +** Joe Geldart & Tom Croucher - http://www.netalleynetworks.com +** Michael Zeltner - http://niij.org +** Geir Bækholt - http://www.plonesolutions.com +** +** All you guys rock :) +*/ + +/* +** Tableless Column Layout for CSS2 capable Browsers +** Based on http://www.positioniseverything.net/ordered-floats.html by Big John. +** Fixed width modifications by Tonico Strasser (http://www.webproducer.at) and +** Michael Zeltner (http://niij.org). +** simplified heavily by Gabriel Wicke +*/ + +#portal-columns { +/* width: auto;*/ + margin: 0; +} + + +#portal-column-content { + /*position:relative; + top:2.2em; */ + width: 100%; + float: right; + margin: 0 0 0 -12.2em; +} +#portal-column-content #content { + margin: 2.5em 0 0 12.2em; +} + +#portal-column-one { + padding-top: 160px; +} + +/* 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 "Bitstream Vera Sans", "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif; + background-color: #f9f9f9; + color: Black; + margin: 0; + padding: 0; +} + + +/* scale back up to a sane default */ +#visual-portal-wrapper { + font-size:123% +} + +/* general styles */ + +table { + font-size: 100%; +} + + +a { + text-decoration: none; + /*color: #436976;*/ + color: #005189; + background-color: transparent; +} +img { + border: none; + vertical-align: middle; +} +p { + margin: 0.4em 0em 0.7em 0em; + line-height: 1.5em; +} +p a { + text-decoration: none; +} +p a:visited { + color: #5a3696; + background-color: transparent; +} +p a:active { + color: Red; + background-color: transparent; +} +p img { + border: 0; + margin: 0; +} + +hr { + height: 1px !important; + color: #aaaaaa; + background-color: #aaaaaa; + border: 0; + margin: 0.2em 0 0.2em 0; +} + + +h1, h2, h3, h4, h5, h6 { + color: Black; + background-color: transparent; + font-family: "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif; + font-size: 100%; + font-weight: normal; + margin: 0; + padding-top: 0.5em; + padding-bottom: 0.17em; + /* border-bottom: 1px solid #2f6fab;*/ + border-bottom: 1px solid #aaaaaa; + +} + +h1 a, +h2 a, +h3 a, +h4 a, +h5 a, +h6 a { + color: Black ! important; +} + +h1 { + font-size: 188%; +} + +h2 { + font-size: 150%; +} + +h3 { + font-size: 132%; + border-bottom: none; + font-weight: bold; +} + +h4 { + font-size: 116%; + border-bottom: none; + font-weight: bold; +} + +h5 { + font-size: 100%; + border-bottom: none; + font-weight: bold; +} + +h6 { + font-size: 80%; + border-bottom: none; + font-weight: bold; +} + + +ul { + line-height: 1.5em; + list-style-type: square; + margin: 0.3em 0 0 1.5em; + padding:0; + list-style-image: url("bullet.gif"); +} + +ol { + line-height: 1.2em; + margin: 0.3em 0 0 1.5em; + padding:0; +} +ul a, ol a { + text-decoration: none; +} +li { + margin-bottom: 0.1em; +} +dt { + font-weight: bold; +} +dt a { + text-decoration: none; +} + +dd { + line-height: 1.5em; + margin-bottom: 1em; +} +dd a { + text-decoration: none; +} + +dd.link a { + text-decoration: none; + color: Black; +} + +fieldset { + border: 1px solid #2f6fab; + margin: 1em 0em 1em 0em; + padding: 0em 1em 1em 1em; + line-height: 1.5em; +} +legend { + background: White; + padding: 0.5em; + font-size: 90%; +} + +form { + border: none; + margin: 0; +} + +textarea { + border: 1px solid #2f6fab; + color: Black; + background-color: white; + width: 98%; + padding: 0.1em; +} +input { + font-family: "Bitstream Vera Sans", "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif; + visibility: visible; + border: 1px solid #2f6fab; + color: Black; + background-color: white; + vertical-align: middle; + padding: 0.1em; +} +select { + border: 1px solid #2f6fab; + color: Black; + vertical-align: top; +} +abbr, acronym, .explain { + border-bottom: 1px dotted Black; + color: Black; + background-color: transparent; + cursor: help; +} +q { + font-family: Times, "Times New Roman", serif; + font-style: italic; +} +blockquote { + font-family: Times, "Times New Roman", serif; + font-style: italic; +} +code { + color: Black; + background-color: #f9f9f9; +} +pre { + padding: 1em; + border: 1px dashed #2f6fab; + color: Black; + background-color: #f9f9f9; + overflow: auto; +} +.pre a { + text-decoration: none; +} + + +/* +** the main content area +*/ + +#documentSubtitle { + font-size: 84%; + line-height: 1.2em; + margin: -1.6em 0 0.6em 1em; + color: #7d7d7d; +} + +#siteSubtitle { + display: none; +} + + +#content { + padding: 0 0 1em 0em; + margin: 0; +} + +#bodyContent a:hover { + text-decoration: underline; +} + +/* Some space under the headers in the content area */ +#bodyContent h1, +.documentFirstHeading, +#bodyContent h2, +#bodyContent h3, +#bodyContent h4, +#bodyContent h5 { + margin-bottom:0.8em; +} + + +.documentContent { + font-size: 105%; + padding: 0em 1em 1.5em 1em !important; + background: White; + border: 1px solid #aaaaaa; + border-right: none; + margin:0; + line-height: 1.5em; + position: relative; + z-index: 2; +} + +/* this will be the user notification thing */ +.portalMessage { + background-color: #ffce7b; + border: 1px solid #ffa500; + color: Black; + font-size: 100%; + font-weight: bold; + margin: 2em 0em 1em 0em; + padding: 0.5em 1em; + vertical-align: middle; +} +.portalMessage a { + color: Black; + text-decoration: none; +} +.documentDescription { + /* The summary text describing the document */ + font-weight: bold; + display: block; + margin: 1em 0em; + line-height: 1.5em; +} +.documentByLine { + text-align: right; + font-size: 90%; + clear: both; + font-weight: normal; + color: #76797c; +} +.documentByLine a { + text-decoration: none; +} + +/* +** Special content area views +*/ + +.special li { + line-height: 1.4em !important; + margin: 0; + padding: 0; +} + +/* the auto-generated edit comments */ +#autocomment { color: gray; } + + + +/* +** Structural Elements +*/ + +#visual-portal-wrapper { + position: relative; + margin: 0; + padding: 0; +} + +/* +** the portlets (elements in the quickbar) +*/ + +.portlet { + border: none; + margin: 0 0 1em 0em; + float: none; + padding: 0; + width: 13.5em !important; + overflow: hidden; +} +.portlet h4 { + font-size: 100%; + font-weight: normal; + white-space: nowrap; +} +.portlet h5 { +/* background: #fabd23;*/ + background: transparent; + /* border: 1px solid #fabd23; + border-style: solid solid none solid;*/ + padding: 0em 1em 0em 0.5em; + text-transform: lowercase; + display: inline; + font-size: 1em; + height: 1em; + font-weight: normal; + white-space: nowrap; +} +.portlet h6 { + background: #ffae2e; + border: 1px solid #2f6fab; + border-style: solid solid none solid; + padding: 0em 1em 0em 1em; + text-transform: lowercase; + display: block; + font-size: 1em; + height: 1.2em; + font-weight: normal; + white-space: nowrap; +} + +.portletBody { + background: White; + border-collapse: collapse; +/* border: 1px solid #2f6fab;*/ + border: 1px solid #aaaaaa; +} +.portletDetails { + text-align: right; +} + +.portletMore { + display: block; + text-align: right; +} + +.portletContent { + padding: 0.1em 0.8em 0.7em 0.5em; +} +.portletClose { + float: right; + text-transform: none; + border-left: 1px solid #2f6fab; + padding: 0em 0.2em; +} +.portlet h1, +.portlet h2, +.portlet h3, +.portlet h4 { + margin: 0; + padding: 0; +} +.portlet .even { + background-color: #f7f9fa; +} +.portlet .odd { + background-color: transparent; +} +.portlet input { + font-size: 100%; +} + +.portlet ul { + line-height: 1.5em; + list-style-type: square; + list-style-image: url("bullet.gif"); + font-size:108%; +} +.portlet li { + padding:0; + margin: 0 0 0 0; + margin-bottom: 0; +} + +.even { + background-color: #f7f9fa; +} +.odd { + background-color: transparent; +} +.visualHighlight { + background-color: #f7f9fa; +} + +.discreet { + color: #76797c; + font-size: 80%; + font-weight: normal; +} + +/* +** Logo properties +*/ + +#portlet-logo { + z-index: 3; + position:absolute; /*needed to use z-index */ + top: 0; + left: 0; + height: 155px; + width: 135px; + overflow: visible; +} +#portlet-logo a { + display: block; + height: 155px; + width: 135px; + background: url(wiki.png) no-repeat; + background-repeat: no-repeat; +} + +/* +** the navigation portlet +*/ + + +#portlet-navigation-tree { + position:relative; + z-index:2; +} +#portlet-navigation-tree .plain { + white-space: nowrap; +} + +/* +** Search portlet +*/ +#portlet-search { + position:relative; + z-index:2; +} +input.searchButton { + width:5.4em; + margin-top:1px; + /* font-size: 100%; + margin-bottom: 1px ! important; + background: White url(search_icon.gif) 2px 1px no-repeat; + cursor: pointer; + padding: 1px 1px 1px 15px; + text-transform: lowercase;*/ + +} + +#searchGadget { + width:11.3em; + margin: 0; +} + + +#portlet-search .portletContent { + padding: 0.5em 0.4em 0.4em 0.4em; +} + + +/* +** the personal toolbar +*/ + +#portlet-personal { + width:100% !important; + white-space:nowrap !important; + padding:0 0 0 0; + margin:0; + position:absolute; + z-index: 0; + right:0px; + top:0px; + border: none; + /* border-bottom: 1px solid #2f6fab;*/ + /* border-bottom: 1px solid #2f6fab;*/ + /* background-color: #f0f0f0;*/ + overflow: visible; + line-height: 1.2em; +} + +#portlet-personal .hiddenStructure { + display:none; +} +#portlet-personal .portlet, +#portlet-personal .portletBody, +#portlet-personal .portletContent, +#portlet-personal .odd{ + padding:0; + margin:0; + border: none !important; + z-index:0; + overflow: visible; +} +#portal-personal ul, +#portal-personal li { + z-index:0; + border:none; +} + +/* this is the ul contained in the portlet */ + +#portal-personaltools { +/* background-color: #fabd23;*/ +/* border-bottom-color: #2f6fab;*/ + border: none; + line-height: 1.4em; + color: #2f6fab; + padding: 0em 2em 0 3em; + margin: 0; + text-align: right; + text-transform: lowercase; + list-style: none; + z-index:0; +} + +#portal-personaltools .portalNotLoggedIn { + color: #2f6fab; + padding: 0; + background: transparent; + background-image: none; +} /* Used on all descriptions relevant to those not logged in */ + +#portal-personaltools li { + padding:0; + display: inline; + color: #2f6fab; + margin-left: 1em; + line-height: 1.2em; +} +#portal-personaltools li a { + text-decoration: none; +/* color: #436976;*/ + color: #005896; + padding-bottom: 0.2em; +} +#portal-personaltools li a:hover { + text-decoration: none; +/* color: #436976;*/ + background-color: #ffcd6b; + padding-bottom: 0.2em; +} + +/* the icon in front of the user name */ +li#personaltools-userpage, +li#personaltools-login{ + background: transparent url(user.gif) center left no-repeat; + background-repeat: no-repeat; + padding-left: 20px; + text-transform: none; +} + +/* +** the page-related actions- page/talk, edit etc +*/ + +#portlet-contentViews { + position:absolute; + /*top:2.5em; + left:0px;*/ + top: 2.6em; + left: 13.3em; + margin: 0; + margin-top: -1.4em; + white-space:nowrap !important; + width:70% !important; + min-width: 40em; + line-height: 1.3em; + overflow: visible; + background-color: transparent; + border-collapse: collapse; + padding-left: 1em; + list-style: none; +} + +#portlet-contentViews .hiddenStructure { + display: none; +} + +#portlet-contentViews ul { + list-style: none; +} +#portlet-contentViews li { + float: left; + margin-right: 0.2em; + border-color: #aaaaaa; + border-width: 1px; + border-style: solid solid none solid; + padding-bottom: 0.1em; +} + +#portlet-contentViews li.selected { + border-width: 1px; + border-style: solid solid none solid; + border-color: #fabd23; + padding-bottom: 0.2em; +} +#portlet-contentViews li a { + float:left; + display: block; + background-color: White; + color: #005189; + padding: 0.1em 0.9em 0.4em 0.9em; + text-decoration: none; + border: none; + text-transform: lowercase; + position: relative; + z-index: 0 !important; +} + /* Commented Backslash Hack + hides rule from IE5-Mac \*/ +#portlet-contentViews li a {float:none;} + /* End IE5-Mac hack */ + +#portlet-contentViews .selected a { + float:left; + position: relative; + z-index: 3 !important; + display: block; + background-color: White; + padding: 0.1em 0.9em 0.4em 0.9em; +} + /* Commented Backslash Hack + hides rule from IE5-Mac \*/ +#portlet-contentViews selected a {float:none;} + /* End IE5-Mac hack */ + +#portlet-contentViews li a:hover { + float:left; + position: relative; + z-index: 3 !important; + display: block; + border-color: #fabd23; + padding: 0.1em 0.9em 0.4em 0.9em; +} + /* Commented Backslash Hack + hides rule from IE5-Mac \*/ +#portlet-contentViews li a:hover {float:none;} + /* End IE5-Mac hack */ + +/* offsets to distinguish the tab groups +IE5.5/6.0 is too dumb for this, hides the right tabs +*/ +li#contentaction-talk { + margin-right: 1.6em; +} +li#contentaction-watch { + margin-left: 1.6em; +} + +/* +#portlet-contentViews .contentViews { + padding: 0 1em 0 1em; +} +*/ + +/* +** the remaining portlets +*/ +#portlet-toolbox, +#portlet-language { + position:relative; + z-index:3; +} + + +/* +** footer +*/ + + +#portal-footer { + background-color: White; + border-top: 1px solid #fabd23; + border-bottom: 1px solid #fabd23; + float: none; + margin: 0.3em 0em 1em 0em; + padding: 0.4em 0em 1em 0em; + text-align: center; +} + +#portal-footer li { + display: inline; + margin-right: 2em; +} + +#portal-colophon { + float: none; +/* margin: 0em 0em 2em 0em; + padding: 0.5em 0em 1em 0em;*/ + text-align: center; +} + +#portal-colophon ul, +#portal-colophon ul li, +#portal-colophon ul li a { + list-style: none; + display: inline; + text-decoration: none; +} + + + +/* +** mediawiki-specific styles +*/ + +a.stub, +a.new{ color:#ba0000; text-decoration:none; } + +#toc { + /*border:1px solid #2f6fab;*/ + border:1px solid #aaaaaa; + background-color:#f9f9f9; + padding:5px; +} + +/* images */ +div.floatright { float: right; + margin: 0 0 1em 1em; + position:relative; + +} +div.floatright p { font-style: italic;} +div.floatleft { float: left; margin: 0.3em 0.5em 0.5em 0; + position:relative; +} +div.floatleft p { font-style: italic; } + +/* thumbnails */ +div.thumbnail-none, +div.thumbnail-right, +div.thumbnail-left { + /* border:1px solid #2f6fab;*/ + border:1px solid #cccccc; + + background-color:#f9f9f9; + padding: 2px; + position:relative; + margin: 0.3em 0 0.5em; + font-size: 95%; + text-align: center; +} + +div.thumbnail-none p, div.thumbnail-right p, div.thumbnail-left p { + margin-top:3px; margin-bottom:3px; + position:relative; + text-align: left; +} + +div.thumbnail-right { + float: right; + position:relative; + margin-left:0.5em; +} + +div.thumbnail-left { + float: left; + position:relative; + margin-right:0.5em; +} + +/* table standards */ +table.rimage { + float:right; + width:1pt; + position:relative; + margin-left:1em; + margin-bottom:1em; + text-align:center; +} + + + + + + +/* +** Accessibility and visual enhancement elements +*/ + +.link-plain { + background-image: none; + padding: 0; +} + +.link-parent { + display: block; + background: transparent url("arrowUp.gif") 4px 5px no-repeat; + padding: 1px 0px 1px 16px; + font-size: 80%; +} + +.link-user { + background: transparent url("user.gif") 0 1px no-repeat; + padding: 1px 0px 1px 16px; +} + +/* the div* hides it from older browsers that choke on css3 */ +/* +.link-external, +html*.external{ + background: transparent url("link_icon.gif") 0px 1px no-repeat; + background-repeat: no-repeat; + padding: 1px 0px 1px 16px; +}*/ + +.urlexpansion { + display: none; +} + +.link-https { + background: transparent url("lock_icon.gif") 0px 1px no-repeat; + padding: 1px 0px 1px 16px; +} + +.link-mailto { + background: transparent url("mail_icon.gif") 0px 1px no-repeat; + padding: 1px 0px 1px 16px; +} + +.link-ftp { + background: transparent url("file_icon.gif") 0px 1px no-repeat; + padding: 1px 0px 1px 16px; +} + +.link-irc { + background: transparent url("discussionitem_icon.gif") 0px 1px no-repeat; + padding: 1px 0px 1px 16px; +} + + +.link-comment { + background: transparent url("discussionitem_icon.gif") center left no-repeat; + padding: 1px 0px 1px 16px !important; +} + +.hiddenStructure { + display: none; + } + +.contentActions .hiddenStructure { + position: absolute; + top: -200px; + left: -200px; +} + +.visualClear { + display: block; + clear: both; +} +.hiddenLabel { + display: block; + background: transparent; + background-image: none; /* safari bug */ + border: none; + height: 1px; + overflow: hidden; + padding: 0; + margin: -1px 0 0 -1px; + width: 1px; +} +.label { + font-weight: bold; + display: inline; + padding-right: 0.5em; +} + +.visualOverflow { + overflow: auto; + margin: 0 0 1em 0; +} + +.visualOverflow pre, +.visualOverflow table, +.visualOverflow img { + margin: 0; +} + +/* for highlighting of search terms */ + +.highlightedSearchTerm { + background-color: #feff82; +} + +/* debugging tool.. */ +/*div{ border:1px solid #000000 !important;}*/ + diff --git a/skins/mono/required.gif b/skins/mono/required.gif new file mode 100644 index 0000000000..bd7197698e Binary files /dev/null and b/skins/mono/required.gif differ diff --git a/skins/mono/user.gif b/skins/mono/user.gif new file mode 100644 index 0000000000..bc9343960f Binary files /dev/null and b/skins/mono/user.gif differ diff --git a/skins/mono/wiki.png b/skins/mono/wiki.png new file mode 100644 index 0000000000..cd5bd4e256 Binary files /dev/null and b/skins/mono/wiki.png differ diff --git a/skins/monobook/IE50Fixes.css b/skins/monobook/IE50Fixes.css new file mode 100644 index 0000000000..dd9eda3e5f --- /dev/null +++ b/skins/monobook/IE50Fixes.css @@ -0,0 +1,67 @@ +/* +** IE5.0 Fix Stylesheet +*/ + +#column-content { + margin: 0 !important; + float: none; +} +#column-content #content { + margin-top: 3em; + height: 1%; +} +#column-one { + position: absolute; + overflow: visible; + top: 0; + left: 0; + z-index: 3; +} +#footer { + margin: 0 0 0 13.6em; +} + +/* IE 5 & 5.5 interpret keyword sizes one off */ +body { font-size: xx-small; } +/* +** the edit tabs +*/ +#p-cactions li { + float: left; + padding-top: 0; + padding-bottom: 0 !important; + height: 0.9em; +} +#p-cactions li a { + display: block; + padding-bottom: 0.045em; +} +#p-cactions li.selected a { + padding-bottom: 0.17em; +} +#p-cactions li a:hover { + padding-bottom: 0.17em; +} +/* 5.0 doesn't like the background icon for external links and user */ +.link-external, +.external { + background: none; + padding: 0; +} +#p-personal ul { float: right } +#p-personal li { float: left } +li#pt-userpage, +li#pt-anonuserpage, +li#pt-login, +li#pt-logout { + background: none; + padding-left: none; +} +.visualClear { + width:100%; + height: 0px; + padding:0; + margin:0; +} +.firstHeading { margin-bottom: 0.3em; } +/*div{ border:1px solid Red !important;}*/ diff --git a/skins/monobook/IE55Fixes.css b/skins/monobook/IE55Fixes.css new file mode 100644 index 0000000000..b3258d5132 --- /dev/null +++ b/skins/monobook/IE55Fixes.css @@ -0,0 +1,72 @@ +/* IE5.5/win- only fixes */ + +#column-content { + float: none; + margin-left: 0; + height: 1%; +} +#column-content #content { + position: relative; + z-index: 5; + margin-left: 12.2em; + margin-top: 3em; + height: 1%; +} +#column-one { + position: absolute; + top: 0; + left: 0; + z-index: 4; + width: 100%; +} +#footer { + margin-left: 13.6em; + border-left: 1px solid #fabd23; +} + +/*#bodyContent div, +#bodyContent pre { overflow: auto; }*/ + +#p-personal { padding-bottom: 0.1em; } + +body { font-size: xx-small; } + +#p-cactions { + width: 76% !important; + z-index: 3 !important; + float: none; +} +#p-cactions li { + float: left; + padding-top: 0; + padding-bottom: 0 !important; + height: 0.9em; +} +#p-cactions li a { + display: block; + padding-bottom: 0.045em; +} +#p-cactions li.selected a { + padding-bottom: 0.17em; +} +#p-cactions li a:hover { + padding-bottom: 0.17em; +} +.portlet { + overflow:hidden; +} +#bodyContent a.external { + background: url(external.png) center right no-repeat; + padding-right: 13px; +} +/* show the hand */ +#p-logo a, +#p-logo a:hover { + cursor: pointer; +} +.visualClear { + width:90%; + height: 1px; + padding:0; + margin:0; +} diff --git a/skins/monobook/IE60Fixes.css b/skins/monobook/IE60Fixes.css new file mode 100644 index 0000000000..ab5a97a7c7 --- /dev/null +++ b/skins/monobook/IE60Fixes.css @@ -0,0 +1,75 @@ +/* 6.0 - only fixes */ +/* content area */ +/* workaround for various ie float bugs */ +#column-content { + float: none; + margin-left: 0; + height: 1%; +} +#column-content #content { + margin-left: 12.2em; + margin-top: 3em; + height: 1%; +} +#column-one { + position: absolute; + top: 0; + left: 0; + z-index: 4; +} +#footer { + margin-left: 13.6em; + border-left: 1px solid #fabd23; +} + +/* the tabs */ + +#p-cactions { + z-index: 3; +} + +#p-cactions li { + float: left; + padding-top: 0; + padding-bottom: 0 !important; + height: 0.9em; +} +#p-cactions li a { + display: block; + padding-bottom: 0.045em; +} +#p-cactions li.selected a { + padding-bottom: 0.17em; +} +#p-cactions li a:hover { + padding-bottom: 0.17em; +} +#portal-personaltools { + padding-bottom: 0.1em; +} +#bodyContent a.external { + background: url(external.png) center right no-repeat; + padding-right: 13px; +} + +/* show the hand */ +#p-logo a, +#p-logo a:hover { + cursor: pointer; +} +div.visualClear { + width:100%; + line-height: 0; +} +textarea { + overflow: auto; + width: 96%; +} + +div.editsection, +#catlinks, +div.tright, +div.tleft { + position: relative; +} +/*{ border:1px solid Red !important;}*/ diff --git a/skins/monobook/IEFixes.css b/skins/monobook/IEFixes.css new file mode 100644 index 0000000000..fd3c00047b --- /dev/null +++ b/skins/monobook/IEFixes.css @@ -0,0 +1,24 @@ +/* +** Stylesheet filter for some b0rked browser +** Don't touch, don't add anything here (can break the filter) +** Add rules to the individual stylesheets. +*/ +/* IE6.0 */ +@import "null?\"\{"; +@import "IE60Fixes.css"; + +voice-family: "\"}\""; +voice-family:inherit; + +/* IE5.0 */ +@media tty { + i{content:"\";/*" "*/}}; @import 'IE50Fixes.css'; {;}/*";} +} + +/* IE5.5 */ +@media tty { + i{content:"\";/*" "*/}}@m; @import 'IE55Fixes.css'; /*";} +} + + + diff --git a/skins/monobook/IEMacFixes.css b/skins/monobook/IEMacFixes.css new file mode 100644 index 0000000000..faa720a318 --- /dev/null +++ b/skins/monobook/IEMacFixes.css @@ -0,0 +1,44 @@ +/* IE/Mac only fix stylesheet, imported from main.css */ +#portal-column-content { + margin: 0 0 4.8em 0; + float: none; +} +#portal-column-content #content { + z-index: 0; +} +#portal-column-one { + position: absolute; + top:0; + left:0; + z-index: 3; +} +#portal-footer { + margin-left: 12em; +} +/* +#portlet-contentViews { + top: 0.6em !important; + left: 14.5em !important; +} +*/ +#portlet-contentViews li, +#portlet-contentViews .selected { + border: none !important; +} +#portlet-contentViews li a { + border: 1px solid #aaaaaa; + border-bottom: none; +} +#portlet-contentViews li.selected a { + border: 1px solid #fabd23; + border-bottom: none; +} +/* no background images */ +li#personaltools-userpage, +li#personaltools-login/* */ { + background: none; + padding-left: none; +} +#mactest { +color: Green; +} diff --git a/skins/monobook/KHTMLFixes.css b/skins/monobook/KHTMLFixes.css new file mode 100644 index 0000000000..97fba0c42a --- /dev/null +++ b/skins/monobook/KHTMLFixes.css @@ -0,0 +1,3 @@ +/* KHTML fix stylesheet */ +/* work around the horizontal scrollbars */ +#column-content { margin-left: 0; } diff --git a/skins/monobook/Opera6Fixes.css b/skins/monobook/Opera6Fixes.css new file mode 100644 index 0000000000..01bf27e8d5 --- /dev/null +++ b/skins/monobook/Opera6Fixes.css @@ -0,0 +1,14 @@ +/* opera 6 fixes */ +#column-one { + position: relative; + max-width: 11.7em; +} +#p-personal { + width: 45em; + margin-left: 8.6em; + right: 0; +} +#bodyContent a.external { + background: url(external.png) center right no-repeat; + padding-right: 13px; +} diff --git a/skins/monobook/Opera7Fixes.css b/skins/monobook/Opera7Fixes.css new file mode 100644 index 0000000000..c005768703 --- /dev/null +++ b/skins/monobook/Opera7Fixes.css @@ -0,0 +1,11 @@ +/* small tweaks for opera seven */ +#p-cactions { + margin-top: 0.1em; +} +#p-cactions li a { + top: 2px; +} +#bodyContent a.external { + background: url(external.png) center right no-repeat; + padding-right: 13px; +} diff --git a/skins/monobook/bullet.gif b/skins/monobook/bullet.gif new file mode 100644 index 0000000000..b43de48a47 Binary files /dev/null and b/skins/monobook/bullet.gif differ diff --git a/skins/monobook/discussionitem_icon.gif b/skins/monobook/discussionitem_icon.gif new file mode 100644 index 0000000000..baec471afc Binary files /dev/null and b/skins/monobook/discussionitem_icon.gif differ diff --git a/skins/monobook/external.png b/skins/monobook/external.png new file mode 100644 index 0000000000..8ae475d8a2 Binary files /dev/null and b/skins/monobook/external.png differ diff --git a/skins/monobook/file_icon.gif b/skins/monobook/file_icon.gif new file mode 100644 index 0000000000..847f6485ef Binary files /dev/null and b/skins/monobook/file_icon.gif differ diff --git a/skins/monobook/headbg.jpg b/skins/monobook/headbg.jpg new file mode 100644 index 0000000000..9939153cb6 Binary files /dev/null and b/skins/monobook/headbg.jpg differ diff --git a/skins/monobook/link_icon.gif b/skins/monobook/link_icon.gif new file mode 100644 index 0000000000..815ccb1b1c Binary files /dev/null and b/skins/monobook/link_icon.gif differ diff --git a/skins/monobook/lock_icon.gif b/skins/monobook/lock_icon.gif new file mode 100644 index 0000000000..8a87e28330 Binary files /dev/null and b/skins/monobook/lock_icon.gif differ diff --git a/skins/monobook/magnify-clip.png b/skins/monobook/magnify-clip.png new file mode 100644 index 0000000000..dad88d6ee7 Binary files /dev/null and b/skins/monobook/magnify-clip.png differ diff --git a/skins/monobook/mail_icon.gif b/skins/monobook/mail_icon.gif new file mode 100644 index 0000000000..50a87a9a06 Binary files /dev/null and b/skins/monobook/mail_icon.gif differ diff --git a/skins/monobook/main.css b/skins/monobook/main.css new file mode 100644 index 0000000000..8101aafd75 --- /dev/null +++ b/skins/monobook/main.css @@ -0,0 +1,922 @@ +/* +** 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 :) +*/ + +#column-content { + width: 100%; + float: right; + margin: 0 0 0.6em -12.2em; + padding:0; +} +#content { + margin: 2.8em 0 0 12.2em; + padding: 0em 1em 1.5em 1em; + background: White; + border: 1px solid #aaaaaa; + border-right: none; + line-height: 1.5em; + position: relative; + z-index: 2; +} +#column-one { padding-top: 160px; } +/* 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: #f9f9f9 url("headbg.jpg") 0px 0px no-repeat; + color: Black; + margin: 0; + padding: 0; +} + +/* scale back up to a sane default */ +#globalWrapper { + font-size:127%; + width: 100%; + margin: 0; + padding: 0; +} +.visualClear { clear: both; } + +/* general styles */ + +table { + font-size: 100%; + background: White; +} +a { + text-decoration: none; + color: #002bb8; + background: none; +} +a:visited { color: #5a3696; } +a:active { color: Orange; } +a:hover { text-decoration: underline; } +a.stub { color: #772233; } +a.new, +#p-personal a.new { color:#ba0000; } +a.new:visited, +#p-personal a.new:visited { color:#a55858; } + +img { + border: none; + vertical-align: middle; +} +p { + margin: 0.4em 0em 0.5em 0em; + line-height: 1.5em; +} + +p img { margin: 0; } + +hr { + height: 1px; + color: #aaaaaa; + background-color: #aaaaaa; + border: 0; + margin: 0.2em 0 0.2em 0; +} + +h1, h2, h3, h4, h5, h6 { + color: Black; + background: none; + font-weight: normal; + margin: 0; + padding-top: 0.5em; + padding-bottom: 0.17em; + border-bottom: 1px solid #aaaaaa; +} +h1 { font-size: 188%; } +h2 { font-size: 150%; } +h3, h4, h5, h6 { + border-bottom: none; + font-weight: bold; +} +h3 { font-size: 132%; } +h4 { font-size: 116%; } +h5 { font-size: 100%; } +h6 { font-size: 80%; } + +ul { + line-height: 1.5em; + list-style-type: square; + margin: 0.3em 0 0 1.5em; + padding:0; + list-style-image: url("bullet.gif"); +} +ol { + line-height: 1.5em; + margin: 0.3em 0 0 3.2em; + padding:0; + list-style-image: none; +} +li { margin-bottom: 0.1em; } +dt { + font-weight: bold; + margin-bottom: 0.1em; +} +dl{ + margin-top: 0.2em; + margin-bottom: 0.5em; +} +dd { + line-height: 1.5em; + margin-left: 2em; + margin-bottom: 0.1em; +} + +fieldset { + border: 1px solid #2f6fab; + margin: 1em 0em 1em 0em; + padding: 0em 1em 1em 1em; + line-height: 1.5em; +} +legend { + background: White; + padding: 0.5em; + font-size: 95%; +} +form { + border: none; + margin: 0; +} + +textarea { + border: 1px solid #2f6fab; + color: Black; + background-color: white; + width: 100%; + padding: 0.1em; + overflow: auto; +} +/* hide this from ie/mac and konq2.2 */ +@media All { + head:first-child+body input { + visibility: visible; + border: 1px solid #2f6fab; + color: Black; + background-color: white; + vertical-align: middle; + padding: 0.2em; + } +} +input.historysubmit { + padding: 0 0.3em 0.3em 0.3em !important; + font-size: 94%; + cursor: pointer; + height: 1.7em !important; + margin-left: 1.6em; +} +input[type="radio"], +input[type="checkbox"] { border:none; } +select { + border: 1px solid #2f6fab; + color: Black; + vertical-align: top; +} +abbr, acronym, .explain { + border-bottom: 1px dotted Black; + color: Black; + background: none; + cursor: help; +} +q { + font-family: Times, "Times New Roman", serif; + font-style: italic; +} +/* disabled for now +blockquote { + font-family: Times, "Times New Roman", serif; + font-style: italic; +}*/ +code { background-color: #f9f9f9; } +pre { + padding: 1em; + border: 1px dashed #2f6fab; + color: Black; + background-color: #f9f9f9; + line-height: 1.1em; +} + + +/* +** the main content area +*/ + +#siteSub { display: none; } +#contentSub { + font-size: 84%; + line-height: 1.2em; + margin: 0 0 1.4em 1em; + color: #7d7d7d; + width: auto; +} +span.subpages { display: block; } + +/* Some space under the headers in the content area */ +#bodyContent h1, #bodyContent h2 { margin-bottom:0.6em; } +#bodyContent h3, +#bodyContent h4, +#bodyContent h5 { + margin-bottom: 0.3em; +} +.firstHeading { margin-bottom:0.1em; } + +/* user notification thing */ +.usermessage { + background-color: #ffce7b; + border: 1px solid #ffa500; + color: Black; + font-weight: bold; + margin: 2em 0em 1em 0em; + padding: 0.5em 1em; + vertical-align: middle; +} +#siteNotice { + text-align: center; + font-size: 95%; + padding: 0 0.9em 0 0.9em; +} +#siteNotice p { margin: none; padding: none; } +.error { + color: red; + font-size: larger; +} +#catlinks { + border:1px solid #aaaaaa; + background-color:#f9f9f9; + padding:5px; + margin-top: 1em; + clear: both; +} +/* currently unused, intended to be used by a metadata box +in the bottom-right corner of the content area */ +.documentDescription { + /* The summary text describing the document */ + font-weight: bold; + display: block; + margin: 1em 0em; + line-height: 1.5em; +} +.documentByLine { + text-align: right; + font-size: 90%; + clear: both; + font-weight: normal; + color: #76797c; +} + +/* emulate center */ +.center { + width: 100%; + text-align: center; +} +*.center * { + margin-left: auto; + margin-right: auto; +} +/* small for tables and similar */ +.small, .small * { font-size: 94%; } +table.small { font-size: 100% } + +/* +** content styles +*/ + +#toc { + /*border:1px solid #2f6fab;*/ + border:1px solid #aaaaaa; + background-color:#f9f9f9; + padding:5px; + font-size: 95%; +} +#toc .tocindent { margin-left: 2em; } +#toc .tocline { margin-bottom: 0px; } +#toc p { margin: 0 } +#toc .toctoggle { font-size: 94%; } +#toc .editsection { + margin-top: 0.7em; + font-size: 94%; +} + +/* images */ +div.floatright, table.floatright { + clear: right; + float: right; + margin: 0; + position: relative; + border: 0.5em solid White; + border-width: 0.5em 0 0.8em 1.4em; +} +div.floatright p { font-style: italic; } +div.floatleft, table.floatleft { + float: left; + margin: 0.3em 0.5em 0.5em 0; + position: relative; + border: 0.5em solid White; + border-width: 0.5em 1.4em 0.8em 0; +} +div.floatleft p { font-style: italic; } +/* thumbnails */ +div.thumb { + margin-bottom: 0.5em; + border-style: solid; border-color: White; + width: auto; +} +div.thumb div { + border:1px solid #cccccc; + padding: 3px !important; + background-color:#f9f9f9; + font-size: 94%; + text-align: center; + overflow: hidden; +} +div.thumb div a img { + border:1px solid #cccccc; +} +div.thumb div div.thumbcaption { + border: none; + text-align: left; + line-height: 1.4em; + padding: 0.3em 0 0.1em 0; +} +div.magnify { + float: right; + border: none !important; + background: none !important; +} +div.magnify a, div.magnify img { + display: block; + border: none !important; + background: none !important; +} +div.tright { + clear: right; + float: right; + border-width: 0.5em 0 0.8em 1.4em; +} +div.tleft { + float: left; + margin-right:0.5em; + border-width: 0.5em 1.4em 0.8em 0; +} +.urlexpansion, +.hiddenStructure { + display: none; +} +img.tex { vertical-align: middle; } +span.texhtml { font-family: serif; } + +/* +** 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; +} +.toccolours { + border:1px solid #aaaaaa; + background-color:#f9f9f9; + padding:5px; + font-size: 95%; +} +div.townBox { + position:relative; + float:right; + background:White; + margin-left:1em; + border: 1px solid Grey; + padding:0.3em; + width: 200px; + overflow: hidden; + clear: right; +} +div.townBox dl { + padding: 0; + margin: 0 0 0.3em 0; + font-size: 96%; +} +div.townBox dl dt { + background: none; + margin: 0.4em 0 0 0; +} +div.townBox dl dd { + margin: 0.1em 0 0 1.1em; + background-color: #f3f3f3; +} + +/* +** edit views etc +*/ +.special li { + line-height: 1.4em; + margin: 0; + padding: 0; +} + +/* Page history styling */ +/* the auto-generated edit comments */ +.autocomment { color: gray; } +#pagehistory span.user { + margin-left: 1.4em; + margin-right: 0.4em; +} +#pagehistory span.minor { font-weight: bold; } +#pagehistory li { border: 1px solid White; } +#pagehistory li.selected { + background-color:#f9f9f9; + border:1px dashed #aaaaaa; +} +/* +** Diff rendering +*/ +table.diff { background:white; } +td.diff-otitle { background:#ffffff; } +td.diff-ntitle { background:#ffffff; } +td.diff-addedline { + background:#ccffcc; + font-size: smaller; +} +td.diff-deletedline { + background:#ffffaa; + font-size: smaller; +} +td.diff-context { + background:#eeeeee; + font-size: smaller; +} +span.diffchange { color: red; } + +/* +** keep the whitespace in front of the ^=, hides rule from konqueror +** this is css3, the validator doesn't like it when validating as css2 +*/ +#bodyContent a[href ^="http://"], +#bodyContent a[href ^="gopher://"] { + background: url(external.png) center right no-repeat; + padding-right: 13px; +} +#bodyContent a[href ^="https://"], +.link-https { + background: url("lock_icon.gif") center right no-repeat; + padding-right: 16px; +} +#bodyContent a[href ^="mailto:"], +.link-mailto { + background: url("mail_icon.gif") center right no-repeat; + padding-right: 18px; +} +#bodyContent a[href ^="news://"] { + background: url("news_icon.png") center right no-repeat; + padding-right: 18px; +} +#bodyContent a[href ^="ftp://"], +.link-ftp { + background: url("file_icon.gif") center right no-repeat; + padding-right: 18px; +} +#bodyContent a[href ^="irc://"], +.link-irc { + background: url("discussionitem_icon.gif") center right no-repeat; + padding-right: 18px; +} +/* disable interwiki styling */ +#bodyContent a.extiw, +#bodyContent a.extiw:active { + color: #3366bb; + background: none; + padding: 0; +} +#bodyContent a.external { color: #3366bb; } +/* this can be used in the content area to switch off +special external link styling */ +#bodyContent .plainlinks a { + background: none !important; + padding: 0; +} +/* +** Structural Elements +*/ + +/* +** general portlet styles (elements in the quickbar) +*/ +.portlet { + border: none; + margin: 0 0 0.5em 0em; + float: none; + padding: 0; + width: 11.6em; + overflow: hidden; +} +.portlet h4 { + font-size: 95%; + font-weight: normal; + white-space: nowrap; +} +.portlet h5 { + background: transparent; + padding: 0em 1em 0em 0.5em; + text-transform: lowercase; + display: inline; + font-size: 91%; + height: 1em; + font-weight: normal; + white-space: nowrap; +} +.portlet h6 { + background: #ffae2e; + border: 1px solid #2f6fab; + border-style: solid solid none solid; + padding: 0em 1em 0em 1em; + text-transform: lowercase; + display: block; + font-size: 1em; + height: 1.2em; + font-weight: normal; + white-space: nowrap; +} +.pBody { + font-size: 95%; + background: White; + border-collapse: collapse; + border: 1px solid #aaaaaa; + padding: 0 0.8em 0.3em 0.5em; +} +.portlet h1, +.portlet h2, +.portlet h3, +.portlet h4 { + margin: 0; + padding: 0; +} +.portlet ul { + line-height: 1.5em; + list-style-type: square; + list-style-image: url("bullet.gif"); + font-size:95%; +} +.portlet li { + padding:0; + margin: 0 0 0 0; + margin-bottom: 0; +} + +/* +** Logo properties +*/ + +#p-logo { + z-index: 3; + position:absolute; /*needed to use z-index */ + top: 0; + left: 0; + height: 155px; + width: 12em; + overflow: visible; +} +#p-logo h5 { display: none; } +#p-logo a, +#p-logo a:hover { + display: block; + height: 155px; + width: 12.2em; + background-repeat: no-repeat; + background-position: 35% 50% !important; + text-decoration: none; +} + +/* +** the navigation portlet +*/ + +#p-nav { + position:relative; + z-index:3; +} + +/* +** Search portlet +*/ +#p-search { + position:relative; + z-index:3; +} +#p-search .pBody { + text-align: center; +} +input.searchButton { + margin-top:1px; + padding: 0 0.4em !important; + font-size: 95%; + cursor: pointer; + background-color: White; + border: 1px solid #2f6fab; +} +#searchInput { + border: 1px solid #2f6fab; + width:10.9em; + margin: 0 0 0 0; + font-size: 95%; +} +#p-search .pBody { + padding: 0.5em 0.4em 0.4em 0.4em; +} + +/* +** the personal toolbar +*/ + +#p-personal { + width:100%; + white-space:nowrap; + padding:0 0 0 0; + margin:0; + position:absolute; + left:0px; + top:0px; + z-index: 0; + border: none; + background: none; + overflow: visible; + line-height: 1.2em; +} + +#p-personal h5 { + display:none; +} +#p-personal .portlet, +#p-personal .pBody { + padding:0; + margin:0; + border: none; + z-index:0; + overflow: visible; + background: none; +} +/* this is the ul contained in the portlet */ +#p-personal ul { + border: none; + line-height: 1.4em; + color: #2f6fab; + padding: 0em 2em 0 3em; + margin: 0; + text-align: right; + text-transform: lowercase; + list-style: none; + z-index:0; + background: none; +} +#p-personal li { + z-index:0; + border:none; + padding:0; + display: inline; + color: #2f6fab; + margin-left: 1em; + line-height: 1.2em; + background: none; +} +#p-personal li a { + text-decoration: none; + color: #005896; + padding-bottom: 0.2em; + background: none; +} +#p-personal li a:hover { + background-color: White; + padding-bottom: 0.2em; + text-decoration: none; +} + +/* the icon in front of the user name, single quotes +in bg url to hide it from iemac */ +li#pt-userpage, +li#pt-anonuserpage, +li#pt-login { + background: url('user.gif') top left no-repeat; + background-repeat: no-repeat; + padding-left: 20px; + text-transform: none; +} + +/* +** the page-related actions- page/talk, edit etc +*/ +#p-cactions { + position:absolute; + top: 1.3em; + left: 11.5em; + margin: 0; + white-space:nowrap; + width: 76%; + line-height: 1.1em; + overflow: visible; + background: none; + border-collapse: collapse; + padding-left: 1em; + list-style: none; + font-size: 95%; +} +#p-cactions .hiddenStructure { display: none; } +#p-cactions ul { + list-style: none; +} +#p-cactions li { + display: inline; + border: 1px solid #aaaaaa; + border-bottom: none; + padding: 0 0 0.1em 0; + margin: 0 0.3em 0 0; + overflow: visible; + background: White; +} +#p-cactions li.selected { + border-color: #fabd23; + padding: 0 0 0.2em 0; +} +#p-cactions li a { + background-color: White; + color: #002bb8; + border: none; + padding: 0 0.8em 0.3em 0.8em; + text-decoration: none; + text-transform: lowercase; + position: relative; + z-index: 0; + margin: 0; +} +#p-cactions .selected a { z-index: 3; } +#p-cactions .new a { color:#ba0000; } +#p-cactions li a:hover { + z-index: 3; + text-decoration: none; +} +#p-cactions h5 { display: none; } +#p-cactions li.istalk { margin-right: 0; } +#p-cactions li.istalk a { padding-right: 0.5em; } +#p-cactions #ca-addsection a { + padding-left: 0.4em; + padding-right: 0.4em; +} +/* offsets to distinguish the tab groups */ +li#ca-talk { margin-right: 1.6em; } +li#ca-watch, li#ca-watch { margin-left: 1.6em; } + + +/* +** the remaining portlets +*/ +#p-tbx, +#p-lang { + position:relative; + z-index:3; +} + +/* +** footer +*/ +#footer { + background-color: White; + border-top: 1px solid #fabd23; + border-bottom: 1px solid #fabd23; + margin: 0.6em 0em 1em 0em; + padding: 0.4em 0em 1.2em 0em; + text-align: center; + font-size: 90%; +} +#footer li { + display: inline; + margin: 0 1.3em; +} +/* hide from incapable browsers */ +head:first-child+body #footer li { white-space: nowrap; } +#f-poweredbyico, #f-copyrightico { + margin: 0 8px; + position: relative; + top: -2px; /* Bump it up just a tad */ +} +#f-poweredbyico { + float: right; + height: 1%; +} +#f-copyrightico { + float: left; + height: 1%; +} + +/* js pref toc */ +#preftoc { + float: left; + margin: 1em 1em 1em 1em; + width: 13em; +} +#preftoc li { border: 1px solid White; } +#preftoc li.selected { + background-color:#f9f9f9; + border:1px dashed #aaaaaa; +} +#preftoc a, +#preftoc a:active { + display: block; + color: #0014a6; +} +#prefcontrol { + clear: both; + float: left; + margin-top: 1em; +} +div.prefsectiontip { + font-size: 95%; + margin-top: 1em; +} +fieldset.operaprefsection { margin-left: 15em } + +/* +** IE/Mac fixes, hope to find a validating way to move this +** to a separate stylesheet. This would work but doesn't validate: +** @import("IEMacFixes.css"); +*/ +/* tabs: border on the a, not the div */ +* > html #p-cactions li { border:none; } +* > html #p-cactions li a { + border: 1px solid #aaaaaa; + border-bottom: none; +} +* > html #p-cactions li.selected a { border-color: #fabd23; } +/* footer icons need a fixed width */ +* > html #f-poweredbyico, +* > html #f-copyrightico { width: 88px; } +* > html #bodyContent, +* > html #bodyContent pre { + overflow-x: auto; + width: 100%; + padding-bottom: 25px; +} + +/* more IE fixes */ +/* float/negative margin brokenness */ +* html #footer {margin-top: 0;} +* html #column-content { + display: inline; + margin-bottom: 0; +} +* html div.editsection { font-size: smaller; } +#pagehistory li.selected { position: relative; } + +/* Mac IE 5.0 fix; floated content turns invisible */ +* > html #column-content { + float: none; +} +* > html #column-one { + position: absolute; + left: 0; + top: 0; +} +* > html #footer { + margin-left: 13.2em; +} +.redirectText { + font-size:150%; + margin:5px; +} + +.printfooter { + display: none; +} + +ul.special li.not_patrolled, ol.special li.not_patrolled { + background-color: #ffa; +} +div.patrollink { + font-size: 75%; + text-align: right; +} +span.newpage, span.minor, span.searchmatch { + font-weight: bold; +} +span.searchmatch { + color: red; +} diff --git a/skins/monobook/news_icon.png b/skins/monobook/news_icon.png new file mode 100644 index 0000000000..dd1541d13c Binary files /dev/null and b/skins/monobook/news_icon.png differ diff --git a/skins/monobook/null b/skins/monobook/null new file mode 100644 index 0000000000..e69de29bb2 diff --git a/skins/monobook/required.gif b/skins/monobook/required.gif new file mode 100644 index 0000000000..bd7197698e Binary files /dev/null and b/skins/monobook/required.gif differ diff --git a/skins/monobook/rtl.css b/skins/monobook/rtl.css new file mode 100644 index 0000000000..77b44ac562 --- /dev/null +++ b/skins/monobook/rtl.css @@ -0,0 +1,202 @@ +/* +Right-to-left fixes for MonoBook. +Places sidebar on right, tweaks various alignment issues. + +Works mostly ok nicely on Safari 1.2.1; fine in Mozilla. + +Safari bugs (1.2.1): +* Tabs are still appearing in left-to-right order. (Try after localizing) + +Opera bugs (7.23 linux): +* Some bits of ltr text (sidebar box titles) have forward and backward versions overlapping each other + +IE/mac bugs: +* The thing barfs on Hebrew and Arabic anyway, so no point testing. + +Missing features due to lack of support: +* external link icons, icon next to user name + +To test: +* Opera6 +* IE 5.0 +* etc + +*/ +body, +body * { + direction: rtl; +/* unicode-bidi: bidi-override;*/ + unicode-bidi: embed; +} +#column-content { + margin: 0 -12.2em 0 0; + float: left; +} +#column-content #content{ + margin-left: 0; + margin-right: 12.2em; + border-right: 1px solid #aaaaaa; + border-left: none; +} +html>body .portlet { + float: right; + clear: right; +} +/* recover IEMac (might be fine with the float, but usually it's close to IE */ +*>body .portlet { + float: none; + clear: none; +} +.pBody { + padding-right: 0.8em; + padding-left: 0.5em; +} + +/* Fix alignment */ +.documentByLine, +.portletDetails, +.portletMore, +#p-personal { + text-align: left; +} + +div div.thumbcaption { + text-align: right; +} + +div.magnify, +#div.townBox, +#p-logo { + left: auto; + right: 0; +} +#p-personal { + left: auto; + right: 0; +} + +#p-cactions { + left: auto; + right: 11.5em; + padding-left: 0; + padding-right: 1em; +} +#p-cactions li { + margin-left: 0.3em; + margin-right: 0; + float: right; +} +* html #p-cactions li a { + display: block; + padding-bottom: 0; +} +* html #p-cactions li a:hover { + padding-bottom: 0.2em; +} +/* offsets to distinguish the tab groups */ +li#ca-talk { + margin-right: auto; + margin-left: 1.6em; +} +li#ca-watch,li#ca-unwatch { + margin-right: 1.6em !important; +} + +/* Fix margins */ +/* top right bottom left */ + +ul { + margin-left: 0; + margin-right: 1.5em; +} +ol { + margin-left: 0; + margin-right: 2.4em; +} +dd { + margin-left: 0; + margin-right: 1.6em; +} +#contentSub { + margin-right: 1em; + margin-left: 0; +} +.tocindent { + margin-left: 0; + margin-right: 2em; +} +div.tright { + clear: none; +} +div.tleft { + clear: left; +} +div.floatright, table.floatright { + clear: none; +} +div.floatleft, table.floatleft { + clear: left; +} +div.townBox { + margin-left: 0; + margin-right: 1em; +} +div.townBox dl dd { + margin-left: 0; + margin-right: 1.1em; +} +#p-personal li { + margin-left: 0; + margin-right: 1em; +} + +li#ca-talk, +li#ca-watch { + margin-right: auto; + margin-left: 1.6em; +} + +#p-personal li { + float: left; +} +/* Fix link icons */ +li#pt-userpage, +li#pt-anonuserpage, +li#pt-login { + background: none; + padding-left: 0; +} +.external { + padding: 0 !important; + background: none !important; +} +#footer { + clear: both; +} +* html #footer { + margin-left: 0; + margin-right: 13.6em; + border-left: 0; + border-right: 1px solid #fabd23; +} +* html #column-content { + float: none; + margin-left: 0; + margin-right: 0; +} +* html #column-content #content { + margin-left: 0; + margin-top: 3em; +} +* html #column-one { right: 0; } + +/* js pref toc */ +#preftoc { float: right; } +/* workaround for moz bug, displayed bullets on left side */ +#preftoc li { list-style: none; } +#prefcontrol { float: right; } +fieldset.prefsection, +fieldset.operaprefsection { + margin-left: 0 !important; + margin-right: 15em; +} diff --git a/skins/monobook/user.gif b/skins/monobook/user.gif new file mode 100644 index 0000000000..bc9343960f Binary files /dev/null and b/skins/monobook/user.gif differ diff --git a/skins/monobook/wiki-indexed.png b/skins/monobook/wiki-indexed.png new file mode 100644 index 0000000000..189a2ae3d7 Binary files /dev/null and b/skins/monobook/wiki-indexed.png differ diff --git a/skins/monobook/wiki.png b/skins/monobook/wiki.png new file mode 100644 index 0000000000..69fce98855 Binary files /dev/null and b/skins/monobook/wiki.png differ diff --git a/skins/myskin/main.css b/skins/myskin/main.css new file mode 100644 index 0000000000..f3ab020480 --- /dev/null +++ b/skins/myskin/main.css @@ -0,0 +1 @@ +/* this file must be empty */