MediaWiki:Common.css: diferència entre les revisions
Correcció de codis |
Afegir CSS de https://atj.wikipedia.org/wiki/MediaWiki:Common.css |
||
(27 revisions intermèdies per 2 usuaris que no es mostren) | |||
Línia 3: | Línia 3: | ||
1. General | 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 */ | /* Amaga l'atribució de la imatge en un article */ | ||
.picture-attribution { display:none !important; } | .picture-attribution { display:none !important; } | ||
Línia 26: | Línia 30: | ||
filter:alpha(opacity=80); | 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 } | |||
/*============================ | /*============================ | ||
Línia 79: | Línia 89: | ||
border-top:0 !important; | border-top:0 !important; | ||
background-color: none !important; | background-color: none !important; | ||
} | } | ||
ul.tabbernav { | ul.tabbernav { | ||
font: bold 12px Arial, sans-serif !important; | font: bold 12px Arial, sans-serif !important; | ||
} | } | ||
ul.tabbernav li a | 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 { | ul.tabbernav li.tabberactive a, ul.tabbernav li a:hover, ul.tabbernav li a { | ||
border-bottom: none !important; | |||
border | |||
} | } | ||
Línia 115: | Línia 116: | ||
background:#000000; | background:#000000; | ||
border:#4B0082 4px solid; | border:#4B0082 4px solid; | ||
border-radius: | 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; | color:#4B0082; | ||
} | } | ||
body.page-Usuari_Marcmpujol #WikiaArticleCategories a:link { | body.page-Usuari_Marcmpujol #WikiaArticleCategories a:link { | ||
Línia 133: | Línia 138: | ||
body.page-Usuari_Marcmpujol #WikiaArticleCategories a:active { | body.page-Usuari_Marcmpujol #WikiaArticleCategories a:active { | ||
color:indigo; | 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 */ | |||
/*==================================== | |||
9. Nova pàgina principal 2025 | |||
===================================*/ | |||
/* Distribució de les caselles esquerra i dreta per a PC d'escriptori i mòbil */ | |||
.portail-gauche { | |||
float: left; | |||
width: 58%; | |||
} | |||
.portail-droite { | |||
float: right; | |||
width: 42%; | |||
} | |||
.portail-gauche-inner { | |||
padding-right: 1rem; | |||
} | |||
/* Estructura de la pàgina principal */ | |||
.accueil-contenu { | |||
margin: 0.4em -1% 0.4em 0; | |||
display: flex; | |||
flex-flow: wrap; | |||
overflow: hidden; /*be kind ie10 et les navigateurs ne gérant pas les flexbox */ | |||
} | |||
/* Elimina el nom de la pàgina principal */ | |||
body.action-view.page-ConanWiki_Hauptseite #firstHeading { | |||
position: absolute; | |||
top: -5000px; | |||
} | |||
body.page-ConanWiki_Hauptseite .wbc-editpage { | |||
display: none; | |||
} | |||
/* Ajustaments per a la nova pàgina principal 2017 */ | |||
#accueil_2017_en-tete { | |||
margin: auto; | |||
min-width: 100%; | |||
padding: auto 1rem; | |||
background: #EDF4F7; | |||
background: -moz-linear-gradient(top, #fff, #e8f2f8); | |||
background: -webkit-linear-gradient(top, #fff, #e8f2f8); | |||
background: -o-linear-gradient(top, #fff, #e8f2f8); | |||
background: linear-gradient(to bottom, #fff, #e8f2f8); | |||
box-shadow: inset 0 0 1rem -1rem #a8d7fc; | |||
border-bottom: solid 1px #a8d7fc; | |||
} | |||
#accueil_bandeau_2017 .bloc-titre { | |||
display: inline; | |||
display: inline-block; | |||
margin: auto auto auto 14rem; | |||
text-align: center; | |||
line-height: 1.8; | |||
color: #457; | |||
} | |||
#accueil_bandeau_2017 .sous-titre { | |||
margin: 0; | |||
padding: 0; | |||
font-size: 110%; | |||
font-family: Sans-serif; | |||
} | |||
.bouton_accueil_bandeau_2017 h2.titre-wikipedia { | |||
margin: 0; | |||
padding: 0; | |||
border: none; | |||
font-size: 200%; | |||
font-weight: bold; | |||
color: #457; | |||
font-family: 'Open Sans', Sans-serif; | |||
} | |||
#accueil-contenu .accueil_2017_cadre, | |||
#accueil-pied .accueil_2017_cadre { | |||
box-shadow: 0 0 .3rem #999; | |||
border-radius: .2rem; | |||
padding: 1.2rem; | |||
margin: 1rem 0 1.6rem 0; | |||
clear: both; | |||
} | |||
#accueil-contenu .accueil_2017_titres, | |||
#accueil-pied .accueil_2017_titres { | |||
font-variant:small-caps; | |||
letter-spacing:.01em; | |||
display:block; | |||
border-bottom: solid 0.2rem #bdd8fb; | |||
margin: -0.4rem 0 0.5rem; | |||
} | |||
#accueil-contenu .accueil_2017_pied, | |||
#accueil-pied .accueil_2017_pied { | |||
padding:1.3em 0 0; | |||
font-size:85%; | |||
text-align:right; | |||
} | |||
.list-wiki { | |||
display: grid; | |||
grid-template-columns: repeat(4, 1fr); | |||
gap: 1em; | |||
font-size: 90%; | |||
color: #868686; | |||
text-align: center; | |||
padding-top: 1rem; | |||
} | |||
@media (max-width: 768px) { | |||
.list-wiki { | |||
grid-template-columns: repeat(2, 1fr); | |||
} | |||
} | |||
.list-wiki ul { | |||
line-height: inherit; | |||
list-style: none none; | |||
margin: 0; | |||
padding: 0; | |||
} | |||
.list-wiki ul li { | |||
margin-bottom: 0; | |||
text-align: center; | |||
} | |||
#mw-panel #p-logo + .portal{ | |||
margin-top: -1.2em | |||
} | |||
.CodeMirror-wrap pre { overflow-wrap: anywhere; } | |||
.comment { | |||
word-break: break-word | |||
} | } |