Differenze tra le versioni di "MediaWiki:Common.css"

 
(12 versioni intermedie di uno stesso utente non sono mostrate)
Riga 24: Riga 24:
 
#toc ul, .toc ul { margin: 0 0; }
 
#toc ul, .toc ul { margin: 0 0; }
 
#toc ul ul, .toc ul ul { margin: 0 0 0 1rem; }
 
#toc ul ul, .toc ul ul { margin: 0 0 0 1rem; }
 +
 +
/* template */
 +
.template-building {
 +
  border: 1px dashed grey;
 +
  background: #eee;
 +
  padding: 5px 10px;
 +
  font-weight: bold;
 +
  text-align: center;
 +
  color: #555;
 +
}
 +
 +
/* tabelle */
 +
table.wikitable > tbody > tr > th,
 +
table.wikitable > tbody > tr > td {
 +
  padding: 4px 10px;
 +
  border: 1px solid lightgrey;
 +
}
 +
 +
/* liste ; : */
 +
#mw-content dl dt { font-weight: bold; }
  
 
/* formattazione testo */
 
/* formattazione testo */
 
td.aligncenter, div.aligncenter { text-align: center; }
 
td.aligncenter, div.aligncenter { text-align: center; }
 +
dl > dt { font-weight: bold; }
 
div.columns {  
 
div.columns {  
 
   display: table-cell;
 
   display: table-cell;
Riga 40: Riga 61:
 
   div.columns.large-4 { width: 100%; }
 
   div.columns.large-4 { width: 100%; }
 
   div.columns.large-3 { width: 100%; }
 
   div.columns.large-3 { width: 100%; }
}
 
 
/* testo */
 
#mw-content-text p a,
 
#mw-content-text div:not(#toc) ul li a,
 
#mw-content-text div:not(#toc) ol li a {
 
  color: #c00;
 
}
 
#mw-content-text p a:hover,
 
#mw-content-text div:not(#toc) ul li a:hover,
 
#mw-content-text div:not(#toc) ol li a:hover {
 
  color: #f00;
 
 
}
 
}

Versione attuale delle 10:43, 16 set 2024

/* Gli stili CSS inseriti qui si applicano a tutti i temi */

/* Disabilitazione TAB 'discussioni' */
#ca-talk { 	display:none!important; }

/* colori */
#mw-content h1#firstHeading { border-color: #fd9c00; }
.color-middle { background: black; }
#mw-page-header-links li.selected { border-bottom-color: #fd9c00; }
#mw-content h1, #mw-content h2 { 
   border-color: #cc0000; 
}
#mw-content h1 a, #mw-content h2 a { 
   color: #cc0000; 
}
#mw-content h3 {
   border-bottom: 1px solid grey;
}

/* logo */
.mw-wiki-logo { background-size: 175px; }

/* indice delle pagine */
#toc ul, .toc ul { margin: 0 0; }
#toc ul ul, .toc ul ul { margin: 0 0 0 1rem; }

/* template */
.template-building {
   border: 1px dashed grey;
   background: #eee;
   padding: 5px 10px;
   font-weight: bold;
   text-align: center;
   color: #555;
}

/* tabelle */
table.wikitable > tbody > tr > th, 
table.wikitable > tbody > tr > td {
   padding: 4px 10px;
   border: 1px solid lightgrey;
}

/* liste ; : */
#mw-content dl dt { font-weight: bold; }

/* formattazione testo */
td.aligncenter, div.aligncenter { text-align: center; }
dl > dt { font-weight: bold; }
div.columns { 
   display: table-cell;
   width: 100%;
   margin: 0px;
}
div.columns.large-6 { width: 50%; }
div.columns.large-4 { width: 33.3%; }
div.columns.large-3 { width: 25%; }
@media screen and (max-width: 600px) {
   div.columns { display: block; }
   div.columns.large-6 { width: 100%; }
   div.columns.large-4 { width: 100%; }
   div.columns.large-3 { width: 100%; }
}