Still working to recover. Please don't edit quite yet.

Difference between revisions of "MediaWiki:Common.css"

From Anarchopedia
Jump to: navigation, search
(Nuova pagina: * CSS: <pre><nowiki>: #footer { clear: both } images: div.floatright { float: right; margin: 0em 0.5em 0em 0.5em; } div.floatright p { font-style: italic; } div.floatleft {...)
(No difference)

Revision as of 07:49, 3 November 2008

/** CSS */
/*<pre><nowiki>*/
#footer { clear: both }
/* images */
div.floatright { float: right; margin: 0em 0.5em 0em 0.5em; }
div.floatright p { font-style: italic; }
div.floatleft { float: left; margin: 0em 0.5em 0em 0.5em; }
div.floatleft p { font-style: italic; }
 
/* Print-specific things to hide */
.printfooter {
        display: none;
}
 
/* table standards */
table {
    background-color:#FFFFFF;   /* bianco opaco, per evitare sovrapp. con le linee dei titoli di sezione */
}
 
table.rimage {
        float:right;
        margin-left:1em;
        margin-bottom:1em;
        text-align:center;
        font-size:smaller;
}
 
/* thumbnails */
div.thumb {
    margin: 0.5em;
    text-align: center;
    width: auto;
}
div.thumb div {
    border: 1px solid #888888;
    background-color: #f7f7f7;
    padding: 2px;
    font-size: 95%;
    text-align: center;
    overflow: hidden;
}
div.thumb div * {
    border: none;
    background: none;
}
div.thumb img {
    border:1px solid #888888;
    margin-bottom:3px;
    background:#FFFFFF;
}
div.thumbcaption,
div.thumbcaption * {
    border: none !important;
    background: none !important;
}
div.thumbcaption {
    padding: 0.2em 0 0.2em 0 !important;
    text-align: left !important;
}
div.tright {
    float: right;
    margin-left:0.5em;
}
div.tleft {
    float: left;
    margin-right:0.5em;
}
 
/* Page history styling */
/* the auto-generated edit comments */
.autocomment { color: #4b4b4b; }
#pagehistory span.user {
    margin-left: 1.4em;
    margin-right: 0.4em;
}
#pagehistory span.minor { font-weight: bold; }
#pagehistory li { border: 1px solid White; }
#pagehistory li.selected {
    background-color:#f9f9f9;
    border:1px dashed #aaaaaa;
}
 
table.diff { background:white; }
td.diff-otitle { background:#ffffff; }
td.diff-ntitle { background:#ffffff; }
td.diff-addedline {
    background:#ccffcc;
    font-size: 80%;
}
td.diff-deletedline {
    background:#ffffaa;
    font-size: 80%;
}
td.diff-context {
    background:#eeeeee;
    font-size: 80%;
}
span.diffchange { color: red; font-weight: bold; }
 
img { border: none; }
img.tex { vertical-align: middle; }
span.texhtml { font-family: serif; }
 
 
#toc,
.toc {
	border: 1px solid #bba;
	background-color: #f7f8ff;
	padding: 5px;
	font-size: 95%;
	text-align: center;
}
#toc h2,
.toc h2 {
	display: inline;
	border: none;
	padding: 0;
	font-size: 100%;
	font-weight: bold;
}
#toc ul,
.toc ul {
	list-style-type: none;
	list-style-image: none;
	margin-left: 0;
	padding-left: 0;
	text-align: left;
}
#toc ul ul,
.toc ul ul {
	margin: 0 0 0 2em;
}
#toc .toctoggle,
.toc .toctoggle {
	font-size: 94%;
}
 
.error {
	color: red;
	font-size: larger;
}
 
/* emulate center */
.center {
    width: 100%;
    text-align: center;
}
*.center * {
    margin-left: auto;
    margin-right: auto;
}
/* small for tables and similar */
.small, .small * { font-size: 94%; }
table.small { font-size: 100% }
 
/* use this instead of #toc for page content */
.toccolours {
    border:1px solid #aaaaaa;
    background-color:#f9f9f9;
    padding:5px;
    font-size: 95%;
}
#siteNotice {
    border:none;
    padding-left: 0.5em;
    padding-right: 0.5em;
}
.redirectText {
	font-size:150%;
	margin:5px;
}
/* Makes redirects appear in italics on [[Special:Allpages]] */
.allpagesredirect {
    font-style: italic;
}
.searchmatch {
	color: red;
	font-weight: bold;
}
.sharedUploadNotice {
	font-style: italic;
}
span.unpatrolled {
	font-weight:bold;
	color:red;
}
 
span.updatedmarker {
	color:black;
	background-color:#00FF00;
}
span.newpageletter {
	font-weight:bold;
	color:black;
	background-color:yellow;
}
span.minoreditletter {
	color:black;
	background-color:#C5FFE6;
}
 
table.gallery {
        border:  1px solid #cccccc;
        margin:  2px;
        padding: 2px;
        background-color:#ffffff;
}
 
table.gallery tr {
        vertical-align:top;
}
 
table.gallery td {
      vertical-align:top;
      background-color:#f9f9f9;
      border: solid 2px white;
}
 
div.gallerybox {
        margin: 2px;
        width:  150px;
}
 
div.gallerybox div.thumb {
        text-align: center;
        border: 1px solid #cccccc;
        margin: 2px;
}
 
div.gallerytext {
        font-size: 94%;
        padding: 2px 4px;
}
 
span.comment {
	font-style: italic;
}
 
span.changedby {
	font-size: 95%;
}
 
.previewnote {
	text-align: center;
	color: #cc0000;
}
.editExternally {
        border-style:solid;
        border-width:1px;
        border-color:gray;
        background: #ffffff;
        padding:3px;
        margin-top:0.5em;
        float:left;
        font-size:small;
        text-align:center;
}
.editExternallyHelp {
        font-style:italic;
        color:gray;
}
 
li span.deleted {
	text-decoration: line-through;
	color: #888;
	font-style: italic;
}

/*Classe necessaria per rendere non visibili parte dei contenuti */
 
.hiddenStructure {
    display: none;
}
 
/* wikitable/prettytable class for skinning normal tables */
 
table.wikitable,
table.prettytable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px #aaa solid;
  border-collapse: collapse;
}
 
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
  border: 1px #aaa solid;
  padding: 0.2em;
}
 
table.wikitable th,
table.prettytable th {
  background: #f2f2f2;
  text-align: center;
}
 
table.wikitable caption,
table.prettytable caption {
  margin-left: inherit;
  margin-right: inherit;
  font-weight: bold;
}

/* Gli stili CSS inseriti qui si applicano a tutte le skin */
/* classi per arrotondare i bordi dei div e delle tabelle */
.radius {
-moz-border-radius: 1em;
}
.radius_top {
-moz-border-radius-topright: 1em;
-moz-border-radius-topleft: 1em;
}
.radius_bottom {
-moz-border-radius-bottomright: 1em;
-moz-border-radius-bottomleft: 1em;
}
.rad {
-moz-border-radius: .5em;
}
 
 
/***********************
 * FINE STILI TEMPLATE *
 ***********************/
 
/* Per elementi che non vanno stampati */
@media print {
    .noprint { display: none }
}
 
/**************************************
/* Classi per dynamic navigation bars *
 **************************************/
 
.NavToggle {
   font-size: 95%;
   float:right;
}
 
div.BoxenVerschmelzen,
div.NavFrame {
        margin: 0.5em 0 0 0;
        padding: 2px;
        border: 1px solid #aaaaaa;
        text-align: center;
        border-collapse: collapse;
        font-size: 95%;
        clear:both;
}
div.BoxenVerschmelzen div.NavFrame {
        border-style: none;
        border-style: hidden;
        margin: 0;
}
div.NavFrame + div.NavFrame {
        border-top-style: none;
        border-top-style: hidden;
}
div.NavPic {
        background-color: #ffffff;
        margin: 0px;
        padding-right: 2px;
        float: left;
}
div.NavFrame div.NavHead {
        font-weight: bold;
        font-size: 100%;
        background-color: #efefef;
}
div.NavFrame p {
        font-size: 100%;
}
div.NavFrame div.NavContent {
        font-size: 100%;
}
div.NavFrame div.NavContent p {
        font-size: 100%;
}
div.NavEnd {
        margin: 0px;
        padding: 0px;
        line-height: 1px;
        clear: both;
}
 
#bodyContent .references sup{
       color:#002BB8 !important;
}
 
/* Highlight per le note */
 
ol.references > li:target {
 background-color: #DEF;
}
 
sup.reference:target {
 background-color: #DEF;
}