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

Da Serenoregis.
Jump to navigation Jump to search
Riga 1: Riga 1:
 
/* Gli stili CSS inseriti qui si applicano a tutti i temi */
 
/* Gli stili CSS inseriti qui si applicano a tutti i temi */
 +
 +
<?php global $wgUser; if( !$wgUser->isLoggedIn() ) { ?>
 +
nav#p-tb { display: none !important; }
 +
<?php } ?>
  
 
#ca-talk { display: none !important; }
 
#ca-talk { display: none !important; }

Versione delle 14:58, 3 mar 2022

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

<?php global $wgUser; if( !$wgUser->isLoggedIn() ) { ?>
nav#p-tb { display: none !important; }
<?php } ?>

#ca-talk { display: none !important; }
#ca-viewsource { display: none !important; }
#catlinks {
	display: none !important;
}
div.mw-category-group h3  {
	display: none !important;
}

.infobox {
    background: #eee;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 400px;
}
.infobox-title {
    font-size: 2em;
    text-align: center;
    border-bottom:1px solid #999;
}
.infobox-image {
    text-align: center;
}
.infobox th {
    text-align: right;
    vertical-align: top;
    width: 120px;
  
    background-color:#CCC;
}
.infobox td {
    vertical-align: top;
}

.downloadtable a[title] {
 
}

/* Change the external link icon to an Adobe icon for all PDF files */
.downloadtable  a[href$=".pdf"].internal,
.downloadtable  a[href*=".pdf?"].internal,
.downloadtable  a[href*=".pdf#"].internal,
.downloadtable  a[href$=".PDF"].internal,
.downloadtable  a[href*=".PDF?"].internal,
.downloadtable  a[href*=".PDF#"].internal {
	background: url("images/pdf-download.png") no-repeat right;
	/* @noflip */
	padding: 30px;
}

/* testata*/
#mw-head {background-color: #2E282A; border-bottom: 8px solid #FFB703}
#mw-head #p-views .vector-menu-content .vector-menu-content-list li a{ color: #FFF!important;background-color: #DE682D;}
#pt-login a {color:#fff;}
#mw-panel .vector-menu-content-list li a { background-color:#DE682D;color:#FFF;padding:0.4em; margin:.1em 0;display: block; text-transform: UPPERCASE;}
#ca-nstab-main {background-color:#FFB703;}
#ca-nstab-main a { font-weight:bold!important;}

/* CORPO DEL TESTO BASE */

#mw-content-text .mw-headline { background-color: #DE682D; padding: 10px; color: #FFF;}
.CategoryTreeTag {background-color: rgba(255,183,3,.1); padding: 2em; color: #DE682D!important;
-webkit-box-shadow: 5px 5px 15px 5px #000000; 
box-shadow: 5px 5px 15px 5px #000000;margin: 20px 0;}

/* STILIZZO LE CATEGORIE */
#firstHeading {  background-color: #DE682D; padding: 10px; color: #FFF; }
.mw-body-content #contentSub {display: none;}

/* STILIZZO LA SINGOLA PAGINA */
.mw-parser-output table  { background-color: rgba(255,182,3,.1)aliceblue!important; color: #FFF;}
.mw-parser-output tr:first-child  th {background-color:#DE682D!important; color: #FFF;}
/* FIX link di amministrazione in alto per lo sfondo scuro */
#pt-watchlist a, #pt-mycontris a, #pt-logout a { color: #FFF;}