User:Mzajac/monobook.css
Note: You may have to bypass your browser’s cache to see the changes. In addition, after saving a sitewide CSS file such as MediaWiki:Common.css, it will take 5-10 minutes before the changes take effect, even if you clear your cache.
- Mozilla / Firefox / Safari: hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (Command-R on a Macintosh);
- Konqueror and Chrome: click Reload or press F5;
- Opera: clear the cache in Tools → Preferences;
- Internet Explorer: hold Ctrl while clicking Refresh, or press Ctrl-F5.
- This stylesheet lacks a documentation subpage. You may create it.
- Useful links: root page • root page’s subpages • links • redirects • your own
This CSS is applied for Mzajac to every page, when User:Mzajac is using the Monobook skin.
/*
Raw style sheet shows up at
http://en.wiktionary.org/w/index.php?title=User:Mzajac/monobook.css&action=raw&ctype=text/css
*/
/* ---------- Unicode mono with obliques ---------- */
code.mz-code {
font-family: dejavu sans mono, courier new, monospace;
background: white;
}
code.mz-code a {
font-weight: bold;
}
code.mz-code b {
font-weight: bold;
color: green;
}
code.mz-code i {
font-style: italic;
color: gray;
}
/* ---------- right-floated elements ---------- */
.ns-0 table#toc {
/* copied from [[WT:PREFS]] code */
float: right;
clear: right;
margin-left: 7px;
margin-bottom: 6px;
display: inline;
/* match width and margins image box */
-moz-box-sizing: content-box; /* dunno why this is necessary for Firefox */
width: 248px;
padding: 5px;
margin-top: 6px;
margin-right: 0;
margin-bottom: 16px;
margin-left: 23px;
}
table#toc td {
width: 100%;
}
table#toc #toctitle {
text-align: left;
}
/* match sister projects boxes to image box */
.ns-0 div.sister-project.floatright {
width: 252px;
padding: 3px !important; /* override inline style */
margin: 6px 0 16px 23px;
}
/* match image box border to TOC, sister-project boxes */
.ns-0 div.thumbinner {
border-color: #aaa;
}
/* disambig in the right column */
div.disambig-see-also,
div.disambig-see-also-2 {
width: 252px;
padding: 3px;
border-bottom: 1px solid #aaa;
margin: 6px 0 16px 23px;
clear: right;
float: right;
text-indent: 0;
}
div.disambig-see-also i,
div.disambig-see-also-2 i {
font-style: normal;
}
/* ---------- reset annoying ---------- */
span.IPA {
font-family: inherit;
font-size: inherit;
}
#editpage-copywarn,
.mw-tos-summary,
.mw-editTools {
display: none;
}
/* ---------- page redesign ---------- */
/*--- reset styles --- */
h1, h2, h3, h4, h5, h6 {
font-size: small;
font-weight: normal;
line-height: normal;
padding: 0;
border-bottom: 0 none transparent;
}
.infl-table {
}
.infl-inline {
}
.infl-inline b {
}
.infl-inline i {
}
/* --- new styles --- */
/* headings */
h1 { /* entry title */
font-family: georgia, serif;
font-size: x-large;
margin-top: .5em;
}
h2 { /* language */
font-size: large;
border-bottom: 1px solid #ccc;
margin-top: 1em;
}
h3 { /* Alternative spellings, Etymology, Pronounciation, POS, References, See also */
font-size: larger;
margin-top: 1em;
}
p a#Noun + h3,
p a#Verb + h3,
p a#Adjective + h3,
p a#Adverb + h3,
p a#Pronoun + h3,
p a#Conjunction + h3,
p a#Interjection + h3,
p a#Preposition + h3,
p a#Proper_noun + h3,
p a#Article + h3,
p a#Acronym + h3,
p a#Abbreviation + h3,
p a#Initialism + h3,
p a#Contraction + h3,
p a#Prefix + h3,
p a#Suffix + h3,
p a#Symbol + h3,
p a#Letter + h3,
p a#Idiom + h3,
p a#Phrase + h3,
p a#Number + h3,
p a#Numeral + h3,
p a#Cardinal_number + h3,
p a#Ordinal_number + h3,
p a#Cardinal_numeral + h3,
p a#Ordinal_numeral + h3,
p a#Personal_pronoun + h3,
p a#Adjective_or_adverb + h3,
p a#Proper_adjective + h3,
p a#Determiner + h3,
p a#Demonstrative_determiner + h3,
p a#Clitic + h3,
p a#Infix + h3,
p a#Counter + h3,
p a#Kanji + h3,
p a#Kanji_reading + h3,
p a#Hiragana_letter + h3,
p a#Katakana_letter + h3,
p a#Pinyin + h3,
p a#Han_character + h3,
p a#Hanzi + h3,
p a#Hanja + h3,
p a#Proverb + h3,
p a#Expression + h3,
p a#Adjectival_noun + h3,
p a#Quasi-adjective + h3,
p a#Particle + h3,
p a#Infinitive_particle + h3,
p a#Possessive_adjective + h3,
p a#Verbal_prefix + h3,
p a#Postposition + h3,
p a#Prepositional_article + h3,
p a#Phrasal_verb + h3,
p a#Participle + h3,
p a#Interrogative_auxiliary_verb + h3,
p a#Pronominal_adverb + h3,
p a#Adnominal + h3,
p a#Abstract_pronoun + h3,
p a#Conjunction_particle + h3,
p a#Combining_form + h3,
p a#Root + h3,
p a#Noun_form + h3,
p a#Verb_form + h3,
p a#Adjective_form + h3,
p a#Nominal_phrase + h3,
p a#Noun_phrase + h3,
p a#Verb_phrase + h3,
p a#Transitive_verb + h3,
p a#Intransitive_verb + h3,
p a#Reflexive_verb + h3,
p a#Cmavo + h3,
p a#Romaji + h3,
p a#Hiragana + h3,
p a#Furigana + h3,
p a#Compounds + h3
{ /* POS, from [[Wiktionary:Entry_layout_explained/POS_headers]] */
font-size: small;
font-style: italic;
font-family: georgia, serif;
}
h4 { /* subheading */
font-weight: bold;
margin-top: 1em;
}
h5,
h6 { /* */
font-weight: bold;
margin-top: 1em;
}
/* nested ordered lists */
ol {
margin-left: 1.6em;
list-style-type: decimal;
}
ol ol {
list-style-type: lower-alpha;
}
ol ol ol {
list-style-type: lower-roman;
}
ol ol ol ol {
list-style-type: decimal;
}
ol::marker {
font-weight: bold;
}
/* keep superscripts and subscripts from breaking the line-spacing
details at [[w:user:Mzajac/monobook.css/Superscript fix]]
*/
#bodyContent sup {
font-size: smaller;
vertical-align: baseline;
position: relative;
bottom: 0.33em;
}
#bodyContent sub {
font-size: smaller;
vertical-align: baseline;
position: relative;
bottom: -0.25em;
}
/* override ugly site font for Cyrillic */
.Cyrl {
font-family: sans-serif !important;
}
/* [[Wiktionary:Grease_pit#Jumpy_page_anchors]] */
#siteNotice { display:none; }