MediaWiki:Common.css

E Wikisource

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */
/* edit this file to customize the appearance of the entire site, in all its skins */
/* edit this file only if you know what you're doing */

/* <pre> */

/*  Titulum celat in Pagina prima */

body.page-Pagina_prima #t-cite,
body.page-Pagina_prima #lastmod, 
body.page-Pagina_prima #siteSub, 
body.page-Pagina_prima h1.firstHeading,
.hiddenStructure {
    display: none !important;
}

/* style for header box of Template:Titulus */
.titulusHeaderBox {
    margin:1em auto;
    width:30em;
    border:1px solid #CCCC99;
    background:#F4F0E5;
    padding:2ex;
    text-align:center;
    line-heigth:1.2;
}

.multilingual *[lang] {display:none;}
.multilingual *[lang|=la] {display:block;}

/* 
*****************
  Styli in textis utiles (NAMESPACE 0)
*****************
*/

/*
 * Dynamic Layouts
 */
#text-wrap { margin-left:3em; position:relative; }


/* For texts in verse, see http://bugzilla.wikimedia.org/show_bug.cgi?id=1842 */

.verse pre {
  background-color: #ffffff;
  font-family:sans-serif;
  line-height: 150%;
  border: 0px;
  padding-left: 2em;
  margin: 0;
  white-space: pre;
}


.prose p { text-indent: 2em
}

.prose {
  width: 35em;
  text-align:justify;
  margin:0px auto;
}



#content {
    text-align: justify;
}

/* poem tag : spatium inutilem inter transclusas paginas delet */
.poem
{
 margin-bottom: 0em;
 margin-top: 0em;
 line-height: 1.6em;
 text-indent: 0em;
}
.poem p
{
 margin-top: 0em ! important;
 margin-bottom: 0em ! important;
 text-indent: 0em !important;
}

/*test: classe text en remplacement de prose et verse*/

.text p { text-indent: 2em
}

.text {
  width: 33em;
  text-align:justify;
  margin:0px auto;
}

.text pre {
  background-color: #ffffff;
  font-family:sans-serif;
  line-height: 150%;
  border: 0px;
  padding-left: 2em;
  margin: 0;
  white-space: pre;
}

/* classe centertext : textus columna centrata sine indentatione  */
 
.centertext {
  width: 33em;
  text-align: justify;
  margin:0px auto;
}
.centertext p {
  text-indent: 0em;
}


/* classis lefttext : textus columna sinistra cum indentatione */

.lefttext {
  width: 33em;
  text-align: justify;
  margin-left: 5em;
}
.lefttext p {
  text-indent: 2em
}

/*
*************
NAMESPACE: FORMULA
*************
*/

/* Styli ad monitorias formulas ("ambox") utiles */

table.ambox {
    margin: 0 10%;                       /* Will not overlap with other elements */
    border-collapse: collapse; 
    background: #fbfbfb; 
    border: 1px solid #aaa; 
    border-left: 10px solid #1e90ff;     /* Default "notice" blue */
}
table.ambox th.ambox-text, table.ambox td.ambox-text {      /* The message body cell(s) */
    padding: 0.25em 0.5em;            /* 0.5em left/right */
    width: 100%;                      /* Make all templates the same width regardless of text size */
}
table.ambox td.ambox-image {          /* The left image cell */
    padding: 2px 0px 2px 0.5em;       /* 0.5em left, 0px right */
    text-align: center; 
}
table.ambox td.ambox-imageright {     /* The right image cell */
    padding: 2px 4px 2px 0px;         /* 0px left, 4px right */
    text-align: center; 
}
table.ambox-notice {
    border-left: 10px solid #1e90ff;     /* Blue */
/* border-right: 10px solid #1e90ff; */  /* If you want two blue bars */
}
table.ambox-delete,
table.ambox-serious {
    border-left: 10px solid #b22222;     /* Red */
}
table.ambox-content {
    border-left: 10px solid #f28500;     /* Orange */
}
table.ambox-style {
    border-left: 10px solid #f4c430;     /* Yellow */
}
table.ambox-merge {
    border-left: 10px solid #9932cc;     /* Purple */
}
table.ambox-protection {
    border-left: 10px solid #bba;        /* Gray */
}
table.ambox.ambox-mini {                 /* small floating box variant */
    float: right;
    clear: right;
    margin: 0 0 0 1em;
    width: 25%;
}

/*
 Classes ad navigationis formulas utiles (cela/ostende)
*/

.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: 2px;
        float: left;
}
div.NavFrame div.NavHead {
        height: 1.6em;
        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;
}


/*
* Styli ad extensionem {{#babel}}
*/
table.mw-babel-wrapper {
   float:right;
   clear:right;
   margin:0 0 .5em 1em;
   padding:5px 5px 3px 5px;
}

div.mw-babel-box.mw-babel-box-0,
div.mw-babel-box.mw-babel-box-1,
div.mw-babel-box.mw-babel-box-2,
div.mw-babel-box.mw-babel-box-3,
div.mw-babel-box.mw-babel-box-4,
div.mw-babel-box.mw-babel-box-N {
	border-width:0;
	width:20em;
	margin:1px 1px 1px 0;
}

div.mw-babel-box.mw-babel-box-0 {
	background:#FFE0E0;
	border:solid #FFB0B0 1px;
} 
div.mw-babel-box.mw-babel-box-1 {
	background:#E0D0FF;
	border:solid #D0B0E0 1px;
} 
div.mw-babel-box.mw-babel-box-2 {
	background:#B0D0FF;
	border:solid #90B0E0 1px;
} 
div.mw-babel-box.mw-babel-box-3 {
	background:#B0FFE0;
	border:solid #90E0C0 1px;
} 
div.mw-babel-box.mw-babel-box-4 {
	background:#B0FFE0;
	border:solid #90E0C0 1px;
}
div.mw-babel-box.mw-babel-box-N {
	background:#c0ffd0;
	border:solid #60ffa0 1px;
} 
div.mw-babel-box table {
	float:left;
	width:20em;
	background-color: inherit;
}
 
div.mw-babel-box {
   margin:0;
   margin-bottom:-1px; /* collapse adjacent borders */
}
 
div.mw-babel-box table {
   width:19em;
   border-collapse:collapse;
}
 
div.mw-babel-box table th,
div.mw-babel-box table td {
   height:auto;
   padding:4px;
   font-family:sans-serif;
}
 
div.mw-babel-box table th {
   width:3em;
   font-size:1.2em;
   text-align:center;
}
 
div.mw-babel-box table td {
   width:16em;
   line-height:1.1em;
   background-color:inherit;
}

div.mw-babel-box-0 table th {
	background-color:#FFB0B0;
}
div.mw-babel-box-1 table th {
	background-color:#D0B0E0;
}
div.mw-babel-box-2 table th {
	background-color:#90B0E0;
}
div.mw-babel-box-3 table th {
	background-color:#90E0C0;
}
div.mw-babel-box-4 table th {
	background-color:#60ffa0;
}
div.mw-babel-box-N table th {
	background-color:#60ffa0;
}

/* Haec classi capsulam vacuam sine ornamenta ostendit:
utilis ad particularem structuram pro usorum paginis */
.babel-plain table.mw-babel-wrapper {
   float:none;
   clear:none;
   margin:0;
}

.babel-plain div.mw-babel-box {
   margin:0;
}

.babel-plain .mw-babel-header,
.babel-plain .mw-babel-footer {
   display:none;
}

/* finis babelformulae classium */


/*
*************
NAMESPACE: PAGINA
*************
*/

/*Qualitatis indices ad paginas*/ 

.quality4 { background:#90ff90; }
.quality3 { background:#ffe867; }
.quality2 { background:#b0b0ff; }
.quality1 { background:#ffa0a0; }
.quality0 { background:#dddddd; }

/* Paginae textus "iustifactus'' et indentatus */

body.ns-104 {
  text-align: justify;

}
 
body.ns-104 p{
  text-indent: 0em;
}
 
body.ns-104 .poem p{
  text-indent: 0em;
}

.tiInherit p {
 text-indent:inherit;
}
/*
*************
NAMESPACE: USOR
*************
*/

/* Styli ad formulam "Usoris linguae" pertinentes */

.user-lang {
	float:right;
	clear:right;
	margin:.1em;
	width:20em;
	border-collapse:collapse;
}

.user-lang-code,
.user-lang-text {
        line-height:1.2em;
        padding:5px;
}

.user-lang-code {
	width:4em;
	text-align:center;
	font-size:1.2em;
	font-weight:bold;	
}

.user-lang-text {
	width:20em;
	padding:0.2em;
	font-size:.9em;
	line-height:1.1em;
}
.user-lang-0 .user-lang-code { background:#FFB0B0; border:solid #FFB0B0 1px; } 
.user-lang-0 .user-lang-text { background:#FFE0E0; border:solid #FFB0B0 1px; }
.user-lang-1 .user-lang-code { background:#D0B0E0; border:solid #D0B0E0 1px; }
.user-lang-1 .user-lang-text { background:#E0D0FF; border:solid #D0B0E0 1px; }
.user-lang-2 .user-lang-code { background:#90B0E0; border:solid #90B0E0 1px; }
.user-lang-2 .user-lang-text { background:#B0D0FF; border:solid #90B0E0 1px; }
.user-lang-3 .user-lang-code { background:#70C0D0; border:solid #70C0D0 1px; }
.user-lang-3 .user-lang-text { background:#B0E0F0; border:solid #70C0D0 1px; }
.user-lang-4 .user-lang-code { background:#60D0D0; border:solid #60D0D0 1px; }
.user-lang-4 .user-lang-text { background:#C0F0F0; border:solid #60D0D0 1px; }
.user-lang-N .user-lang-code { background:#60FFA0; border:solid #60FFA0 1px; }
.user-lang-N .user-lang-text { background:#C0FFD0; border:solid #60FFA0 1px; }


.collapseButton {          /* 'show'/'hide' buttons created dynamically */
    float: right;          /* by the CollapsibleTables javascript in    */
    font-weight: normal;   /* [[MediaWiki:Common.js]]are styled here    */
    text-align: right;     /* so they can be customised.                */
    width: 4em;
}

/* give a readable size to scripts */
pre, .source-python {
        font-size:0.8pc
}

/* settings to run Template:FI (FreedImg) */
/*@import url('//en.wikisource.org/w/index.php?title=User:George_Orwell_III/common.css/dynimg.css&action=raw&ctype=text/css') screen; */
p.freedImg, div.freedImg2 > p.freedImg2, #mySpan1, #mySpan2, .mySpan1, .mySpan2  {
	text-indent:0;
}

#mySpan2 a, .myspan2 a {
	width:inherit;
}
 
.freedImg, .newFreedImg {
	width:inherit;
	height:auto;
}
/* </pre> */