MediaWiki:Common.css: diferència entre les revisions
Aparença
Afegir contingut |
Afegir contingut |
||
| Línia 10: | Línia 10: | ||
.high-light tr:hover {background-color: #E0E8FF;} | .high-light tr:hover {background-color: #E0E8FF;} | ||
td { empty-cells: hide } | td { empty-cells: hide } | ||
/** 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 | |||
} | |||
/*============================ | /*============================ | ||
Revisió del 21:22, 16 oct 2012
/* Editeu aquest fitxer per personalitzar totes les aparences per al lloc sencer */
/*============================
1. General
============================*/
/* Giving headers and TOC a little extra space */
h2, .toc { margin-top: 20px; }
/* Table Tweaks */
tr.high-light { }
tr.high-light:hover {background-color: #E0E8FF;}
.high-light tr:hover {background-color: #E0E8FF;}
td { empty-cells: hide }
/** 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
}
/*============================
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; }
/* Folding Multi Wiki Tabs by Splarka (http://www.wikia.com/wiki/User:Splarka/tricks) */
.foldtabSet { position: relative; margin: 1.5em 0 1em; }
.foldtabBox { position: relative; padding: 0.5em; background-color:#FFF;
overflow: auto; border: 1px solid #AAA; z-index: 1; }
.foldtabHead a { position: relative; left: 0.5em; border: 1px solid #AAA;
padding: 0.13em 1em; font-size: 150%;
text-decoration: none; color: #00A; background-color: #E0E0FF;
background-color: #F0F0F0; z-index: 0; }
.foldtabHead a.selected { top: -0.15em; border-width: 2px; border-bottom: none;
background-color: #FFF; z-index: 2; }
.foldtabHead p { margin: 0; padding: 0; }
/*============================
3. Format del Fòrum
============================*/
/* Forum formatting - 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. Imatges
=============================*/
/* Amaga l'atribució de la imatge en un article */
.picture-attribution { display:none !important; }
/*====================================
5. 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:link { color: #000000!important; }
ul.tabbernav li a:visited { color: #FFFFFF!important; }
ul.tabbernav li.tabberactive a, ul.tabbernav li a:hover, ul.tabbernav li a {
color: #000000!important;
border: 1px #000000 solid !important;
background-image: #FF3300
}
ul.tabbernav li a[disabled="disabled"] { font-weight: normal !important; color: #000000!important; outline-style: none !important; }
ul.tabbernav li.tabberactive a {
border-bottom: 1px solid #000000!important;
}