MediaWiki:Common.css: differenze tra le versioni

Da Wikiquote, aforismi e citazioni in libertà.
Contenuto cancellato Contenuto aggiunto
Annullata la modifica 196235 di Dread83 (Discussione): niente, non funziona
m note piccole come in Wikipedia
Riga 412: Riga 412:
clear:left; /* perché i singoli template nel babelbox
clear:left; /* perché i singoli template nel babelbox
siano uno sotto l'altro */
siano uno sotto l'altro */
}

/* make the list of references look smaller */
ol.references {
font-size: 90%;
}
}



Versione delle 13:18, 4 ott 2008

/*
 * common.css
 * This file contains CSS settings common to Wikistandard, Nostalgia and CologneBlue
 * NOTA PER GLI ADMIN: Si prega di non modificare senza preventiva discussione!
 */
/*<pre><nowiki>*/
#footer { clear: both }

/* Print-specific things to hide */
.printfooter {
        display: none;
}


/* thumbnails */
div.thumb {
    text-align: center;
    width: auto;
}
div.thumb div {
    border: 1px solid #8888aa;
    background-color: #f7f8ff;
    padding: 2px;
    font-size: 95%;
    text-align: center;
    overflow: hidden;
}
div.thumb div * {
    border: none;
    background: none;
}
div.thumb img {
    border:1px solid #8888AA;
    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;
}

div.tleft {
    float: left;
}

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

div.townBox {
    position:relative;
    float:right;
    background:White;
    margin-left:1em;
    border: 1px solid gray;
    padding:0.3em;
    width: 200px;
    overflow: hidden;
    clear: right;
}
div.townBox dl {
    padding: 0;
    margin: 0 0 0.3em 0;
    font-size: 96%;
}
div.townBox dl dt {
    background: none;
    margin: 0.4em 0 0 0;
}
div.townBox dl dd {
    margin: 0.1em 0 0 1.1em;
    background-color: #f3f3f3;
}
/* 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;
}
/* Stile del box del siteNotice */
#mw-dismissable-notice {
background-color: transparent;
}
.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;
}


/* Classes for EXIF data display */
table.mw_metadata {
	margin-left: 0.5em;
}

table.mw_metadata caption { font-weight: bold; }
table.mw_metadata th { font-weight: normal; }
table.mw_metadata td { padding: 0.1em; }

table.mw_metadata {
	border: none;
	border-collapse: collapse;
}
table.mw_metadata td, table.mw_metadata th {
	border: 1px solid #aaaaaa;
	padding-left: 4px;
	padding-right: 4px;
}
table.mw_metadata th {
	background-color: #f9f9f9;
}
table.mw_metadata td {
	background-color: #fcfcfc;
}
table.mw_metadata td.spacer {
	background: inherit;
	border-top: none;
	border-bottom: none;
}
table.collapsed tr.collapsable {
	display: none;
}

.visualClear {
    clear: both;
}

#mw_trackbacks {
	border: solid 1px #bbbbff;
	background-color: #eeeeff;
	padding: 0.2em;
}

/* Allmessages table */

#allmessagestable th {
	background-color: #b2b2ff;
}

#allmessagestable tr.orig {
	background-color: #ffe2e2;
}

#allmessagestable tr.new {
	background-color: #e2ffe2;
}

#allmessagestable tr.def {
	background-color: #f0f0ff;
}

#jump-to-nav {
  display: none;
}

/* Caratteri per il template Polytonic */ 
/* "Inherit" resetta i fonts per tutti i browser eccetto MSIE6. Il commento vuoto deve essere presente */ 
.polytonic { font-family: Athena, Gentium, Palatino Linotype, Arial Unicode MS, Lucida Sans Unicode, Lucida Grande, Code2000; font-family /**/:inherit; }

/*Classe necessaria per rendere non visibili parte dei contenuti */

.hiddenStructure {
    display: none;
}


/**************************************
/*        Classi per i Babel          *
 **************************************/

.itwiki_template_babelbox {
  float:right; 
  margin:0 0 .5em 1em;
  width:20em; /* per evitare problemi con Opera e Safari */
  padding:5px 7px 5px 5px; /* questo lo farà apparire storto in MSIE
                              ma non so che farci */
}
.itwiki_template_babelbox .intestazione {
  text-align:center;
  font-weight:bold;
  margin-left:2px;
}
.itwiki_template_babel {
  float:left;
  width:20em;
  background:#e0e8ff;
  border:solid #99b3ff 1px;
  margin:1px 1px 1px 0;
}
.itwiki_template_babel .sigla {
  background:#99b3ff;
  text-align:center;
  font-size:1.2em;
  font-weight:bold;
}
.itwiki_template_babel2 {
  float:left;
  width:20em;
  background:#c5fcdc;
  border:solid #6ef7a7 1px;
  margin:1px 1px 1px 0;
}
.itwiki_template_babel2 .sigla {
  background:#6ef7a7;
  text-align:center;
  font-size:1.2em;
  font-weight:bold;
}
.itwiki_template_babel .sigla,
.itwiki_template_babel2 .sigla {
  width:4em;
}
.itwiki_template_babel td,
.itwiki_template_babel2 td {
  font-size:.9em;
  line-height:1.2em;
  padding:5px;
}
.itwiki_template_babelbox .itwiki_template_babel,
.itwiki_template_babelbox .itwiki_template_babel2 {
  clear:left; /* perché i singoli template nel babelbox
                 siano uno sotto l'altro */
}

/* make the list of references look smaller */
ol.references {
   font-size: 90%;
}

/*</nowiki></pre>*/