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

Riga 53: Riga 53:
  
 
/* tabelle */
 
/* tabelle */
table.wikitable th, table.wikitable td {
+
table.wikitable > tr > th, table.wikitable > tr > td {
 
   padding: 3px 6px;
 
   padding: 3px 6px;
 
   border: 1px solid lightgrey;
 
   border: 1px solid lightgrey;

Versione delle 13:26, 29 mar 2023

/* 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;
}

/* formattazione testo */
td.aligncenter, div.aligncenter { text-align: center; }
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%; }
}

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

/* testo 
#mw-content-text p a,
#mw-content-text ul li a,
#mw-content-text ol li a {
   color: #c00;
}
#mw-content-text p a:hover, #mw-content-text p a:visited ,
#mw-content-text ul li a:hover, #mw-content-text ul li a:visited ,
#mw-content-text ol li a:hover, #mw-content-text ol li a:visited {
   color: #f00;
}
#mw-content-text #toc a {
    color: #0088dd;
}
#mw-content-text #toc a:hover, mw-content-text #toc a:visited {
    color: #006699;
}
*/