MediaWiki:Common.css: diferència entre les revisions
 Canvi estètic  | 
				m minor change  | 
				||
| (16 revisions intermèdies per 4 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 29: | Línia 33: | ||
/* Configuració de Taula */  | /* Configuració de Taula */  | ||
     tr.llum { }  |      tr.llum { }  | ||
         tr.llum:hover  {background-color: #  |          tr.llum:hover  {background-color: #FED0AC;}  | ||
         .llum tr:hover {background-color: #  |          .llum tr:hover {background-color: #FED0AC;}  | ||
     td { empty-cells: hide }  |      td { empty-cells: hide }  | ||
| Línia 85: | 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[disabled="disabled"] { font-weight: normal !important; !important; outline-style: none !important; }  | |||
ul.tabbernav li a[disabled="disabled"] { font-weight: normal !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 {  | ||
| Línia 146: | Línia 141: | ||
/*==========================  | /*==========================  | ||
      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 */  | /* Comentaris en blocs */  | ||
| Línia 159: | Línia 164: | ||
}  | }  | ||
.comments li[data-user="Marcmpujol"] blockquote {color:#000000; font-weight:normal; !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;  | |||
    box-shadow: 0 0 .3rem #999;   | |||
    border-radius: 12px;  | |||
    padding: auto 1rem;  | |||
    background: #DED9E2;  | |||
    background: -moz-linear-gradient(top, #fff, #DED9E2);  | |||
    background: -webkit-linear-gradient(top, #fff, #DED9E2);  | |||
    background: -o-linear-gradient(top, #fff, #DED9E2);  | |||
    background: linear-gradient(to bottom, #fff, #DED9E2);  | |||
    border: 1px solid #999;  | |||
    clear: both;  | |||
}  | |||
#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: 12px;  | |||
    padding: 1.2rem;   | |||
    margin: 1rem 0 1.6rem 0;  | |||
    clear: both;  | |||
    background-color: #DED9E2;  | |||
    border: 1px solid;  | |||
}  | |||
#accueil-contenu .accueil_2017_titres,  | |||
#accueil-pied .accueil_2017_titres {  | |||
	font-variant:small-caps;  | |||
	letter-spacing:.01em;  | |||
	display:block;  | |||
	border-bottom: solid  0.2rem #112A46;  | |||
    border-radius: 12px;  | |||
	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  | |||
}  | |||
/* Responsive lists */  | |||
.res-list ul li {  | |||
  display:inline-block;  | |||
  margin: 3px;  | |||
  text-align: center;  | |||
  vertical-align: top;  | |||
}  | |||
.res-list ul li ul li{  | |||
  display: block;  | |||
}  | |||
/* List without bullets */  | |||
.liste-simple ul {  | |||
	line-height: inherit;  | |||
	list-style: none none;  | |||
	margin: 0;  | |||
}  | |||
.liste-simple ul li {  | |||
	margin-bottom: 0;  | |||
}  | }  | ||