diff --git a/src/scripts/gd-builtin.js b/src/scripts/gd-builtin.js index 16f6ce19..583ba0ce 100644 --- a/src/scripts/gd-builtin.js +++ b/src/scripts/gd-builtin.js @@ -1,130 +1,124 @@ // seperate from cpp code. var gdAudioLinks = { - "first": null, - "current": null + first: null, + current: null, }; //store dictionary audio link. -var gdAudioMap= new Map(); +var gdAudioMap = new Map(); -function gdMakeArticleActive(newId,noEvent) { - var gdCurrentArticle = $_$(".gdactivearticle").attr("id") - if (gdCurrentArticle !== 'gdfrom-' + newId) { - $_$(".gdactivearticle").removeClass("gdactivearticle") - var newFormId = 'gdfrom-' + newId - $_$("#" + newFormId).addClass("gdactivearticle") - gdCurrentArticle = 'gdfrom-' + newId - gdAudioLinks.current = newId - if(!noEvent) - articleview.onJsActiveArticleChanged('gdfrom-' + newId); - } +function gdMakeArticleActive(newId, noEvent) { + var gdCurrentArticle = $_$(".gdactivearticle").attr("id"); + if (gdCurrentArticle !== "gdfrom-" + newId) { + $_$(".gdactivearticle").removeClass("gdactivearticle"); + var newFormId = "gdfrom-" + newId; + $_$("#" + newFormId).addClass("gdactivearticle"); + gdCurrentArticle = "gdfrom-" + newId; + gdAudioLinks.current = newId; + if (!noEvent) articleview.onJsActiveArticleChanged("gdfrom-" + newId); + } } var overIframeId = null; function gdSelectArticle(id) { - var selection = window.getSelection() - var range = document.createRange() - range.selectNodeContents(document.getElementById('gdfrom-' + id)) - selection.removeAllRanges() - selection.addRange(range) + var selection = window.getSelection(); + var range = document.createRange(); + range.selectNodeContents(document.getElementById("gdfrom-" + id)); + selection.removeAllRanges(); + selection.addRange(range); } function processIframeMouseOut() { - overIframeId = null - top.focus() + overIframeId = null; + top.focus(); } function processIframeMouseOver(newId) { - overIframeId = newId + overIframeId = newId; } function processIframeClick() { - if (overIframeId != null) { - overIframeId = overIframeId.replace('gdexpandframe-', '') - gdMakeArticleActive(overIframeId) - } + if (overIframeId != null) { + overIframeId = overIframeId.replace("gdexpandframe-", ""); + gdMakeArticleActive(overIframeId); + } } function init() { - window.addEventListener('blur', processIframeClick, false) + window.addEventListener("blur", processIframeClick, false); } -window.addEventListener('load', init, false) +window.addEventListener("load", init, false); function gdExpandOptPart(expanderId, optionalId) { - var d1 = document.getElementById(expanderId) - var i = 0 - if (d1.alt == '[+]') { - d1.alt = '[-]' - d1.src = 'qrc:///icons/collapse_opt.png' - for (i = 0; i < 1000; i++) { - var d2 = document.getElementById(optionalId + i) - if (!d2) - break - d2.style.display = 'inline' - } - } else { - d1.alt = '[+]' - d1.src = 'qrc:///icons/expand_opt.png' - for (i = 0; i < 1000; i++) { - var d2 = document.getElementById(optionalId + i) - if (!d2) - break - d2.style.display = 'none' - } + var d1 = document.getElementById(expanderId); + var i = 0; + if (d1.alt == "[+]") { + d1.alt = "[-]"; + d1.src = "qrc:///icons/collapse_opt.png"; + for (i = 0; i < 1000; i++) { + var d2 = document.getElementById(optionalId + i); + if (!d2) break; + d2.style.display = "inline"; } + } else { + d1.alt = "[+]"; + d1.src = "qrc:///icons/expand_opt.png"; + for (i = 0; i < 1000; i++) { + var d2 = document.getElementById(optionalId + i); + if (!d2) break; + d2.style.display = "none"; + } + } } function emitClickedEvent(link) { - try { - if ('string' != typeof(link)) { - return; - } - articleview.linkClickedInHtml(link) - } catch (error) { - console.error(error) + try { + if ("string" != typeof link) { + return; } + articleview.linkClickedInHtml(link); + } catch (error) { + console.error(error); + } } function gdExpandArticle(id) { - emitClickedEvent() - elem = document.getElementById('gdarticlefrom-' + id) - ico = document.getElementById('expandicon-' + id) - art = document.getElementById('gdfrom-' + id) - ev = window.event - t = null - if (ev) - t = ev.target || ev.srcElement - if (elem.style.display == 'inline') { - elem.style.display = 'none' - ico.className = 'gdexpandicon' - art.className = art.className + ' gdcollapsedarticle' - nm = document.getElementById('gddictname-' + id) - nm.style.cursor = 'pointer' - if (ev) - ev.stopPropagation() - ico.title = tr("Expand article") - nm.title = '' - articleview.collapseInHtml(id,true); - } else if (elem.style.display == 'none') { - elem.style.display = 'inline' - ico.className = 'gdcollapseicon' - art.className = art.className.replace(' gdcollapsedarticle', '') - nm = document.getElementById('gddictname-' + id) - nm.style.cursor = 'default' - nm.title = '' - ico.title = tr("Collapse article") - articleview.collapseInHtml(id,false); - } + emitClickedEvent(); + elem = document.getElementById("gdarticlefrom-" + id); + ico = document.getElementById("expandicon-" + id); + art = document.getElementById("gdfrom-" + id); + ev = window.event; + t = null; + if (ev) t = ev.target || ev.srcElement; + if (elem.style.display == "inline") { + elem.style.display = "none"; + ico.className = "gdexpandicon"; + art.className = art.className + " gdcollapsedarticle"; + nm = document.getElementById("gddictname-" + id); + nm.style.cursor = "pointer"; + if (ev) ev.stopPropagation(); + ico.title = tr("Expand article"); + nm.title = ""; + articleview.collapseInHtml(id, true); + } else if (elem.style.display == "none") { + elem.style.display = "inline"; + ico.className = "gdcollapseicon"; + art.className = art.className.replace(" gdcollapsedarticle", ""); + nm = document.getElementById("gddictname-" + id); + nm.style.cursor = "default"; + nm.title = ""; + ico.title = tr("Collapse article"); + articleview.collapseInHtml(id, false); + } } function gdCheckArticlesNumber() { - elems = document.getElementsByClassName('gddictname') - if (elems.length == 1) { - el = elems.item(0) - s = el.id.replace('gddictname-', '') - el = document.getElementById('gdfrom-' + s) - if (el && el.className.search('gdcollapsedarticle') > 0) - gdExpandArticle(s) - } + elems = document.getElementsByClassName("gddictname"); + if (elems.length == 1) { + el = elems.item(0); + s = el.id.replace("gddictname-", ""); + el = document.getElementById("gdfrom-" + s); + if (el && el.className.search("gdcollapsedarticle") > 0) gdExpandArticle(s); + } } diff --git a/src/scripts/gd-custom.js b/src/scripts/gd-custom.js index f71bfc39..1d9a989d 100644 --- a/src/scripts/gd-custom.js +++ b/src/scripts/gd-custom.js @@ -1,63 +1,68 @@ //document ready (function ($) { - $(function () { - $(document).on("click", "a", function (event) { - var link = $(this).attr("href"); - if ('string' != typeof (link)) { - return; - } + $(function () { + $(document).on("click", "a", function (event) { + var link = $(this).attr("href"); + if ("string" != typeof link) { + return; + } - if (link.indexOf("javascript:") >= 0) { - return; - } + if (link.indexOf("javascript:") >= 0) { + return; + } - //return if the link is like gdlookup:// or other valid url. - if (link.indexOf(":") >= 0) { - emitClickedEvent(link); - return false; - } - emitClickedEvent(""); + //return if the link is like gdlookup:// or other valid url. + if (link.indexOf(":") >= 0) { + emitClickedEvent(link); + return false; + } + emitClickedEvent(""); - var newLink; - var href = window.location.href; - var index = -1; - if (link.startsWith("#")) { - //the href may contain # fragment already.remove them before append the new #fragment - index = href.indexOf("#"); - if (index > -1) { - newLink = href.substring(0, index) + link; - } - else { - newLink = href + link; - } - } - //if hashtag # is not in the start position,it must greater than 0 - else if (link.indexOf("#")>0) { - index = link.indexOf("#"); - newLink = "gdlookup://localhost/"+link.substring(0,index)+"?gdanchor="+link.substring(index+1); - } - else { - index = href.indexOf("?"); + var newLink; + var href = window.location.href; + var index = -1; + if (link.startsWith("#")) { + //the href may contain # fragment already.remove them before append the new #fragment + index = href.indexOf("#"); + if (index > -1) { + newLink = href.substring(0, index) + link; + } else { + newLink = href + link; + } + } + //if hashtag # is not in the start position,it must greater than 0 + else if (link.indexOf("#") > 0) { + index = link.indexOf("#"); + newLink = + "gdlookup://localhost/" + + link.substring(0, index) + + "?gdanchor=" + + link.substring(index + 1); + } else { + index = href.indexOf("?"); - if (link.indexOf("?gdanchor") > -1) { - newLink = "gdlookup://localhost/" + link; - } - else { - if (index > -1) { - newLink = href.substring(0, index) + "?word=" + link; - } - else { - newLink = href + "?word=" + link; - } - } - } - $(this).attr("href", newLink); - - }); - - //monitor iframe height. - $('iframe').iFrameResize({ checkOrigin:false,maxHeight :800,scrolling:true,warningTimeout:0,minHeight :250,log:true,autoResize:false}); + if (link.indexOf("?gdanchor") > -1) { + newLink = "gdlookup://localhost/" + link; + } else { + if (index > -1) { + newLink = href.substring(0, index) + "?word=" + link; + } else { + newLink = href + "?word=" + link; + } + } + } + $(this).attr("href", newLink); }); + + //monitor iframe height. + $("iframe").iFrameResize({ + checkOrigin: false, + maxHeight: 800, + scrolling: true, + warningTimeout: 0, + minHeight: 250, + log: true, + autoResize: false, + }); + }); })($_$); - - diff --git a/src/stylesheets/article-style-darkmode.css b/src/stylesheets/article-style-darkmode.css index 153a0f05..e8929f20 100644 --- a/src/stylesheets/article-style-darkmode.css +++ b/src/stylesheets/article-style-darkmode.css @@ -1,4 +1,4 @@ div.gdactivearticle .gddictname { - color:initial; - background: rgb(0, 102, 184); + color: initial; + background: rgb(0, 102, 184); } diff --git a/src/stylesheets/article-style-print.css b/src/stylesheets/article-style-print.css index 6c8f1d49..84276df5 100644 --- a/src/stylesheets/article-style-print.css +++ b/src/stylesheets/article-style-print.css @@ -1,13 +1,13 @@ /* This stylesheet is used for printing only, overriding article-style.css */ -html, body, .gdarticle -{ +html, +body, +.gdarticle { background: white; } /* Hide audio icons */ -.dsl_s_wav -{ +.dsl_s_wav { display: none; } diff --git a/src/stylesheets/article-style-st-babylon.css b/src/stylesheets/article-style-st-babylon.css index 3dd0c05d..fe8520ef 100644 --- a/src/stylesheets/article-style-st-babylon.css +++ b/src/stylesheets/article-style-st-babylon.css @@ -1,99 +1,101 @@ -html -{ +html { background-color: white; } -body -{ - background: white; +body { + background: white; } -.gdarticle -{ +.gdarticle { background: white; } h3 { - font-size: 1em; + font-size: 1em; } -::selection -{ - background: #4492E8; - color: white; +::selection { + background: #4492e8; + color: white; } /* Dictionary's name heading */ -.gddictname -{ - font-weight: normal; - font-size: 11px; - border: none; - border-top-left-radius: 8px; - border-top-right-radius: 0px; - background: #F0EDED; - padding-top: 5px; - padding-bottom: 5px; +.gddictname { + font-weight: normal; + font-size: 11px; + border: none; + border-top-left-radius: 8px; + border-top-right-radius: 0px; + background: #f0eded; + padding-top: 5px; + padding-bottom: 5px; } -.gddicticon -{ - display: inline; - padding-right: 5px; +.gddicticon { + display: inline; + padding-right: 5px; } -.gddicticon img -{ - border: 0; - height: 16px; - vertical-align: text-top; +.gddicticon img { + border: 0; + height: 16px; + vertical-align: text-top; } /* The 'From ' string which precedes dictionary name in the heading */ -.gdfromprefix -{ - display: none; +.gdfromprefix { + display: none; } /* Move the collapse/expand buttons to the right */ -.collapse_expand_area -{ +.collapse_expand_area { float: right; margin-right: 2px; } -.gdexpandicon, .gdexpandicon:hover, .gdcollapseicon, .gdcollapseicon:hover -{ - width:15px; - background-position: center; - background-repeat:no-repeat; - vertical-align: text-bottom; - padding-left: -5px; - margin-left: 0px; +.gdexpandicon, +.gdexpandicon:hover, +.gdcollapseicon, +.gdcollapseicon:hover { + width: 15px; + background-position: center; + background-repeat: no-repeat; + vertical-align: text-bottom; + padding-left: -5px; + margin-left: 0px; } .gdexpandicon { - content:url('qrc:///icons/expand_article.png'); + content: url("qrc:///icons/expand_article.png"); } .gdexpandicon:hover { - content:url('qrc:///icons/expand_article_hovered.png'); + content: url("qrc:///icons/expand_article_hovered.png"); } .gdcollapseicon { - content:url('qrc:///icons/collapse_article.png'); + content: url("qrc:///icons/collapse_article.png"); } .gdcollapseicon:hover { - content:url('qrc:///icons/collapse_article_hovered.png'); + content: url("qrc:///icons/collapse_article_hovered.png"); } -.bglpos { color: black; font-weight: bold; font-size: 11px; background: #F0EDED; display: inline; } - -.bgltrn { color: #808080; font-size: 12px; display: inline; } - -a, .mwiki a -{ - color: #0066CC; +.bglpos { + color: black; + font-weight: bold; + font-size: 11px; + background: #f0eded; + display: inline; } +.bgltrn { + color: #808080; + font-size: 12px; + display: inline; +} + +a, +.mwiki a { + color: #0066cc; +} diff --git a/src/stylesheets/article-style-st-classic.css b/src/stylesheets/article-style-st-classic.css index 37900c82..d27a28c5 100644 --- a/src/stylesheets/article-style-st-classic.css +++ b/src/stylesheets/article-style-st-classic.css @@ -1,11 +1,10 @@ /******** Global, non-dictionary-specific classes ***********/ html { - height: 100%; + height: 100%; } -body -{ +body { background: #fefdeb; font-family: Tahoma, Verdana, "Lucida Sans Unicode", sans-serif; height: 100%; @@ -22,76 +21,73 @@ body } /* Don't allow to select [] */ -:before, :after { +:before, +:after { user-select: none; } /* Plaintext dictionaries are usually 80-column formatted and take a lot * of space. We try to use smaller fonts for them therefore. */ -pre -{ +pre { font-size: 12px; } /* Dictionary's name heading */ -.gddictname -{ - border: 1px dotted black; padding: 0.2em; padding-left: 0.5em; - margin-top: 1.2em; margin-bottom: 9px; font-weight: bold; font-size: 14px; +.gddictname { + border: 1px dotted black; + padding: 0.2em; + padding-left: 0.5em; + margin-top: 1.2em; + margin-bottom: 9px; + font-weight: bold; + font-size: 14px; /*background: #ffffdd;*/ } -.gddicttitle -{ - user-select: none; +.gddicttitle { + user-select: none; } -.gddictnamebodyseparator -{ +.gddictnamebodyseparator { clear: both; } /* The 'From ' string which precedes dictionary name in the heading */ -.gdfromprefix -{ - display:none; +.gdfromprefix { + display: none; } /* The article span. Here we have a padding/margin hack to make fragment links behave better (have some space before the start of article) */ -.gdarticle -{ +.gdarticle { display: block; padding-top: 1px; margin-top: -8px; margin-bottom: 8px; background: #fefdeb; -/*fix for invalid blg*/ - font-style:normal; + /*fix for invalid blg*/ + font-style: normal; content-visibility: auto; contain-intrinsic-height: auto 600px; } /* CSS trick to prevent the floating elements to overflow the article boundaries, see Issue #333. */ -.gdarticle:after -{ - content: ""; - display: block; - height: 0; - clear: both; +.gdarticle:after { + content: ""; + display: block; + height: 0; + clear: both; } /* Appears between the articles */ -.gdarticleseparator -{ +.gdarticleseparator { display: inline-block; clear: both; } /* Dictionary query error description string */ -.gderrordesc -{ +.gderrordesc { font-style: italic; background: url("qrc:///icons/warning.png") center left no-repeat !important; padding-left: 22px !important; @@ -101,78 +97,69 @@ pre /********* Babylon dictionaries' classes *********/ /* Transcriptions in Babylon dictionaries */ -.bgltrn:before -{ - content:"["; +.bgltrn:before { + content: "["; } -.bgltrn:after -{ - content:"]"; +.bgltrn:after { + content: "]"; } -.bgltrn { display:block; } +.bgltrn { + display: block; +} /* Part of speech in Babylon dictionaries. Usually irrelevant, * therefore hidden */ -.bglpos { display: none; } +.bglpos { + display: none; +} /* Right-to-left text */ -.bglrtl -{ +.bglrtl { text-align: right; direction: rtl; } /******** StarDict dictionaries' classes *********/ - /* StarDict type 'h' -- Html content. We don't normally do anything here. */ -div.sdct_h -{ +div.sdct_h { } -.sdict_h_wav img -{ +.sdict_h_wav img { /* Ugly hack since "vertical-align: middle;" looks _terrible_ in Qt4's webkit: */ vertical-align: -30%; } /* StarDict type 'm' -- Pure meaning. Presented as
*/ -pre.sdct_m -{ +pre.sdct_m { } /* StarDict type 'l' -- Pure meaning which used to be in locale encoding. */ -pre.sdct_l -{ +pre.sdct_l { } /* StarDict type 'g' -- Pango Markup */ -div.sdct_g -{ +div.sdct_g { } /* StarDict type 't' -- Transcription */ -div.sdct_t -{ +div.sdct_t { font-weight: bold; } /* StarDict type 'y' -- Chinese YinBiao or Japanese KANA */ -div.sdct_y -{ +div.sdct_y { } /* StarDict type 'x'. Should have xdxf_*-styled elements inside */ -div.sdct_x -{ +div.sdct_x { } /* Blockquotes in XDXF-styled elements are used for indentation purposes, see Issue #305. */ -.sdct_x blockquote -{ +.sdct_x blockquote { margin: 0px; padding-left: 9px; display: inline-block; @@ -180,52 +167,45 @@ div.sdct_x /******** XDXF markup classes *********/ -div.xdxf -{ +div.xdxf { } /* Key -- keys shouldn't normally be present in the article's body since they * are accounted for separately, hence we hide them */ -.xdxf_k -{ +.xdxf_k { display: none; } /* ...and if there's a break after it, we hide it too so we don't have an * extra vertical spacing. */ -.xdxf_k + br -{ +.xdxf_k + br { display: none; } /* Article structure tag */ -.xdxf_num -{ - color: red; - font-weight: bold; - padding-left:-15px; +.xdxf_num { + color: red; + font-weight: bold; + padding-left: -15px; } -.xdxf_def -{ - display: block; - border-color: #e3e3e3; - border-width: 1px; - border-style: dashed; - margin: 1px; - margin-left: 15px; +.xdxf_def { + display: block; + border-color: #e3e3e3; + border-width: 1px; + border-style: dashed; + margin: 1px; + margin-left: 15px; } -.xdxf_def:target -{ - /* this pseudoclass is used to marked out the referencedthat was just clicked */ - border-color: red; - border-width: 1px; - border-style: double; +.xdxf_def:target { + /* this pseudoclass is used to marked out the referenced that was just clicked */ + border-color: red; + border-width: 1px; + border-style: double; } /* Abbreviation */ -.xdxf_abbr -{ +.xdxf_abbr { font-style: italic; color: seagreen; cursor: default; @@ -233,96 +213,81 @@ div.xdxf } /* Editorial comment */ -.xdxf_co, .xdxf_co_old -{ - color: darkslateblue; - font-style: italic; +.xdxf_co, +.xdxf_co_old { + color: darkslateblue; + font-style: italic; } -.xdxf_co:before -{ - content:"(" +.xdxf_co:before { + content: "("; } -.xdxf_co:after -{ - content:")" +.xdxf_co:after { + content: ")"; } /* Grammar information */ -.xdxf_gr -{ - color: orangered; - display: block; +.xdxf_gr { + color: orangered; + display: block; } -.xdxf_gr_old -{ - color: blue; /*orangered;*/ +.xdxf_gr_old { + color: blue; /*orangered;*/ } /* Example */ -.xdxf_ex -{ - color: #808080; - display: block; - margin-left: 14px; +.xdxf_ex { + color: #808080; + display: block; + margin-left: 14px; } -.xdxf_ex_old -{ - color: #808080; +.xdxf_ex_old { + color: #808080; } -.xdxf_ex_source:before -{ - content:"[" +.xdxf_ex_source:before { + content: "["; } -.xdxf_ex_source:after -{ - content:"]" +.xdxf_ex_source:after { + content: "]"; } -.xdxf_ex_tran:before -{ - content:"— " +.xdxf_ex_tran:before { + content: "— "; } -.xdxf_ex_tran -{ - font-style: italic; +.xdxf_ex_tran { + font-style: italic; } /* Direct translation */ -.xdxf_dtrn -{ - font-weight: bold; - color: #dd7800; +.xdxf_dtrn { + font-weight: bold; + color: #dd7800; } /* Transcription */ -.xdxf_tr:before -{ - content:"["; +.xdxf_tr:before { + content: "["; } -.xdxf_tr:after -{ - content:"]"; +.xdxf_tr:after { + content: "]"; } -.xdxf_tr, .xdxf_tr_old -{ +.xdxf_tr, +.xdxf_tr_old { font-weight: bold; } /* Resource reference -- for now just a span. Since there's not yet a mechanism * to load resources off XDXF articles in GoldenDict, we just hide them. */ -.xdxf_rref -{ +.xdxf_rref { display: none; } -.xdxf_headwords -{ +.xdxf_headwords { font-size: 116%; font-weight: bold; margin-top: 10px; @@ -330,123 +295,103 @@ div.xdxf } /* The words in examples that are meaked out; they are marked out only when placed into tag */ -.xdxf_ex .xdxf_ex_markd, .xdxf_ex_old .xdxf_ex_markd -{ - color:black; - background-color:lightgray; +.xdxf_ex .xdxf_ex_markd, +.xdxf_ex_old .xdxf_ex_markd { + color: black; + background-color: lightgray; } -.xdxf_opt -{ +.xdxf_opt { color: #808080; } /******** SDictionary markup classes *********/ -.sdict_forms -{ +.sdict_forms { font-style: italic; } /* Transcription */ -.sdict_tr:before -{ - content:"["; +.sdict_tr:before { + content: "["; } -.sdict_tr:after -{ - content:"] "; +.sdict_tr:after { + content: "] "; } -.sdict_tr -{ +.sdict_tr { font-weight: bold; } /************* LSA audio archives **************/ /* A table which contains a play icon and a word's link */ -.lsa_play -{ +.lsa_play { margin-top: 8px; margin-left: 8px; } -.lsa_play a -{ +.lsa_play a { text-decoration: none; } /************* DSL dictionaries **************/ -.dsl_u -{ +.dsl_u { text-decoration: underline; } -.dsl_article -{ - display:inline; +.dsl_article { + display: inline; } -.dsl_article .c_default_color -{ +.dsl_article .c_default_color { color: green; } -.dsl_m, .dsl_m0 -{ +.dsl_m, +.dsl_m0 { padding-left: 0px; } -.dsl_m1 -{ +.dsl_m1 { padding-left: 9px; } -.dsl_m2 -{ +.dsl_m2 { padding-left: 18px; } -.dsl_m3 -{ +.dsl_m3 { padding-left: 27px; } -.dsl_m4 -{ +.dsl_m4 { padding-left: 36px; } -.dsl_m5 -{ +.dsl_m5 { padding-left: 45px; } -.dsl_m6 -{ +.dsl_m6 { padding-left: 54px; } -.dsl_m7 -{ +.dsl_m7 { padding-left: 63px; } -.dsl_m8 -{ +.dsl_m8 { padding-left: 72px; } -.dsl_m9 -{ +.dsl_m9 { padding-left: 81px; } -.dsl_p, .dsl_p :not(a) /* DSL Feature: Enforce the style even if the children tags say otherwise, except links */ -{ +.dsl_p, .dsl_p :not(a) /* DSL Feature: Enforce the style even if the children tags say otherwise, except links */ { color: green !important; /* DSL label color must have highest priority */ font-style: italic; cursor: default; @@ -457,66 +402,57 @@ div.xdxf display: none; } -.dsl_t -{ +.dsl_t { font-weight: bold; } -.dsl_headwords -{ +.dsl_headwords { font-weight: bold; margin-top: 15px; margin-bottom: 10px; } -.dsl_headwords p -{ +.dsl_headwords p { font-weight: bold; font-size: 15px; margin: 0; } -.dsl_definition p -{ +.dsl_definition p { margin: 0; } -.dsl_opt -{ +.dsl_opt { display: none; } .dsl_opt, .dsl_opt .dsl_ex, .dsl_opt .dsl_ex :not(a), -.dsl_opt .dsl_ex font[color] /* DSL Feature: Enforce the optional zone color even if the children tags say otherwise */ -{ +.dsl_opt .dsl_ex font[color] /* DSL Feature: Enforce the optional zone color even if the children tags say otherwise */ { color: gray; } -.dsl_ex, .dsl_ex .dsl_opt -{ +.dsl_ex, +.dsl_ex .dsl_opt { color: gray; } /* Style for expand optional parts button */ -.hidden_expand_opt -{ +.hidden_expand_opt { color: blue; cursor: pointer; vertical-align: text-bottom; } -.dsl_s_wav img -{ +.dsl_s_wav img { /* Ugly hack since "vertical-align: middle;" looks _terrible_ in Qt4's webkit: */ vertical-align: -30%; } -.dsl_video .img -{ +.dsl_video .img { display: inline-block; - background: url('qrc:///icons/video.png'); + background: url("qrc:///icons/video.png"); background-repeat: no-repeat; /* Ugly hack since "vertical-align: middle;" looks _terrible_ in Qt4's webkit: */ vertical-align: -30%; @@ -526,132 +462,111 @@ div.xdxf padding: 0; } -.dsl_video .filename -{ +.dsl_video .filename { display: none; /* by default, the file name is hidden */ padding-left: 5px; } /************* MDict dictionaries **************/ -.mdict -{ - +.mdict { } -.mdict a[name] -{ +.mdict a[name] { text-decoration: none; color: inherit; } /************* Zim dictionaries **************/ -.zimdict -{ - font-size: 110%!important; +.zimdict { + font-size: 110% !important; } -.zimdict_headword -{ - font-weight: bold!important; +.zimdict_headword { + font-weight: bold !important; } /************* Spelling suggestions *****************/ -.gdspellsuggestion -{ +.gdspellsuggestion { /* Add some vertical space before the article */ margin-top: 1em; } /************* Stemmed suggestions *****************/ -.gdstemmedsuggestion -{ +.gdstemmedsuggestion { /* Add some horizontal and vertical space */ margin-top: 1em; margin-left: 1px; } - -.gdstemmedsuggestion_head -{ +.gdstemmedsuggestion_head { margin-left: 11px; font-style: italic; } -.gdstemmedsuggestion_body -{ +.gdstemmedsuggestion_body { } /************* Dictd articles *****************/ -.dictd_article -{ +.dictd_article { /* Add some vertical space before the article */ margin-top: 1em; } -.dictd_phonetic:before, .dictd_phonetic:after -{ +.dictd_phonetic:before, +.dictd_phonetic:after { content: "\\"; font-style: normal; } -.dictd_phonetic:after -{ +.dictd_phonetic:after { margin-left: 3px; } -.dictd_phonetic -{ +.dictd_phonetic { font-style: italic; color: #009900; } -.dictd_article a:link -{ - color: #0000FF; +.dictd_article a:link { + color: #0000ff; } -.dictserver_from -{ +.dictserver_from { font-size: 110%; font-weight: 600; } /************* Epwing dictionaries *****************/ -.epwing_narrow_font -{ +.epwing_narrow_font { width: 0.5em; height: 1em; vertical-align: -15%; } -.epwing_wide_font -{ +.epwing_wide_font { width: 1em; height: 1em; vertical-align: -15%; } -.epwing_article -{ - display:inline; +.epwing_article { + display: inline; } /************* Websites *****************/ -.website_padding -{ +.website_padding { height: 1em; - clear:both; + clear: both; } /************* Forvo **************/ -.forvo_headword -{ +.forvo_headword { margin-top: 15px; margin-bottom: 10px; font-weight: bold; @@ -659,31 +574,26 @@ div.xdxf } /* A table which contains a play icon and information about the sound */ -.forvo_play -{ +.forvo_play { margin-top: 8px; margin-left: 8px; } -.forvo_user -{ +.forvo_user { text-decoration: none; color: green; } -.forvo_location -{ +.forvo_location { color: grey; } -.forvo_positive_votes -{ +.forvo_positive_votes { font-weight: bold; color: green; } -.forvo_negative_votes -{ +.forvo_negative_votes { font-weight: bold; color: red; } @@ -691,32 +601,28 @@ div.xdxf /************* Programs **************/ /* A table which contains a play icon and a word's link */ -.programs_play -{ +.programs_play { margin-top: 8px; margin-left: 8px; } -.programs_play a -{ +.programs_play a { text-decoration: none; } -.programs_plaintext, .programs_html -{ +.programs_plaintext, +.programs_html { margin-top: 15px; } /************* Voice engines **************/ -.voiceengines_play -{ +.voiceengines_play { margin-top: 8px; margin-left: 8px; } -.voiceengines_play a -{ +.voiceengines_play a { text-decoration: none; } @@ -725,14 +631,12 @@ div.xdxf with a .mwiki prepended to each record. */ -.mwiki -{ +.mwiki { /* Add some vertical space before the article */ margin-top: 1em; } -.mwiki .topicon -{ +.mwiki .topicon { /* Those are padlocks on top and such -- we disable those for GoldenDict since they look really ugly here */ display: none; @@ -745,241 +649,294 @@ div.xdxf * careful what you put in here, since what looks good in one skin may not in * another, but don't ignore the poor non-Monobook users either. */ -.mwiki .mw-plusminus-null { color: #aaa; } +.mwiki .mw-plusminus-null { + color: #aaa; +} -.mwiki .texvc { direction: ltr; unicode-bidi: embed; } -.mwiki img.tex { vertical-align: middle; } -.mwiki span.texhtml { font-family: serif; } +.mwiki .texvc { + direction: ltr; + unicode-bidi: embed; +} +.mwiki img.tex { + vertical-align: middle; +} +.mwiki span.texhtml { + font-family: serif; +} /* add a bit of margin space between the preview and the toolbar */ /* this replaces the ugly we used to insert into the page source */ -.mwiki #wikiPreview.ontop { margin-bottom: 1em; } +.mwiki #wikiPreview.ontop { + margin-bottom: 1em; +} /* Stop floats from intruding into edit area in previews */ -.mwiki #toolbar, .mwiki #wpTextbox1 { clear: both; } +.mwiki #toolbar, +.mwiki #wpTextbox1 { + clear: both; +} .mwiki div#mw-js-message { - margin: 1em 5%; - padding: 0.5em 2.5%; - border: solid 1px #ddd; - background-color: #fcfcfc; + margin: 1em 5%; + padding: 0.5em 2.5%; + border: solid 1px #ddd; + background-color: #fcfcfc; } /* Edit section links */ .mwiki .editsection { - float: right; - margin-left: 5px; + float: right; + margin-left: 5px; } /** * File histories */ .mwiki table.filehistory { - border:1px solid #ccc; - border-collapse:collapse; + border: 1px solid #ccc; + border-collapse: collapse; } .mwiki table.filehistory th, .mwiki table.filehistory td { - padding: 0 0.2em 0 0.2em; - vertical-align:top; - border:1px solid #ccc; + padding: 0 0.2em 0 0.2em; + vertical-align: top; + border: 1px solid #ccc; } .mwiki table.filehistory th { - text-align: left; + text-align: left; } .mwiki table.filehistory td.mw-imagepage-filesize, .mwiki table.filehistory th.mw-imagepage-filesize { - white-space:nowrap; + white-space: nowrap; } .mwiki table.filehistory td.filehistory-selected { - font-weight: bold; + font-weight: bold; } /* * rev_deleted stuff */ -.mwiki li span.deleted, .mwiki span.history-deleted { - text-decoration: line-through; - color: #888; - font-style: italic; +.mwiki li span.deleted, +.mwiki span.history-deleted { + text-decoration: line-through; + color: #888; + font-style: italic; } -.mwiki td.mw-label { vertical-align: top; } -.mwiki td.mw-submit { white-space: nowrap; } +.mwiki td.mw-label { + vertical-align: top; +} +.mwiki td.mw-submit { + white-space: nowrap; +} /** * Forms */ -.mwiki body.ltr td.mw-label { text-align: right; } -.mwiki body.ltr td.mw-input { text-align: left; } -.mwiki body.ltr td.mw-submit { text-align: left; } -.mwiki body.rtl td.mw-label { text-align: left; } -.mwiki body.rtl td.mw-input { text-align: right; } -.mwiki body.rtl td.mw-submit { text-align: right; } +.mwiki body.ltr td.mw-label { + text-align: right; +} +.mwiki body.ltr td.mw-input { + text-align: left; +} +.mwiki body.ltr td.mw-submit { + text-align: left; +} +.mwiki body.rtl td.mw-label { + text-align: left; +} +.mwiki body.rtl td.mw-input { + text-align: right; +} +.mwiki body.rtl td.mw-submit { + text-align: right; +} /** * Image captions */ -.mwiki body.rtl .thumbcaption { text-align:right; } -.mwiki body.rtl .magnify { float:left; } +.mwiki body.rtl .thumbcaption { + text-align: right; +} +.mwiki body.rtl .magnify { + float: left; +} -.mwiki body.ltr .thumbcaption { text-align:left; } -.mwiki body.ltr .magnify { float:right; } +.mwiki body.ltr .thumbcaption { + text-align: left; +} +.mwiki body.ltr .magnify { + float: right; +} /** * Hidden categories */ -.mwiki .mw-hidden-cats-hidden { display: none; } -.mwiki .catlinks-allhidden { display: none; } +.mwiki .mw-hidden-cats-hidden { + display: none; +} +.mwiki .catlinks-allhidden { + display: none; +} /* Convenience links to edit block, delete and protect reasons */ -.mwiki p.mw-ipb-conveniencelinks, .mwiki p.mw-protect-editreasons, -.mwiki p.mw-filedelete-editreasons, .mwiki p.mw-delete-editreasons { - font-size: 90%; - float: right; +.mwiki p.mw-ipb-conveniencelinks, +.mwiki p.mw-protect-editreasons, +.mwiki p.mw-filedelete-editreasons, +.mwiki p.mw-delete-editreasons { + font-size: 90%; + float: right; } /* Search results */ .mwiki div.searchresult { - font-size: 95%; - width:38em; + font-size: 95%; + width: 38em; } .mwiki .mw-search-results li { - padding-bottom: 1em; - list-style:none; + padding-bottom: 1em; + list-style: none; } .mwiki .mw-search-result-data { - color: green; - font-size: 97%; + color: green; + font-size: 97%; } .mwiki td#mw-search-menu { - padding-left:6em; - font-size:85%; + padding-left: 6em; + font-size: 85%; } .mwiki div#mw-search-interwiki { - float: right; - width: 18em; - border-style: solid; - border-color: #AAAAAA; - border-width: 1px; - margin-top: 2ex; + float: right; + width: 18em; + border-style: solid; + border-color: #aaaaaa; + border-width: 1px; + margin-top: 2ex; } .mwiki div#mw-search-interwiki li { - font-size: 95%; + font-size: 95%; } .mwiki .mw-search-interwiki-more { - float: right; - font-size: 90%; + float: right; + font-size: 90%; } .mwiki span.searchalttitle { - font-size: 95%; + font-size: 95%; } .mwiki div.searchdidyoumean { - font-size: 127%; - margin-bottom: 1ex; - margin-top: 1ex; - /* Note that this color won't affect the link, as desired. */ - color: #c00; + font-size: 127%; + margin-bottom: 1ex; + margin-top: 1ex; + /* Note that this color won't affect the link, as desired. */ + color: #c00; } .mwiki div.searchdidyoumean em { - font-weight: bold; + font-weight: bold; } .mwiki .searchmatch { - font-weight: bold; + font-weight: bold; } .mwiki div.searchresults { - border:1px solid darkblue; - padding-top: 10px; - padding-bottom: 10px; - padding-left: 20px; - padding-right: 20px; + border: 1px solid darkblue; + padding-top: 10px; + padding-bottom: 10px; + padding-left: 20px; + padding-right: 20px; } /* * UserRights stuff */ .mwiki .mw-userrights-disabled { - color: #888; + color: #888; } -.mwiki table.mw-userrights-groups * td,.mwiki table.mw-userrights-groups * th { - padding-right: 1.5em; +.mwiki table.mw-userrights-groups * td, +.mwiki table.mw-userrights-groups * th { + padding-right: 1.5em; } /* * OpenSearch ajax suggestions */ .mwiki .os-suggest { - overflow: auto; - overflow-x: hidden; - position: absolute; - top: 0px; - left: 0px; - width: 0px; - background-color: white; - border-style: solid; - border-color: #AAAAAA; - border-width: 1px; - z-index:99; - visibility:hidden; - font-size:95%; + overflow: auto; + overflow-x: hidden; + position: absolute; + top: 0px; + left: 0px; + width: 0px; + background-color: white; + border-style: solid; + border-color: #aaaaaa; + border-width: 1px; + z-index: 99; + visibility: hidden; + font-size: 95%; } .mwiki table.os-suggest-results { - font-size: 95%; - cursor: pointer; - border: 0; - border-collapse: collapse; - width: 100%; + font-size: 95%; + cursor: pointer; + border: 0; + border-collapse: collapse; + width: 100%; } -.mwiki td.os-suggest-result, .mwiki td.os-suggest-result-hl { - white-space: nowrap; - background-color: white; - color: black; - padding: 2px; +.mwiki td.os-suggest-result, +.mwiki td.os-suggest-result-hl { + white-space: nowrap; + background-color: white; + color: black; + padding: 2px; } .mwiki td.os-suggest-result-hl, .mwiki td.os-suggest-result-hl-webkit { - background-color: #4C59A6; - color: white; + background-color: #4c59a6; + color: white; } .mwiki .os-suggest-toggle { - position: relative; - left: 1ex; - font-size: 65%; + position: relative; + left: 1ex; + font-size: 65%; } .mwiki .os-suggest-toggle-def { - position: absolute; - top: 0px; - left: 0px; - font-size: 65%; - visibility: hidden; + position: absolute; + top: 0px; + left: 0px; + font-size: 65%; + visibility: hidden; } /* Page history styling */ /* the auto-generated edit comments */ -.mwiki .autocomment { color: gray; } -.mwiki #pagehistory .history-user { - margin-left: 0.4em; - margin-right: 0.2em; +.mwiki .autocomment { + color: gray; +} +.mwiki #pagehistory .history-user { + margin-left: 0.4em; + margin-right: 0.2em; +} +.mwiki #pagehistory span.minor { + font-weight: bold; +} +.mwiki #pagehistory li { + border: 1px solid white; } -.mwiki #pagehistory span.minor { font-weight: bold; } -.mwiki #pagehistory li { border: 1px solid white; } .mwiki #pagehistory li.selected { - background-color: #f9f9f9; - border: 1px dashed #aaa; + background-color: #f9f9f9; + border: 1px dashed #aaa; } /* @@ -989,57 +946,61 @@ div.xdxf .mwiki table.mw-listgrouprights-table, .mwiki table.mw-statistics-table { - border: 1px solid #ccc; - border-collapse: collapse; + border: 1px solid #ccc; + border-collapse: collapse; } -.mwiki table.mw-listgrouprights-table tr { - vertical-align: top; +.mwiki table.mw-listgrouprights-table tr { + vertical-align: top; } -.mwiki table.mw-listgrouprights-table td, .mwiki table.mw-listgrouprights-table th, -.mwiki table.mw-statistics-table td, .mwiki table.mw-statistics-table th { - padding: 0.5em 0.2em 0.5em 0.2em; - border: 1px solid #ccc; +.mwiki table.mw-listgrouprights-table td, +.mwiki table.mw-listgrouprights-table th, +.mwiki table.mw-statistics-table td, +.mwiki table.mw-statistics-table th { + padding: 0.5em 0.2em 0.5em 0.2em; + border: 1px solid #ccc; } .mwiki td.mw-statistics-numbers { - text-align: right; + text-align: right; } /* Special:SpecialPages styling */ .mwiki h4.mw-specialpagesgroup { - background-color: #dcdcdc; - padding: 2px; - margin: .3em 0em 0em 0em; + background-color: #dcdcdc; + padding: 2px; + margin: 0.3em 0em 0em 0em; } .mwiki .mw-specialpagerestricted { - font-weight: bold; + font-weight: bold; } -.mwiki #shared-image-dup, .mwiki #shared-image-conflict { - font-style: italic; +.mwiki #shared-image-dup, +.mwiki #shared-image-conflict { + font-style: italic; } /* Special:EmailUser styling */ .mwiki table.mw-emailuser-table { - width: 98%; + width: 98%; } -.mwiki td#mw-emailuser-sender, .mwiki td#mw-emailuser-recipient { - font-weight: bold; +.mwiki td#mw-emailuser-sender, +.mwiki td#mw-emailuser-recipient { + font-weight: bold; } /* Special:Prefixindex styling */ .mwiki table#mw-prefixindex-list-table, .mwiki table#mw-prefixindex-nav-table { - width: 98%; - background-color: transparent; + width: 98%; + background-color: transparent; } -.mwiki td#mw-prefixindex-nav-form { - font-size: smaller; - margin-bottom: 1em; - text-align: right; - vertical-align: top; +.mwiki td#mw-prefixindex-nav-form { + font-size: smaller; + margin-bottom: 1em; + text-align: right; + vertical-align: top; } /* @@ -1049,25 +1010,25 @@ div.xdxf * incl. log entries for these warnings */ .mwiki div.mw-warning-with-logexcerpt { - padding: 3px; - margin-bottom: 3px; - border: 2px solid #2F6FAB; + padding: 3px; + margin-bottom: 3px; + border: 2px solid #2f6fab; } .mwiki div.mw-warning-with-logexcerpt ul li { - font-size: 90%; + font-size: 90%; } /* (show/hide) revision deletion links */ .mwiki span.mw-revdelundel-link, .mwiki strong.mw-revdelundel-link { - font-family: monospace; - font-size: smaller + font-family: monospace; + font-size: smaller; } /* feed links */ .mwiki a.feedlink { - background: url("images/feed-icon.png") center left no-repeat; - padding-left: 16px; + background: url("images/feed-icon.png") center left no-repeat; + padding-left: 16px; } /************ monobook/main.css **************/ @@ -1084,26 +1045,26 @@ div.xdxf */ .mwiki #column-content { - width: 100%; - float: right; - margin: 0 0 .6em -12.2em; - padding: 0; + width: 100%; + float: right; + margin: 0 0 0.6em -12.2em; + padding: 0; } .mwiki #content { - margin: 2.8em 0 0 12.2em; - padding: 0 1em 1em 1em; - position: relative; - z-index: 2; + margin: 2.8em 0 0 12.2em; + padding: 0 1em 1em 1em; + position: relative; + z-index: 2; } .mwiki #column-one { - padding-top: 160px; + padding-top: 160px; } .mwiki #content { - background: white; - color: black; - border: 1px solid #aaa; - border-right: none; - line-height: 1.5em; + background: white; + color: black; + border: 1px solid #aaa; + border-right: none; + line-height: 1.5em; } /* the left column width is specified in class .portlet */ @@ -1125,171 +1086,210 @@ body { /* scale back up to a sane default */ .mwiki #globalWrapper { - font-size: 127%; - width: 100%; - margin: 0; - padding: 0; + font-size: 127%; + width: 100%; + margin: 0; + padding: 0; } .mwiki .visualClear { - clear: both; + clear: both; } /* general styles */ .mwiki table { - font-size: 100%; - color: black; - /* we don't want the bottom borders of
s to be visible through + font-size: 100%; + color: black; + /* we don't want the bottom borders of
s to be visible through floated tables */ - background-color: white; + background-color: white; } .mwiki fieldset table { - /* but keep table layouts in forms clean... */ - background: none; + /* but keep table layouts in forms clean... */ + background: none; } .mwiki a { - text-decoration: none; - color: #002bb8; - background: none; + text-decoration: none; + color: #002bb8; + background: none; } .mwiki a:visited { - color: #5a3696; + color: #5a3696; } .mwiki a:active { - color: #faa700; + color: #faa700; } .mwiki a:hover { - text-decoration: underline; + text-decoration: underline; } .mwiki a.stub { - color: #772233; + color: #772233; } -.mwiki a.new, .mwiki #p-personal a.new { - color: #ba0000; +.mwiki a.new, +.mwiki #p-personal a.new { + color: #ba0000; } -.mwiki a.new:visited, .mwiki #p-personal a.new:visited { - color: #a55858; +.mwiki a.new:visited, +.mwiki #p-personal a.new:visited { + color: #a55858; } .mwiki img { - border: none; - vertical-align: middle; + border: none; + vertical-align: middle; } .mwiki p { - margin: .4em 0 .5em 0; - line-height: 1.5em; + margin: 0.4em 0 0.5em 0; + line-height: 1.5em; } .mwiki p img { - margin: 0; + margin: 0; } .mwiki hr { - height: 1px; - color: #aaa; - background-color: #aaa; - border: 0; - margin: .2em 0 .2em 0; + height: 1px; + color: #aaa; + background-color: #aaa; + border: 0; + margin: 0.2em 0 0.2em 0; } -.mwiki h1, .mwiki h2, .mwiki h3, .mwiki h4, .mwiki h5, .mwiki h6 { - color: black; - background: none; - font-weight: normal; - margin: 0; - padding-top: .5em; - padding-bottom: .17em; - border-bottom: 1px solid #aaa; +.mwiki h1, +.mwiki h2, +.mwiki h3, +.mwiki h4, +.mwiki h5, +.mwiki h6 { + color: black; + background: none; + font-weight: normal; + margin: 0; + padding-top: 0.5em; + padding-bottom: 0.17em; + border-bottom: 1px solid #aaa; } -.mwiki h1 { font-size: 188%; } -.mwiki h1 .editsection { font-size: 53%; } -.mwiki h2 { font-size: 150%; } -.mwiki h2 .editsection { font-size: 67%; } -.mwiki h3, .mwiki h4, .mwiki h5, .mwiki h6 { - border-bottom: none; - font-weight: bold; +.mwiki h1 { + font-size: 188%; +} +.mwiki h1 .editsection { + font-size: 53%; +} +.mwiki h2 { + font-size: 150%; +} +.mwiki h2 .editsection { + font-size: 67%; +} +.mwiki h3, +.mwiki h4, +.mwiki h5, +.mwiki h6 { + border-bottom: none; + font-weight: bold; +} +.mwiki h3 { + font-size: 132%; +} +.mwiki h3 .editsection { + font-size: 76%; + font-weight: normal; +} +.mwiki h4 { + font-size: 116%; +} +.mwiki h4 .editsection { + font-size: 86%; + font-weight: normal; +} +.mwiki h5 { + font-size: 100%; +} +.mwiki h5 .editsection { + font-weight: normal; +} +.mwiki h6 { + font-size: 80%; +} +.mwiki h6 .editsection { + font-size: 125%; + font-weight: normal; } -.mwiki h3 { font-size: 132%; } -.mwiki h3 .editsection { font-size: 76%; font-weight: normal; } -.mwiki h4 { font-size: 116%; } -.mwiki h4 .editsection { font-size: 86%; font-weight: normal; } -.mwiki h5 { font-size: 100%; } -.mwiki h5 .editsection { font-weight: normal; } -.mwiki h6 { font-size: 80%; } -.mwiki h6 .editsection { font-size: 125%; font-weight: normal; } .mwiki ul { - line-height: 1.5em; - list-style-type: square; - margin: .3em 0 0 1.5em; - padding: 0; - list-style-image: url(bullet.gif); + line-height: 1.5em; + list-style-type: square; + margin: 0.3em 0 0 1.5em; + padding: 0; + list-style-image: url(bullet.gif); } .mwiki ol { - line-height: 1.5em; - margin: .3em 0 0 3.2em; - padding: 0; - list-style-image: none; + line-height: 1.5em; + margin: 0.3em 0 0 3.2em; + padding: 0; + list-style-image: none; } .mwiki li { - margin-bottom: .1em; + margin-bottom: 0.1em; } .mwiki dt { - font-weight: bold; - margin-bottom: .1em; + font-weight: bold; + margin-bottom: 0.1em; } .mwiki dl { - margin-top: .2em; - margin-bottom: .5em; + margin-top: 0.2em; + margin-bottom: 0.5em; } .mwiki dd { - line-height: 1.5em; - margin-left: 2em; - margin-bottom: .1em; + line-height: 1.5em; + margin-left: 2em; + margin-bottom: 0.1em; } .mwiki fieldset { - border: 1px solid #2f6fab; - margin: 1em 0 1em 0; - padding: 0 1em 1em; - line-height: 1.5em; + border: 1px solid #2f6fab; + margin: 1em 0 1em 0; + padding: 0 1em 1em; + line-height: 1.5em; } .mwiki fieldset.nested { - margin: 0 0 0.5em 0; - padding: 0 0.5em 0.5em; + margin: 0 0 0.5em 0; + padding: 0 0.5em 0.5em; } .mwiki legend { - padding: .5em; - font-size: 95%; + padding: 0.5em; + font-size: 95%; } .mwiki form { - border: none; - margin: 0; + border: none; + margin: 0; } .mwiki textarea { - width: 100%; - padding: .1em; + width: 100%; + padding: 0.1em; } .mwiki input.historysubmit { - padding: 0 .3em .3em .3em !important; - font-size: 94%; - cursor: pointer; - height: 1.7em !important; - margin-left: 1.6em; + padding: 0 0.3em 0.3em 0.3em !important; + font-size: 94%; + cursor: pointer; + height: 1.7em !important; + margin-left: 1.6em; } .mwiki select { - vertical-align: top; + vertical-align: top; } -.mwiki abbr, .mwiki acronym, .mwiki .explain { - border-bottom: 1px dotted black; - color: black; - background: none; - cursor: help; +.mwiki abbr, +.mwiki acronym, +.mwiki .explain { + border-bottom: 1px dotted black; + color: black; + background: none; + cursor: help; } .mwiki q { - font-family: Times, "Times New Roman", serif; - font-style: italic; + font-family: Times, "Times New Roman", serif; + font-style: italic; } /* disabled for now .mwiki blockquote { @@ -1297,14 +1297,14 @@ body { font-style: italic; }*/ .mwiki code { - background-color: #f9f9f9; + background-color: #f9f9f9; } .mwiki pre { - padding: 1em; - border: 1px dashed #2f6fab; - color: black; - background-color: #f9f9f9; - line-height: 1.1em; + padding: 1em; + border: 1px dashed #2f6fab; + color: black; + background-color: #f9f9f9; + line-height: 1.1em; } /* @@ -1312,128 +1312,135 @@ body { */ .mwiki #siteSub { - display: none; + display: none; } .mwiki #jump-to-nav { - display: none; + display: none; } -.mwiki #contentSub, .mwiki #contentSub2 { - font-size: 84%; - line-height: 1.2em; - margin: 0 0 1.4em 1em; - color: #7d7d7d; - width: auto; +.mwiki #contentSub, +.mwiki #contentSub2 { + font-size: 84%; + line-height: 1.2em; + margin: 0 0 1.4em 1em; + color: #7d7d7d; + width: auto; } .mwiki span.subpages { - display: block; + display: block; } /* Some space under the headers in the content area */ -.mwiki #bodyContent h1, .mwiki #bodyContent h2 { - margin-bottom: .6em; +.mwiki #bodyContent h1, +.mwiki #bodyContent h2 { + margin-bottom: 0.6em; } -.mwiki #bodyContent h3, .mwiki #bodyContent h4, .mwiki #bodyContent h5 { - margin-bottom: .3em; +.mwiki #bodyContent h3, +.mwiki #bodyContent h4, +.mwiki #bodyContent h5 { + margin-bottom: 0.3em; } .mwiki #firstHeading { - margin-bottom: .1em; - /* These two rules hack around bug 2013 (fix for more limited bug 11325). + margin-bottom: 0.1em; + /* These two rules hack around bug 2013 (fix for more limited bug 11325). When bug 2013 is fixed properly, they should be removed. */ - line-height: 1.2em; - padding-bottom: 0; + line-height: 1.2em; + padding-bottom: 0; } /* user notification thing */ .mwiki .usermessage { - background-color: #ffce7b; - border: 1px solid #ffa500; - color: black; - font-weight: bold; - margin: 2em 0 1em; - padding: .5em 1em; - vertical-align: middle; + background-color: #ffce7b; + border: 1px solid #ffa500; + color: black; + font-weight: bold; + margin: 2em 0 1em; + padding: 0.5em 1em; + vertical-align: middle; } .mwiki #siteNotice { - text-align: center; - font-size: 95%; - padding: 0 .9em; + text-align: center; + font-size: 95%; + padding: 0 0.9em; } .mwiki #siteNotice p { - margin: 0; - padding: 0; + margin: 0; + padding: 0; } .mwiki .success { - color: green; - font-size: larger; + color: green; + font-size: larger; } .mwiki .error { - color: red; - font-size: larger; + color: red; + font-size: larger; } -.mwiki .errorbox, .mwiki .successbox { - font-size: larger; - border: 2px solid; - padding: .5em 1em; - float: left; - margin-bottom: 2em; - color: #000; +.mwiki .errorbox, +.mwiki .successbox { + font-size: larger; + border: 2px solid; + padding: 0.5em 1em; + float: left; + margin-bottom: 2em; + color: #000; } .mwiki .errorbox { - border-color: red; - background-color: #fff2f2; + border-color: red; + background-color: #fff2f2; } .mwiki .successbox { - border-color: green; - background-color: #dfd; + border-color: green; + background-color: #dfd; } -.mwiki .errorbox h2, .mwiki .successbox h2 { - font-size: 1em; - font-weight: bold; - display: inline; - margin: 0 .5em 0 0; - border: none; +.mwiki .errorbox h2, +.mwiki .successbox h2 { + font-size: 1em; + font-weight: bold; + display: inline; + margin: 0 0.5em 0 0; + border: none; } .mwiki .catlinks { - border: 1px solid #aaa; - background-color: #f9f9f9; - padding: 5px; - margin-top: 1em; - clear: both; + border: 1px solid #aaa; + 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 */ .mwiki .documentDescription { - /* The summary text describing the document */ - font-weight: bold; - display: block; - margin: 1em 0; - line-height: 1.5em; + /* The summary text describing the document */ + font-weight: bold; + display: block; + margin: 1em 0; + line-height: 1.5em; } .mwiki .documentByLine { - text-align: right; - font-size: 90%; - clear: both; - font-weight: normal; - color: #76797c; + text-align: right; + font-size: 90%; + clear: both; + font-weight: normal; + color: #76797c; } /* emulate center */ .mwiki .center { - width: 100%; - text-align: center; + width: 100%; + text-align: center; } .mwiki *.center * { - margin-left: auto; - margin-right: auto; + margin-left: auto; + margin-right: auto; } /* small for tables and similar */ -.mwiki .small, .mwiki .small * { - font-size: 94%; +.mwiki .small, +.mwiki .small * { + font-size: 94%; } .mwiki table.small { - font-size: 100%; + font-size: 100%; } /* @@ -1443,125 +1450,132 @@ in the bottom-right corner of the content area */ .mwiki #toc, .mwiki .toc, .mwiki .mw-warning { - border: 1px solid #aaa; - background-color: #f9f9f9; - padding: 5px; - font-size: 95%; + border: 1px solid #aaa; + background-color: #f9f9f9; + padding: 5px; + font-size: 95%; } .mwiki #toc h2, .mwiki .toc h2 { - display: inline; - border: none; - padding: 0; - font-size: 100%; - font-weight: bold; + display: inline; + border: none; + padding: 0; + font-size: 100%; + font-weight: bold; } .mwiki #toc #toctitle, .mwiki .toc #toctitle, .mwiki #toc .toctitle, .mwiki .toc .toctitle { - text-align: center; + text-align: center; } .mwiki #toc ul, .mwiki .toc ul { - list-style-type: none; - list-style-image: none; - margin-left: 0; - padding-left: 0; - text-align: left; + list-style-type: none; + list-style-image: none; + margin-left: 0; + padding-left: 0; + text-align: left; } .mwiki #toc ul ul, .mwiki .toc ul ul { - margin: 0 0 0 2em; + margin: 0 0 0 2em; } .mwiki #toc .toctoggle, .mwiki .toc .toctoggle { - font-size: 94%; + font-size: 94%; } .mwiki .mw-warning { - margin-left: 50px; - margin-right: 50px; - text-align: center; + margin-left: 50px; + margin-right: 50px; + text-align: center; } /* images */ -.mwiki div.floatright, .mwiki table.floatright { - clear: right; - float: right; - position: relative; - margin: 0 0 .5em .5em; - border: 0; -/* +.mwiki div.floatright, +.mwiki table.floatright { + clear: right; + float: right; + position: relative; + margin: 0 0 0.5em 0.5em; + border: 0; + /* border: .5em solid white; border-width: .5em 0 .8em 1.4em; */ } -.mwiki div.floatright p { font-style: italic; } -.mwiki div.floatleft, .mwiki table.floatleft { - float: left; - clear: left; - position: relative; - margin: 0 .5em .5em 0; - border: 0; -/* +.mwiki div.floatright p { + font-style: italic; +} +.mwiki div.floatleft, +.mwiki table.floatleft { + float: left; + clear: left; + position: relative; + margin: 0 0.5em 0.5em 0; + border: 0; + /* margin: .3em .5em .5em 0; border: .5em solid white; border-width: .5em 1.4em .8em 0; */ } -.mwiki div.floatleft p { font-style: italic; } +.mwiki div.floatleft p { + font-style: italic; +} /* thumbnails */ .mwiki div.thumb { - margin-bottom: .5em; - border-style: solid; - border-color: white; - width: auto; + margin-bottom: 0.5em; + border-style: solid; + border-color: white; + width: auto; } .mwiki div.thumbinner { - border: 1px solid #ccc; - padding: 3px !important; - background-color: #f9f9f9; - font-size: 94%; - text-align: center; - overflow: hidden; + border: 1px solid #ccc; + padding: 3px !important; + background-color: #f9f9f9; + font-size: 94%; + text-align: center; + overflow: hidden; } .mwiki html .thumbimage { - border: 1px solid #ccc; + border: 1px solid #ccc; } .mwiki html .thumbcaption { - border: none; - text-align: left; - line-height: 1.4em; - padding: 3px !important; - font-size: 94%; + border: none; + text-align: left; + line-height: 1.4em; + padding: 3px !important; + font-size: 94%; } .mwiki div.magnify { - float: right; - border: none !important; - background: none !important; + float: right; + border: none !important; + background: none !important; } -.mwiki div.magnify a, .mwiki div.magnify img { - display: block; - border: none !important; - background: none !important; +.mwiki div.magnify a, +.mwiki div.magnify img { + display: block; + border: none !important; + background: none !important; } .mwiki div.tright { - clear: right; - float: right; - border-width: .5em 0 .8em 1.4em; + clear: right; + float: right; + border-width: 0.5em 0 0.8em 1.4em; } .mwiki div.tleft { - float: left; - clear: left; - margin-right: .5em; - border-width: .5em 1.4em .8em 0; + float: left; + clear: left; + margin-right: 0.5em; + border-width: 0.5em 1.4em 0.8em 0; } .mwiki img.thumbborder { - border: 1px solid #dddddd; + border: 1px solid #dddddd; } .mwiki .hiddenStructure { - display: none; + display: none; } /* @@ -1574,26 +1588,26 @@ in the bottom-right corner of the content area */ */ /* table standards */ .mwiki table.rimage { - float: right; - position: relative; - margin-left: 1em; - margin-bottom: 1em; - text-align: center; + float: right; + position: relative; + margin-left: 1em; + margin-bottom: 1em; + text-align: center; } .mwiki .toccolours { - border: 1px solid #aaa; - background-color: #f9f9f9; - padding: 5px; - font-size: 95%; + border: 1px solid #aaa; + background-color: #f9f9f9; + padding: 5px; + font-size: 95%; } /* ** edit views etc */ .mwiki .special li { - line-height: 1.4em; - margin: 0; - padding: 0; + line-height: 1.4em; + margin: 0; + padding: 0; } /* @@ -1601,77 +1615,93 @@ in the bottom-right corner of the content area */ ** this is css3, the validator doesn't like it when validating as css2 */ .mwiki #bodyContent a.external, -.mwiki #bodyContent a[href ^="gopher://"] { - background: url(external.png) center right no-repeat; - padding-right: 1em; +.mwiki #bodyContent a[href ^="gopher://"] +{ + background: url(external.png) center right no-repeat; + padding-right: 1em; } .mwiki #bodyContent a[href ^="https://"], .mwiki .link-https { - background: url(lock_icon.gif) center right no-repeat; - padding-right: 16px; + background: url(lock_icon.gif) center right no-repeat; + padding-right: 16px; } -.mwiki #bodyContent a[href ^="mailto:"], +.mwiki #bodyContent a[href^="mailto:"], .mwiki .link-mailto { - background: url(mail_icon.gif) center right no-repeat; - padding-right: 18px; + background: url(mail_icon.gif) center right no-repeat; + padding-right: 18px; } -.mwiki #bodyContent a[href ^="news://"] { - background: url(news_icon.png) center right no-repeat; - padding-right: 18px; +.mwiki #bodyContent a[href ^="news://"] +{ + background: url(news_icon.png) center right no-repeat; + padding-right: 18px; } .mwiki #bodyContent a[href ^="ftp://"], .mwiki .link-ftp { - background: url(file_icon.gif) center right no-repeat; - padding-right: 18px; + background: url(file_icon.gif) center right no-repeat; + padding-right: 18px; } .mwiki #bodyContent a[href ^="irc://"], .mwiki #bodyContent a.extiw[href ^="irc://"], .mwiki .link-irc { - background: url(discussionitem_icon.gif) center right no-repeat; - padding-right: 18px; + background: url(discussionitem_icon.gif) center right no-repeat; + padding-right: 18px; } -.mwiki #bodyContent a.external[href $=".ogg"], .mwiki #bodyContent a.external[href $=".OGG"], -.mwiki #bodyContent a.external[href $=".oga"], .mwiki #bodyContent a.external[href $=".OGA"], -.mwiki #bodyContent a.external[href $=".mid"], .mwiki #bodyContent a.external[href $=".MID"], -.mwiki #bodyContent a.external[href $=".midi"], .mwiki #bodyContent a.external[href $=".MIDI"], -.mwiki #bodyContent a.external[href $=".mp3"], .mwiki #bodyContent a.external[href $=".MP3"], -.mwiki #bodyContent a.external[href $=".wav"], .mwiki #bodyContent a.external[href $=".WAV"], -.mwiki #bodyContent a.external[href $=".wma"], .mwiki #bodyContent a.external[href $=".WMA"], +.mwiki #bodyContent a.external[href$=".ogg"], +.mwiki #bodyContent a.external[href$=".OGG"], +.mwiki #bodyContent a.external[href$=".oga"], +.mwiki #bodyContent a.external[href$=".OGA"], +.mwiki #bodyContent a.external[href$=".mid"], +.mwiki #bodyContent a.external[href$=".MID"], +.mwiki #bodyContent a.external[href$=".midi"], +.mwiki #bodyContent a.external[href$=".MIDI"], +.mwiki #bodyContent a.external[href$=".mp3"], +.mwiki #bodyContent a.external[href$=".MP3"], +.mwiki #bodyContent a.external[href$=".wav"], +.mwiki #bodyContent a.external[href$=".WAV"], +.mwiki #bodyContent a.external[href$=".wma"], +.mwiki #bodyContent a.external[href$=".WMA"], .mwiki .link-audio { - background: url("audio.png") center right no-repeat; - padding-right: 1em; + background: url("audio.png") center right no-repeat; + padding-right: 1em; } -.mwiki #bodyContent a.external[href $=".ogm"], .mwiki #bodyContent a.external[href $=".OGM"], -.mwiki #bodyContent a.external[href $=".avi"], .mwiki #bodyContent a.external[href $=".AVI"], -.mwiki #bodyContent a.external[href $=".mpeg"], .mwiki #bodyContent a.external[href $=".MPEG"], -.mwiki #bodyContent a.external[href $=".mpg"], .mwiki #bodyContent a.external[href $=".MPG"], +.mwiki #bodyContent a.external[href$=".ogm"], +.mwiki #bodyContent a.external[href$=".OGM"], +.mwiki #bodyContent a.external[href$=".avi"], +.mwiki #bodyContent a.external[href$=".AVI"], +.mwiki #bodyContent a.external[href$=".mpeg"], +.mwiki #bodyContent a.external[href$=".MPEG"], +.mwiki #bodyContent a.external[href$=".mpg"], +.mwiki #bodyContent a.external[href$=".MPG"], .mwiki .link-video { - background: url("video.png") center right no-repeat; - padding-right: 1em; + background: url("video.png") center right no-repeat; + padding-right: 1em; } -.mwiki #bodyContent a.external[href $=".pdf"], .mwiki #bodyContent a.external[href $=".PDF"], -.mwiki #bodyContent a.external[href *=".pdf#"], .mwiki #bodyContent a.external[href *=".PDF#"], -.mwiki #bodyContent a.external[href *=".pdf?"], .mwiki #bodyContent a.external[href *=".PDF?"], +.mwiki #bodyContent a.external[href$=".pdf"], +.mwiki #bodyContent a.external[href$=".PDF"], +.mwiki #bodyContent a.external[href*=".pdf#"], +.mwiki #bodyContent a.external[href*=".PDF#"], +.mwiki #bodyContent a.external[href*=".pdf?"], +.mwiki #bodyContent a.external[href*=".PDF?"], .mwiki .link-document { - background: url("document.png") center right no-repeat; - padding-right: 12px; + background: url("document.png") center right no-repeat; + padding-right: 12px; } /* disable interwiki styling */ .mwiki #bodyContent a.extiw, .mwiki #bodyContent a.extiw:active { - color: #36b; - background: none; - padding: 0; + color: #36b; + background: none; + padding: 0; } .mwiki #bodyContent a.external { - color: #36b; + color: #36b; } /* this can be used in the content area to switch off special external link styling */ .mwiki #bodyContent .plainlinks a { - background: none !important; - padding: 0 !important; + background: none !important; + padding: 0 !important; } /* ** Structural Elements @@ -1681,64 +1711,64 @@ special external link styling */ ** general portlet styles (elements in the quickbar) */ .mwiki .portlet { - border: none; - margin: 0 0 .5em; - padding: 0; - float: none; - width: 11.6em; - overflow: hidden; + border: none; + margin: 0 0 0.5em; + padding: 0; + float: none; + width: 11.6em; + overflow: hidden; } .mwiki .portlet h4 { - font-size: 95%; - font-weight: normal; - white-space: nowrap; + font-size: 95%; + font-weight: normal; + white-space: nowrap; } .mwiki .portlet h5 { - background: transparent; - padding: 0 1em 0 .5em; - display: inline; - height: 1em; - text-transform: lowercase; - font-size: 91%; - font-weight: normal; - white-space: nowrap; + background: transparent; + padding: 0 1em 0 0.5em; + display: inline; + height: 1em; + text-transform: lowercase; + font-size: 91%; + font-weight: normal; + white-space: nowrap; } .mwiki .portlet h6 { - background: #ffae2e; - border: 1px solid #2f6fab; - border-style: solid solid none solid; - padding: 0 1em 0 1em; - text-transform: lowercase; - display: block; - font-size: 1em; - height: 1.2em; - font-weight: normal; - white-space: nowrap; + background: #ffae2e; + border: 1px solid #2f6fab; + border-style: solid solid none solid; + padding: 0 1em 0 1em; + text-transform: lowercase; + display: block; + font-size: 1em; + height: 1.2em; + font-weight: normal; + white-space: nowrap; } .mwiki .pBody { - font-size: 95%; - background-color: white; - color: black; - border-collapse: collapse; - border: 1px solid #aaa; - padding: 0 .8em .3em .5em; + font-size: 95%; + background-color: white; + color: black; + border-collapse: collapse; + border: 1px solid #aaa; + padding: 0 0.8em 0.3em 0.5em; } .mwiki .portlet h1, .mwiki .portlet h2, .mwiki .portlet h3, .mwiki .portlet h4 { - margin: 0; - padding: 0; + margin: 0; + padding: 0; } .mwiki .portlet ul { - line-height: 1.5em; - list-style-type: square; - list-style-image: url(bullet.gif); - font-size: 95%; + line-height: 1.5em; + list-style-type: square; + list-style-image: url(bullet.gif); + font-size: 95%; } .mwiki .portlet li { - padding: 0; - margin: 0; + padding: 0; + margin: 0; } /* @@ -1746,755 +1776,776 @@ special external link styling */ */ .mwiki #p-logo { - top: 0; - left: 0; - position: absolute; /*needed to use z-index */ - z-index: 3; - height: 155px; - width: 12em; - overflow: visible; + top: 0; + left: 0; + position: absolute; /*needed to use z-index */ + z-index: 3; + height: 155px; + width: 12em; + overflow: visible; } .mwiki #p-logo h5 { - display: none; + display: none; } .mwiki #p-logo a, .mwiki #p-logo a:hover { - display: block; - height: 155px; - width: 12.2em; - background-repeat: no-repeat; - background-position: 35% 50% !important; - text-decoration: none; + display: block; + height: 155px; + width: 12.2em; + background-repeat: no-repeat; + background-position: 35% 50% !important; + text-decoration: none; } /* ** Search portlet */ .mwiki #p-search { - position: relative; - z-index: 3; + position: relative; + z-index: 3; } .mwiki input.searchButton { - margin-top: 1px; - font-size: 95%; + margin-top: 1px; + font-size: 95%; } .mwiki #searchGoButton { - padding-left: .5em; - padding-right: .5em; - font-weight: bold; + padding-left: 0.5em; + padding-right: 0.5em; + font-weight: bold; } .mwiki #searchInput { - width: 10.9em; - margin: 0; - font-size: 95%; + width: 10.9em; + margin: 0; + font-size: 95%; } .mwiki #p-search .pBody { - padding: .5em .4em .4em .4em; - text-align: center; + padding: 0.5em 0.4em 0.4em 0.4em; + text-align: center; } .mwiki #p-search #searchform div div { - margin-top: .4em; - font-size: 95%; + margin-top: 0.4em; + font-size: 95%; } /* ** the personal toolbar */ .mwiki #p-personal { - position: absolute; - left: 0; - top: 0; - z-index: 0; + position: absolute; + left: 0; + top: 0; + z-index: 0; } .mwiki #p-personal { - width: 100%; - white-space: nowrap; - padding: 0; - margin: 0; - border: none; - background: none; - overflow: visible; - line-height: 1.2em; + width: 100%; + white-space: nowrap; + padding: 0; + margin: 0; + border: none; + background: none; + overflow: visible; + line-height: 1.2em; } .mwiki #p-personal h5 { - display: none; + display: none; } .mwiki #p-personal .portlet, .mwiki #p-personal .pBody { - z-index: 0; - padding: 0; - margin: 0; - border: none; - overflow: visible; - background: none; + z-index: 0; + padding: 0; + margin: 0; + border: none; + overflow: visible; + background: none; } /* this is the ul contained in the portlet */ .mwiki #p-personal ul { - border: none; - line-height: 1.4em; - color: #2f6fab; - padding: 0 2em 0 3em; - margin: 0; - text-align: right; - list-style: none; - z-index: 0; - background: none; - cursor: default; + border: none; + line-height: 1.4em; + color: #2f6fab; + padding: 0 2em 0 3em; + margin: 0; + text-align: right; + list-style: none; + z-index: 0; + background: none; + cursor: default; } .mwiki #p-personal li { - z-index: 0; - border: none; - padding: 0; - display: inline; - color: #2f6fab; - margin-left: 1em; - line-height: 1.2em; - background: none; + z-index: 0; + border: none; + padding: 0; + display: inline; + color: #2f6fab; + margin-left: 1em; + line-height: 1.2em; + background: none; } .mwiki #p-personal li a { - text-decoration: none; - color: #005896; - padding-bottom: .2em; - background: none; + text-decoration: none; + color: #005896; + padding-bottom: 0.2em; + background: none; } .mwiki #p-personal li a:hover { - background-color: white; - padding-bottom: .2em; - text-decoration: none; + background-color: white; + padding-bottom: 0.2em; + text-decoration: none; } .mwiki #p-personal li.active a:hover { - background-color: transparent; + background-color: transparent; } /* the icon in front of the user name, single quotes in bg url to hide it from iemac */ .mwiki li#pt-userpage, .mwiki li#pt-anonuserpage, .mwiki li#pt-login { - background: url(user.gif) top left no-repeat; - padding-left: 20px; - text-transform: none; + background: url(user.gif) top left no-repeat; + padding-left: 20px; + text-transform: none; } .mwiki #p-personal ul { - text-transform: lowercase; + text-transform: lowercase; } .mwiki #p-personal li.active { - font-weight: bold; + font-weight: bold; } /* ** the page-related actions- page/talk, edit etc */ .mwiki #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%; + 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%; } .mwiki #p-cactions ul { - list-style: none; + list-style: none; } .mwiki #p-cactions li { - display: inline; - border: 1px solid #aaa; - border-bottom: none; - padding: 0 0 .1em 0; - margin: 0 .3em 0 0; - overflow: visible; - background: white; + display: inline; + border: 1px solid #aaa; + border-bottom: none; + padding: 0 0 0.1em 0; + margin: 0 0.3em 0 0; + overflow: visible; + background: white; } .mwiki #p-cactions li.selected { - border-color: #fabd23; - padding: 0 0 .2em 0; - font-weight: bold; + border-color: #fabd23; + padding: 0 0 0.2em 0; + font-weight: bold; } .mwiki #p-cactions li a { - background-color: #fbfbfb; - color: #002bb8; - border: none; - padding: 0 .8em .3em; - position: relative; - z-index: 0; - margin: 0; - text-decoration: none; + background-color: #fbfbfb; + color: #002bb8; + border: none; + padding: 0 0.8em 0.3em; + position: relative; + z-index: 0; + margin: 0; + text-decoration: none; } .mwiki #p-cactions li.selected a { - z-index: 3; - padding: 0 1em .2em!important; - background-color: white; + z-index: 3; + padding: 0 1em 0.2em !important; + background-color: white; } .mwiki #p-cactions .new a { - color: #ba0000; + color: #ba0000; } .mwiki #p-cactions li a:hover { - z-index: 3; - text-decoration: none; - background-color: white; + z-index: 3; + text-decoration: none; + background-color: white; } .mwiki #p-cactions h5 { - display: none; + display: none; } .mwiki #p-cactions li.istalk { - margin-right: 0; + margin-right: 0; } .mwiki #p-cactions li.istalk a { - padding-right: .5em; + padding-right: 0.5em; } .mwiki #p-cactions #ca-addsection a { - padding-left: .4em; - padding-right: .4em; + padding-left: 0.4em; + padding-right: 0.4em; } /* offsets to distinguish the tab groups */ .mwiki li#ca-talk { - margin-right: 1.6em; + margin-right: 1.6em; } -.mwiki li#ca-watch, .mwiki li#ca-unwatch, .mwiki li#ca-varlang-0, .mwiki li#ca-print { - margin-left: 1.6em; +.mwiki li#ca-watch, +.mwiki li#ca-unwatch, +.mwiki li#ca-varlang-0, +.mwiki li#ca-print { + margin-left: 1.6em; } .mwiki #p-cactions .pBody { - font-size: 1em; - background-color: transparent; - color: inherit; - border-collapse: inherit; - border: 0; - padding: 0; + font-size: 1em; + background-color: transparent; + color: inherit; + border-collapse: inherit; + border: 0; + padding: 0; } .mwiki #p-cactions .hiddenStructure { - display: none; + display: none; } .mwiki #p-cactions li a { - text-transform: lowercase; + text-transform: lowercase; } .mwiki #p-lang { - position: relative; - z-index: 3; + position: relative; + z-index: 3; } /* TODO: #t-iscite is only used by the Cite extension, come up with some * system which allows extensions to add to this file on the fly */ -.mwiki #t-ispermalink, .mwiki #t-iscite { - color: #999; +.mwiki #t-ispermalink, +.mwiki #t-iscite { + color: #999; } /* ** footer */ .mwiki #footer { - background-color: white; - border-top: 1px solid #fabd23; - border-bottom: 1px solid #fabd23; - margin: .6em 0 1em 0; - padding: .4em 0 1.2em 0; - text-align: center; - font-size: 90%; + background-color: white; + border-top: 1px solid #fabd23; + border-bottom: 1px solid #fabd23; + margin: 0.6em 0 1em 0; + padding: 0.4em 0 1.2em 0; + text-align: center; + font-size: 90%; } .mwiki #footer li { - display: inline; - margin: 0 1.3em; + display: inline; + margin: 0 1.3em; } -.mwiki #f-poweredbyico, .mwiki #f-copyrightico { - margin: 0 8px; - position: relative; - top: -2px; /* Bump it up just a tad */ +.mwiki #f-poweredbyico, +.mwiki #f-copyrightico { + margin: 0 8px; + position: relative; + top: -2px; /* Bump it up just a tad */ } .mwiki #f-poweredbyico { - float: right; - height: 1%; + float: right; + height: 1%; } .mwiki #f-copyrightico { - float: left; - height: 1%; + float: left; + height: 1%; } /* js pref toc */ .mwiki #preftoc { - margin: 0; - padding: 0; - width: 100%; - clear: both; + margin: 0; + padding: 0; + width: 100%; + clear: both; } .mwiki #preftoc li { - background-color: #f0f0f0; - color: #000; + background-color: #f0f0f0; + color: #000; } .mwiki #preftoc li { - margin: 1px -2px 1px 2px; - float: left; - padding: 2px 0 3px 0; - border: 1px solid #fff; - border-right-color: #716f64; - border-bottom: 0; - position: relative; - white-space: nowrap; - list-style-type: none; - list-style-image: none; - z-index: 3; + margin: 1px -2px 1px 2px; + float: left; + padding: 2px 0 3px 0; + border: 1px solid #fff; + border-right-color: #716f64; + border-bottom: 0; + position: relative; + white-space: nowrap; + list-style-type: none; + list-style-image: none; + z-index: 3; } .mwiki #preftoc li.selected { - font-weight: bold; - background-color: #f9f9f9; - border: 1px solid #aaa; - border-bottom: none; - cursor: default; - top: 1px; - padding-top: 2px; - margin-right: -3px; + font-weight: bold; + background-color: #f9f9f9; + border: 1px solid #aaa; + border-bottom: none; + cursor: default; + top: 1px; + padding-top: 2px; + margin-right: -3px; } .mwiki #preftoc > li.selected { - top: 2px; + top: 2px; } .mwiki #preftoc a, .mwiki #preftoc a:active { - display: block; - color: #000; - padding: 0 .7em; - position: relative; - text-decoration: none; + display: block; + color: #000; + padding: 0 0.7em; + position: relative; + text-decoration: none; } .mwiki #preftoc li.selected a { - cursor: default; - text-decoration: none; + cursor: default; + text-decoration: none; } .mwiki #prefcontrol { - padding-top: 2em; - clear: both; + padding-top: 2em; + clear: both; } .mwiki #preferences { - margin: 0; - border: 1px solid #aaa; - clear: both; - padding: 1.5em; - background-color: #F9F9F9; + margin: 0; + border: 1px solid #aaa; + clear: both; + padding: 1.5em; + background-color: #f9f9f9; } .mwiki .prefsection { - border: none; - padding: 0; - margin: 0; + border: none; + padding: 0; + margin: 0; } .mwiki .prefsection fieldset { - border: 1px solid #aaa; - float: left; - margin-right: 2em; + border: 1px solid #aaa; + float: left; + margin-right: 2em; } .mwiki .prefsection legend { - font-weight: bold; + font-weight: bold; } -.mwiki .prefsection table, .mwiki .prefsection legend { - background-color: #F9F9F9; +.mwiki .prefsection table, +.mwiki .prefsection legend { + background-color: #f9f9f9; } .mwiki .mainLegend { - display: none; + display: none; } .mwiki div.prefsectiontip { - font-size: x-small; - padding: .2em 2em; - color: #666; + font-size: x-small; + padding: 0.2em 2em; + color: #666; } .mwiki .btnSavePrefs { - font-weight: bold; - padding-left: .3em; - padding-right: .3em; + font-weight: bold; + padding-left: 0.3em; + padding-right: 0.3em; } .mwiki .preferences-login { - clear: both; - margin-bottom: 1.5em; + clear: both; + margin-bottom: 1.5em; } .mwiki .prefcache { - font-size: 90%; - margin-top: 2em; + font-size: 90%; + margin-top: 2em; } .mwiki div#userloginForm form, .mwiki div#userlogin form#userlogin2 { - margin: 0 3em 1em 0; - border: 1px solid #aaa; - clear: both; - padding: 1.5em 2em; - background-color: #f9f9f9; - float: left; + margin: 0 3em 1em 0; + border: 1px solid #aaa; + clear: both; + padding: 1.5em 2em; + background-color: #f9f9f9; + float: left; } .mwiki .rtl div#userloginForm form, .mwiki .rtl div#userlogin form#userlogin2 { - float: right; + float: right; } .mwiki div#userloginForm table, .mwiki div#userlogin form#userlogin2 table { - background-color: #f9f9f9; + background-color: #f9f9f9; } .mwiki div#userloginForm h2, .mwiki div#userlogin form#userlogin2 h2 { - padding-top: 0; + padding-top: 0; } .mwiki div#userlogin .captcha, .mwiki div#userloginForm .captcha { - border: 1px solid #bbb; - padding: 1.5em 2em; - background-color: white; + border: 1px solid #bbb; + padding: 1.5em 2em; + background-color: white; } -.mwiki #loginend, .mwiki #signupend { - clear: both; +.mwiki #loginend, +.mwiki #signupend { + clear: both; } -.mwiki #userloginprompt, .mwiki #languagelinks { - font-size: 85%; +.mwiki #userloginprompt, +.mwiki #languagelinks { + font-size: 85%; } .mwiki #login-sectiontip { - font-size: 85%; - line-height: 1.2; - padding-top: 2em; + font-size: 85%; + line-height: 1.2; + padding-top: 2em; } -.mwiki #userlogin .loginText, .mwiki #userlogin .loginPassword { - width: 12em; +.mwiki #userlogin .loginText, +.mwiki #userlogin .loginPassword { + width: 12em; } -.mwiki #userloginlink a, .mwiki #wpLoginattempt, .mwiki #wpCreateaccount { - font-weight: bold; +.mwiki #userloginlink a, +.mwiki #wpLoginattempt, +.mwiki #wpCreateaccount { + font-weight: bold; } - /* IE/Mac fixes were cut out */ .mwiki .redirectText { - font-size: 150%; - margin: 5px; + font-size: 150%; + margin: 5px; } .mwiki .printfooter { - display: none; + display: none; } .mwiki .not-patrolled { - background-color: #ffa; + background-color: #ffa; } .mwiki div.patrollink { - clear: both; - font-size: 75%; - text-align: right; + clear: both; + font-size: 75%; + text-align: right; } -.mwiki span.newpage, .mwiki span.minor, .mwiki span.bot { - font-weight: bold; +.mwiki span.newpage, +.mwiki span.minor, +.mwiki span.bot { + font-weight: bold; } .mwiki span.unpatrolled { - font-weight: bold; - color: red; + font-weight: bold; + color: red; } .mwiki .sharedUploadNotice { - font-style: italic; + font-style: italic; } .mwiki span.updatedmarker { - color: black; - background-color: #0f0; + color: black; + background-color: #0f0; } .mwiki table.gallery { - border: 1px solid #ccc; - margin: 2px; - padding: 2px; - background-color: white; + border: 1px solid #ccc; + margin: 2px; + padding: 2px; + background-color: white; } .mwiki table.gallery tr { - vertical-align: top; + vertical-align: top; } .mwiki table.gallery td { - vertical-align: top; - background-color: #f9f9f9; - border: solid 2px white; + vertical-align: top; + background-color: #f9f9f9; + border: solid 2px white; } /* Keep this temporarily so that cached pages will display right */ .mwiki table.gallery td.galleryheader { - text-align: center; - font-weight: bold; + text-align: center; + font-weight: bold; } .mwiki table.gallery caption { - font-weight: bold; + font-weight: bold; } .mwiki div.gallerybox { - margin: 2px; + margin: 2px; } .mwiki div.gallerybox div.thumb { - text-align: center; - border: 1px solid #ccc; - margin: 2px; + text-align: center; + border: 1px solid #ccc; + margin: 2px; } .mwiki div.gallerytext { - overflow: hidden; - font-size: 94%; - padding: 2px 4px; + overflow: hidden; + font-size: 94%; + padding: 2px 4px; } .mwiki span.comment { - font-style: italic; + font-style: italic; } .mwiki span.changedby { - font-size: 95%; + font-size: 95%; } .mwiki .previewnote { - text-indent: 3em; - color: #c00; - border-bottom: 1px solid #aaa; - padding-bottom: 1em; - margin-bottom: 1em; + text-indent: 3em; + color: #c00; + border-bottom: 1px solid #aaa; + padding-bottom: 1em; + margin-bottom: 1em; } .mwiki .previewnote p { - margin: 0; - padding: 0; + margin: 0; + padding: 0; } .mwiki .editExternally { - border: 1px solid gray; - background-color: #ffffff; - padding: 3px; - margin-top: 0.5em; - float: left; - font-size: small; - text-align: center; + border: 1px solid gray; + background-color: #ffffff; + padding: 3px; + margin-top: 0.5em; + float: left; + font-size: small; + text-align: center; } .mwiki .editExternallyHelp { - font-style: italic; - color: gray; + font-style: italic; + color: gray; } .mwiki .toggle { - margin-left: 2em; - text-indent: -2em; + margin-left: 2em; + text-indent: -2em; } /* Classes for EXIF data display */ .mwiki table.mw_metadata { - font-size: 0.8em; - margin-left: 0.5em; - margin-bottom: 0.5em; - width: 300px; + font-size: 0.8em; + margin-left: 0.5em; + margin-bottom: 0.5em; + width: 300px; } .mwiki table.mw_metadata caption { - font-weight: bold; + font-weight: bold; } .mwiki table.mw_metadata th { - font-weight: normal; + font-weight: normal; } .mwiki table.mw_metadata td { - padding: 0.1em; + padding: 0.1em; } .mwiki table.mw_metadata { - border: none; - border-collapse: collapse; + border: none; + border-collapse: collapse; } -.mwiki table.mw_metadata td, .mwiki table.mw_metadata th { - text-align: center; - border: 1px solid #aaaaaa; - padding-left: 0.1em; - padding-right: 0.1em; +.mwiki table.mw_metadata td, +.mwiki table.mw_metadata th { + text-align: center; + border: 1px solid #aaaaaa; + padding-left: 0.1em; + padding-right: 0.1em; } .mwiki table.mw_metadata th { - background-color: #f9f9f9; + background-color: #f9f9f9; } .mwiki table.mw_metadata td { - background-color: #fcfcfc; + background-color: #fcfcfc; } .mwiki table.collapsed tr.collapsable { - display: none; + display: none; } - /* filetoc */ .mwiki ul#filetoc { - text-align: center; - border: 1px solid #aaaaaa; - background-color: #f9f9f9; - padding: 5px; - font-size: 95%; - margin-bottom: 0.5em; - margin-left: 0; - margin-right: 0; + text-align: center; + border: 1px solid #aaaaaa; + background-color: #f9f9f9; + padding: 5px; + font-size: 95%; + margin-bottom: 0.5em; + margin-left: 0; + margin-right: 0; } .mwiki #filetoc li { - display: inline; - list-style-type: none; - padding-right: 2em; + display: inline; + list-style-type: none; + padding-right: 2em; } .mwiki input#wpSummary { - width: 80%; + width: 80%; } /* @bug 1714 */ -.mwiki input#wpSave, .mwiki input#wpDiff { - margin-right: 0.33em; +.mwiki input#wpSave, +.mwiki input#wpDiff { + margin-right: 0.33em; } .mwiki #wpSave { - font-weight: bold; + font-weight: bold; } /* Classes for article validation */ .mwiki table.revisionform_default { - border: 1px solid #000000; + border: 1px solid #000000; } .mwiki table.revisionform_focus { - border: 1px solid #000000; - background-color:#00BBFF; + border: 1px solid #000000; + background-color: #00bbff; } .mwiki tr.revision_tr_default { - background-color:#EEEEEE; + background-color: #eeeeee; } .mwiki tr.revision_tr_first { - background-color:#DDDDDD; + background-color: #dddddd; } .mwiki p.revision_saved { - color: green; - font-weight:bold; + color: green; + font-weight: bold; } .mwiki #mw_trackbacks { - border: solid 1px #bbbbff; - background-color: #eeeeff; - padding: 0.2em; + border: solid 1px #bbbbff; + background-color: #eeeeff; + padding: 0.2em; } - /* Allmessages table */ .mwiki #allmessagestable th { - background-color: #b2b2ff; + background-color: #b2b2ff; } .mwiki #allmessagestable tr.orig { - background-color: #ffe2e2; + background-color: #ffe2e2; } .mwiki #allmessagestable tr.new { - background-color: #e2ffe2; + background-color: #e2ffe2; } .mwiki #allmessagestable tr.def { - background-color: #f0f0ff; + background-color: #f0f0ff; } - /* noarticletext */ .mwiki div.noarticletext { - border: 1px solid #ccc; - background: #fff; - padding: .2em 1em; - color: #000; + border: 1px solid #ccc; + background: #fff; + padding: 0.2em 1em; + color: #000; } .mwiki div#searchTargetContainer { - left: 10px; - top: 10px; - width: 90%; - background: white; + left: 10px; + top: 10px; + width: 90%; + background: white; } .mwiki div#searchTarget { - padding: 3px; - margin: 5px; - background: #F0F0F0; - border: solid 1px blue; + padding: 3px; + margin: 5px; + background: #f0f0f0; + border: solid 1px blue; } .mwiki div#searchTarget ul li { - list-style: none; + list-style: none; } .mwiki div#searchTarget ul li:before { - color: orange; - content: "\00BB \0020"; + color: orange; + content: "\00BB \0020"; } .mwiki div#searchTargetHide { - float:right; - border:solid 1px black; - background:#DCDCDC; - padding:2px; + float: right; + border: solid 1px black; + background: #dcdcdc; + padding: 2px; } .mwiki #powersearch p { - margin-top:0px; + margin-top: 0px; } .mwiki div.multipageimagenavbox { - border: solid 1px silver; - padding: 4px; - margin: 1em; - background: #f0f0f0; + border: solid 1px silver; + padding: 4px; + margin: 1em; + background: #f0f0f0; } .mwiki div.multipageimagenavbox div.thumb { - border: none; - margin-left: 2em; - margin-right: 2em; + border: none; + margin-left: 2em; + margin-right: 2em; } .mwiki div.multipageimagenavbox hr { - margin: 6px; + margin: 6px; } .mwiki table.multipageimage td { - text-align: center; + text-align: center; } /** Special:Version */ -.mwiki table#sv-ext, table#sv-hooks, .mwiki table#sv-software { - margin: 1em; - padding:0em; +.mwiki table#sv-ext, +table#sv-hooks, +.mwiki table#sv-software { + margin: 1em; + padding: 0em; } -.mwiki #sv-ext td, .mwiki #sv-hooks td, .mwiki #sv-software td, -.mwiki #sv-ext th, .mwiki #sv-hooks th, .mwiki #sv-software th { - border: 1px solid #A0A0A0; - padding: 0 0.15em 0 0.15em; +.mwiki #sv-ext td, +.mwiki #sv-hooks td, +.mwiki #sv-software td, +.mwiki #sv-ext th, +.mwiki #sv-hooks th, +.mwiki #sv-software th { + border: 1px solid #a0a0a0; + padding: 0 0.15em 0 0.15em; } -.mwiki #sv-ext th, .mwiki #sv-hooks th, .mwiki #sv-software th { - background-color: #F0F0F0; - color: black; - padding: 0 0.15em 0 0.15em; +.mwiki #sv-ext th, +.mwiki #sv-hooks th, +.mwiki #sv-software th { + background-color: #f0f0f0; + color: black; + padding: 0 0.15em 0 0.15em; } -.mwiki tr.sv-space{ - height: 0.8em; - border:none; +.mwiki tr.sv-space { + height: 0.8em; + border: none; +} +.mwiki tr.sv-space td { + display: none; } -.mwiki tr.sv-space td { display: none; } /* Table pager (e.g. Special:Imagelist) @@ -2504,90 +2555,113 @@ in bg url to hide it from iemac */ - remove line wrapping for all td and th, set background color - restore line wrapping for the last two table cells (description and size) */ -.mwiki .TablePager { min-width: 80%; } -.mwiki .TablePager_nav a { text-decoration: none; } -.mwiki .TablePager { border-collapse: collapse; } -.mwiki .TablePager, .mwiki .TablePager td, .mwiki .TablePager th { - border: 1px solid #aaaaaa; - padding: 0 0.15em 0 0.15em; +.mwiki .TablePager { + min-width: 80%; +} +.mwiki .TablePager_nav a { + text-decoration: none; +} +.mwiki .TablePager { + border-collapse: collapse; +} +.mwiki .TablePager, +.mwiki .TablePager td, +.mwiki .TablePager th { + border: 1px solid #aaaaaa; + padding: 0 0.15em 0 0.15em; +} +.mwiki .TablePager th { + background-color: #eeeeff; +} +.mwiki .TablePager td { + background-color: #ffffff; +} +.mwiki .TablePager tr:hover td { + background-color: #eeeeff; } -.mwiki .TablePager th { background-color: #eeeeff } -.mwiki .TablePager td { background-color: #ffffff } -.mwiki .TablePager tr:hover td { background-color: #eeeeff } -.mwiki .imagelist td, .mwiki .imagelist th { white-space: nowrap } -.mwiki .imagelist .TablePager_col_links { background-color: #eeeeff } -.mwiki .imagelist .TablePager_col_img_description { white-space: normal } -.mwiki .imagelist th.TablePager_sort { background-color: #ccccff } +.mwiki .imagelist td, +.mwiki .imagelist th { + white-space: nowrap; +} +.mwiki .imagelist .TablePager_col_links { + background-color: #eeeeff; +} +.mwiki .imagelist .TablePager_col_img_description { + white-space: normal; +} +.mwiki .imagelist th.TablePager_sort { + background-color: #ccccff; +} -.mwiki .templatesUsed { margin-top: 1.5em; } +.mwiki .templatesUsed { + margin-top: 1.5em; +} .mwiki .mw-summary-preview { - margin: 0.1em 0; + margin: 0.1em 0; } /* Friendlier slave lag warnings */ .mwiki div.mw-lag-warn-normal, .mwiki div.mw-lag-warn-high { - padding: 3px; - text-align: center; - margin: 3px auto; + padding: 3px; + text-align: center; + margin: 3px auto; } .mwiki div.mw-lag-warn-normal { - border: 1px solid #FFCC66; - background-color: #FFFFCC; + border: 1px solid #ffcc66; + background-color: #ffffcc; } .mwiki div.mw-lag-warn-high { - font-weight: bold; - border: 2px solid #FF0033; - background-color: #FFCCCC; + font-weight: bold; + border: 2px solid #ff0033; + background-color: #ffcccc; } .mwiki .MediaTransformError { - background-color: #ccc; - padding: 0.1em; + background-color: #ccc; + padding: 0.1em; } .mwiki .MediaTransformError td { - text-align: center; - vertical-align: middle; - font-size: 90%; + text-align: center; + vertical-align: middle; + font-size: 90%; } /** Special:Search stuff */ .mwiki div#mw-search-interwiki-caption { - text-align: center; - font-weight: bold; - font-size: 95%; + text-align: center; + font-weight: bold; + font-size: 95%; } .mwiki .mw-search-interwiki-project { - font-size: 97%; - text-align: left; - padding-left: 0.2em; - padding-right: 0.15em; - padding-bottom: 0.2em; - padding-top: 0.15em; - background: #cae8ff; + font-size: 97%; + text-align: left; + padding-left: 0.2em; + padding-right: 0.15em; + padding-bottom: 0.2em; + padding-top: 0.15em; + background: #cae8ff; } /* God-damned hack for the crappy layout */ .mwiki .os-suggest { - font-size: 127%; + font-size: 127%; } - /**** Excerpts from http://en.wikipedia.org/wiki/MediaWiki:Common.css ******/ /* Since GoldenDict support is not Wikipedia-specific, we don't include all * of it, and besides, it's large and volatile anyway. */ /* It was also edited for the usually narrow article view */ - /* Make the list of references smaller */ .mwiki ol.references { - font-size: 100%; + font-size: 100%; } .mwiki .references-small { - font-size: 90%; + font-size: 90%; } /* VALIDATOR NOTICE: the following is correct, but the W3C validator doesn't accept it */ @@ -2595,350 +2669,368 @@ in bg url to hide it from iemac */ /* column-count is from the CSS3 module "CSS Multi-column Layout" */ /* Please ignore any validator errors caused by these two lines */ .mwiki .references-2column { - font-size: 90%; - -moz-column-count: 2; - -webkit-column-count: 2; - column-count: 2; + font-size: 90%; + -moz-column-count: 2; + -webkit-column-count: 2; + column-count: 2; } /* Highlight clicked reference in blue to help navigation */ .mwiki ol.references > li:target { - background-color: #DEF; + background-color: #def; } .mwiki sup.reference:target { - background-color: #DEF; + background-color: #def; } /* Styling for citations */ .mwiki cite { - font-style: normal; - word-wrap: break-word; + font-style: normal; + word-wrap: break-word; } /* If there is an inline link to a full citation, the full citation will turn blue when the inline link is clicked */ .mwiki cite:target { - background-color: #DEF; + background-color: #def; } /* wikitable/prettytable class for skinning normal tables */ .mwiki table.wikitable, .mwiki table.prettytable { - margin: 1em 1em 1em 0; - background: #f9f9f9; - border: 1px #aaa solid; - border-collapse: collapse; + margin: 1em 1em 1em 0; + background: #f9f9f9; + border: 1px #aaa solid; + border-collapse: collapse; } -.mwiki .wikitable th, .mwiki .wikitable td, -.mwiki .prettytable th, .mwiki .prettytable td { - border: 1px #aaa solid; - padding: 0.2em; +.mwiki .wikitable th, +.mwiki .wikitable td, +.mwiki .prettytable th, +.mwiki .prettytable td { + border: 1px #aaa solid; + padding: 0.2em; } .mwiki .wikitable th, .mwiki .prettytable th { - background: #f2f2f2; - text-align: center; + background: #f2f2f2; + text-align: center; } .mwiki .wikitable caption, .mwiki .prettytable caption { - font-weight: bold; + font-weight: bold; } /* default skin for navigation boxes */ -.mwiki table.navbox { /* navbox container style */ - border:1px solid #aaa; - width:100%; - margin:auto; - clear:both; - font-size:88%; - text-align:center; - padding:1px; +.mwiki table.navbox { + /* navbox container style */ + border: 1px solid #aaa; + width: 100%; + margin: auto; + clear: both; + font-size: 88%; + text-align: center; + padding: 1px; } .mwiki table.navbox + table.navbox { - margin-top:-1px; /* single pixel border between adjacent navboxes (doesn't work for IE6, but that's okay) */ + margin-top: -1px; /* single pixel border between adjacent navboxes (doesn't work for IE6, but that's okay) */ } -.mwiki .navbox-title, .mwiki .navbox-abovebelow, .mwiki table.navbox th { - text-align:center; /* title and above/below styles */ - padding-left:1em; - padding-right:1em; +.mwiki .navbox-title, +.mwiki .navbox-abovebelow, +.mwiki table.navbox th { + text-align: center; /* title and above/below styles */ + padding-left: 1em; + padding-right: 1em; } -.mwiki .navbox-group { /* group style */ - white-space:nowrap; - text-align:right; - font-weight:bold; - padding-left:1em; - padding-right:1em; +.mwiki .navbox-group { + /* group style */ + white-space: nowrap; + text-align: right; + font-weight: bold; + padding-left: 1em; + padding-right: 1em; } -.mwiki .navbox, .mwiki .navbox-subgroup { - background:#fdfdfd; /* Background color */ +.mwiki .navbox, +.mwiki .navbox-subgroup { + background: #fdfdfd; /* Background color */ } .mwiki .navbox-list { - border-color:#fdfdfd; /* Must match background color */ + border-color: #fdfdfd; /* Must match background color */ } -.mwiki .navbox-title, .mwiki table.navbox th { - background:#ccccff; /* Level 1 color */ +.mwiki .navbox-title, +.mwiki table.navbox th { + background: #ccccff; /* Level 1 color */ } -.mwiki .navbox-abovebelow, .mwiki .navbox-group, .mwiki .navbox-subgroup .navbox-title { - background:#ddddff; /* Level 2 color */ +.mwiki .navbox-abovebelow, +.mwiki .navbox-group, +.mwiki .navbox-subgroup .navbox-title { + background: #ddddff; /* Level 2 color */ } -.mwiki .navbox-subgroup .navbox-group, .mwiki .navbox-subgroup .navbox-abovebelow { - background:#e6e6ff; /* Level 3 color */ +.mwiki .navbox-subgroup .navbox-group, +.mwiki .navbox-subgroup .navbox-abovebelow { + background: #e6e6ff; /* Level 3 color */ } .mwiki .navbox-even { - background:#f7f7f7; /* Even row striping */ + background: #f7f7f7; /* Even row striping */ } .mwiki .navbox-odd { - background:transparent; /* Odd row striping */ + background: transparent; /* Odd row striping */ } -.mwiki .collapseButton { /* 'show'/'hide' buttons created dynamically by the */ - float: right; /* CollapsibleTables javascript in [[MediaWiki:Common.js]] */ - font-weight: normal; /* are styled here so they can be customised. */ - text-align: right; - width: auto; +.mwiki .collapseButton { + /* 'show'/'hide' buttons created dynamically by the */ + float: right; /* CollapsibleTables javascript in [[MediaWiki:Common.js]] */ + font-weight: normal; /* are styled here so they can be customised. */ + text-align: right; + width: auto; } -.mwiki .navbox .collapseButton { /* In navboxes, the show/hide button balances the vde links from */ - width: 6em; /* [[Template:Tnavbar]], so they need to be the same width. */ +.mwiki .navbox .collapseButton { + /* In navboxes, the show/hide button balances the vde links from */ + width: 6em; /* [[Template:Tnavbar]], so they need to be the same width. */ } - - /* Infobox template style */ .mwiki .infobox { - border: 1px solid #aaa; - background-color: #f9f9f9; - color: black; -/* margin: 0.5em 0 0.5em 1em;*/ - margin: 10px auto 0; - padding: 0.2em; -/* + border: 1px solid #aaa; + background-color: #f9f9f9; + color: black; + /* margin: 0.5em 0 0.5em 1em;*/ + margin: 10px auto 0; + padding: 0.2em; + /* float: right; clear: right;*/ } .mwiki .infobox td, .mwiki .infobox th { - vertical-align: top; + vertical-align: top; } .mwiki .infobox caption { - font-size: larger; + font-size: larger; } .mwiki .infobox.bordered { - border-collapse: collapse; + border-collapse: collapse; } .mwiki .infobox.bordered td, .mwiki .infobox.bordered th { - border: 1px solid #aaa; + border: 1px solid #aaa; } .mwiki .infobox.bordered .borderless td, .mwiki .infobox.bordered .borderless th { - border: 0; + border: 0; } .mwiki .infobox.sisterproject { - width: 20em; - font-size: 90%; + width: 20em; + font-size: 90%; } .mwiki .infobox.standard-talk { - border: 1px solid #c0c090; - background-color: #f8eaba; + border: 1px solid #c0c090; + background-color: #f8eaba; } .mwiki .infobox.standard-talk.bordered td, .mwiki .infobox.standard-talk.bordered th { - border: 1px solid #c0c090; + border: 1px solid #c0c090; } /* styles for bordered infobox with merged rows */ .mwiki .infobox.bordered .mergedtoprow td, .mwiki .infobox.bordered .mergedtoprow th { - border: 0; - border-top: 1px solid #aaa; - border-right: 1px solid #aaa; + border: 0; + border-top: 1px solid #aaa; + border-right: 1px solid #aaa; } .mwiki .infobox.bordered .mergedrow td, .mwiki .infobox.bordered .mergedrow th { - border: 0; - border-right: 1px solid #aaa; + border: 0; + border-right: 1px solid #aaa; } /* Styles for geography infoboxes, e.g. countries, country subdivisions, cities, etc. */ .mwiki .infobox.geography { - text-align: left; - border-collapse: collapse; - line-height: 1.2em; - font-size: 90%; + text-align: left; + border-collapse: collapse; + line-height: 1.2em; + font-size: 90%; } -.mwiki .infobox.geography td, -.mwiki .infobox.geography th { - border-top: solid 1px #aaa; - padding: 0.4em 0.6em 0.4em 0.6em; +.mwiki .infobox.geography td, +.mwiki .infobox.geography th { + border-top: solid 1px #aaa; + padding: 0.4em 0.6em 0.4em 0.6em; } .mwiki .infobox.geography .mergedtoprow td, .mwiki .infobox.geography .mergedtoprow th { - border-top: solid 1px #aaa; - padding: 0.4em 0.6em 0.2em 0.6em; + border-top: solid 1px #aaa; + padding: 0.4em 0.6em 0.2em 0.6em; } .mwiki .infobox.geography .mergedrow td, .mwiki .infobox.geography .mergedrow th { - border: 0; - padding: 0 0.6em 0.2em 0.6em; + border: 0; + padding: 0 0.6em 0.2em 0.6em; } .mwiki .infobox.geography .mergedbottomrow td, .mwiki .infobox.geography .mergedbottomrow th { - border-top: 0; - border-bottom: solid 1px #aaa; - padding: 0 0.6em 0.4em 0.6em; + border-top: 0; + border-bottom: solid 1px #aaa; + padding: 0 0.6em 0.4em 0.6em; } .mwiki .infobox.geography .maptable td, .mwiki .infobox.geography .maptable th { - border: 0; - padding: 0; + border: 0; + padding: 0; } /* Style for "notices" */ .mwiki .notice { - margin: 1em; - padding: 0.2em; + margin: 1em; + padding: 0.2em; } .mwiki #disambig { - border-top: 1px solid #ccc; - border-bottom: 1px solid #ccc; + border-top: 1px solid #ccc; + border-bottom: 1px solid #ccc; } .mwiki .rellink, .mwiki .dablink { - font-style: italic; - padding-left: 2em; + font-style: italic; + padding-left: 2em; } .mwiki .rellink i, .mwiki .dablink i { - font-style: normal; + font-style: normal; } /* Article message box styles */ -.mwiki table.ambox { /* 10% = Will not overlap with other elements */ - margin: -1px 10% 0px; /* -1px = Single border between stacked boxes in all browsers */ - border: 1px solid #aaa; - border-left: 10px solid #1e90ff; /* Default "notice" blue */ - background: #fbfbfb; +.mwiki table.ambox { + /* 10% = Will not overlap with other elements */ + margin: -1px 10% 0px; /* -1px = Single border between stacked boxes in all browsers */ + border: 1px solid #aaa; + border-left: 10px solid #1e90ff; /* Default "notice" blue */ + background: #fbfbfb; } .mwiki .ambox th.mbox-text, -.mwiki .ambox td.mbox-text { /* The message body cell(s) */ - padding: 0.25em 0.5em; /* 0.5em left/right */ +.mwiki .ambox td.mbox-text { + /* The message body cell(s) */ + padding: 0.25em 0.5em; /* 0.5em left/right */ } -.mwiki .ambox td.mbox-image { /* The left image cell */ - padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */ +.mwiki .ambox td.mbox-image { + /* The left image cell */ + padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */ } -.mwiki .ambox td.mbox-imageright { /* The right image cell */ - padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */ +.mwiki .ambox td.mbox-imageright { + /* The right image cell */ + padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */ } /* Standard Navigationsleisten, aka box hiding thingy from .de. Documentation at [[Wikipedia:NavFrame]]. */ .mwiki div.NavFrame { - margin: 0; - padding: 4px; - border: 1px solid #aaa; - text-align: center; - border-collapse: collapse; - font-size: 95%; + margin: 0; + padding: 4px; + border: 1px solid #aaa; + text-align: center; + border-collapse: collapse; + font-size: 95%; } .mwiki div.NavFrame + div.NavFrame { - border-top-style: none; - border-top-style: hidden; + border-top-style: none; + border-top-style: hidden; } .mwiki div.NavPic { - background-color: #fff; - margin: 0; - padding: 2px; - float: left; + background-color: #fff; + margin: 0; + padding: 2px; + float: left; } .mwiki div.NavFrame div.NavHead { - height: 1.6em; - font-weight: bold; - background-color: #ccf; - position:relative; + height: 1.6em; + font-weight: bold; + background-color: #ccf; + position: relative; } .mwiki div.NavFrame p { - font-size: 100%; + font-size: 100%; } .mwiki div.NavFrame div.NavContent { - font-size: 100%; + font-size: 100%; } .mwiki div.NavFrame div.NavContent p { - font-size: 100%; + font-size: 100%; } .mwiki div.NavEnd { - margin: 0; - padding: 0; - line-height: 1px; - clear: both; + margin: 0; + padding: 0; + line-height: 1px; + clear: both; } .mwiki a.NavToggle { - position: absolute; - top: 0; - right: 3px; - font-weight: normal; - font-size: 90%; + position: absolute; + top: 0; + right: 3px; + font-weight: normal; + font-size: 90%; } - /****** Wiktionary-specific excerpts *********/ .mwiki .audiolink a { - background: url("https://upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Loudspeaker.svg/16px-Loudspeaker.svg.png") center left no-repeat !important; - padding-left: 20px !important; - padding-right: 0 !important; + background: url("https://upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Loudspeaker.svg/16px-Loudspeaker.svg.png") + center left no-repeat !important; + padding-left: 20px !important; + padding-right: 0 !important; } /* default setting for [[:Category:Inflection templates]] */ -.mwiki .infl-inline { display: inline } -.mwiki .infl-table { display: none } +.mwiki .infl-inline { + display: inline; +} +.mwiki .infl-table { + display: none; +} /****default hide dict icon ***/ -.gddicticon{display:none;} +.gddicticon { + display: none; +} .gdexpandicon { - cursor:pointer; - width:16px; - height:16px; - vertical-align: text-bottom; - content:url('qrc:///icons/old-arrow.png'); + cursor: pointer; + width: 16px; + height: 16px; + vertical-align: text-bottom; + content: url("qrc:///icons/old-arrow.png"); } .gdcollapseicon { - cursor:pointer; - width:16px; - height:16px; - vertical-align: text-bottom; - content:url('qrc:///icons/old-downarrow.png'); + cursor: pointer; + width: 16px; + height: 16px; + vertical-align: text-bottom; + content: url("qrc:///icons/old-downarrow.png"); } /********** Slob dictionaries ***********/ -.slobdict img.imgtex -{ - vertical-align: baseline !important; +.slobdict img.imgtex { + vertical-align: baseline !important; } /************* GLS dictionaries **************/ -.glsdict_headwords -{ +.glsdict_headwords { font-weight: bold; margin-top: 15px; margin-bottom: 10px; font-size: 116%; } -.gls_wav img -{ +.gls_wav img { /* Ugly hack since "vertical-align: middle;" looks _terrible_ in Qt4's webkit: */ vertical-align: -30%; } diff --git a/src/stylesheets/article-style-st-lingoes-blue.css b/src/stylesheets/article-style-st-lingoes-blue.css index 0246604f..212c0fab 100644 --- a/src/stylesheets/article-style-st-lingoes-blue.css +++ b/src/stylesheets/article-style-st-lingoes-blue.css @@ -1,94 +1,99 @@ body { - background: #EAF0F8; - margin: 0.3em; - font-family: "Arial Unicode MS", "Lucida Sans Unicode", Tahoma, Verdana, "Palatino Linotype", sans-serif; - line-height: 120%; + background: #eaf0f8; + margin: 0.3em; + font-family: "Arial Unicode MS", "Lucida Sans Unicode", Tahoma, Verdana, + "Palatino Linotype", sans-serif; + line-height: 120%; } a { - text-decoration: none; - color: darkblue; + text-decoration: none; + color: darkblue; } - + a:hover { - text-decoration: underline; + text-decoration: underline; } .gdarticle { - background: #FFFEF2; - margin-top: 0.1em; - margin-bottom: 0.35em; - padding: 5px; - padding-top: -10px; - border: 1px solid #C7D4DC; - border-radius: 8px; + background: #fffef2; + margin-top: 0.1em; + margin-bottom: 0.35em; + padding: 5px; + padding-top: -10px; + border: 1px solid #c7d4dc; + border-radius: 8px; } .gdactivearticle { - background: #FFFEF2; - border: 1px solid #92B0DD; + background: #fffef2; + border: 1px solid #92b0dd; } .gdarticleseparator + script + .gdactivearticle .gddictname { - border-top: 1px solid #92B0DD; - border-right: 1px solid #92B0DD; + border-top: 1px solid #92b0dd; + border-right: 1px solid #92b0dd; } .gddictname { - display: flex; /* needed to be able to reorder elements, e.g. icon, dictionary name, collapse icon */ - font-size: 12px; - font-weight: normal; - float: right; - border: 0px; - border-top: 1px solid #C7D4DC; - border-right: 1px solid #C7D4DC; - border-top-right-radius: 8px; - border-bottom-left-radius: 6px; - margin: -6px; - margin-bottom: 5px; - margin-left: 2px; - padding-right: 0.4em; - color: #34517D; - background: #DDE6F5; - user-select: none; - cursor: default; + display: flex; /* needed to be able to reorder elements, e.g. icon, dictionary name, collapse icon */ + font-size: 12px; + font-weight: normal; + float: right; + border: 0px; + border-top: 1px solid #c7d4dc; + border-right: 1px solid #c7d4dc; + border-top-right-radius: 8px; + border-bottom-left-radius: 6px; + margin: -6px; + margin-bottom: 5px; + margin-left: 2px; + padding-right: 0.4em; + color: #34517d; + background: #dde6f5; + user-select: none; + cursor: default; } /* Actual text with the dictionary title */ -.gddicttitle -{ - display:block; +.gddicttitle { + display: block; order: 1; } .gdactivearticle .gddictname { - border-top: 1px solid #92B0DD; - border-right: 1px solid #92B0DD; - color: darkblue; - background: #CFDDF0; + border-top: 1px solid #92b0dd; + border-right: 1px solid #92b0dd; + color: darkblue; + background: #cfddf0; } -.gdcollapsedarticle .gddictname -{ +.gdcollapsedarticle .gddictname { opacity: 0.7; } /* Nice diagonal pattern for the collapsed article */ -.gdcollapsedarticle -{ - background-image: -webkit-linear-gradient(left top, #ccc 0%, #ccc 25%, #bbb 25%, #bbb 50%, #ccc 50%, #ccc 75%, #bbb 75%); - background-size: 50px 50px; +.gdcollapsedarticle { + background-image: -webkit-linear-gradient( + left top, + #ccc 0%, + #ccc 25%, + #bbb 25%, + #bbb 50%, + #ccc 50%, + #ccc 75%, + #bbb 75% + ); + background-size: 50px 50px; } /* Move the collapse/expand buttons to the last, 3rd position */ -.collapse_expand_area -{ +.collapse_expand_area { display: block; order: 3; } -.gddicticon -{ +.gddicticon { display: block; vertical-align: text-bottom; padding-right: -1em; @@ -96,270 +101,293 @@ a:hover { order: 2; } -.gdexpandicon, .gdexpandicon:hover, .gdcollapseicon, .gdcollapseicon:hover -{ - width:15px; - background-position: center 25%; - background-repeat:no-repeat; - vertical-align: top; - padding-left: -5px; - margin-left: 0px; +.gdexpandicon, +.gdexpandicon:hover, +.gdcollapseicon, +.gdcollapseicon:hover { + width: 15px; + background-position: center 25%; + background-repeat: no-repeat; + vertical-align: top; + padding-left: -5px; + margin-left: 0px; } .gdexpandicon { - content:url('qrc:///icons/expand_article.png'); + content: url("qrc:///icons/expand_article.png"); } .gdexpandicon:hover { - content:url('qrc:///icons/expand_article_hovered.png'); + content: url("qrc:///icons/expand_article_hovered.png"); } .gdcollapseicon { - content:url('qrc:///icons/collapse_article.png'); + content: url("qrc:///icons/collapse_article.png"); } .gdcollapseicon:hover { - content:url('qrc:///icons/collapse_article_hovered.png'); + content: url("qrc:///icons/collapse_article_hovered.png"); } .gdarticleseparator { - display: none; - clear:both; + display: none; + clear: both; } /* The 'From ' string which preceeds dictionary name in the heading */ .gdfromprefix { - display: none; + display: none; } /* Headers */ h3 { - color: inherit; - font-family: Arial; + color: inherit; + font-family: Arial; } /* The first headword in a (possibly) multi-headword DSL article */ -.gdarticlebody > div:first-child .dsl_headwords, -{ - margin-top: -3px; - display: inline-block; +.gdarticlebody > div:first-child .dsl_headwords { + margin-top: -3px; + display: inline-block; } -.mwiki .toc, .mwiki .metadata mbox-small plainlinks { - display:none +.mwiki .toc, +.mwiki .metadata mbox-small plainlinks { + display: none; } - .gddicticon img { - border: 0; - height: 15px; - vertical-align: text-top; + border: 0; + height: 15px; + vertical-align: text-top; } /* Text selection */ ::selection { - background: #839EC7; - color:#fff; + background: #839ec7; + color: #fff; } code::selection { - background: #839EC7; + background: #839ec7; } /******** DSL Dictionaries ****************/ /* DSL headwords */ .dsl_headwords { - color: inherit; - font-family: Arial; + color: inherit; + font-family: Arial; } /* Formatting */ .dsl_b { - font-family: Arial; + font-family: Arial; } -.dsl_ex, .dsl_ex .dsl_opt -{ - color: slategray; +.dsl_ex, +.dsl_ex .dsl_opt { + color: slategray; } .dsl_ref { - color: #0000DD; + color: #0000dd; } -.dsl_url { - color: #0000DD; +.dsl_url { + color: #0000dd; } /* Stress settings */ .dsl_stress_without_accent, .dsl_opt .dsl_ex .dsl_stress_without_accent { - display: none; - color: green; + display: none; + color: green; } .dsl_stress_with_accent, .dsl_opt .dsl_ex .dsl_stress_with_accent { - display: inline; - color: #DD0000; + display: inline; + color: #dd0000; } .dsl_stress, .dsl_opt .dsl_ex .dsl_stress { - display: inline; - color: blue; + display: inline; + color: blue; } /* Sound icon */ .dsl_s_wav img { - display: none; + display: none; } .dsl_s_wav a { - text-decoration: none; - user-select: none; - display: inline-block; - width: 18px; - height: 18px; - -webkit-border-radius: 100px; - text-align: center; - vertical-align: text-bottom; - color: #FFF; - border: 1px solid #798415; - -webkit-box-shadow: 1px 1px #CCC, inset -1px -1px #4E7500; + text-decoration: none; + user-select: none; + display: inline-block; + width: 18px; + height: 18px; + -webkit-border-radius: 100px; + text-align: center; + vertical-align: text-bottom; + color: #fff; + border: 1px solid #798415; + -webkit-box-shadow: + 1px 1px #ccc, + inset -1px -1px #4e7500; - background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(191,210,85,1)), color-stop(50%,rgba(142,185,42,1)), color-stop(51%,rgba(114,170,0,1)), color-stop(100%,rgba(158,203,45,1))); + background: -webkit-gradient( + linear, + left top, + right bottom, + color-stop(0%, rgba(191, 210, 85, 1)), + color-stop(50%, rgba(142, 185, 42, 1)), + color-stop(51%, rgba(114, 170, 0, 1)), + color-stop(100%, rgba(158, 203, 45, 1)) + ); } .dsl_s_wav a:hover { - background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#e6f0a3), color-stop(50%,#d2e638), color-stop(51%,#c3d825), color-stop(100%,#dbf043)); + background: -webkit-gradient( + linear, + left top, + right bottom, + color-stop(0%, #e6f0a3), + color-stop(50%, #d2e638), + color-stop(51%, #c3d825), + color-stop(100%, #dbf043) + ); - border: 1px solid #A2B01C; - -webkit-box-shadow: 1px 1px #CCC, inset -1px -1px #8A991A; + border: 1px solid #a2b01c; + -webkit-box-shadow: + 1px 1px #ccc, + inset -1px -1px #8a991a; } .dsl_s_wav a:active { - -webkit-box-shadow: 1px 1px #CCC, inset 1px 1px #B1C421; + -webkit-box-shadow: + 1px 1px #ccc, + inset 1px 1px #b1c421; } .dsl_s_wav a:after { - display: inline-block; - font-family: "Webdings"; - content:"X"; - width: 18px; - height: 18px; - font-size: 16px; - text-align: center; - vertical-align: center; - -webkit-background-clip: text; - color: #E6EF8F; - -webkit-text-stroke: 1px #51580E; + display: inline-block; + font-family: "Webdings"; + content: "X"; + width: 18px; + height: 18px; + font-size: 16px; + text-align: center; + vertical-align: center; + -webkit-background-clip: text; + color: #e6ef8f; + -webkit-text-stroke: 1px #51580e; } .dsl_s_wav a:hover:after { - -webkit-text-stroke: 1px #656E11; + -webkit-text-stroke: 1px #656e11; } - /******** Verbix Dictionaries ****************/ .sdct_h .normal { - font-family: Arial; - font-size: 10pt; - color:#000000; - font-weight: normal; - text-decoration:none; + font-family: Arial; + font-size: 10pt; + color: #000000; + font-weight: normal; + text-decoration: none; } .sdct_h .irregular { - font-family: Arial; - font-size: 10pt; - color:#FF0000; - font-weight: bold; - text-decoration:none; + font-family: Arial; + font-size: 10pt; + color: #ff0000; + font-weight: bold; + text-decoration: none; } .sdct_h .orto { - font-family: Arial; - font-size: 10pt; - color:#0000FF; - font-weight: normal; - text-decoration:none; + font-family: Arial; + font-size: 10pt; + color: #0000ff; + font-weight: normal; + text-decoration: none; } .sdct_h .archaic { - font-family: Arial; - font-size: 10pt; - color:#800080; - font-weight: normal; - text-decoration:none; + font-family: Arial; + font-size: 10pt; + color: #800080; + font-weight: normal; + text-decoration: none; } .sdct_h .notused { - font-family: Arial; - font-size: 10pt; - color:#808080; - font-weight: normal; - text-decoration:none; + font-family: Arial; + font-size: 10pt; + color: #808080; + font-weight: normal; + text-decoration: none; } .sdct_h .pronoun { - font-family: Arial; - font-size: 10pt; - color:#008000; - font-weight: normal; - text-decoration:none; + font-family: Arial; + font-size: 10pt; + color: #008000; + font-weight: normal; + text-decoration: none; } - .sdct_h > table { - border: 1px solid #444444; - border-collapse: collapse; + border: 1px solid #444444; + border-collapse: collapse; } .sdct_h td.verbtable { - border: 1px solid #444444; + border: 1px solid #444444; } .sdct_h th { - background-color: #A6C9EF; - font-weight: bold; + background-color: #a6c9ef; + font-weight: bold; } .sdct_h .mini { - font-size: 8pt; font-weight: normal; color: #808080; + font-size: 8pt; + font-weight: normal; + color: #808080; } .sdct_h div.spacerline { - clear: both; - margin-left: 8px; - width:100%; - border-top: 1px solid #ccc; + clear: both; + margin-left: 8px; + width: 100%; + border-top: 1px solid #ccc; } .sdct_h div.spacer { - clear: both; + clear: both; } .sdct_h div.float { - margin-left: 8px; - float: left; + margin-left: 8px; + float: left; } .sdct_h div.float400 { - margin-left: 8px; - float: left; - width: 400px; + margin-left: 8px; + float: left; + width: 400px; } - + .sdct_h div.float250color { - margin-left: 8px; - float: left; - width: 250px; - border-style: dashed; - border-color:#0033CC; - border-collapse:collapse; - border-width:1px; - background-color:#eeeeee; - padding: 8px 8px 8px 8px; -} + margin-left: 8px; + float: left; + width: 250px; + border-style: dashed; + border-color: #0033cc; + border-collapse: collapse; + border-width: 1px; + background-color: #eeeeee; + padding: 8px 8px 8px 8px; +} diff --git a/src/stylesheets/article-style-st-lingoes.css b/src/stylesheets/article-style-st-lingoes.css index d3facc54..870b9ccc 100644 --- a/src/stylesheets/article-style-st-lingoes.css +++ b/src/stylesheets/article-style-st-lingoes.css @@ -1,56 +1,47 @@ -a -{ +a { color: #2233bb; text-decoration: none; } -a:hover -{ +a:hover { color: #6677ff; } -::selection -{ +::selection { background: #3399ff; color: white; } -body -{ +body { background: #fffef2; color: black; font-family: Tahoma, Verdana, SimSun, SimSun-ExtB, sans-serif; margin: 5px; } -.gdarticle -{ +.gdarticle { background: #fffef2; margin-top: -8px; position: relative; } -.gddicticon -{ +.gddicticon { display: inline; margin-left: -3px; padding-right: 5px; } -.gddicticon img -{ +.gddicticon img { border: 0px; height: 16px; vertical-align: text-top; } -.gdfromprefix -{ +.gdfromprefix { display: none; } -.gddictname -{ +.gddictname { display: inline-block; /* border: 1px solid #92b0dd; */ padding: 0.2em; @@ -64,37 +55,36 @@ body font-size: 12px; } -.collapse_expand_area -{ +.collapse_expand_area { position: absolute; right: 0px; } -.gdexpandicon, .gdexpandicon:hover, .gdcollapseicon, .gdcollapseicon:hover -{ +.gdexpandicon, +.gdexpandicon:hover, +.gdcollapseicon, +.gdcollapseicon:hover { background-position: center 35%; - background-repeat:no-repeat; + background-repeat: no-repeat; } - .gdexpandicon { - content:url('qrc:///icons/expand_article.png'); + content: url("qrc:///icons/expand_article.png"); } .gdexpandicon:hover { - content:url('qrc:///icons/expand_article_hovered.png'); + content: url("qrc:///icons/expand_article_hovered.png"); } .gdcollapseicon { - content:url('qrc:///icons/collapse_article.png'); + content: url("qrc:///icons/collapse_article.png"); } .gdcollapseicon:hover { - content:url('qrc:///icons/collapse_article_hovered.png'); + content: url("qrc:///icons/collapse_article_hovered.png"); } -.gddictnamebodyseparator -{ +.gddictnamebodyseparator { clear: both; border-top: 1px solid #92b0dd; margin-bottom: 1em; diff --git a/src/stylesheets/article-style-st-lingvo.css b/src/stylesheets/article-style-st-lingvo.css index 20974124..2ce873a8 100644 --- a/src/stylesheets/article-style-st-lingvo.css +++ b/src/stylesheets/article-style-st-lingvo.css @@ -1,40 +1,34 @@ -html -{ +html { background-color: white; } -body -{ +body { background: white; } -a -{ +a { text-decoration: none; color: darkblue; } -a:hover -{ +a:hover { text-decoration: underline; } -.gdarticle -{ +.gdarticle { background: white; } /* The 'From ' string which preceeds dictionary name in the heading */ -.gdfromprefix -{ +.gdfromprefix { display: none; } /* Dictionary's name heading */ -.gddictname -{ - padding: 0.2em; padding-left: 0.5em; - margin-bottom: 0.1em; +.gddictname { + padding: 0.2em; + padding-left: 0.5em; + margin-bottom: 0.1em; font-size: 14px; font-weight: normal; float: right; @@ -44,16 +38,14 @@ a:hover background: white; } -.gdarticleseparator + script + .gdarticle .gddictname -{ +.gdarticleseparator + script + .gdarticle .gddictname { border-top: 1px solid #ccc; -/* margin-top: 11px;*/ + /* margin-top: 11px;*/ } -.gdactivearticle .gddictname -{ +.gdactivearticle .gddictname { font-weight: normal; - + float: right; border: 1px solid #b3d7f7; margin-top: 7px; @@ -61,14 +53,12 @@ a:hover background: #deecf8; } -.gdarticleseparator + script + .gdactivearticle .gddictname -{ +.gdarticleseparator + script + .gdactivearticle .gddictname { border-top: 1px solid #b3d7f7; -/* margin-top: 11px;*/ + /* margin-top: 11px;*/ } -.gdarticleseparator -{ +.gdarticleseparator { margin-top: 10px; border-bottom: 1px solid #cccccc; margin-bottom: 0px; @@ -77,17 +67,16 @@ a:hover clear: both; } -.gddictname + h3, .gddictname + .dsl_article > .dsl_headwords -{ +.gddictname + h3, +.gddictname + .dsl_article > .dsl_headwords { margin-top: 10px; } -.dsl_ex, .dsl_ex .dsl_opt -{ +.dsl_ex, +.dsl_ex .dsl_opt { color: inherit; } -.dsl_com -{ +.dsl_com { color: black; } diff --git a/src/stylesheets/article-style-st-modern.css b/src/stylesheets/article-style-st-modern.css index 611940ca..eaa2051a 100644 --- a/src/stylesheets/article-style-st-modern.css +++ b/src/stylesheets/article-style-st-modern.css @@ -1,27 +1,22 @@ -html -{ +html { background-color: white; } -body -{ +body { margin: 0; background: white; } -a -{ +a { text-decoration: none; color: darkblue; } -a:hover -{ +a:hover { text-decoration: underline; } -.gdarticle -{ +.gdarticle { margin-top: 0.1em; margin-bottom: 0.4em; padding: 5px; @@ -32,30 +27,25 @@ a:hover padding-right: 2em; } -.gdactivearticle -{ - border: 1px solid #3399FF; +.gdactivearticle { + border: 1px solid #3399ff; } -.gdarticleseparator + script + .gdactivearticle .gddictname -{ - border-top: 1px solid #3399FF; +.gdarticleseparator + script + .gdactivearticle .gddictname { + border-top: 1px solid #3399ff; } -.gdarticleseparator -{ +.gdarticleseparator { display: none; clear: both; } /* Hide the 'From ' string which precedes dictionary name in the heading */ -.gdfromprefix -{ +.gdfromprefix { display: none; } -.gddictname -{ +.gddictname { display: flex; font-size: 12px; font-weight: normal; @@ -68,52 +58,55 @@ a:hover margin-left: 2px; padding-right: 0.3em; color: #4480f8; - background: #E0E8F0; + background: #e0e8f0; user-select: none; cursor: default; } /* Actual text with the dictionary title */ -.gddicttitle -{ - display:block; +.gddicttitle { + display: block; order: 1; } -.gdactivearticle .gddictname -{ +.gdactivearticle .gddictname { font-weight: normal; margin: -6px; margin-bottom: 5px; margin-left: 2px; float: right; - border: 1px solid #3399FF; + border: 1px solid #3399ff; color: #0066cc; background: #deecf8; } -.gdcollapsedarticle .gddictname -{ +.gdcollapsedarticle .gddictname { opacity: 0.7; } /* Nice diagonal pattern for the collapsed article */ -.gdcollapsedarticle -{ - background-image: -webkit-linear-gradient(left top, #ccc 0%, #ccc 25%, #bbb 25%, #bbb 50%, #ccc 50%, #ccc 75%, #bbb 75%); - background-size: 50px 50px; +.gdcollapsedarticle { + background-image: -webkit-linear-gradient( + left top, + #ccc 0%, + #ccc 25%, + #bbb 25%, + #bbb 50%, + #ccc 50%, + #ccc 75%, + #bbb 75% + ); + background-size: 50px 50px; } /* Move the collapse/expand buttons to the last, 3rd position */ -.collapse_expand_area -{ +.collapse_expand_area { display: block; order: 3; } -.gddicticon -{ +.gddicticon { display: block; vertical-align: text-bottom; padding-right: -1em; @@ -122,60 +115,60 @@ a:hover } .gddicticon img { - height: 1.3em; + height: 1.3em; } -.gdexpandicon, .gdexpandicon:hover, .gdcollapseicon, .gdcollapseicon:hover -{ - width:15px; - background-position: center 35%; - background-repeat:no-repeat; - vertical-align: text-bottom; - padding-left: -5px; - margin-left: 0px; +.gdexpandicon, +.gdexpandicon:hover, +.gdcollapseicon, +.gdcollapseicon:hover { + width: 15px; + background-position: center 35%; + background-repeat: no-repeat; + vertical-align: text-bottom; + padding-left: -5px; + margin-left: 0px; } .gdexpandicon { - content:url('qrc:///icons/expand_article.png'); + content: url("qrc:///icons/expand_article.png"); } .gdexpandicon:hover { - content:url('qrc:///icons/expand_article_hovered.png'); + content: url("qrc:///icons/expand_article_hovered.png"); } .gdcollapseicon { - content:url('qrc:///icons/collapse_article.png'); + content: url("qrc:///icons/collapse_article.png"); } .gdcollapseicon:hover { - content:url('qrc:///icons/collapse_article_hovered.png'); + content: url("qrc:///icons/collapse_article_hovered.png"); } -.gdarticlebody{ +.gdarticlebody { position: relative; } /* The first headword in a (possibly) multi-headword DSL article */ -.gdarticlebody > div:first-child .dsl_headwords, -{ +.gdarticlebody > div:first-child .dsl_headwords { margin-top: -3px; display: inline-block; } -.gdspellsuggestion -{ +.gdspellsuggestion { /* Add some vertical space before the article */ margin-top: 1.5em; } -.dsl_ex, .dsl_ex .dsl_opt -{ +.dsl_ex, +.dsl_ex .dsl_opt { color: steelblue; } ::selection { - background:#cc0000; - color:#fff; + background: #cc0000; + color: #fff; } code::selection { diff --git a/src/stylesheets/article-style.css b/src/stylesheets/article-style.css index b65ef066..fd85450a 100644 --- a/src/stylesheets/article-style.css +++ b/src/stylesheets/article-style.css @@ -1,15 +1,30 @@ /******** Global, non-dictionary-specific classes ***********/ html { - height: 100%; + height: 100%; } -body -{ - font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif; +body { + font-family: + system-ui, + -apple-system, + BlinkMacSystemFont, + "Segoe UI", + Roboto, + Oxygen, + Ubuntu, + Cantarell, + "Open Sans", + "Helvetica Neue", + sans-serif; } -h1,h2,h3,h4,h5,h6 { +h1, +h2, +h3, +h4, +h5, +h6 { unicode-bidi: plaintext; } /* This stylesheet is used to highligh current selection when doing a search. @@ -23,20 +38,19 @@ h1,h2,h3,h4,h5,h6 { } /* Don't allow to select [] */ -:before, :after { +:before, +:after { user-select: none; } /* Plaintext dictionaries are usually 80-column formatted and take a lot * of space. We try to use smaller fonts for them therefore. */ -pre -{ +pre { font-size: 12px; } /* Dictionary's name heading */ -.gddictname -{ +.gddictname { margin-top: 0.5em; margin-bottom: 0.5em; font-weight: bold; @@ -61,61 +75,53 @@ pre background-color: hsl(0deg 0% 70%); } -.gddicttitle -{ - user-select: none; +.gddicttitle { + user-select: none; } -.gddictnamebodyseparator -{ +.gddictnamebodyseparator { clear: both; } /* The 'From ' string which precedes dictionary name in the heading */ -.gdfromprefix -{ - display:none; +.gdfromprefix { + display: none; } /* The article span. Here we have a padding/margin hack to make fragment links behave better (have some space before the start of article) */ -.gdarticle -{ +.gdarticle { display: block; padding-top: 1px; margin-top: -8px; margin-bottom: 8px; -/*fix for invalid blg*/ - font-style:normal; + /*fix for invalid blg*/ + font-style: normal; content-visibility: auto; contain-intrinsic-height: auto 600px; } -.empty-space -{ - height:400px; +.empty-space { + height: 400px; } /* CSS trick to prevent the floating elements to overflow the article boundaries, see Issue #333. */ -.gdarticle:after -{ - content: ""; - display: block; - height: 0; - clear: both; +.gdarticle:after { + content: ""; + display: block; + height: 0; + clear: both; } /* Appears between the articles */ -.gdarticleseparator -{ +.gdarticleseparator { display: inline-block; clear: both; } /* Dictionary query error description string */ -.gderrordesc -{ +.gderrordesc { font-style: italic; background: url("qrc:///icons/warning.png") center left no-repeat !important; padding-left: 22px !important; @@ -125,79 +131,70 @@ pre /********* Babylon dictionaries' classes *********/ /* Transcriptions in Babylon dictionaries */ -.bgltrn:before -{ - content:"["; +.bgltrn:before { + content: "["; } -.bgltrn:after -{ - content:"]"; +.bgltrn:after { + content: "]"; } -.bgltrn { display:block; } +.bgltrn { + display: block; +} /* Part of speech in Babylon dictionaries. Usually irrelevant, * therefore hidden */ -.bglpos { display: none; } +.bglpos { + display: none; +} /* Right-to-left text */ -.bglrtl -{ +.bglrtl { text-align: right; direction: rtl; } /******** StarDict dictionaries' classes *********/ - /* StarDict type 'h' -- Html content. We don't normally do anything here. */ -div.sdct_h -{ +div.sdct_h { unicode-bidi: plaintext; } -.sdict_h_wav img -{ +.sdict_h_wav img { /* Ugly hack since "vertical-align: middle;" looks _terrible_ in Qt4's webkit: */ vertical-align: -30%; } /* StarDict type 'm' -- Pure meaning. Presented as
*/ -pre.sdct_m -{ +pre.sdct_m { } /* StarDict type 'l' -- Pure meaning which used to be in locale encoding. */ -pre.sdct_l -{ +pre.sdct_l { } /* StarDict type 'g' -- Pango Markup */ -div.sdct_g -{ +div.sdct_g { } /* StarDict type 't' -- Transcription */ -div.sdct_t -{ +div.sdct_t { font-weight: bold; } /* StarDict type 'y' -- Chinese YinBiao or Japanese KANA */ -div.sdct_y -{ +div.sdct_y { } /* StarDict type 'x'. Should have xdxf_*-styled elements inside */ -div.sdct_x -{ +div.sdct_x { } /* Blockquotes in XDXF-styled elements are used for indentation purposes, see Issue #305. */ -.sdct_x blockquote -{ +.sdct_x blockquote { margin: 0px; padding-left: 9px; display: inline-block; @@ -205,52 +202,45 @@ div.sdct_x /******** XDXF markup classes *********/ -div.xdxf -{ +div.xdxf { } /* Key -- keys shouldn't normally be present in the article's body since they * are accounted for separately, hence we hide them */ -.xdxf_k -{ +.xdxf_k { display: none; } /* ...and if there's a break after it, we hide it too so we don't have an * extra vertical spacing. */ -.xdxf_k + br -{ +.xdxf_k + br { display: none; } /* Article structure tag */ -.xdxf_num -{ - color: red; - font-weight: bold; - padding-left:-15px; +.xdxf_num { + color: red; + font-weight: bold; + padding-left: -15px; } -.xdxf_def -{ - display: block; - border-color: #e3e3e3; - border-width: 1px; - border-style: dashed; - margin: 1px; - margin-left: 15px; +.xdxf_def { + display: block; + border-color: #e3e3e3; + border-width: 1px; + border-style: dashed; + margin: 1px; + margin-left: 15px; } -.xdxf_def:target -{ - /* this pseudoclass is used to marked out the referencedthat was just clicked */ - border-color: red; - border-width: 1px; - border-style: double; +.xdxf_def:target { + /* this pseudoclass is used to marked out the referenced that was just clicked */ + border-color: red; + border-width: 1px; + border-style: double; } /* Abbreviation */ -.xdxf_abbr -{ +.xdxf_abbr { font-style: italic; color: seagreen; cursor: default; @@ -258,100 +248,85 @@ div.xdxf } /* Editorial comment */ -.xdxf_co, .xdxf_co_old -{ - color: darkslateblue; - font-style: italic; +.xdxf_co, +.xdxf_co_old { + color: darkslateblue; + font-style: italic; } -.xdxf_co:before -{ - content:"(" +.xdxf_co:before { + content: "("; } -.xdxf_co:after -{ - content:")" +.xdxf_co:after { + content: ")"; } /* Grammar information */ -.xdxf_gr -{ - color: orangered; - display: block; +.xdxf_gr { + color: orangered; + display: block; } -.xdxf_gr_old -{ - color: blue; /*orangered;*/ +.xdxf_gr_old { + color: blue; /*orangered;*/ } /* Example */ -.xdxf_ex -{ - color: #808080; - display: block; - margin-left: 14px; +.xdxf_ex { + color: #808080; + display: block; + margin-left: 14px; } -.xdxf_ex_old -{ - color: #808080; +.xdxf_ex_old { + color: #808080; } -.xdxf_ex_source:before -{ - content:"[" +.xdxf_ex_source:before { + content: "["; } -.xdxf_ex_source:after -{ - content:"]" +.xdxf_ex_source:after { + content: "]"; } -.xdxf_ex_orig{ +.xdxf_ex_orig { color: #8761d9; } -.xdxf_ex_tran:before -{ - content:"— " +.xdxf_ex_tran:before { + content: "— "; } -.xdxf_ex_tran -{ - font-style: italic; +.xdxf_ex_tran { + font-style: italic; } /* Direct translation */ -.xdxf_dtrn -{ - font-weight: bold; - color: #dd7800; +.xdxf_dtrn { + font-weight: bold; + color: #dd7800; } /* Transcription */ -.xdxf_tr:before -{ - content:"["; +.xdxf_tr:before { + content: "["; } -.xdxf_tr:after -{ - content:"]"; +.xdxf_tr:after { + content: "]"; } -.xdxf_tr, .xdxf_tr_old -{ +.xdxf_tr, +.xdxf_tr_old { font-weight: bold; } /* Resource reference -- for now just a span. Since there's not yet a mechanism * to load resources off XDXF articles in GoldenDict, we just hide them. */ -.xdxf_rref -{ +.xdxf_rref { display: none; } -.xdxf_headwords -{ +.xdxf_headwords { font-size: 116%; font-weight: bold; margin-top: 10px; @@ -359,126 +334,106 @@ div.xdxf } /* The words in examples that are meaked out; they are marked out only when placed into tag */ -.xdxf_ex .xdxf_ex_markd, .xdxf_ex_old .xdxf_ex_markd -{ - background-color:lightgray; +.xdxf_ex .xdxf_ex_markd, +.xdxf_ex_old .xdxf_ex_markd { + background-color: lightgray; margin-left: 0.2em; margin-right: 0.2em; padding-left: 0.1em; padding-right: 0.1em; } -.xdxf_opt -{ +.xdxf_opt { color: #808080; } /******** SDictionary markup classes *********/ -.sdict_forms -{ +.sdict_forms { font-style: italic; } /* Transcription */ -.sdict_tr:before -{ - content:"["; +.sdict_tr:before { + content: "["; } -.sdict_tr:after -{ - content:"] "; +.sdict_tr:after { + content: "] "; } -.sdict_tr -{ +.sdict_tr { font-weight: bold; } /************* LSA audio archives **************/ /* A table which contains a play icon and a word's link */ -.lsa_play -{ +.lsa_play { margin-top: 8px; margin-left: 8px; } -.lsa_play a -{ +.lsa_play a { text-decoration: none; } /************* DSL dictionaries **************/ -.dsl_u -{ +.dsl_u { text-decoration: underline; } -.dsl_article -{ - display:inline; +.dsl_article { + display: inline; } -.dsl_article .c_default_color -{ +.dsl_article .c_default_color { color: green; } -.dsl_m, .dsl_m0 -{ +.dsl_m, +.dsl_m0 { padding-left: 0px; } -.dsl_m1 -{ +.dsl_m1 { padding-left: 9px; } -.dsl_m2 -{ +.dsl_m2 { padding-left: 18px; } -.dsl_m3 -{ +.dsl_m3 { padding-left: 27px; } -.dsl_m4 -{ +.dsl_m4 { padding-left: 36px; } -.dsl_m5 -{ +.dsl_m5 { padding-left: 45px; } -.dsl_m6 -{ +.dsl_m6 { padding-left: 54px; } -.dsl_m7 -{ +.dsl_m7 { padding-left: 63px; } -.dsl_m8 -{ +.dsl_m8 { padding-left: 72px; } -.dsl_m9 -{ +.dsl_m9 { padding-left: 81px; } -.dsl_p, .dsl_p :not(a) /* DSL Feature: Enforce the style even if the children tags say otherwise, except links */ -{ +.dsl_p, .dsl_p :not(a) /* DSL Feature: Enforce the style even if the children tags say otherwise, except links */ { color: green !important; /* DSL label color must have highest priority */ font-style: italic; cursor: default; @@ -489,70 +444,61 @@ div.xdxf display: none; } -.dsl_t -{ +.dsl_t { font-weight: bold; } -.dsl_headwords -{ +.dsl_headwords { font-weight: bold; margin-top: 15px; margin-bottom: 10px; } -.dsl_headwords p -{ +.dsl_headwords p { font-weight: bold; font-size: 15px; margin: 0; } -.dsl_definition p -{ +.dsl_definition p { margin: 0; } -.dsl_opt -{ +.dsl_opt { display: none; } .dsl_opt, .dsl_opt .dsl_ex, .dsl_opt .dsl_ex :not(a), -.dsl_opt .dsl_ex font[color] /* DSL Feature: Enforce the optional zone color even if the children tags say otherwise */ -{ +.dsl_opt .dsl_ex font[color] /* DSL Feature: Enforce the optional zone color even if the children tags say otherwise */ { color: gray; } -.dsl_ex, .dsl_ex .dsl_opt -{ +.dsl_ex, +.dsl_ex .dsl_opt { color: gray; } -.dsl_unknown{ - border-bottom: 3px double red; +.dsl_unknown { + border-bottom: 3px double red; } /* Style for expand optional parts button */ -.hidden_expand_opt -{ +.hidden_expand_opt { color: blue; cursor: pointer; vertical-align: text-bottom; } -.dsl_s_wav img -{ +.dsl_s_wav img { /* Ugly hack since "vertical-align: middle;" looks _terrible_ in Qt4's webkit: */ vertical-align: -30%; } -.dsl_video .img -{ +.dsl_video .img { display: inline-block; - background: url('qrc:///icons/video.png'); + background: url("qrc:///icons/video.png"); background-repeat: no-repeat; /* Ugly hack since "vertical-align: middle;" looks _terrible_ in Qt4's webkit: */ vertical-align: -30%; @@ -562,133 +508,112 @@ div.xdxf padding: 0; } -.dsl_video .filename -{ +.dsl_video .filename { display: none; /* by default, the file name is hidden */ padding-left: 5px; } /************* MDict dictionaries **************/ -.mdict -{ - +.mdict { } -.mdict a[name] -{ +.mdict a[name] { text-decoration: none; color: inherit; } /************* Zim dictionaries **************/ -.zimdict -{ - font-size: 110%!important; +.zimdict { + font-size: 110% !important; } -.zimdict_headword -{ - font-weight: bold!important; +.zimdict_headword { + font-weight: bold !important; display: none; } /************* Spelling suggestions *****************/ -.gdspellsuggestion -{ +.gdspellsuggestion { /* Add some vertical space before the article */ margin-top: 1em; } /************* Stemmed suggestions *****************/ -.gdstemmedsuggestion -{ +.gdstemmedsuggestion { /* Add some horizontal and vertical space */ margin-top: 1em; margin-left: 1px; } - -.gdstemmedsuggestion_head -{ +.gdstemmedsuggestion_head { margin-left: 11px; font-style: italic; } -.gdstemmedsuggestion_body -{ +.gdstemmedsuggestion_body { } /************* Dictd articles *****************/ -.dictd_article -{ +.dictd_article { /* Add some vertical space before the article */ margin-top: 1em; } -.dictd_phonetic:before, .dictd_phonetic:after -{ +.dictd_phonetic:before, +.dictd_phonetic:after { content: "\\"; font-style: normal; } -.dictd_phonetic:after -{ +.dictd_phonetic:after { margin-left: 3px; } -.dictd_phonetic -{ +.dictd_phonetic { font-style: italic; color: #009900; } -.dictd_article a:link -{ - color: #0000FF; +.dictd_article a:link { + color: #0000ff; } -.dictserver_from -{ +.dictserver_from { font-size: 110%; font-weight: 600; } /************* Epwing dictionaries *****************/ -.epwing_narrow_font -{ +.epwing_narrow_font { width: 0.5em; height: 1em; vertical-align: -15%; } -.epwing_wide_font -{ +.epwing_wide_font { width: 1em; height: 1em; vertical-align: -15%; } -.epwing_article -{ - display:inline; +.epwing_article { + display: inline; } /************* Websites *****************/ -.website_padding -{ +.website_padding { height: 1em; - clear:both; + clear: both; } /************* Forvo **************/ -.forvo_headword -{ +.forvo_headword { margin-top: 15px; margin-bottom: 10px; font-weight: bold; @@ -696,31 +621,26 @@ div.xdxf } /* A table which contains a play icon and information about the sound */ -.forvo_play -{ +.forvo_play { margin-top: 8px; margin-left: 8px; } -.forvo_user -{ +.forvo_user { text-decoration: none; color: green; } -.forvo_location -{ +.forvo_location { color: grey; } -.forvo_positive_votes -{ +.forvo_positive_votes { font-weight: bold; color: green; } -.forvo_negative_votes -{ +.forvo_negative_votes { font-weight: bold; color: red; } @@ -728,32 +648,28 @@ div.xdxf /************* Programs **************/ /* A table which contains a play icon and a word's link */ -.programs_play -{ +.programs_play { margin-top: 8px; margin-left: 8px; } -.programs_play a -{ +.programs_play a { text-decoration: none; } -.programs_plaintext, .programs_html -{ +.programs_plaintext, +.programs_html { margin-top: 15px; } /************* Voice engines **************/ -.voiceengines_play -{ +.voiceengines_play { margin-top: 8px; margin-left: 8px; } -.voiceengines_play a -{ +.voiceengines_play a { text-decoration: none; } @@ -762,14 +678,12 @@ div.xdxf with a .mwiki prepended to each record. */ -.mwiki -{ +.mwiki { /* Add some vertical space before the article */ margin-top: 1em; } -.mwiki .topicon -{ +.mwiki .topicon { /* Those are padlocks on top and such -- we disable those for GoldenDict since they look really ugly here */ display: none; @@ -782,241 +696,294 @@ div.xdxf * careful what you put in here, since what looks good in one skin may not in * another, but don't ignore the poor non-Monobook users either. */ -.mwiki .mw-plusminus-null { color: #aaa; } +.mwiki .mw-plusminus-null { + color: #aaa; +} -.mwiki .texvc { direction: ltr; unicode-bidi: embed; } -.mwiki img.tex { vertical-align: middle; } -.mwiki span.texhtml { font-family: serif; } +.mwiki .texvc { + direction: ltr; + unicode-bidi: embed; +} +.mwiki img.tex { + vertical-align: middle; +} +.mwiki span.texhtml { + font-family: serif; +} /* add a bit of margin space between the preview and the toolbar */ /* this replaces the ugly we used to insert into the page source */ -.mwiki #wikiPreview.ontop { margin-bottom: 1em; } +.mwiki #wikiPreview.ontop { + margin-bottom: 1em; +} /* Stop floats from intruding into edit area in previews */ -.mwiki #toolbar, .mwiki #wpTextbox1 { clear: both; } +.mwiki #toolbar, +.mwiki #wpTextbox1 { + clear: both; +} .mwiki div#mw-js-message { - margin: 1em 5%; - padding: 0.5em 2.5%; - border: solid 1px #ddd; - background-color: #fcfcfc; + margin: 1em 5%; + padding: 0.5em 2.5%; + border: solid 1px #ddd; + background-color: #fcfcfc; } /* Edit section links */ .mwiki .editsection { - float: right; - margin-left: 5px; + float: right; + margin-left: 5px; } /** * File histories */ .mwiki table.filehistory { - border:1px solid #ccc; - border-collapse:collapse; + border: 1px solid #ccc; + border-collapse: collapse; } .mwiki table.filehistory th, .mwiki table.filehistory td { - padding: 0 0.2em 0 0.2em; - vertical-align:top; - border:1px solid #ccc; + padding: 0 0.2em 0 0.2em; + vertical-align: top; + border: 1px solid #ccc; } .mwiki table.filehistory th { - text-align: left; + text-align: left; } .mwiki table.filehistory td.mw-imagepage-filesize, .mwiki table.filehistory th.mw-imagepage-filesize { - white-space:nowrap; + white-space: nowrap; } .mwiki table.filehistory td.filehistory-selected { - font-weight: bold; + font-weight: bold; } /* * rev_deleted stuff */ -.mwiki li span.deleted, .mwiki span.history-deleted { - text-decoration: line-through; - color: #888; - font-style: italic; +.mwiki li span.deleted, +.mwiki span.history-deleted { + text-decoration: line-through; + color: #888; + font-style: italic; } -.mwiki td.mw-label { vertical-align: top; } -.mwiki td.mw-submit { white-space: nowrap; } +.mwiki td.mw-label { + vertical-align: top; +} +.mwiki td.mw-submit { + white-space: nowrap; +} /** * Forms */ -.mwiki body.ltr td.mw-label { text-align: right; } -.mwiki body.ltr td.mw-input { text-align: left; } -.mwiki body.ltr td.mw-submit { text-align: left; } -.mwiki body.rtl td.mw-label { text-align: left; } -.mwiki body.rtl td.mw-input { text-align: right; } -.mwiki body.rtl td.mw-submit { text-align: right; } +.mwiki body.ltr td.mw-label { + text-align: right; +} +.mwiki body.ltr td.mw-input { + text-align: left; +} +.mwiki body.ltr td.mw-submit { + text-align: left; +} +.mwiki body.rtl td.mw-label { + text-align: left; +} +.mwiki body.rtl td.mw-input { + text-align: right; +} +.mwiki body.rtl td.mw-submit { + text-align: right; +} /** * Image captions */ -.mwiki body.rtl .thumbcaption { text-align:right; } -.mwiki body.rtl .magnify { float:left; } +.mwiki body.rtl .thumbcaption { + text-align: right; +} +.mwiki body.rtl .magnify { + float: left; +} -.mwiki body.ltr .thumbcaption { text-align:left; } -.mwiki body.ltr .magnify { float:right; } +.mwiki body.ltr .thumbcaption { + text-align: left; +} +.mwiki body.ltr .magnify { + float: right; +} /** * Hidden categories */ -.mwiki .mw-hidden-cats-hidden { display: none; } -.mwiki .catlinks-allhidden { display: none; } +.mwiki .mw-hidden-cats-hidden { + display: none; +} +.mwiki .catlinks-allhidden { + display: none; +} /* Convenience links to edit block, delete and protect reasons */ -.mwiki p.mw-ipb-conveniencelinks, .mwiki p.mw-protect-editreasons, -.mwiki p.mw-filedelete-editreasons, .mwiki p.mw-delete-editreasons { - font-size: 90%; - float: right; +.mwiki p.mw-ipb-conveniencelinks, +.mwiki p.mw-protect-editreasons, +.mwiki p.mw-filedelete-editreasons, +.mwiki p.mw-delete-editreasons { + font-size: 90%; + float: right; } /* Search results */ .mwiki div.searchresult { - font-size: 95%; - width:38em; + font-size: 95%; + width: 38em; } .mwiki .mw-search-results li { - padding-bottom: 1em; - list-style:none; + padding-bottom: 1em; + list-style: none; } .mwiki .mw-search-result-data { - color: green; - font-size: 97%; + color: green; + font-size: 97%; } .mwiki td#mw-search-menu { - padding-left:6em; - font-size:85%; + padding-left: 6em; + font-size: 85%; } .mwiki div#mw-search-interwiki { - float: right; - width: 18em; - border-style: solid; - border-color: #AAAAAA; - border-width: 1px; - margin-top: 2ex; + float: right; + width: 18em; + border-style: solid; + border-color: #aaaaaa; + border-width: 1px; + margin-top: 2ex; } .mwiki div#mw-search-interwiki li { - font-size: 95%; + font-size: 95%; } .mwiki .mw-search-interwiki-more { - float: right; - font-size: 90%; + float: right; + font-size: 90%; } .mwiki span.searchalttitle { - font-size: 95%; + font-size: 95%; } .mwiki div.searchdidyoumean { - font-size: 127%; - margin-bottom: 1ex; - margin-top: 1ex; - /* Note that this color won't affect the link, as desired. */ - color: #c00; + font-size: 127%; + margin-bottom: 1ex; + margin-top: 1ex; + /* Note that this color won't affect the link, as desired. */ + color: #c00; } .mwiki div.searchdidyoumean em { - font-weight: bold; + font-weight: bold; } .mwiki .searchmatch { - font-weight: bold; + font-weight: bold; } .mwiki div.searchresults { - border:1px solid darkblue; - padding-top: 10px; - padding-bottom: 10px; - padding-left: 20px; - padding-right: 20px; + border: 1px solid darkblue; + padding-top: 10px; + padding-bottom: 10px; + padding-left: 20px; + padding-right: 20px; } /* * UserRights stuff */ .mwiki .mw-userrights-disabled { - color: #888; + color: #888; } -.mwiki table.mw-userrights-groups * td,.mwiki table.mw-userrights-groups * th { - padding-right: 1.5em; +.mwiki table.mw-userrights-groups * td, +.mwiki table.mw-userrights-groups * th { + padding-right: 1.5em; } /* * OpenSearch ajax suggestions */ .mwiki .os-suggest { - overflow: auto; - overflow-x: hidden; - position: absolute; - top: 0px; - left: 0px; - width: 0px; - background-color: white; - border-style: solid; - border-color: #AAAAAA; - border-width: 1px; - z-index:99; - visibility:hidden; - font-size:95%; + overflow: auto; + overflow-x: hidden; + position: absolute; + top: 0px; + left: 0px; + width: 0px; + background-color: white; + border-style: solid; + border-color: #aaaaaa; + border-width: 1px; + z-index: 99; + visibility: hidden; + font-size: 95%; } .mwiki table.os-suggest-results { - font-size: 95%; - cursor: pointer; - border: 0; - border-collapse: collapse; - width: 100%; + font-size: 95%; + cursor: pointer; + border: 0; + border-collapse: collapse; + width: 100%; } -.mwiki td.os-suggest-result, .mwiki td.os-suggest-result-hl { - white-space: nowrap; - background-color: white; - color: black; - padding: 2px; +.mwiki td.os-suggest-result, +.mwiki td.os-suggest-result-hl { + white-space: nowrap; + background-color: white; + color: black; + padding: 2px; } .mwiki td.os-suggest-result-hl, .mwiki td.os-suggest-result-hl-webkit { - background-color: #4C59A6; - color: white; + background-color: #4c59a6; + color: white; } .mwiki .os-suggest-toggle { - position: relative; - left: 1ex; - font-size: 65%; + position: relative; + left: 1ex; + font-size: 65%; } .mwiki .os-suggest-toggle-def { - position: absolute; - top: 0px; - left: 0px; - font-size: 65%; - visibility: hidden; + position: absolute; + top: 0px; + left: 0px; + font-size: 65%; + visibility: hidden; } /* Page history styling */ /* the auto-generated edit comments */ -.mwiki .autocomment { color: gray; } -.mwiki #pagehistory .history-user { - margin-left: 0.4em; - margin-right: 0.2em; +.mwiki .autocomment { + color: gray; +} +.mwiki #pagehistory .history-user { + margin-left: 0.4em; + margin-right: 0.2em; +} +.mwiki #pagehistory span.minor { + font-weight: bold; +} +.mwiki #pagehistory li { + border: 1px solid white; } -.mwiki #pagehistory span.minor { font-weight: bold; } -.mwiki #pagehistory li { border: 1px solid white; } .mwiki #pagehistory li.selected { - background-color: #f9f9f9; - border: 1px dashed #aaa; + background-color: #f9f9f9; + border: 1px dashed #aaa; } /* @@ -1026,57 +993,61 @@ div.xdxf .mwiki table.mw-listgrouprights-table, .mwiki table.mw-statistics-table { - border: 1px solid #ccc; - border-collapse: collapse; + border: 1px solid #ccc; + border-collapse: collapse; } -.mwiki table.mw-listgrouprights-table tr { - vertical-align: top; +.mwiki table.mw-listgrouprights-table tr { + vertical-align: top; } -.mwiki table.mw-listgrouprights-table td, .mwiki table.mw-listgrouprights-table th, -.mwiki table.mw-statistics-table td, .mwiki table.mw-statistics-table th { - padding: 0.5em 0.2em 0.5em 0.2em; - border: 1px solid #ccc; +.mwiki table.mw-listgrouprights-table td, +.mwiki table.mw-listgrouprights-table th, +.mwiki table.mw-statistics-table td, +.mwiki table.mw-statistics-table th { + padding: 0.5em 0.2em 0.5em 0.2em; + border: 1px solid #ccc; } .mwiki td.mw-statistics-numbers { - text-align: right; + text-align: right; } /* Special:SpecialPages styling */ .mwiki h4.mw-specialpagesgroup { - background-color: #dcdcdc; - padding: 2px; - margin: .3em 0em 0em 0em; + background-color: #dcdcdc; + padding: 2px; + margin: 0.3em 0em 0em 0em; } .mwiki .mw-specialpagerestricted { - font-weight: bold; + font-weight: bold; } -.mwiki #shared-image-dup, .mwiki #shared-image-conflict { - font-style: italic; +.mwiki #shared-image-dup, +.mwiki #shared-image-conflict { + font-style: italic; } /* Special:EmailUser styling */ .mwiki table.mw-emailuser-table { - width: 98%; + width: 98%; } -.mwiki td#mw-emailuser-sender, .mwiki td#mw-emailuser-recipient { - font-weight: bold; +.mwiki td#mw-emailuser-sender, +.mwiki td#mw-emailuser-recipient { + font-weight: bold; } /* Special:Prefixindex styling */ .mwiki table#mw-prefixindex-list-table, .mwiki table#mw-prefixindex-nav-table { - width: 98%; - background-color: transparent; + width: 98%; + background-color: transparent; } -.mwiki td#mw-prefixindex-nav-form { - font-size: smaller; - margin-bottom: 1em; - text-align: right; - vertical-align: top; +.mwiki td#mw-prefixindex-nav-form { + font-size: smaller; + margin-bottom: 1em; + text-align: right; + vertical-align: top; } /* @@ -1086,25 +1057,25 @@ div.xdxf * incl. log entries for these warnings */ .mwiki div.mw-warning-with-logexcerpt { - padding: 3px; - margin-bottom: 3px; - border: 2px solid #2F6FAB; + padding: 3px; + margin-bottom: 3px; + border: 2px solid #2f6fab; } .mwiki div.mw-warning-with-logexcerpt ul li { - font-size: 90%; + font-size: 90%; } /* (show/hide) revision deletion links */ .mwiki span.mw-revdelundel-link, .mwiki strong.mw-revdelundel-link { - font-family: monospace; - font-size: smaller + font-family: monospace; + font-size: smaller; } /* feed links */ .mwiki a.feedlink { - background: url("images/feed-icon.png") center left no-repeat; - padding-left: 16px; + background: url("images/feed-icon.png") center left no-repeat; + padding-left: 16px; } /************ monobook/main.css **************/ @@ -1121,26 +1092,26 @@ div.xdxf */ .mwiki #column-content { - width: 100%; - float: right; - margin: 0 0 .6em -12.2em; - padding: 0; + width: 100%; + float: right; + margin: 0 0 0.6em -12.2em; + padding: 0; } .mwiki #content { - margin: 2.8em 0 0 12.2em; - padding: 0 1em 1em 1em; - position: relative; - z-index: 2; + margin: 2.8em 0 0 12.2em; + padding: 0 1em 1em 1em; + position: relative; + z-index: 2; } .mwiki #column-one { - padding-top: 160px; + padding-top: 160px; } .mwiki #content { - background: white; - color: black; - border: 1px solid #aaa; - border-right: none; - line-height: 1.5em; + background: white; + color: black; + border: 1px solid #aaa; + border-right: none; + line-height: 1.5em; } /* the left column width is specified in class .portlet */ @@ -1162,171 +1133,210 @@ body { /* scale back up to a sane default */ .mwiki #globalWrapper { - font-size: 127%; - width: 100%; - margin: 0; - padding: 0; + font-size: 127%; + width: 100%; + margin: 0; + padding: 0; } .mwiki .visualClear { - clear: both; + clear: both; } /* general styles */ .mwiki table { - font-size: 100%; - color: black; - /* we don't want the bottom borders of
s to be visible through + font-size: 100%; + color: black; + /* we don't want the bottom borders of
s to be visible through floated tables */ - background-color: white; + background-color: white; } .mwiki fieldset table { - /* but keep table layouts in forms clean... */ - background: none; + /* but keep table layouts in forms clean... */ + background: none; } .mwiki a { - text-decoration: none; - color: #002bb8; - background: none; + text-decoration: none; + color: #002bb8; + background: none; } .mwiki a:visited { - color: #5a3696; + color: #5a3696; } .mwiki a:active { - color: #faa700; + color: #faa700; } .mwiki a:hover { - text-decoration: underline; + text-decoration: underline; } .mwiki a.stub { - color: #772233; + color: #772233; } -.mwiki a.new, .mwiki #p-personal a.new { - color: #ba0000; +.mwiki a.new, +.mwiki #p-personal a.new { + color: #ba0000; } -.mwiki a.new:visited, .mwiki #p-personal a.new:visited { - color: #a55858; +.mwiki a.new:visited, +.mwiki #p-personal a.new:visited { + color: #a55858; } .mwiki img { - border: none; - vertical-align: middle; + border: none; + vertical-align: middle; } .mwiki p { - margin: .4em 0 .5em 0; - line-height: 1.5em; + margin: 0.4em 0 0.5em 0; + line-height: 1.5em; } .mwiki p img { - margin: 0; + margin: 0; } .mwiki hr { - height: 1px; - color: #aaa; - background-color: #aaa; - border: 0; - margin: .2em 0 .2em 0; + height: 1px; + color: #aaa; + background-color: #aaa; + border: 0; + margin: 0.2em 0 0.2em 0; } -.mwiki h1, .mwiki h2, .mwiki h3, .mwiki h4, .mwiki h5, .mwiki h6 { - color: black; - background: none; - font-weight: normal; - margin: 0; - padding-top: .5em; - padding-bottom: .17em; - border-bottom: 1px solid #aaa; +.mwiki h1, +.mwiki h2, +.mwiki h3, +.mwiki h4, +.mwiki h5, +.mwiki h6 { + color: black; + background: none; + font-weight: normal; + margin: 0; + padding-top: 0.5em; + padding-bottom: 0.17em; + border-bottom: 1px solid #aaa; } -.mwiki h1 { font-size: 188%; } -.mwiki h1 .editsection { font-size: 53%; } -.mwiki h2 { font-size: 150%; } -.mwiki h2 .editsection { font-size: 67%; } -.mwiki h3, .mwiki h4, .mwiki h5, .mwiki h6 { - border-bottom: none; - font-weight: bold; +.mwiki h1 { + font-size: 188%; +} +.mwiki h1 .editsection { + font-size: 53%; +} +.mwiki h2 { + font-size: 150%; +} +.mwiki h2 .editsection { + font-size: 67%; +} +.mwiki h3, +.mwiki h4, +.mwiki h5, +.mwiki h6 { + border-bottom: none; + font-weight: bold; +} +.mwiki h3 { + font-size: 132%; +} +.mwiki h3 .editsection { + font-size: 76%; + font-weight: normal; +} +.mwiki h4 { + font-size: 116%; +} +.mwiki h4 .editsection { + font-size: 86%; + font-weight: normal; +} +.mwiki h5 { + font-size: 100%; +} +.mwiki h5 .editsection { + font-weight: normal; +} +.mwiki h6 { + font-size: 80%; +} +.mwiki h6 .editsection { + font-size: 125%; + font-weight: normal; } -.mwiki h3 { font-size: 132%; } -.mwiki h3 .editsection { font-size: 76%; font-weight: normal; } -.mwiki h4 { font-size: 116%; } -.mwiki h4 .editsection { font-size: 86%; font-weight: normal; } -.mwiki h5 { font-size: 100%; } -.mwiki h5 .editsection { font-weight: normal; } -.mwiki h6 { font-size: 80%; } -.mwiki h6 .editsection { font-size: 125%; font-weight: normal; } .mwiki ul { - line-height: 1.5em; - list-style-type: square; - margin: .3em 0 0 1.5em; - padding: 0; - list-style-image: url(bullet.gif); + line-height: 1.5em; + list-style-type: square; + margin: 0.3em 0 0 1.5em; + padding: 0; + list-style-image: url(bullet.gif); } .mwiki ol { - line-height: 1.5em; - margin: .3em 0 0 3.2em; - padding: 0; - list-style-image: none; + line-height: 1.5em; + margin: 0.3em 0 0 3.2em; + padding: 0; + list-style-image: none; } .mwiki li { - margin-bottom: .1em; + margin-bottom: 0.1em; } .mwiki dt { - font-weight: bold; - margin-bottom: .1em; + font-weight: bold; + margin-bottom: 0.1em; } .mwiki dl { - margin-top: .2em; - margin-bottom: .5em; + margin-top: 0.2em; + margin-bottom: 0.5em; } .mwiki dd { - line-height: 1.5em; - margin-left: 2em; - margin-bottom: .1em; + line-height: 1.5em; + margin-left: 2em; + margin-bottom: 0.1em; } .mwiki fieldset { - border: 1px solid #2f6fab; - margin: 1em 0 1em 0; - padding: 0 1em 1em; - line-height: 1.5em; + border: 1px solid #2f6fab; + margin: 1em 0 1em 0; + padding: 0 1em 1em; + line-height: 1.5em; } .mwiki fieldset.nested { - margin: 0 0 0.5em 0; - padding: 0 0.5em 0.5em; + margin: 0 0 0.5em 0; + padding: 0 0.5em 0.5em; } .mwiki legend { - padding: .5em; - font-size: 95%; + padding: 0.5em; + font-size: 95%; } .mwiki form { - border: none; - margin: 0; + border: none; + margin: 0; } .mwiki textarea { - width: 100%; - padding: .1em; + width: 100%; + padding: 0.1em; } .mwiki input.historysubmit { - padding: 0 .3em .3em .3em !important; - font-size: 94%; - cursor: pointer; - height: 1.7em !important; - margin-left: 1.6em; + padding: 0 0.3em 0.3em 0.3em !important; + font-size: 94%; + cursor: pointer; + height: 1.7em !important; + margin-left: 1.6em; } .mwiki select { - vertical-align: top; + vertical-align: top; } -.mwiki abbr, .mwiki acronym, .mwiki .explain { - border-bottom: 1px dotted black; - color: black; - background: none; - cursor: help; +.mwiki abbr, +.mwiki acronym, +.mwiki .explain { + border-bottom: 1px dotted black; + color: black; + background: none; + cursor: help; } .mwiki q { - font-family: Times, "Times New Roman", serif; - font-style: italic; + font-family: Times, "Times New Roman", serif; + font-style: italic; } /* disabled for now .mwiki blockquote { @@ -1334,14 +1344,14 @@ body { font-style: italic; }*/ .mwiki code { - background-color: #f9f9f9; + background-color: #f9f9f9; } .mwiki pre { - padding: 1em; - border: 1px dashed #2f6fab; - color: black; - background-color: #f9f9f9; - line-height: 1.1em; + padding: 1em; + border: 1px dashed #2f6fab; + color: black; + background-color: #f9f9f9; + line-height: 1.1em; } /* @@ -1349,128 +1359,135 @@ body { */ .mwiki #siteSub { - display: none; + display: none; } .mwiki #jump-to-nav { - display: none; + display: none; } -.mwiki #contentSub, .mwiki #contentSub2 { - font-size: 84%; - line-height: 1.2em; - margin: 0 0 1.4em 1em; - color: #7d7d7d; - width: auto; +.mwiki #contentSub, +.mwiki #contentSub2 { + font-size: 84%; + line-height: 1.2em; + margin: 0 0 1.4em 1em; + color: #7d7d7d; + width: auto; } .mwiki span.subpages { - display: block; + display: block; } /* Some space under the headers in the content area */ -.mwiki #bodyContent h1, .mwiki #bodyContent h2 { - margin-bottom: .6em; +.mwiki #bodyContent h1, +.mwiki #bodyContent h2 { + margin-bottom: 0.6em; } -.mwiki #bodyContent h3, .mwiki #bodyContent h4, .mwiki #bodyContent h5 { - margin-bottom: .3em; +.mwiki #bodyContent h3, +.mwiki #bodyContent h4, +.mwiki #bodyContent h5 { + margin-bottom: 0.3em; } .mwiki #firstHeading { - margin-bottom: .1em; - /* These two rules hack around bug 2013 (fix for more limited bug 11325). + margin-bottom: 0.1em; + /* These two rules hack around bug 2013 (fix for more limited bug 11325). When bug 2013 is fixed properly, they should be removed. */ - line-height: 1.2em; - padding-bottom: 0; + line-height: 1.2em; + padding-bottom: 0; } /* user notification thing */ .mwiki .usermessage { - background-color: #ffce7b; - border: 1px solid #ffa500; - color: black; - font-weight: bold; - margin: 2em 0 1em; - padding: .5em 1em; - vertical-align: middle; + background-color: #ffce7b; + border: 1px solid #ffa500; + color: black; + font-weight: bold; + margin: 2em 0 1em; + padding: 0.5em 1em; + vertical-align: middle; } .mwiki #siteNotice { - text-align: center; - font-size: 95%; - padding: 0 .9em; + text-align: center; + font-size: 95%; + padding: 0 0.9em; } .mwiki #siteNotice p { - margin: 0; - padding: 0; + margin: 0; + padding: 0; } .mwiki .success { - color: green; - font-size: larger; + color: green; + font-size: larger; } .mwiki .error { - color: red; - font-size: larger; + color: red; + font-size: larger; } -.mwiki .errorbox, .mwiki .successbox { - font-size: larger; - border: 2px solid; - padding: .5em 1em; - float: left; - margin-bottom: 2em; - color: #000; +.mwiki .errorbox, +.mwiki .successbox { + font-size: larger; + border: 2px solid; + padding: 0.5em 1em; + float: left; + margin-bottom: 2em; + color: #000; } .mwiki .errorbox { - border-color: red; - background-color: #fff2f2; + border-color: red; + background-color: #fff2f2; } .mwiki .successbox { - border-color: green; - background-color: #dfd; + border-color: green; + background-color: #dfd; } -.mwiki .errorbox h2, .mwiki .successbox h2 { - font-size: 1em; - font-weight: bold; - display: inline; - margin: 0 .5em 0 0; - border: none; +.mwiki .errorbox h2, +.mwiki .successbox h2 { + font-size: 1em; + font-weight: bold; + display: inline; + margin: 0 0.5em 0 0; + border: none; } .mwiki .catlinks { - border: 1px solid #aaa; - background-color: #f9f9f9; - padding: 5px; - margin-top: 1em; - clear: both; + border: 1px solid #aaa; + 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 */ .mwiki .documentDescription { - /* The summary text describing the document */ - font-weight: bold; - display: block; - margin: 1em 0; - line-height: 1.5em; + /* The summary text describing the document */ + font-weight: bold; + display: block; + margin: 1em 0; + line-height: 1.5em; } .mwiki .documentByLine { - text-align: right; - font-size: 90%; - clear: both; - font-weight: normal; - color: #76797c; + text-align: right; + font-size: 90%; + clear: both; + font-weight: normal; + color: #76797c; } /* emulate center */ .mwiki .center { - width: 100%; - text-align: center; + width: 100%; + text-align: center; } .mwiki *.center * { - margin-left: auto; - margin-right: auto; + margin-left: auto; + margin-right: auto; } /* small for tables and similar */ -.mwiki .small, .mwiki .small * { - font-size: 94%; +.mwiki .small, +.mwiki .small * { + font-size: 94%; } .mwiki table.small { - font-size: 100%; + font-size: 100%; } /* @@ -1480,125 +1497,132 @@ in the bottom-right corner of the content area */ .mwiki #toc, .mwiki .toc, .mwiki .mw-warning { - border: 1px solid #aaa; - background-color: #f9f9f9; - padding: 5px; - font-size: 95%; + border: 1px solid #aaa; + background-color: #f9f9f9; + padding: 5px; + font-size: 95%; } .mwiki #toc h2, .mwiki .toc h2 { - display: inline; - border: none; - padding: 0; - font-size: 100%; - font-weight: bold; + display: inline; + border: none; + padding: 0; + font-size: 100%; + font-weight: bold; } .mwiki #toc #toctitle, .mwiki .toc #toctitle, .mwiki #toc .toctitle, .mwiki .toc .toctitle { - text-align: center; + text-align: center; } .mwiki #toc ul, .mwiki .toc ul { - list-style-type: none; - list-style-image: none; - margin-left: 0; - padding-left: 0; - text-align: left; + list-style-type: none; + list-style-image: none; + margin-left: 0; + padding-left: 0; + text-align: left; } .mwiki #toc ul ul, .mwiki .toc ul ul { - margin: 0 0 0 2em; + margin: 0 0 0 2em; } .mwiki #toc .toctoggle, .mwiki .toc .toctoggle { - font-size: 94%; + font-size: 94%; } .mwiki .mw-warning { - margin-left: 50px; - margin-right: 50px; - text-align: center; + margin-left: 50px; + margin-right: 50px; + text-align: center; } /* images */ -.mwiki div.floatright, .mwiki table.floatright { - clear: right; - float: right; - position: relative; - margin: 0 0 .5em .5em; - border: 0; -/* +.mwiki div.floatright, +.mwiki table.floatright { + clear: right; + float: right; + position: relative; + margin: 0 0 0.5em 0.5em; + border: 0; + /* border: .5em solid white; border-width: .5em 0 .8em 1.4em; */ } -.mwiki div.floatright p { font-style: italic; } -.mwiki div.floatleft, .mwiki table.floatleft { - float: left; - clear: left; - position: relative; - margin: 0 .5em .5em 0; - border: 0; -/* +.mwiki div.floatright p { + font-style: italic; +} +.mwiki div.floatleft, +.mwiki table.floatleft { + float: left; + clear: left; + position: relative; + margin: 0 0.5em 0.5em 0; + border: 0; + /* margin: .3em .5em .5em 0; border: .5em solid white; border-width: .5em 1.4em .8em 0; */ } -.mwiki div.floatleft p { font-style: italic; } +.mwiki div.floatleft p { + font-style: italic; +} /* thumbnails */ .mwiki div.thumb { - margin-bottom: .5em; - border-style: solid; - border-color: white; - width: auto; + margin-bottom: 0.5em; + border-style: solid; + border-color: white; + width: auto; } .mwiki div.thumbinner { - border: 1px solid #ccc; - padding: 3px !important; - background-color: #f9f9f9; - font-size: 94%; - text-align: center; - overflow: hidden; + border: 1px solid #ccc; + padding: 3px !important; + background-color: #f9f9f9; + font-size: 94%; + text-align: center; + overflow: hidden; } .mwiki html .thumbimage { - border: 1px solid #ccc; + border: 1px solid #ccc; } .mwiki html .thumbcaption { - border: none; - text-align: left; - line-height: 1.4em; - padding: 3px !important; - font-size: 94%; + border: none; + text-align: left; + line-height: 1.4em; + padding: 3px !important; + font-size: 94%; } .mwiki div.magnify { - float: right; - border: none !important; - background: none !important; + float: right; + border: none !important; + background: none !important; } -.mwiki div.magnify a, .mwiki div.magnify img { - display: block; - border: none !important; - background: none !important; +.mwiki div.magnify a, +.mwiki div.magnify img { + display: block; + border: none !important; + background: none !important; } .mwiki div.tright { - clear: right; - float: right; - border-width: .5em 0 .8em 1.4em; + clear: right; + float: right; + border-width: 0.5em 0 0.8em 1.4em; } .mwiki div.tleft { - float: left; - clear: left; - margin-right: .5em; - border-width: .5em 1.4em .8em 0; + float: left; + clear: left; + margin-right: 0.5em; + border-width: 0.5em 1.4em 0.8em 0; } .mwiki img.thumbborder { - border: 1px solid #dddddd; + border: 1px solid #dddddd; } .mwiki .hiddenStructure { - display: none; + display: none; } /* @@ -1611,26 +1635,26 @@ in the bottom-right corner of the content area */ */ /* table standards */ .mwiki table.rimage { - float: right; - position: relative; - margin-left: 1em; - margin-bottom: 1em; - text-align: center; + float: right; + position: relative; + margin-left: 1em; + margin-bottom: 1em; + text-align: center; } .mwiki .toccolours { - border: 1px solid #aaa; - background-color: #f9f9f9; - padding: 5px; - font-size: 95%; + border: 1px solid #aaa; + background-color: #f9f9f9; + padding: 5px; + font-size: 95%; } /* ** edit views etc */ .mwiki .special li { - line-height: 1.4em; - margin: 0; - padding: 0; + line-height: 1.4em; + margin: 0; + padding: 0; } /* @@ -1638,77 +1662,93 @@ in the bottom-right corner of the content area */ ** this is css3, the validator doesn't like it when validating as css2 */ .mwiki #bodyContent a.external, -.mwiki #bodyContent a[href ^="gopher://"] { - background: url(external.png) center right no-repeat; - padding-right: 1em; +.mwiki #bodyContent a[href ^="gopher://"] +{ + background: url(external.png) center right no-repeat; + padding-right: 1em; } .mwiki #bodyContent a[href ^="https://"], .mwiki .link-https { - background: url(lock_icon.gif) center right no-repeat; - padding-right: 16px; + background: url(lock_icon.gif) center right no-repeat; + padding-right: 16px; } -.mwiki #bodyContent a[href ^="mailto:"], +.mwiki #bodyContent a[href^="mailto:"], .mwiki .link-mailto { - background: url(mail_icon.gif) center right no-repeat; - padding-right: 18px; + background: url(mail_icon.gif) center right no-repeat; + padding-right: 18px; } -.mwiki #bodyContent a[href ^="news://"] { - background: url(news_icon.png) center right no-repeat; - padding-right: 18px; +.mwiki #bodyContent a[href ^="news://"] +{ + background: url(news_icon.png) center right no-repeat; + padding-right: 18px; } .mwiki #bodyContent a[href ^="ftp://"], .mwiki .link-ftp { - background: url(file_icon.gif) center right no-repeat; - padding-right: 18px; + background: url(file_icon.gif) center right no-repeat; + padding-right: 18px; } .mwiki #bodyContent a[href ^="irc://"], .mwiki #bodyContent a.extiw[href ^="irc://"], .mwiki .link-irc { - background: url(discussionitem_icon.gif) center right no-repeat; - padding-right: 18px; + background: url(discussionitem_icon.gif) center right no-repeat; + padding-right: 18px; } -.mwiki #bodyContent a.external[href $=".ogg"], .mwiki #bodyContent a.external[href $=".OGG"], -.mwiki #bodyContent a.external[href $=".oga"], .mwiki #bodyContent a.external[href $=".OGA"], -.mwiki #bodyContent a.external[href $=".mid"], .mwiki #bodyContent a.external[href $=".MID"], -.mwiki #bodyContent a.external[href $=".midi"], .mwiki #bodyContent a.external[href $=".MIDI"], -.mwiki #bodyContent a.external[href $=".mp3"], .mwiki #bodyContent a.external[href $=".MP3"], -.mwiki #bodyContent a.external[href $=".wav"], .mwiki #bodyContent a.external[href $=".WAV"], -.mwiki #bodyContent a.external[href $=".wma"], .mwiki #bodyContent a.external[href $=".WMA"], +.mwiki #bodyContent a.external[href$=".ogg"], +.mwiki #bodyContent a.external[href$=".OGG"], +.mwiki #bodyContent a.external[href$=".oga"], +.mwiki #bodyContent a.external[href$=".OGA"], +.mwiki #bodyContent a.external[href$=".mid"], +.mwiki #bodyContent a.external[href$=".MID"], +.mwiki #bodyContent a.external[href$=".midi"], +.mwiki #bodyContent a.external[href$=".MIDI"], +.mwiki #bodyContent a.external[href$=".mp3"], +.mwiki #bodyContent a.external[href$=".MP3"], +.mwiki #bodyContent a.external[href$=".wav"], +.mwiki #bodyContent a.external[href$=".WAV"], +.mwiki #bodyContent a.external[href$=".wma"], +.mwiki #bodyContent a.external[href$=".WMA"], .mwiki .link-audio { - background: url("audio.png") center right no-repeat; - padding-right: 1em; + background: url("audio.png") center right no-repeat; + padding-right: 1em; } -.mwiki #bodyContent a.external[href $=".ogm"], .mwiki #bodyContent a.external[href $=".OGM"], -.mwiki #bodyContent a.external[href $=".avi"], .mwiki #bodyContent a.external[href $=".AVI"], -.mwiki #bodyContent a.external[href $=".mpeg"], .mwiki #bodyContent a.external[href $=".MPEG"], -.mwiki #bodyContent a.external[href $=".mpg"], .mwiki #bodyContent a.external[href $=".MPG"], +.mwiki #bodyContent a.external[href$=".ogm"], +.mwiki #bodyContent a.external[href$=".OGM"], +.mwiki #bodyContent a.external[href$=".avi"], +.mwiki #bodyContent a.external[href$=".AVI"], +.mwiki #bodyContent a.external[href$=".mpeg"], +.mwiki #bodyContent a.external[href$=".MPEG"], +.mwiki #bodyContent a.external[href$=".mpg"], +.mwiki #bodyContent a.external[href$=".MPG"], .mwiki .link-video { - background: url("video.png") center right no-repeat; - padding-right: 1em; + background: url("video.png") center right no-repeat; + padding-right: 1em; } -.mwiki #bodyContent a.external[href $=".pdf"], .mwiki #bodyContent a.external[href $=".PDF"], -.mwiki #bodyContent a.external[href *=".pdf#"], .mwiki #bodyContent a.external[href *=".PDF#"], -.mwiki #bodyContent a.external[href *=".pdf?"], .mwiki #bodyContent a.external[href *=".PDF?"], +.mwiki #bodyContent a.external[href$=".pdf"], +.mwiki #bodyContent a.external[href$=".PDF"], +.mwiki #bodyContent a.external[href*=".pdf#"], +.mwiki #bodyContent a.external[href*=".PDF#"], +.mwiki #bodyContent a.external[href*=".pdf?"], +.mwiki #bodyContent a.external[href*=".PDF?"], .mwiki .link-document { - background: url("document.png") center right no-repeat; - padding-right: 12px; + background: url("document.png") center right no-repeat; + padding-right: 12px; } /* disable interwiki styling */ .mwiki #bodyContent a.extiw, .mwiki #bodyContent a.extiw:active { - color: #36b; - background: none; - padding: 0; + color: #36b; + background: none; + padding: 0; } .mwiki #bodyContent a.external { - color: #36b; + color: #36b; } /* this can be used in the content area to switch off special external link styling */ .mwiki #bodyContent .plainlinks a { - background: none !important; - padding: 0 !important; + background: none !important; + padding: 0 !important; } /* ** Structural Elements @@ -1718,64 +1758,64 @@ special external link styling */ ** general portlet styles (elements in the quickbar) */ .mwiki .portlet { - border: none; - margin: 0 0 .5em; - padding: 0; - float: none; - width: 11.6em; - overflow: hidden; + border: none; + margin: 0 0 0.5em; + padding: 0; + float: none; + width: 11.6em; + overflow: hidden; } .mwiki .portlet h4 { - font-size: 95%; - font-weight: normal; - white-space: nowrap; + font-size: 95%; + font-weight: normal; + white-space: nowrap; } .mwiki .portlet h5 { - background: transparent; - padding: 0 1em 0 .5em; - display: inline; - height: 1em; - text-transform: lowercase; - font-size: 91%; - font-weight: normal; - white-space: nowrap; + background: transparent; + padding: 0 1em 0 0.5em; + display: inline; + height: 1em; + text-transform: lowercase; + font-size: 91%; + font-weight: normal; + white-space: nowrap; } .mwiki .portlet h6 { - background: #ffae2e; - border: 1px solid #2f6fab; - border-style: solid solid none solid; - padding: 0 1em 0 1em; - text-transform: lowercase; - display: block; - font-size: 1em; - height: 1.2em; - font-weight: normal; - white-space: nowrap; + background: #ffae2e; + border: 1px solid #2f6fab; + border-style: solid solid none solid; + padding: 0 1em 0 1em; + text-transform: lowercase; + display: block; + font-size: 1em; + height: 1.2em; + font-weight: normal; + white-space: nowrap; } .mwiki .pBody { - font-size: 95%; - background-color: white; - color: black; - border-collapse: collapse; - border: 1px solid #aaa; - padding: 0 .8em .3em .5em; + font-size: 95%; + background-color: white; + color: black; + border-collapse: collapse; + border: 1px solid #aaa; + padding: 0 0.8em 0.3em 0.5em; } .mwiki .portlet h1, .mwiki .portlet h2, .mwiki .portlet h3, .mwiki .portlet h4 { - margin: 0; - padding: 0; + margin: 0; + padding: 0; } .mwiki .portlet ul { - line-height: 1.5em; - list-style-type: square; - list-style-image: url(bullet.gif); - font-size: 95%; + line-height: 1.5em; + list-style-type: square; + list-style-image: url(bullet.gif); + font-size: 95%; } .mwiki .portlet li { - padding: 0; - margin: 0; + padding: 0; + margin: 0; } /* @@ -1783,755 +1823,776 @@ special external link styling */ */ .mwiki #p-logo { - top: 0; - left: 0; - position: absolute; /*needed to use z-index */ - z-index: 3; - height: 155px; - width: 12em; - overflow: visible; + top: 0; + left: 0; + position: absolute; /*needed to use z-index */ + z-index: 3; + height: 155px; + width: 12em; + overflow: visible; } .mwiki #p-logo h5 { - display: none; + display: none; } .mwiki #p-logo a, .mwiki #p-logo a:hover { - display: block; - height: 155px; - width: 12.2em; - background-repeat: no-repeat; - background-position: 35% 50% !important; - text-decoration: none; + display: block; + height: 155px; + width: 12.2em; + background-repeat: no-repeat; + background-position: 35% 50% !important; + text-decoration: none; } /* ** Search portlet */ .mwiki #p-search { - position: relative; - z-index: 3; + position: relative; + z-index: 3; } .mwiki input.searchButton { - margin-top: 1px; - font-size: 95%; + margin-top: 1px; + font-size: 95%; } .mwiki #searchGoButton { - padding-left: .5em; - padding-right: .5em; - font-weight: bold; + padding-left: 0.5em; + padding-right: 0.5em; + font-weight: bold; } .mwiki #searchInput { - width: 10.9em; - margin: 0; - font-size: 95%; + width: 10.9em; + margin: 0; + font-size: 95%; } .mwiki #p-search .pBody { - padding: .5em .4em .4em .4em; - text-align: center; + padding: 0.5em 0.4em 0.4em 0.4em; + text-align: center; } .mwiki #p-search #searchform div div { - margin-top: .4em; - font-size: 95%; + margin-top: 0.4em; + font-size: 95%; } /* ** the personal toolbar */ .mwiki #p-personal { - position: absolute; - left: 0; - top: 0; - z-index: 0; + position: absolute; + left: 0; + top: 0; + z-index: 0; } .mwiki #p-personal { - width: 100%; - white-space: nowrap; - padding: 0; - margin: 0; - border: none; - background: none; - overflow: visible; - line-height: 1.2em; + width: 100%; + white-space: nowrap; + padding: 0; + margin: 0; + border: none; + background: none; + overflow: visible; + line-height: 1.2em; } .mwiki #p-personal h5 { - display: none; + display: none; } .mwiki #p-personal .portlet, .mwiki #p-personal .pBody { - z-index: 0; - padding: 0; - margin: 0; - border: none; - overflow: visible; - background: none; + z-index: 0; + padding: 0; + margin: 0; + border: none; + overflow: visible; + background: none; } /* this is the ul contained in the portlet */ .mwiki #p-personal ul { - border: none; - line-height: 1.4em; - color: #2f6fab; - padding: 0 2em 0 3em; - margin: 0; - text-align: right; - list-style: none; - z-index: 0; - background: none; - cursor: default; + border: none; + line-height: 1.4em; + color: #2f6fab; + padding: 0 2em 0 3em; + margin: 0; + text-align: right; + list-style: none; + z-index: 0; + background: none; + cursor: default; } .mwiki #p-personal li { - z-index: 0; - border: none; - padding: 0; - display: inline; - color: #2f6fab; - margin-left: 1em; - line-height: 1.2em; - background: none; + z-index: 0; + border: none; + padding: 0; + display: inline; + color: #2f6fab; + margin-left: 1em; + line-height: 1.2em; + background: none; } .mwiki #p-personal li a { - text-decoration: none; - color: #005896; - padding-bottom: .2em; - background: none; + text-decoration: none; + color: #005896; + padding-bottom: 0.2em; + background: none; } .mwiki #p-personal li a:hover { - background-color: white; - padding-bottom: .2em; - text-decoration: none; + background-color: white; + padding-bottom: 0.2em; + text-decoration: none; } .mwiki #p-personal li.active a:hover { - background-color: transparent; + background-color: transparent; } /* the icon in front of the user name, single quotes in bg url to hide it from iemac */ .mwiki li#pt-userpage, .mwiki li#pt-anonuserpage, .mwiki li#pt-login { - background: url(user.gif) top left no-repeat; - padding-left: 20px; - text-transform: none; + background: url(user.gif) top left no-repeat; + padding-left: 20px; + text-transform: none; } .mwiki #p-personal ul { - text-transform: lowercase; + text-transform: lowercase; } .mwiki #p-personal li.active { - font-weight: bold; + font-weight: bold; } /* ** the page-related actions- page/talk, edit etc */ .mwiki #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%; + 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%; } .mwiki #p-cactions ul { - list-style: none; + list-style: none; } .mwiki #p-cactions li { - display: inline; - border: 1px solid #aaa; - border-bottom: none; - padding: 0 0 .1em 0; - margin: 0 .3em 0 0; - overflow: visible; - background: white; + display: inline; + border: 1px solid #aaa; + border-bottom: none; + padding: 0 0 0.1em 0; + margin: 0 0.3em 0 0; + overflow: visible; + background: white; } .mwiki #p-cactions li.selected { - border-color: #fabd23; - padding: 0 0 .2em 0; - font-weight: bold; + border-color: #fabd23; + padding: 0 0 0.2em 0; + font-weight: bold; } .mwiki #p-cactions li a { - background-color: #fbfbfb; - color: #002bb8; - border: none; - padding: 0 .8em .3em; - position: relative; - z-index: 0; - margin: 0; - text-decoration: none; + background-color: #fbfbfb; + color: #002bb8; + border: none; + padding: 0 0.8em 0.3em; + position: relative; + z-index: 0; + margin: 0; + text-decoration: none; } .mwiki #p-cactions li.selected a { - z-index: 3; - padding: 0 1em .2em!important; - background-color: white; + z-index: 3; + padding: 0 1em 0.2em !important; + background-color: white; } .mwiki #p-cactions .new a { - color: #ba0000; + color: #ba0000; } .mwiki #p-cactions li a:hover { - z-index: 3; - text-decoration: none; - background-color: white; + z-index: 3; + text-decoration: none; + background-color: white; } .mwiki #p-cactions h5 { - display: none; + display: none; } .mwiki #p-cactions li.istalk { - margin-right: 0; + margin-right: 0; } .mwiki #p-cactions li.istalk a { - padding-right: .5em; + padding-right: 0.5em; } .mwiki #p-cactions #ca-addsection a { - padding-left: .4em; - padding-right: .4em; + padding-left: 0.4em; + padding-right: 0.4em; } /* offsets to distinguish the tab groups */ .mwiki li#ca-talk { - margin-right: 1.6em; + margin-right: 1.6em; } -.mwiki li#ca-watch, .mwiki li#ca-unwatch, .mwiki li#ca-varlang-0, .mwiki li#ca-print { - margin-left: 1.6em; +.mwiki li#ca-watch, +.mwiki li#ca-unwatch, +.mwiki li#ca-varlang-0, +.mwiki li#ca-print { + margin-left: 1.6em; } .mwiki #p-cactions .pBody { - font-size: 1em; - background-color: transparent; - color: inherit; - border-collapse: inherit; - border: 0; - padding: 0; + font-size: 1em; + background-color: transparent; + color: inherit; + border-collapse: inherit; + border: 0; + padding: 0; } .mwiki #p-cactions .hiddenStructure { - display: none; + display: none; } .mwiki #p-cactions li a { - text-transform: lowercase; + text-transform: lowercase; } .mwiki #p-lang { - position: relative; - z-index: 3; + position: relative; + z-index: 3; } /* TODO: #t-iscite is only used by the Cite extension, come up with some * system which allows extensions to add to this file on the fly */ -.mwiki #t-ispermalink, .mwiki #t-iscite { - color: #999; +.mwiki #t-ispermalink, +.mwiki #t-iscite { + color: #999; } /* ** footer */ .mwiki #footer { - background-color: white; - border-top: 1px solid #fabd23; - border-bottom: 1px solid #fabd23; - margin: .6em 0 1em 0; - padding: .4em 0 1.2em 0; - text-align: center; - font-size: 90%; + background-color: white; + border-top: 1px solid #fabd23; + border-bottom: 1px solid #fabd23; + margin: 0.6em 0 1em 0; + padding: 0.4em 0 1.2em 0; + text-align: center; + font-size: 90%; } .mwiki #footer li { - display: inline; - margin: 0 1.3em; + display: inline; + margin: 0 1.3em; } -.mwiki #f-poweredbyico, .mwiki #f-copyrightico { - margin: 0 8px; - position: relative; - top: -2px; /* Bump it up just a tad */ +.mwiki #f-poweredbyico, +.mwiki #f-copyrightico { + margin: 0 8px; + position: relative; + top: -2px; /* Bump it up just a tad */ } .mwiki #f-poweredbyico { - float: right; - height: 1%; + float: right; + height: 1%; } .mwiki #f-copyrightico { - float: left; - height: 1%; + float: left; + height: 1%; } /* js pref toc */ .mwiki #preftoc { - margin: 0; - padding: 0; - width: 100%; - clear: both; + margin: 0; + padding: 0; + width: 100%; + clear: both; } .mwiki #preftoc li { - background-color: #f0f0f0; - color: #000; + background-color: #f0f0f0; + color: #000; } .mwiki #preftoc li { - margin: 1px -2px 1px 2px; - float: left; - padding: 2px 0 3px 0; - border: 1px solid #fff; - border-right-color: #716f64; - border-bottom: 0; - position: relative; - white-space: nowrap; - list-style-type: none; - list-style-image: none; - z-index: 3; + margin: 1px -2px 1px 2px; + float: left; + padding: 2px 0 3px 0; + border: 1px solid #fff; + border-right-color: #716f64; + border-bottom: 0; + position: relative; + white-space: nowrap; + list-style-type: none; + list-style-image: none; + z-index: 3; } .mwiki #preftoc li.selected { - font-weight: bold; - background-color: #f9f9f9; - border: 1px solid #aaa; - border-bottom: none; - cursor: default; - top: 1px; - padding-top: 2px; - margin-right: -3px; + font-weight: bold; + background-color: #f9f9f9; + border: 1px solid #aaa; + border-bottom: none; + cursor: default; + top: 1px; + padding-top: 2px; + margin-right: -3px; } .mwiki #preftoc > li.selected { - top: 2px; + top: 2px; } .mwiki #preftoc a, .mwiki #preftoc a:active { - display: block; - color: #000; - padding: 0 .7em; - position: relative; - text-decoration: none; + display: block; + color: #000; + padding: 0 0.7em; + position: relative; + text-decoration: none; } .mwiki #preftoc li.selected a { - cursor: default; - text-decoration: none; + cursor: default; + text-decoration: none; } .mwiki #prefcontrol { - padding-top: 2em; - clear: both; + padding-top: 2em; + clear: both; } .mwiki #preferences { - margin: 0; - border: 1px solid #aaa; - clear: both; - padding: 1.5em; - background-color: #F9F9F9; + margin: 0; + border: 1px solid #aaa; + clear: both; + padding: 1.5em; + background-color: #f9f9f9; } .mwiki .prefsection { - border: none; - padding: 0; - margin: 0; + border: none; + padding: 0; + margin: 0; } .mwiki .prefsection fieldset { - border: 1px solid #aaa; - float: left; - margin-right: 2em; + border: 1px solid #aaa; + float: left; + margin-right: 2em; } .mwiki .prefsection legend { - font-weight: bold; + font-weight: bold; } -.mwiki .prefsection table, .mwiki .prefsection legend { - background-color: #F9F9F9; +.mwiki .prefsection table, +.mwiki .prefsection legend { + background-color: #f9f9f9; } .mwiki .mainLegend { - display: none; + display: none; } .mwiki div.prefsectiontip { - font-size: x-small; - padding: .2em 2em; - color: #666; + font-size: x-small; + padding: 0.2em 2em; + color: #666; } .mwiki .btnSavePrefs { - font-weight: bold; - padding-left: .3em; - padding-right: .3em; + font-weight: bold; + padding-left: 0.3em; + padding-right: 0.3em; } .mwiki .preferences-login { - clear: both; - margin-bottom: 1.5em; + clear: both; + margin-bottom: 1.5em; } .mwiki .prefcache { - font-size: 90%; - margin-top: 2em; + font-size: 90%; + margin-top: 2em; } .mwiki div#userloginForm form, .mwiki div#userlogin form#userlogin2 { - margin: 0 3em 1em 0; - border: 1px solid #aaa; - clear: both; - padding: 1.5em 2em; - background-color: #f9f9f9; - float: left; + margin: 0 3em 1em 0; + border: 1px solid #aaa; + clear: both; + padding: 1.5em 2em; + background-color: #f9f9f9; + float: left; } .mwiki .rtl div#userloginForm form, .mwiki .rtl div#userlogin form#userlogin2 { - float: right; + float: right; } .mwiki div#userloginForm table, .mwiki div#userlogin form#userlogin2 table { - background-color: #f9f9f9; + background-color: #f9f9f9; } .mwiki div#userloginForm h2, .mwiki div#userlogin form#userlogin2 h2 { - padding-top: 0; + padding-top: 0; } .mwiki div#userlogin .captcha, .mwiki div#userloginForm .captcha { - border: 1px solid #bbb; - padding: 1.5em 2em; - background-color: white; + border: 1px solid #bbb; + padding: 1.5em 2em; + background-color: white; } -.mwiki #loginend, .mwiki #signupend { - clear: both; +.mwiki #loginend, +.mwiki #signupend { + clear: both; } -.mwiki #userloginprompt, .mwiki #languagelinks { - font-size: 85%; +.mwiki #userloginprompt, +.mwiki #languagelinks { + font-size: 85%; } .mwiki #login-sectiontip { - font-size: 85%; - line-height: 1.2; - padding-top: 2em; + font-size: 85%; + line-height: 1.2; + padding-top: 2em; } -.mwiki #userlogin .loginText, .mwiki #userlogin .loginPassword { - width: 12em; +.mwiki #userlogin .loginText, +.mwiki #userlogin .loginPassword { + width: 12em; } -.mwiki #userloginlink a, .mwiki #wpLoginattempt, .mwiki #wpCreateaccount { - font-weight: bold; +.mwiki #userloginlink a, +.mwiki #wpLoginattempt, +.mwiki #wpCreateaccount { + font-weight: bold; } - /* IE/Mac fixes were cut out */ .mwiki .redirectText { - font-size: 150%; - margin: 5px; + font-size: 150%; + margin: 5px; } .mwiki .printfooter { - display: none; + display: none; } .mwiki .not-patrolled { - background-color: #ffa; + background-color: #ffa; } .mwiki div.patrollink { - clear: both; - font-size: 75%; - text-align: right; + clear: both; + font-size: 75%; + text-align: right; } -.mwiki span.newpage, .mwiki span.minor, .mwiki span.bot { - font-weight: bold; +.mwiki span.newpage, +.mwiki span.minor, +.mwiki span.bot { + font-weight: bold; } .mwiki span.unpatrolled { - font-weight: bold; - color: red; + font-weight: bold; + color: red; } .mwiki .sharedUploadNotice { - font-style: italic; + font-style: italic; } .mwiki span.updatedmarker { - color: black; - background-color: #0f0; + color: black; + background-color: #0f0; } .mwiki table.gallery { - border: 1px solid #ccc; - margin: 2px; - padding: 2px; - background-color: white; + border: 1px solid #ccc; + margin: 2px; + padding: 2px; + background-color: white; } .mwiki table.gallery tr { - vertical-align: top; + vertical-align: top; } .mwiki table.gallery td { - vertical-align: top; - background-color: #f9f9f9; - border: solid 2px white; + vertical-align: top; + background-color: #f9f9f9; + border: solid 2px white; } /* Keep this temporarily so that cached pages will display right */ .mwiki table.gallery td.galleryheader { - text-align: center; - font-weight: bold; + text-align: center; + font-weight: bold; } .mwiki table.gallery caption { - font-weight: bold; + font-weight: bold; } .mwiki div.gallerybox { - margin: 2px; + margin: 2px; } .mwiki div.gallerybox div.thumb { - text-align: center; - border: 1px solid #ccc; - margin: 2px; + text-align: center; + border: 1px solid #ccc; + margin: 2px; } .mwiki div.gallerytext { - overflow: hidden; - font-size: 94%; - padding: 2px 4px; + overflow: hidden; + font-size: 94%; + padding: 2px 4px; } .mwiki span.comment { - font-style: italic; + font-style: italic; } .mwiki span.changedby { - font-size: 95%; + font-size: 95%; } .mwiki .previewnote { - text-indent: 3em; - color: #c00; - border-bottom: 1px solid #aaa; - padding-bottom: 1em; - margin-bottom: 1em; + text-indent: 3em; + color: #c00; + border-bottom: 1px solid #aaa; + padding-bottom: 1em; + margin-bottom: 1em; } .mwiki .previewnote p { - margin: 0; - padding: 0; + margin: 0; + padding: 0; } .mwiki .editExternally { - border: 1px solid gray; - background-color: #ffffff; - padding: 3px; - margin-top: 0.5em; - float: left; - font-size: small; - text-align: center; + border: 1px solid gray; + background-color: #ffffff; + padding: 3px; + margin-top: 0.5em; + float: left; + font-size: small; + text-align: center; } .mwiki .editExternallyHelp { - font-style: italic; - color: gray; + font-style: italic; + color: gray; } .mwiki .toggle { - margin-left: 2em; - text-indent: -2em; + margin-left: 2em; + text-indent: -2em; } /* Classes for EXIF data display */ .mwiki table.mw_metadata { - font-size: 0.8em; - margin-left: 0.5em; - margin-bottom: 0.5em; - width: 300px; + font-size: 0.8em; + margin-left: 0.5em; + margin-bottom: 0.5em; + width: 300px; } .mwiki table.mw_metadata caption { - font-weight: bold; + font-weight: bold; } .mwiki table.mw_metadata th { - font-weight: normal; + font-weight: normal; } .mwiki table.mw_metadata td { - padding: 0.1em; + padding: 0.1em; } .mwiki table.mw_metadata { - border: none; - border-collapse: collapse; + border: none; + border-collapse: collapse; } -.mwiki table.mw_metadata td, .mwiki table.mw_metadata th { - text-align: center; - border: 1px solid #aaaaaa; - padding-left: 0.1em; - padding-right: 0.1em; +.mwiki table.mw_metadata td, +.mwiki table.mw_metadata th { + text-align: center; + border: 1px solid #aaaaaa; + padding-left: 0.1em; + padding-right: 0.1em; } .mwiki table.mw_metadata th { - background-color: #f9f9f9; + background-color: #f9f9f9; } .mwiki table.mw_metadata td { - background-color: #fcfcfc; + background-color: #fcfcfc; } .mwiki table.collapsed tr.collapsable { - display: none; + display: none; } - /* filetoc */ .mwiki ul#filetoc { - text-align: center; - border: 1px solid #aaaaaa; - background-color: #f9f9f9; - padding: 5px; - font-size: 95%; - margin-bottom: 0.5em; - margin-left: 0; - margin-right: 0; + text-align: center; + border: 1px solid #aaaaaa; + background-color: #f9f9f9; + padding: 5px; + font-size: 95%; + margin-bottom: 0.5em; + margin-left: 0; + margin-right: 0; } .mwiki #filetoc li { - display: inline; - list-style-type: none; - padding-right: 2em; + display: inline; + list-style-type: none; + padding-right: 2em; } .mwiki input#wpSummary { - width: 80%; + width: 80%; } /* @bug 1714 */ -.mwiki input#wpSave, .mwiki input#wpDiff { - margin-right: 0.33em; +.mwiki input#wpSave, +.mwiki input#wpDiff { + margin-right: 0.33em; } .mwiki #wpSave { - font-weight: bold; + font-weight: bold; } /* Classes for article validation */ .mwiki table.revisionform_default { - border: 1px solid #000000; + border: 1px solid #000000; } .mwiki table.revisionform_focus { - border: 1px solid #000000; - background-color:#00BBFF; + border: 1px solid #000000; + background-color: #00bbff; } .mwiki tr.revision_tr_default { - background-color:#EEEEEE; + background-color: #eeeeee; } .mwiki tr.revision_tr_first { - background-color:#DDDDDD; + background-color: #dddddd; } .mwiki p.revision_saved { - color: green; - font-weight:bold; + color: green; + font-weight: bold; } .mwiki #mw_trackbacks { - border: solid 1px #bbbbff; - background-color: #eeeeff; - padding: 0.2em; + border: solid 1px #bbbbff; + background-color: #eeeeff; + padding: 0.2em; } - /* Allmessages table */ .mwiki #allmessagestable th { - background-color: #b2b2ff; + background-color: #b2b2ff; } .mwiki #allmessagestable tr.orig { - background-color: #ffe2e2; + background-color: #ffe2e2; } .mwiki #allmessagestable tr.new { - background-color: #e2ffe2; + background-color: #e2ffe2; } .mwiki #allmessagestable tr.def { - background-color: #f0f0ff; + background-color: #f0f0ff; } - /* noarticletext */ .mwiki div.noarticletext { - border: 1px solid #ccc; - background: #fff; - padding: .2em 1em; - color: #000; + border: 1px solid #ccc; + background: #fff; + padding: 0.2em 1em; + color: #000; } .mwiki div#searchTargetContainer { - left: 10px; - top: 10px; - width: 90%; - background: white; + left: 10px; + top: 10px; + width: 90%; + background: white; } .mwiki div#searchTarget { - padding: 3px; - margin: 5px; - background: #F0F0F0; - border: solid 1px blue; + padding: 3px; + margin: 5px; + background: #f0f0f0; + border: solid 1px blue; } .mwiki div#searchTarget ul li { - list-style: none; + list-style: none; } .mwiki div#searchTarget ul li:before { - color: orange; - content: "\00BB \0020"; + color: orange; + content: "\00BB \0020"; } .mwiki div#searchTargetHide { - float:right; - border:solid 1px black; - background:#DCDCDC; - padding:2px; + float: right; + border: solid 1px black; + background: #dcdcdc; + padding: 2px; } .mwiki #powersearch p { - margin-top:0px; + margin-top: 0px; } .mwiki div.multipageimagenavbox { - border: solid 1px silver; - padding: 4px; - margin: 1em; - background: #f0f0f0; + border: solid 1px silver; + padding: 4px; + margin: 1em; + background: #f0f0f0; } .mwiki div.multipageimagenavbox div.thumb { - border: none; - margin-left: 2em; - margin-right: 2em; + border: none; + margin-left: 2em; + margin-right: 2em; } .mwiki div.multipageimagenavbox hr { - margin: 6px; + margin: 6px; } .mwiki table.multipageimage td { - text-align: center; + text-align: center; } /** Special:Version */ -.mwiki table#sv-ext, table#sv-hooks, .mwiki table#sv-software { - margin: 1em; - padding:0em; +.mwiki table#sv-ext, +table#sv-hooks, +.mwiki table#sv-software { + margin: 1em; + padding: 0em; } -.mwiki #sv-ext td, .mwiki #sv-hooks td, .mwiki #sv-software td, -.mwiki #sv-ext th, .mwiki #sv-hooks th, .mwiki #sv-software th { - border: 1px solid #A0A0A0; - padding: 0 0.15em 0 0.15em; +.mwiki #sv-ext td, +.mwiki #sv-hooks td, +.mwiki #sv-software td, +.mwiki #sv-ext th, +.mwiki #sv-hooks th, +.mwiki #sv-software th { + border: 1px solid #a0a0a0; + padding: 0 0.15em 0 0.15em; } -.mwiki #sv-ext th, .mwiki #sv-hooks th, .mwiki #sv-software th { - background-color: #F0F0F0; - color: black; - padding: 0 0.15em 0 0.15em; +.mwiki #sv-ext th, +.mwiki #sv-hooks th, +.mwiki #sv-software th { + background-color: #f0f0f0; + color: black; + padding: 0 0.15em 0 0.15em; } -.mwiki tr.sv-space{ - height: 0.8em; - border:none; +.mwiki tr.sv-space { + height: 0.8em; + border: none; +} +.mwiki tr.sv-space td { + display: none; } -.mwiki tr.sv-space td { display: none; } /* Table pager (e.g. Special:Imagelist) @@ -2541,90 +2602,113 @@ in bg url to hide it from iemac */ - remove line wrapping for all td and th, set background color - restore line wrapping for the last two table cells (description and size) */ -.mwiki .TablePager { min-width: 80%; } -.mwiki .TablePager_nav a { text-decoration: none; } -.mwiki .TablePager { border-collapse: collapse; } -.mwiki .TablePager, .mwiki .TablePager td, .mwiki .TablePager th { - border: 1px solid #aaaaaa; - padding: 0 0.15em 0 0.15em; +.mwiki .TablePager { + min-width: 80%; +} +.mwiki .TablePager_nav a { + text-decoration: none; +} +.mwiki .TablePager { + border-collapse: collapse; +} +.mwiki .TablePager, +.mwiki .TablePager td, +.mwiki .TablePager th { + border: 1px solid #aaaaaa; + padding: 0 0.15em 0 0.15em; +} +.mwiki .TablePager th { + background-color: #eeeeff; +} +.mwiki .TablePager td { + background-color: #ffffff; +} +.mwiki .TablePager tr:hover td { + background-color: #eeeeff; } -.mwiki .TablePager th { background-color: #eeeeff } -.mwiki .TablePager td { background-color: #ffffff } -.mwiki .TablePager tr:hover td { background-color: #eeeeff } -.mwiki .imagelist td, .mwiki .imagelist th { white-space: nowrap } -.mwiki .imagelist .TablePager_col_links { background-color: #eeeeff } -.mwiki .imagelist .TablePager_col_img_description { white-space: normal } -.mwiki .imagelist th.TablePager_sort { background-color: #ccccff } +.mwiki .imagelist td, +.mwiki .imagelist th { + white-space: nowrap; +} +.mwiki .imagelist .TablePager_col_links { + background-color: #eeeeff; +} +.mwiki .imagelist .TablePager_col_img_description { + white-space: normal; +} +.mwiki .imagelist th.TablePager_sort { + background-color: #ccccff; +} -.mwiki .templatesUsed { margin-top: 1.5em; } +.mwiki .templatesUsed { + margin-top: 1.5em; +} .mwiki .mw-summary-preview { - margin: 0.1em 0; + margin: 0.1em 0; } /* Friendlier slave lag warnings */ .mwiki div.mw-lag-warn-normal, .mwiki div.mw-lag-warn-high { - padding: 3px; - text-align: center; - margin: 3px auto; + padding: 3px; + text-align: center; + margin: 3px auto; } .mwiki div.mw-lag-warn-normal { - border: 1px solid #FFCC66; - background-color: #FFFFCC; + border: 1px solid #ffcc66; + background-color: #ffffcc; } .mwiki div.mw-lag-warn-high { - font-weight: bold; - border: 2px solid #FF0033; - background-color: #FFCCCC; + font-weight: bold; + border: 2px solid #ff0033; + background-color: #ffcccc; } .mwiki .MediaTransformError { - background-color: #ccc; - padding: 0.1em; + background-color: #ccc; + padding: 0.1em; } .mwiki .MediaTransformError td { - text-align: center; - vertical-align: middle; - font-size: 90%; + text-align: center; + vertical-align: middle; + font-size: 90%; } /** Special:Search stuff */ .mwiki div#mw-search-interwiki-caption { - text-align: center; - font-weight: bold; - font-size: 95%; + text-align: center; + font-weight: bold; + font-size: 95%; } .mwiki .mw-search-interwiki-project { - font-size: 97%; - text-align: left; - padding-left: 0.2em; - padding-right: 0.15em; - padding-bottom: 0.2em; - padding-top: 0.15em; - background: #cae8ff; + font-size: 97%; + text-align: left; + padding-left: 0.2em; + padding-right: 0.15em; + padding-bottom: 0.2em; + padding-top: 0.15em; + background: #cae8ff; } /* God-damned hack for the crappy layout */ .mwiki .os-suggest { - font-size: 127%; + font-size: 127%; } - /**** Excerpts from http://en.wikipedia.org/wiki/MediaWiki:Common.css ******/ /* Since GoldenDict support is not Wikipedia-specific, we don't include all * of it, and besides, it's large and volatile anyway. */ /* It was also edited for the usually narrow article view */ - /* Make the list of references smaller */ .mwiki ol.references { - font-size: 100%; + font-size: 100%; } .mwiki .references-small { - font-size: 90%; + font-size: 90%; } /* VALIDATOR NOTICE: the following is correct, but the W3C validator doesn't accept it */ @@ -2632,355 +2716,374 @@ in bg url to hide it from iemac */ /* column-count is from the CSS3 module "CSS Multi-column Layout" */ /* Please ignore any validator errors caused by these two lines */ .mwiki .references-2column { - font-size: 90%; - -moz-column-count: 2; - -webkit-column-count: 2; - column-count: 2; + font-size: 90%; + -moz-column-count: 2; + -webkit-column-count: 2; + column-count: 2; } /* Highlight clicked reference in blue to help navigation */ .mwiki ol.references > li:target { - background-color: #DEF; + background-color: #def; } .mwiki sup.reference:target { - background-color: #DEF; + background-color: #def; } /* Styling for citations */ .mwiki cite { - font-style: normal; - word-wrap: break-word; + font-style: normal; + word-wrap: break-word; } /* If there is an inline link to a full citation, the full citation will turn blue when the inline link is clicked */ .mwiki cite:target { - background-color: #DEF; + background-color: #def; } /* wikitable/prettytable class for skinning normal tables */ .mwiki table.wikitable, .mwiki table.prettytable { - margin: 1em 1em 1em 0; - background: #f9f9f9; - border: 1px #aaa solid; - border-collapse: collapse; + margin: 1em 1em 1em 0; + background: #f9f9f9; + border: 1px #aaa solid; + border-collapse: collapse; } -.mwiki .wikitable th, .mwiki .wikitable td, -.mwiki .prettytable th, .mwiki .prettytable td { - border: 1px #aaa solid; - padding: 0.2em; +.mwiki .wikitable th, +.mwiki .wikitable td, +.mwiki .prettytable th, +.mwiki .prettytable td { + border: 1px #aaa solid; + padding: 0.2em; } .mwiki .wikitable th, .mwiki .prettytable th { - background: #f2f2f2; - text-align: center; + background: #f2f2f2; + text-align: center; } .mwiki .wikitable caption, .mwiki .prettytable caption { - font-weight: bold; + font-weight: bold; } /* default skin for navigation boxes */ -.mwiki table.navbox { /* navbox container style */ - border:1px solid #aaa; - width:100%; - margin:auto; - clear:both; - font-size:88%; - text-align:center; - padding:1px; +.mwiki table.navbox { + /* navbox container style */ + border: 1px solid #aaa; + width: 100%; + margin: auto; + clear: both; + font-size: 88%; + text-align: center; + padding: 1px; } .mwiki table.navbox + table.navbox { - margin-top:-1px; /* single pixel border between adjacent navboxes (doesn't work for IE6, but that's okay) */ + margin-top: -1px; /* single pixel border between adjacent navboxes (doesn't work for IE6, but that's okay) */ } -.mwiki .navbox-title, .mwiki .navbox-abovebelow, .mwiki table.navbox th { - text-align:center; /* title and above/below styles */ - padding-left:1em; - padding-right:1em; +.mwiki .navbox-title, +.mwiki .navbox-abovebelow, +.mwiki table.navbox th { + text-align: center; /* title and above/below styles */ + padding-left: 1em; + padding-right: 1em; } -.mwiki .navbox-group { /* group style */ - white-space:nowrap; - text-align:right; - font-weight:bold; - padding-left:1em; - padding-right:1em; +.mwiki .navbox-group { + /* group style */ + white-space: nowrap; + text-align: right; + font-weight: bold; + padding-left: 1em; + padding-right: 1em; } -.mwiki .navbox, .mwiki .navbox-subgroup { - background:#fdfdfd; /* Background color */ +.mwiki .navbox, +.mwiki .navbox-subgroup { + background: #fdfdfd; /* Background color */ } .mwiki .navbox-list { - border-color:#fdfdfd; /* Must match background color */ + border-color: #fdfdfd; /* Must match background color */ } -.mwiki .navbox-title, .mwiki table.navbox th { - background:#ccccff; /* Level 1 color */ +.mwiki .navbox-title, +.mwiki table.navbox th { + background: #ccccff; /* Level 1 color */ } -.mwiki .navbox-abovebelow, .mwiki .navbox-group, .mwiki .navbox-subgroup .navbox-title { - background:#ddddff; /* Level 2 color */ +.mwiki .navbox-abovebelow, +.mwiki .navbox-group, +.mwiki .navbox-subgroup .navbox-title { + background: #ddddff; /* Level 2 color */ } -.mwiki .navbox-subgroup .navbox-group, .mwiki .navbox-subgroup .navbox-abovebelow { - background:#e6e6ff; /* Level 3 color */ +.mwiki .navbox-subgroup .navbox-group, +.mwiki .navbox-subgroup .navbox-abovebelow { + background: #e6e6ff; /* Level 3 color */ } .mwiki .navbox-even { - background:#f7f7f7; /* Even row striping */ + background: #f7f7f7; /* Even row striping */ } .mwiki .navbox-odd { - background:transparent; /* Odd row striping */ + background: transparent; /* Odd row striping */ } -.mwiki .collapseButton { /* 'show'/'hide' buttons created dynamically by the */ - float: right; /* CollapsibleTables javascript in [[MediaWiki:Common.js]] */ - font-weight: normal; /* are styled here so they can be customised. */ - text-align: right; - width: auto; +.mwiki .collapseButton { + /* 'show'/'hide' buttons created dynamically by the */ + float: right; /* CollapsibleTables javascript in [[MediaWiki:Common.js]] */ + font-weight: normal; /* are styled here so they can be customised. */ + text-align: right; + width: auto; } -.mwiki .navbox .collapseButton { /* In navboxes, the show/hide button balances the vde links from */ - width: 6em; /* [[Template:Tnavbar]], so they need to be the same width. */ +.mwiki .navbox .collapseButton { + /* In navboxes, the show/hide button balances the vde links from */ + width: 6em; /* [[Template:Tnavbar]], so they need to be the same width. */ } - - /* Infobox template style */ .mwiki .infobox { - border: 1px solid #aaa; - background-color: #f9f9f9; - color: black; -/* margin: 0.5em 0 0.5em 1em;*/ - margin: 10px auto 0; - padding: 0.2em; -/* + border: 1px solid #aaa; + background-color: #f9f9f9; + color: black; + /* margin: 0.5em 0 0.5em 1em;*/ + margin: 10px auto 0; + padding: 0.2em; + /* float: right; clear: right;*/ } .mwiki .infobox td, .mwiki .infobox th { - vertical-align: top; + vertical-align: top; } .mwiki .infobox caption { - font-size: larger; + font-size: larger; } .mwiki .infobox.bordered { - border-collapse: collapse; + border-collapse: collapse; } .mwiki .infobox.bordered td, .mwiki .infobox.bordered th { - border: 1px solid #aaa; + border: 1px solid #aaa; } .mwiki .infobox.bordered .borderless td, .mwiki .infobox.bordered .borderless th { - border: 0; + border: 0; } .mwiki .infobox.sisterproject { - width: 20em; - font-size: 90%; + width: 20em; + font-size: 90%; } .mwiki .infobox.standard-talk { - border: 1px solid #c0c090; - background-color: #f8eaba; + border: 1px solid #c0c090; + background-color: #f8eaba; } .mwiki .infobox.standard-talk.bordered td, .mwiki .infobox.standard-talk.bordered th { - border: 1px solid #c0c090; + border: 1px solid #c0c090; } /* styles for bordered infobox with merged rows */ .mwiki .infobox.bordered .mergedtoprow td, .mwiki .infobox.bordered .mergedtoprow th { - border: 0; - border-top: 1px solid #aaa; - border-right: 1px solid #aaa; + border: 0; + border-top: 1px solid #aaa; + border-right: 1px solid #aaa; } .mwiki .infobox.bordered .mergedrow td, .mwiki .infobox.bordered .mergedrow th { - border: 0; - border-right: 1px solid #aaa; + border: 0; + border-right: 1px solid #aaa; } /* Styles for geography infoboxes, e.g. countries, country subdivisions, cities, etc. */ .mwiki .infobox.geography { - text-align: left; - border-collapse: collapse; - line-height: 1.2em; - font-size: 90%; + text-align: left; + border-collapse: collapse; + line-height: 1.2em; + font-size: 90%; } -.mwiki .infobox.geography td, -.mwiki .infobox.geography th { - border-top: solid 1px #aaa; - padding: 0.4em 0.6em 0.4em 0.6em; +.mwiki .infobox.geography td, +.mwiki .infobox.geography th { + border-top: solid 1px #aaa; + padding: 0.4em 0.6em 0.4em 0.6em; } .mwiki .infobox.geography .mergedtoprow td, .mwiki .infobox.geography .mergedtoprow th { - border-top: solid 1px #aaa; - padding: 0.4em 0.6em 0.2em 0.6em; + border-top: solid 1px #aaa; + padding: 0.4em 0.6em 0.2em 0.6em; } .mwiki .infobox.geography .mergedrow td, .mwiki .infobox.geography .mergedrow th { - border: 0; - padding: 0 0.6em 0.2em 0.6em; + border: 0; + padding: 0 0.6em 0.2em 0.6em; } .mwiki .infobox.geography .mergedbottomrow td, .mwiki .infobox.geography .mergedbottomrow th { - border-top: 0; - border-bottom: solid 1px #aaa; - padding: 0 0.6em 0.4em 0.6em; + border-top: 0; + border-bottom: solid 1px #aaa; + padding: 0 0.6em 0.4em 0.6em; } .mwiki .infobox.geography .maptable td, .mwiki .infobox.geography .maptable th { - border: 0; - padding: 0; + border: 0; + padding: 0; } /* Style for "notices" */ .mwiki .notice { - margin: 1em; - padding: 0.2em; + margin: 1em; + padding: 0.2em; } .mwiki #disambig { - border-top: 1px solid #ccc; - border-bottom: 1px solid #ccc; + border-top: 1px solid #ccc; + border-bottom: 1px solid #ccc; } .mwiki .rellink, .mwiki .dablink { - font-style: italic; - padding-left: 2em; + font-style: italic; + padding-left: 2em; } .mwiki .rellink i, .mwiki .dablink i { - font-style: normal; + font-style: normal; } /* Article message box styles */ -.mwiki table.ambox { /* 10% = Will not overlap with other elements */ - margin: -1px 10% 0px; /* -1px = Single border between stacked boxes in all browsers */ - border: 1px solid #aaa; - border-left: 10px solid #1e90ff; /* Default "notice" blue */ - background: #fbfbfb; +.mwiki table.ambox { + /* 10% = Will not overlap with other elements */ + margin: -1px 10% 0px; /* -1px = Single border between stacked boxes in all browsers */ + border: 1px solid #aaa; + border-left: 10px solid #1e90ff; /* Default "notice" blue */ + background: #fbfbfb; } .mwiki .ambox th.mbox-text, -.mwiki .ambox td.mbox-text { /* The message body cell(s) */ - padding: 0.25em 0.5em; /* 0.5em left/right */ +.mwiki .ambox td.mbox-text { + /* The message body cell(s) */ + padding: 0.25em 0.5em; /* 0.5em left/right */ } -.mwiki .ambox td.mbox-image { /* The left image cell */ - padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */ +.mwiki .ambox td.mbox-image { + /* The left image cell */ + padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */ } -.mwiki .ambox td.mbox-imageright { /* The right image cell */ - padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */ +.mwiki .ambox td.mbox-imageright { + /* The right image cell */ + padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */ } /* Standard Navigationsleisten, aka box hiding thingy from .de. Documentation at [[Wikipedia:NavFrame]]. */ .mwiki div.NavFrame { - margin: 0; - padding: 4px; - border: 1px solid #aaa; - text-align: center; - border-collapse: collapse; - font-size: 95%; + margin: 0; + padding: 4px; + border: 1px solid #aaa; + text-align: center; + border-collapse: collapse; + font-size: 95%; } .mwiki div.NavFrame + div.NavFrame { - border-top-style: none; - border-top-style: hidden; + border-top-style: none; + border-top-style: hidden; } .mwiki div.NavPic { - background-color: #fff; - margin: 0; - padding: 2px; - float: left; + background-color: #fff; + margin: 0; + padding: 2px; + float: left; } .mwiki div.NavFrame div.NavHead { - height: 1.6em; - font-weight: bold; - background-color: #ccf; - position:relative; + height: 1.6em; + font-weight: bold; + background-color: #ccf; + position: relative; } .mwiki div.NavFrame p { - font-size: 100%; + font-size: 100%; } .mwiki div.NavFrame div.NavContent { - font-size: 100%; + font-size: 100%; } .mwiki div.NavFrame div.NavContent p { - font-size: 100%; + font-size: 100%; } .mwiki div.NavEnd { - margin: 0; - padding: 0; - line-height: 1px; - clear: both; + margin: 0; + padding: 0; + line-height: 1px; + clear: both; } .mwiki a.NavToggle { - position: absolute; - top: 0; - right: 3px; - font-weight: normal; - font-size: 90%; + position: absolute; + top: 0; + right: 3px; + font-weight: normal; + font-size: 90%; } - /****** Wiktionary-specific excerpts *********/ .mwiki .audiolink a { - background: url("https://upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Loudspeaker.svg/16px-Loudspeaker.svg.png") center left no-repeat !important; - padding-left: 20px !important; - padding-right: 0 !important; + background: url("https://upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Loudspeaker.svg/16px-Loudspeaker.svg.png") + center left no-repeat !important; + padding-left: 20px !important; + padding-right: 0 !important; } /* default setting for [[:Category:Inflection templates]] */ -.mwiki .infl-inline { display: inline } -.mwiki .infl-table { display: none } +.mwiki .infl-inline { + display: inline; +} +.mwiki .infl-table { + display: none; +} /****default hide dict icon ***/ -.gddicticon{display:none;} +.gddicticon { + display: none; +} .gdexpandicon { - cursor:pointer; - width:16px; - height:16px; - vertical-align: text-bottom; - background-size: contain; - content:url('qrc://localhost/icons/arrow.png'); + cursor: pointer; + width: 16px; + height: 16px; + vertical-align: text-bottom; + background-size: contain; + content: url("qrc://localhost/icons/arrow.png"); } .gdcollapseicon { - cursor:pointer; - width:16px; - height:16px; - vertical-align: text-bottom; - background-size: contain; - content:url('qrc://localhost/icons/downarrow.png'); + cursor: pointer; + width: 16px; + height: 16px; + vertical-align: text-bottom; + background-size: contain; + content: url("qrc://localhost/icons/downarrow.png"); } /********** Slob dictionaries ***********/ -.slobdict_headword{ - display:none; +.slobdict_headword { + display: none; } .slobdict img.imgtex { - vertical-align: baseline !important; + vertical-align: baseline !important; } /************* GLS dictionaries **************/ -.glsdict_headwords -{ +.glsdict_headwords { font-weight: bold; margin-top: 15px; margin-bottom: 10px; font-size: 116%; } -.gls_wav img -{ +.gls_wav img { /* Ugly hack since "vertical-align: middle;" looks _terrible_ in Qt4's webkit: */ vertical-align: -30%; } diff --git a/src/stylesheets/qt-classic.css b/src/stylesheets/qt-classic.css index 1d09be6c..6aeeb106 100644 --- a/src/stylesheets/qt-classic.css +++ b/src/stylesheets/qt-classic.css @@ -14,14 +14,13 @@ } QTabBar::close-button { - image: url(:/icons/closetab.svg) + image: url(:/icons/closetab.svg); } QTabBar::close-button:hover { - image: url(:/icons/closetab-hover.png) + image: url(:/icons/closetab-hover.png); } -MainStatusBar #text -{ +MainStatusBar #text { border-top-right-radius: 3px; border-top: 1px solid palette(dark); border-right: 1px solid palette(dark); @@ -29,8 +28,7 @@ MainStatusBar #text padding: 2px; } -MainStatusBar #icon -{ +MainStatusBar #icon { border-top: 1px solid palette(dark); background: palette(window); padding: 2px; @@ -38,8 +36,7 @@ MainStatusBar #icon padding-right: 0px; } -ScanPopup #translateLine -{ +ScanPopup #translateLine { margin: 0px; padding: 1px 3px 1px 3px; border: 1px solid gray; @@ -48,8 +45,7 @@ ScanPopup #translateLine border-bottom-left-radius: 0px; } -ScanPopup GroupComboBox -{ +ScanPopup GroupComboBox { margin: 0px 0px 0px 1px; padding: 1px 4px 1px 4px; border: 1px solid gray; @@ -64,35 +60,31 @@ ScanPopup GroupComboBox:on { } ScanPopup GroupComboBox::drop-down { - subcontrol-origin: padding; - subcontrol-position: top right; - width: 15px; - border-left: 1px solid darkgray; - border-right: 1px transparent; + subcontrol-origin: padding; + subcontrol-position: top right; + width: 15px; + border-left: 1px solid darkgray; + border-right: 1px transparent; } ScanPopup GroupComboBox::down-arrow { - image: url(:/icons/1downarrow.svg); + image: url(:/icons/1downarrow.svg); max-height: 100%; } -.ScanPopup #outerFrame -{ +.ScanPopup #outerFrame { border: 1px solid palette(dark); } -.ScanPopup MainStatusBar #text -{ +.ScanPopup MainStatusBar #text { border-bottom: 1px solid palette(dark); } -.ScanPopup MainStatusBar[hasImage="false"] #text -{ +.ScanPopup MainStatusBar[hasImage="false"] #text { border-left: 1px solid palette(dark); } -.ScanPopup MainStatusBar #icon -{ +.ScanPopup MainStatusBar #icon { border-left: 1px solid palette(dark); border-bottom: 1px solid palette(dark); } diff --git a/src/stylesheets/qt-lingoes-blue.css b/src/stylesheets/qt-lingoes-blue.css index f22cfdea..39a2e2c8 100644 --- a/src/stylesheets/qt-lingoes-blue.css +++ b/src/stylesheets/qt-lingoes-blue.css @@ -1,5 +1,5 @@ MainWindow { - background-color: #CFDDF0; + background-color: #cfddf0; } #wordList, @@ -9,71 +9,81 @@ MainWindow { #historyList, #favoritesPane, #favoritesTree { - background: #EAF0F8; - color: darkblue; + background: #eaf0f8; + color: darkblue; } MainWindow #menubar { - background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, - stop:0 #F0F6FF, stop:0.5 #D2E0F5, stop:0.9 #DCEBFF, stop:1 #F0F6FF); + background-color: qlineargradient( + x1: 0, + y1: 0, + x2: 0, + y2: 1, + stop: 0 #f0f6ff, + stop: 0.5 #d2e0f5, + stop: 0.9 #dcebff, + stop: 1 #f0f6ff + ); } MainWindow #menubar::item { - padding: 2px 8px; - background: transparent; + padding: 2px 8px; + background: transparent; } -MainWindow #menubar::item:selected { /* when selected using mouse or keyboard */ - background: #839EC7; +MainWindow #menubar::item:selected { + /* when selected using mouse or keyboard */ + background: #839ec7; } MainWindow #menubar::item:pressed { - background: #728AAD; + background: #728aad; } MainWindow #centralWidget QTabBar::tab { - border: 1px solid #667B9B; - border-bottom-color: #667B9B; - border-top-left-radius: 4px; - border-top-right-radius: 4px; - padding: 1px 3px; - margin-left: 1px; - margin-top: 2px; - margin-bottom: 2px; - background-color: #CFDDF0; - color: darkslategray; + border: 1px solid #667b9b; + border-bottom-color: #667b9b; + border-top-left-radius: 4px; + border-top-right-radius: 4px; + padding: 1px 3px; + margin-left: 1px; + margin-top: 2px; + margin-bottom: 2px; + background-color: #cfddf0; + color: darkslategray; } MainWindow #centralWidget QTabBar::tab:selected { - background-color: #839EC7; - color: #fff; - border-bottom-style: none; + background-color: #839ec7; + color: #fff; + border-bottom-style: none; } - -ArticleView #searchFrame QMenu {background-color: none} -ArticleView QMenu {background-color: none} +ArticleView #searchFrame QMenu { + background-color: none; +} +ArticleView QMenu { + background-color: none; +} QMainWindow::separator { - width: 1px; /* when vertical */ - height: 1px; /* when horizontal */ -} + width: 1px; /* when vertical */ + height: 1px; /* when horizontal */ +} #dictsPaneTitleBar { margin: 2px; -} +} /* Colored header for the History Pane */ #historyPaneTitleBar { margin: 2px; -} - -ScanPopup #outerFrame -{ - background-color: #CEDDEF; } -ScanPopup #dictionaryBar -{ - background: #CEDDEF; +ScanPopup #outerFrame { + background-color: #ceddef; +} + +ScanPopup #dictionaryBar { + background: #ceddef; } diff --git a/src/stylesheets/qt-modern.css b/src/stylesheets/qt-modern.css index 04a3b82c..8e5355a2 100644 --- a/src/stylesheets/qt-modern.css +++ b/src/stylesheets/qt-modern.css @@ -4,21 +4,34 @@ } /* Another way to hide specific separators */ -#navToolbar #beforeOptionsSeparator, #navToolbar #beforeScanPopupSeparator, #navToolbar #afterScanPopupSeparator, #navToolbar #separatorBeforeZoom, #navToolbar #separatorBeforeSave { - background: rgba(0,0,0,0%); +#navToolbar #beforeOptionsSeparator, +#navToolbar #beforeScanPopupSeparator, +#navToolbar #afterScanPopupSeparator, +#navToolbar #separatorBeforeZoom, +#navToolbar #separatorBeforeSave { + background: rgba(0, 0, 0, 0%); width: 0px; margin: -3px; } /* Hide various buttons in the toolbar: */ -#navToolbar #menuButtonXX, #navToolbar #soundButtonXX, #navToolbar #backButtonXX, #navToolbar #forwardButtonXX, #navToolbar #zoomInButtonXX, #navToolbar #zoomOutButtonXX, #navToolbar #zoomBaseButtonXX, #navToolbar #saveArticleButton, #navToolbar #printButton { - width: 0px; - height: 0px; - margin: -3px; +#navToolbar #menuButtonXX, +#navToolbar #soundButtonXX, +#navToolbar #backButtonXX, +#navToolbar #forwardButtonXX, +#navToolbar #zoomInButtonXX, +#navToolbar #zoomOutButtonXX, +#navToolbar #zoomBaseButtonXX, +#navToolbar #saveArticleButton, +#navToolbar #printButton { + width: 0px; + height: 0px; + margin: -3px; } /* remove the main toolbar handle */ -#navToolbar::handle, #dictionaryBar::handle { +#navToolbar::handle, +#dictionaryBar::handle { image: none; } @@ -38,8 +51,8 @@ /* Thin separators between the main UI and sidebars */ QMainWindow::separator { - width: 1px; /* when vertical */ - height: 1px; /* when horizontal */ + width: 1px; /* when vertical */ + height: 1px; /* when horizontal */ } ScanPopup #goBackButtonAA, @@ -49,8 +62,7 @@ ScanPopup #wordListButtonXX, ScanPopup #pronounceButtonAA, ScanPopup #sendWordButtonXX /* ScanPopup #showDictionaryBar, */ -/* ScanPopup #pinButton */ -{ +/* ScanPopup #pinButton */ { width: 0px; height: 0px; margin: -4px; diff --git a/src/stylesheets/qt-style-win.css b/src/stylesheets/qt-style-win.css index a1acc05a..57354329 100644 --- a/src/stylesheets/qt-style-win.css +++ b/src/stylesheets/qt-style-win.css @@ -1,6 +1,6 @@ QTabBar::close-button { - image: url(:/icons/closetab.svg) + image: url(:/icons/closetab.svg); } QTabBar::close-button:hover { - image: url(:/icons/closetab-hover.png) -} \ No newline at end of file + image: url(:/icons/closetab-hover.png); +}