MediaWiki:Common.css: diferència entre les revisions
Fer prova |
m RC |
||
(55 revisions intermèdies per 2 usuaris que no es mostren) | |||
Línia 1: | Línia 1: | ||
/* Editeu aquest fitxer per personalitzar totes les aparences per al lloc sencer */ | /* Editeu aquest fitxer per personalitzar totes les aparences per al lloc sencer */ | ||
/*============================ | |||
1. General | |||
============================*/ | |||
/* Imports */ | |||
@import "/index.php?title=MediaWiki:Noticies.css&action=raw&ctype=text/css"; | |||
@import url("caskin.css"); | |||
/* Amaga l'atribució de la imatge en un article */ | |||
.picture-attribution { display:none !important; } | |||
/** Text expansible **/ | |||
/* Aquestes dues classes fan que un text ocult es torni visible quan passes el ratolí per sobre y desapareix quan poses el ratolí sobre un altre text. Original de Uncyclopedia. */ | |||
/* Exemple: | |||
<span class="textvisible">Això ho veus<span class="textocult">Això no ho veies</span></span> | |||
;Mostra (posa el ratolí sobre del text):<span class="textvisible">Això ho veus <span class="textocult">Això no ho veies</span></span> | |||
Per més comoditat s'ha creat la [[Plantilla:Expansible]]*/ | |||
/* allows for expanding hidden sig sections (experimental) -Dawg */ | |||
.textocult { display: none } | |||
.textvisible:hover .textocult { display: inline !important } | |||
.menuocult { display: none } | |||
.menuvisible:hover .menuocult { display: block !important } | |||
/* Imatges il·luminades */ | |||
.imatge_llum:hover img { | |||
opacity:0.8; | |||
filter:alpha(opacity=80); | |||
} | |||
/* Configuració de Taula */ | |||
tr.llum { } | |||
tr.llum:hover {background-color: #FED0AC;} | |||
.llum tr:hover {background-color: #FED0AC;} | |||
td { empty-cells: hide } | |||
/*============================ | |||
2. Navegació | |||
============================*/ | |||
/* Standard Navigationsleisten, | |||
(aka box hiding thing from .de. Documentation at Wikipedia:NavFrame.) */ | |||
div.Boxmerge, | |||
div.NavFrame { margin: 0px; padding: 4px; | |||
border: 1px solid #aaa; text-align: center; | |||
border-collapse: collapse; font-size: 95%; } | |||
div.Boxmerge div.NavFrame { border-style: none; border-style: hidden; } | |||
div.NavFrame + div.NavFrame { border-top-style: none; border-top-style: hidden; } | |||
div.NavPic { background-color: #fff; margin: 0px; | |||
padding: 2px; float: left; } | |||
div.NavFrame div.NavHead { height: 1.6em; font-weight: bold; | |||
background-color: #ccccff; position:relative; } | |||
div.NavFrame p { font-size: 100%; } | |||
div.NavFrame div.NavContent { font-size: 100%; } | |||
div.NavFrame div.NavContent p { font-size: 100%; } | |||
div.NavEnd { margin: 0px; padding: 0px; line-height: 1px; clear: both; } | |||
a.NavToggle { position:absolute; top:0px; font-weight:normal; font-size:smaller; } | |||
/*============================ | |||
3. Format del Fòrum | |||
============================*/ | |||
/* Forum format - Algorithm & Splarka */ | |||
.forumheader { border: 1px solid #aaa; background-color: #f9f9f9; | |||
margin-top: 1em; padding: 12px; } | |||
.forumlist td span { display: block; padding-left: 10px; font-size: smaller } | |||
.forumlist td span a { text-decoration: none; } | |||
.forumlist td span.forum_author { padding-left: 30px; } | |||
.forumlist td.forum_edited a { text-decoration: none } | |||
.forumlist th.forum_title { padding-left: 20px; } | |||
.forumlist td.forum_title a { padding-left: 20px; } | |||
.forumlist td.forum_title span a { padding-left: 0px } | |||
.forumlist td.forum_title a.forum_new { font-weight: bold; padding-left: 20px; | |||
background: url(/images/4/4e/Forum_new.gif) center left no-repeat;} | |||
.forumlist td.forum_title a.forum_new:visited { | |||
font-weight: normal; background: none; padding-left: 20px; } | |||
/* remove talk link from forum namespace (Monobook/Monaco) - Splarka */ | |||
body.ns-110 #ca-talk, body.ns-110 #page_tabs li+li { display: none; } | |||
/*==================================== | |||
4. Característiques del Tabber | |||
====================================*/ | |||
/* Tabber: poder posar encapçalaments */ | |||
.tabberlive .tabbertab h2, .tabberlive .tabbertab h3 { display:block !important; } | |||
/* Tabber: Aparença */ | |||
.tabberlive .tabbertab { | |||
border: none !important; | |||
border-top:0 !important; | |||
background-color: none !important; | |||
} | |||
ul.tabbernav { | |||
font: bold 12px Arial, sans-serif !important; | |||
} | |||
ul.tabbernav li a[disabled="disabled"] { font-weight: normal !important; !important; outline-style: none !important; } | |||
ul.tabbernav li.tabberactive a, ul.tabbernav li a:hover, ul.tabbernav li a { | |||
border-bottom: none !important; | |||
} | |||
/*==================================== | |||
5. Enllaços | |||
====================================*/ | |||
/* Canvi colors enllaços */ | |||
body.page-Usuari_Marcmpujol #mw-content-text a:link {color: #4B0082} /* enllaços */ | |||
body.page-Usuari_Marcmpujol #mw-content-text a:visited {color: #4B0082} /* enllaços visitats */ | |||
body.page-Usuari_Marcmpujol #mw-content-text a:hover {color: #4B0082} /* enllaços quan passes el ratolí per sobre*/ | |||
/*==================================== | |||
6. Categories | |||
====================================*/ | |||
/* Canvi aparença de les categories */ | |||
body.page-Usuari_Marcmpujol #WikiaArticleCategories { | |||
background:#000000; | |||
border:#4B0082 4px solid; | |||
border-radius:20px; | |||
-moz-border-radius:4ex; | |||
border-radius:4ex; | |||
-moz-box-shadow: 0 0 10px 4px MediumPurple; | |||
-webkit-box-shadow: 0 0 10px 4px MediumPurple; | |||
box-shadow: 0 0 10px 4px Indigo; | |||
color:#4B0082; | |||
} | |||
body.page-Usuari_Marcmpujol #WikiaArticleCategories a:link { | |||
color:indigo; | |||
} | |||
body.page-Usuari_Marcmpujol #WikiaArticleCategories a:visited { | |||
color:indigo; | |||
} | |||
body.page-Usuari_Marcmpujol #WikiaArticleCategories a:hover { | |||
color:indigo; | |||
} | |||
body.page-Usuari_Marcmpujol #WikiaArticleCategories a:active { | |||
color:indigo; | |||
} | |||
/*========================== | |||
7. Referències | |||
==========================*/ | |||
/* Ressaltar referència clicada en blau */ | |||
ol.references > li:target, | |||
sup.reference:target, | |||
span.citation:target { | |||
background-color: #DEF; | |||
} | |||
/*========================== | |||
8. Altres | |||
==========================*/ | |||
/* Comentaris en blocs */ | |||
.comments li[data-user="Marcmpujol"] blockquote { | |||
background:#69f !important; | |||
} | |||
.comments li[data-user="Marcmpujol"] blockquote:after { | |||
border-color: transparent #69f #69f transparent !important; | |||
} | |||
.comments li[data-user="Marcmpujol"] blockquote div { | |||
background: transparent !important; | |||
} | |||
.comments li[data-user="Marcmpujol"] blockquote {color:#000000; font-weight:normal; !important; | |||
} | |||
/*========================== | |||
8. Taules | |||
==========================*/ | |||
/* Prettytable */ | |||
table.prettytable, | |||
table.bellataula { | |||
margin: 1em 1em 1em 0; | |||
background: #f9f9f9; | |||
border: 1px #aaaaaa solid; | |||
border-collapse: collapse; | |||
} | |||
table.prettytable th, table.prettytable td, | |||
table.bellataula th, table.bellataula td { | |||
border: 1px #aaaaaa solid; | |||
padding: 0.2em; | |||
} | |||
table.bellataula th, | |||
table.prettytable th { | |||
background: #f2f2f2; | |||
text-align: center; | |||
} | |||
table.bellataula caption, | |||
table.prettytable caption { | |||
margin-left: inherit; | |||
margin-right: inherit; | |||
} | |||
table.centre, table.center { /* Alineació centrada amb class="wikitable centre" */ | |||
margin:1em auto; | |||
} | |||
table.wikitable[align=center] {margin:1em auto;} /*Alineació centrada amb align=center */ |