MediaWiki:Common.css: differenze tra le versioni
Nessun oggetto della modifica |
Nessun oggetto della modifica |
||
| Riga 1: | Riga 1: | ||
/* Gli stili CSS inseriti qui si applicano a tutti i temi */ | |||
/* | /* | ||
This is the CSS for all skins (for all users) on MediaWiki.org. | This is the CSS for all skins (for all users) on MediaWiki.org. | ||
| Riga 17: | Riga 19: | ||
*/ | */ | ||
/* #content | /* Pseudo NS Special (light grey) */ | ||
.action-view.ns--2 #content { background-color: #f4f4f4; } | |||
.action-view.ns--2 div.thumb { border-color: #f4f4f4; } | |||
/* NS Project + Project_talk (light sky blue) */ | |||
.action-view.ns-4 #content, | |||
.action-view.ns-5 #content { background-color: #f8fcff; } | |||
.action-view.ns-4 div.thumb, | |||
.action-view.ns-5 div.thumb { border-color: #f8fcff; } | |||
/* NS MediaWiki + MediaWiki_talk (light grey) */ | |||
.action-view.ns-8 #content, | |||
.action-view.ns-9 #content { background-color: #f4f4f4; } | |||
.action-view.ns-8 div.thumb, | |||
.action-view.ns-9 div.thumb { border-color: #f4f4f4; } | |||
/* NS Manual + Manual_talk (light bluish violet) */ | |||
.action-view.ns-100 #content, | |||
.action-view.ns-101 #content { background-color: #f3f3ff; } | |||
.action-view.ns-100 div.thumb, | |||
.action-view.ns-101 div.thumb { border-color: #f3f3ff; } | |||
/* NS Help (Public Domain icon) */ | /* NS Help (but NOT Help_talk) (Public Domain icon) */ | ||
.action-view.ns-12 #bodyContent { | .action-view.ns-12 #bodyContent { | ||
background-image: url(//upload.wikimedia.org/wikipedia/mediawiki/6/67/PD-icon-faded.png); | background-image: url(//upload.wikimedia.org/wikipedia/mediawiki/6/67/PD-icon-faded.png); | ||
| Riga 33: | Riga 55: | ||
/* Border colors */ | /* Border colors */ | ||
.borderc1 { border-color: #e9e9e9; border-width: thin; } | .borderc1 { border-color: #e9e9e9; border-width: thin; } | ||
.borderc2 { border-color: # | .borderc2 { border-color: #aaaaaa; border-width: thin; } | ||
.borderc3 { border-color: # | .borderc3 { border-color: #777777; border-width: thin; } | ||
.borderc4 { border-color: #000000; border-width: thin; } | .borderc4 { border-color: #000000; border-width: thin; } | ||
.borderc5 { border-color: #c00000; border-width: thin; } | .borderc5 { border-color: #c00000; border-width: thin; } | ||
.borderc6 { border-color: #025e9d; border-width: thin; } | .borderc6 { border-color: #025e9d; border-width: thin; } | ||
.borderc7 { border-color: #008040; border-width: thin; } | .borderc7 { border-color: #008040; border-width: thin; } | ||
.borderc8 { border-color: # | .borderc8 { border-color: #ffcc00; border-width: thin; } /* Used by [[Template:Welcome]]. */ | ||
/* Background colors */ | /* Background colors */ | ||
.backgroundc1 { background-color: #ffffff; } /* Used by [[Template:Welcome]]. */ | .backgroundc1 { background-color: #ffffff; } /* Used by [[Template:Welcome]]. */ | ||
.backgroundc2 { background-color: # | .backgroundc2 { background-color: #f9f9f9; } | ||
.backgroundc3 { background-color: # | .backgroundc3 { background-color: #eeeeee; } | ||
.backgroundc4 { background-color: #e0e0e0; } | .backgroundc4 { background-color: #e0e0e0; } | ||
.backgroundc5 { background-color: #d2d2d2; } | .backgroundc5 { background-color: #d2d2d2; } | ||
| Riga 58: | Riga 80: | ||
/* Consistent special page navigation */ | /* Consistent special page navigation */ | ||
.SpecialPageInfo { | .SpecialPageInfo { | ||
background-color: # | background-color: #f9f9f9; | ||
background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/8/89/Exquisite-khelpcenter.png/35px-Exquisite-khelpcenter.png); | background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/8/89/Exquisite-khelpcenter.png/35px-Exquisite-khelpcenter.png); | ||
background-position: 0.8em 0.5em; | background-position: 0.8em 0.5em; | ||
| Riga 72: | Riga 94: | ||
.mw-viewprevnext { | .mw-viewprevnext { | ||
display: block; | display: block; | ||
border: 1px solid # | border: 1px solid #cccccc; | ||
background-color: #f9f9f2; | background-color: #f9f9f2; | ||
padding: 0.2em 0.4em; | padding: 0.2em 0.4em; | ||
} | |||
/** | |||
* 4. MAIN PAGE STYLING | |||
* ------------------------------------------------- | |||
*/ | |||
#mainpage_topbox { | |||
background: #f9f9f9; | |||
padding: 0; | |||
border: 1px solid #aaaaaa; | |||
margin: 0.2em 10px 10px; | |||
} | |||
.mainpage_boxtitle, | |||
.mainpage_hubtitle, | |||
#mainpage_pagetitle { | |||
font-size: 105%; | |||
padding: 0.4em; | |||
background-color: #eeeeee; | |||
} | |||
.mainpage_boxtitle { | |||
line-height: 120%; | |||
} | |||
#mainpage_pagetitle { | |||
color: #000000; | |||
font-size: 200% !important; | |||
} | |||
#mainpage_sitelinks { | |||
padding: 0.2em; | |||
text-align: center; | |||
background-color: white; | |||
} | |||
.mainpage_hubtitle { | |||
text-align: center; | |||
} | |||
.mainpage_boxcontents, | |||
.mainpage_boxcontents_small { | |||
background: #ffffff; | |||
padding: 0.2em 0.4em; | |||
} | |||
.mainpage_boxcontents_small { | |||
font-size: 95%; | |||
} | |||
.mainpage_boxcontents_title { | |||
display: block; | |||
border-bottom: 1px solid #AAA; | |||
margin-bottom: 0.5em; | |||
text-align: center; | |||
font-weight: bold; | |||
font-size: larger; | |||
} | |||
.mainpage_hubbox { | |||
width: 33%; | |||
} | |||
.mainpage_hubbox, | |||
#mainpage_newscell, | |||
#mainpage_downloadcell, | |||
#mainpage_opportunitiescell, | |||
#mainpage_featuredpagescell { | |||
padding: 0; | |||
border: 1px solid #aaaaaa; | |||
} | |||
#mainpage_newscell { | |||
margin-bottom: 15px; | |||
margin-top: 0 !important; | |||
} | |||
#mainpage_newscell .mainpage_boxtitle { | |||
background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/8/89/Exquisite-khelpcenter.png/20px-Exquisite-khelpcenter.png); | |||
background-repeat: no-repeat; | |||
background-position: 99% 0.3em; | |||
padding-right: 25px; | |||
} | |||
#mainpage_downloadcell { | |||
width: 17em; | |||
margin-bottom: 5px; | |||
} | |||
#mainpage_downloadcell .mainpage_boxtitle { | |||
background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/5/5d/Crystal_Clear_action_build.png/18px-Crystal_Clear_action_build.png); | |||
background-repeat: no-repeat; | |||
background-position: 96% 0.33em; | |||
padding-right: 25px; | |||
} | |||
#mainpage_opportunitiescell { | |||
max-width: 25em; | |||
margin-bottom: 15px; | |||
margin-top: 0 !important; | |||
} | |||
#mainpage_opportunitiescell .mainpage_boxtitle { | |||
background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/6/63/User-online.svg/20px-User-online.svg.png); | |||
background-repeat: no-repeat; | |||
background-position: 98% 0.15em; | |||
padding-right: 25px; | |||
} | |||
#mainpage_featuredpagescell { | |||
max-width: 25em; | |||
margin-bottom: 15px; | |||
margin-top: 0 !important; | |||
} | |||
#mainpage_featuredpagescell .mainpage_boxtitle { | |||
background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/0/0f/Note_icon.svg/20px-Note_icon.svg.png); | |||
background-repeat: no-repeat; | |||
background-position: 98% 0.15em; | |||
padding-right: 25px; | |||
} | |||
/* The words 'MediaWiki.org' in the title. */ | |||
#mainpage_mwtitle { | |||
color: #005288; | |||
} | } | ||
| Riga 149: | Riga 278: | ||
/* Major warning - used on the main page template to warn against editing carelessly, but can be used elsewhere as well */ | /* Major warning - used on the main page template to warn against editing carelessly, but can be used elsewhere as well */ | ||
.majorwarning { | .majorwarning { | ||
background: | background: yellow; | ||
padding: 0.3em; | padding: 0.3em; | ||
text-align: center; | text-align: center; | ||
font-size: 125%; | font-size: 125%; | ||
border: | border: 2px solid red; | ||
} | } | ||
| Riga 171: | Riga 300: | ||
/* Informative notices at the top of pages (blue) */ | /* Informative notices at the top of pages (blue) */ | ||
.page-notice { | .page-notice { | ||
background-color: # | background-color: #f9f9f9; | ||
border-color: #025e9d; | border-color: #025e9d; | ||
text-align: left; | text-align: left; | ||
| Riga 215: | Riga 344: | ||
/* [[Template:Extension]], [[Template:Skin]] */ | /* [[Template:Extension]], [[Template:Skin]] */ | ||
.tpl-infobox { | .tpl-infobox { | ||
border: 2px solid # | border: 2px solid #aaaaaa; | ||
width: 280px; | width: 280px; | ||
/* @noflip */ clear: right; | /* @noflip */ clear: right; | ||
| Riga 224: | Riga 353: | ||
} | } | ||
.tpl-infobox td { | .tpl-infobox td { | ||
border: 2px none # | border: 2px none #aaaaaa; | ||
padding: 0.2em 0.5em; | padding: 0.2em 0.5em; | ||
border-bottom: 1px solid #f0f0f0 !important; | border-bottom: 1px solid #f0f0f0 !important; | ||
} | } | ||
.tpl-infobox-header { | .tpl-infobox-header { | ||
background-color: # | background-color: #aaaaaa; | ||
color: white; | color: white; | ||
text-align: left; | text-align: left; | ||
| Riga 241: | Riga 370: | ||
.ext-status-unstable, | .ext-status-unstable, | ||
.ext-status-unstable td { | .ext-status-unstable td { | ||
border-color: # | border-color: #990000; | ||
} | } | ||
.ext-status-unstable .ext-infobox-header { | .ext-status-unstable .ext-infobox-header { | ||
background-color: # | background-color: #990000; | ||
color: # | color: #ffff00; | ||
} | } | ||
.ext-status-experimental, | .ext-status-experimental, | ||
| Riga 259: | Riga 385: | ||
.ext-status-beta, | .ext-status-beta, | ||
.ext-status-beta td { | .ext-status-beta td { | ||
border-color: # | border-color: #ffba01; | ||
} | } | ||
.ext-status-beta .ext-infobox-header { | .ext-status-beta .ext-infobox-header { | ||
background-color: #ffba01; | |||
background-color: # | |||
} | } | ||
.ext-status-stable, | .ext-status-stable, | ||
.ext-status-stable td { | .ext-status-stable td { | ||
border-color: # | border-color: #32cd32; | ||
} | } | ||
.ext-status-stable .ext-infobox-header { | .ext-status-stable .ext-infobox-header { | ||
background-color: # | background-color: #32cd32; | ||
} | } | ||
.ext-status-unmaintained, | .ext-status-unmaintained, | ||
.ext-status-unmaintained td { | .ext-status-unmaintained td { | ||
border-color: # | border-color: #8b4513; | ||
} | } | ||
.ext-status-unmaintained .ext-infobox-header { | .ext-status-unmaintained .ext-infobox-header { | ||
background-color: # | background-color: #8b4513; | ||
} | } | ||
.ext-status-magic, | .ext-status-magic, | ||
| Riga 317: | Riga 435: | ||
color: #555; | color: #555; | ||
border-bottom: 1px solid #ccc; | border-bottom: 1px solid #ccc; | ||
} | |||
/* [[Template:Note]] */ | |||
.tip, | |||
.note { | |||
padding: 0.5em; | |||
margin: 0.5em 0; | |||
overflow: hidden; | |||
background-color: #F9F9F9; | |||
background-position: 4px 2px; | |||
background-repeat: no-repeat; | |||
border: 1px solid #DDD; | |||
} | |||
.tip-info, | |||
.note-info { | |||
background-color: #F0F0E7; | |||
background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/f/f8/Appunti_architetto_franc_01.svg/22px-Appunti_architetto_franc_01.svg.png); | |||
border-color: #cc9933; | |||
/* @noflip */ padding-left: 30px; | |||
min-height: 28px; | |||
} | |||
.tip-reminder, | |||
.note-reminder { | |||
background-color: #F6FDEA; | |||
background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/6/60/Bulbgraph.png/23px-Bulbgraph.png); | |||
border-color: #D6E434; | |||
padding-left: 31px; | |||
min-height: 28px; | |||
} | |||
.tip-error, | |||
.note-error { | |||
background-color: #F0E7E7; | |||
background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/5/51/Attention_niels_epting.svg/24px-Attention_niels_epting.svg.png); | |||
border-color: #cc3333; | |||
padding-left: 32px; | |||
min-height: 25px; | |||
} | } | ||
| Riga 322: | Riga 476: | ||
.block-note { | .block-note { | ||
background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/6/60/Bulbgraph.png/18px-Bulbgraph.png); | background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/6/60/Bulbgraph.png/18px-Bulbgraph.png); | ||
background-position: top left; | |||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
} | } | ||
| Riga 387: | Riga 542: | ||
.navbox-title { | .navbox-title { | ||
/* Level 1 color */ | /* Level 1 color */ | ||
background: # | background: #ccccff; | ||
} | } | ||
.navbox-abovebelow, | .navbox-abovebelow, | ||
| Riga 422: | Riga 577: | ||
/* Nowrap list items in navboxes */ | /* Nowrap list items in navboxes */ | ||
white-space: nowrap; | white-space: nowrap; | ||
/* IE < 8 no-wraps entire list, so disable it */ | |||
white-space: normal !ie; | |||
} | } | ||
.navbox .hlist dd dl, | .navbox .hlist dd dl, | ||
| Riga 521: | Riga 678: | ||
.mw-charinsert-buttons { | .mw-charinsert-buttons { | ||
margin-top: 10px; | margin-top: 10px; | ||
border: 1px solid # | border: 1px solid #aaaaaa; | ||
padding: 1px; | padding: 1px; | ||
text-align: center; | text-align: center; | ||
| Riga 569: | Riga 726: | ||
padding: 0.2em; | padding: 0.2em; | ||
border: 1px solid #AAA; | border: 1px solid #AAA; | ||
background: # | background: #F9F9F9; | ||
color: black; | color: black; | ||
} | } | ||
| Riga 874: | Riga 1 031: | ||
} | } | ||
.ve-doc-dm-cursor:hover { | .ve-doc-dm-cursor:hover { | ||
border-color: # | border-color: #cccccc; | ||
} | } | ||
.ve-doc-dm-open, | .ve-doc-dm-open, | ||
| Riga 886: | Riga 1 043: | ||
} | } | ||
.ve-doc-dm-close { | .ve-doc-dm-close { | ||
background-image: url(data:image/png;base64, | background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJhJREFUeNrs0UENgEAQBMGThGMkImFBAp8jTVKVjIHptT4yM8eza947F2KIIYYYYoghBmKIgRhiIIYYiCGG18QQQwwxxBBDDMQQAzHEQAwxEEMMMTYHESMWRIwfBhEjFESMUBAxQkHECAURIxREjFAQMUJBxAgFESMURAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGCfW4ABAPk3h3InIbNlAAAAAElFTkSuQmCC); | ||
background-size: contain; | background-size: contain; | ||
background-position: left top; | background-position: left top; | ||
| Riga 959: | Riga 1 116: | ||
content: ": "; | content: ": "; | ||
} | } | ||
.hlist dd:after, | |||
.hlist li:after { | |||
content: " · "; | content: " · "; | ||
font-weight: bold; | font-weight: bold; | ||
| Riga 999: | Riga 1 156: | ||
} | } | ||
/* end hlist */ | /* end hlist */ | ||
/* Banner - Wikivoyage - Used to test MediaWiki/Homepage redesign/Preview */ | /* Banner - Wikivoyage - Used to test MediaWiki/Homepage redesign/Preview */ | ||
| Riga 1 022: | Riga 1 169: | ||
max-width: 100%; | max-width: 100%; | ||
height: auto; | height: auto; | ||
width: auto; | width: auto\9; | ||
} | } | ||
.banner-box { | .banner-box { | ||