Vai al contenuto

MediaWiki:Common.css: Cagnamiente nfra 'e versiune

'A Wikisource.
Contenuto cancellato Contenuto aggiunto
.errata .eco -> Modello:Ec
ExtractTextWidget
Riga 158: Riga 158:
box-shadow: inherit !important;
box-shadow: inherit !important;
}
}
/* Sto widget nun va */
.ext-wikisource-ExtractTextWidget{
display: none;
}

/* Quality */
/* Quality */
#contentSub td.quality4, ol.special td.quality4 { background:lime; padding-right:0; }
#contentSub td.quality4, ol.special td.quality4 { background:lime; padding-right:0; }

Verzione d’’e 20:45, 24 giu 2021

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


/* Margine e impaginazione delle opere */
.prp-pages-output {
	width: 80%;
	margin: auto;
	font-family: serif;
	font-size: medium;
}
.colonne-tre {
     -webkit-columns: 3 270px; 
     -moz-columns: 3 270px;
          columns: 3 270px;
  -webkit-column-gap: 1em;
     -moz-column-gap: 1em;
          column-gap: 1em; 
}
.colonne-due {
     -webkit-columns: 2 614px; 
     -moz-columns: 2 614px;
          columns: 2 614px;
  -webkit-column-gap: 2em;
     -moz-column-gap: 2em;
          column-gap: 2em;
          column-fill: balance;
}
.colonna-sx-50 {
	float:left;
	width:50%
}
.colonna-dx-50 {
	float:right; 
	width:50%
}
.colonna-sx-60 {
	float: left; 
	width: 59%;
}
.colonna-dx-40 {
	float: right; 
	width: 40%;
}
.pagina-centrata {
	margin-left: auto;
    margin-right: auto;
    width: 100%
}
.nun-spezza {
	-webkit-column-break-inside: avoid; /* Chrome, Safari */
    page-break-inside: avoid;           /* Theoretically FF 20+ */
    break-inside: avoid-column;         /* IE 11 */
    display:table;                      /* Actually FF 20+ */
}
/* Tables */
.divTable{
	display: table;
	width: 100%;
}
.divTableRow {
	display: table-row;
}
.divTableCell, .divTableHead {
	display: table-cell;
	padding: 3px 10px;
}
.divTableHeading {
	display: table-header-group;
	font-weight: bold;
}
.divTableFoot {
	display: table-footer-group;
	font-weight: bold;
}
.divTableBody {
	display: table-row-group;
}

/* Paggene Ennece */
#remarks {  /* Nutarelle */
    background: floralwhite;
    border: blue;
    border-width: thin;
    border-style: solid;
    padding: 5px;
    }
#index-pages { /* Lista paggene */
	background-color: white;
    border-style: dashed;
    border-color: palegoldenrod;
    border-width: thin;
    padding-right: 10px;
}
#index-image { /* Fiùrella */
	float:left;
	padding-right: 21px;
	overflow:hidden
}

/* Ausammo Times pecché è libbri so' scritti accussì 
 * Vire https://www.mediawiki.org/wiki/Typography_refresh */
.pagetext {
	max-width: 33em; /*uguale alla larghezza in ns0, ma col max perché su schermi piccoli si rimpicciolisca se non ci sta*/
	text-align: justify;
	font-family: Linux Libertine, Georgia, Times New Roman, Times, serif;
	margin: 0 auto;
	position: relative; 
}

/* adapting poem, from it.wikisource, request Candalua */
.poem { 
	margin-bottom: 0em; 
	margin-top: 0em; 
}
.poem p { 
	margin-top: 0em ! important; 
	margin-bottom: 0em ! important; 
    text-indent: 0em ! important;
}

/* Qualità */
/* FIX problema td zero-width nella barra qualità in Chrome, vedi http://stackoverflow.com/questions/24386674/google-chrome-zero-width-table-cells-use-up-space */
.pr_quality {
    table-layout: fixed;
}
/* togli l'orrendo bordo tratteggiato attorno alla barra della qualità */
table.pr_quality {
	border: 0 !important;
}
/* sopprimi gli odiosi cerchietti attorno alle checkbox */
.prp-quality-radio {
    border-radius: inherit !important;
    border:  inherit !important;
    box-shadow: inherit !important;
}
#wpQuality-container span.quality0 {
	background: url("//upload.wikimedia.org/wikipedia/commons/6/60/00_percent.svg") center right no-repeat;
}
#wpQuality-container span.quality1 {
	background: url("//upload.wikimedia.org/wikipedia/commons/c/ce/25_percent.svg") center right no-repeat;
}
#wpQuality-container span.quality2 {
	background: url("//upload.wikimedia.org/wikipedia/commons/6/62/50_percents.svg") center right no-repeat;
}
#wpQuality-container span.quality3 {
	background: url("//upload.wikimedia.org/wikipedia/commons/6/62/75_percent.svg") center right no-repeat;
}
#wpQuality-container span.quality4 {
	background: url(//upload.wikimedia.org/wikipedia/commons/2/24/100_percent.svg) center right no-repeat;
}
.editCheckboxes .oo-ui-widget label {
	float: right;
}
/* sopprimi gli odiosi cerchietti attorno alle checkbox */
.prp-quality-radio {
    border-radius: inherit !important;
    border:  inherit !important;
    box-shadow: inherit !important;
}
/* Sto widget nun va */
.ext-wikisource-ExtractTextWidget{
	display: none;
}

/* Quality */
#contentSub td.quality4, ol.special td.quality4 { background:lime; padding-right:0; }
#contentSub td.quality3, ol.special td.quality3 { background:blue; padding-right:0; }
#contentSub td.quality2, ol.special td.quality2 { background:purple; padding-right:0; }
#contentSub td.quality1, ol.special td.quality1 { background:red; padding-right:0; }
#contentSub td.quality0, ol.special td.quality0 { background:silver; padding-right:0; }

/* Livelli di qualità per il SAL */ 
.quality4.prp-pagequality-4, .numeropagina .prp-pagequality-4 {
	background: white url("//upload.wikimedia.org/wikipedia/commons/2/24/100_percent.svg") center right no-repeat;
	padding-right:11px;
	border-style: none;
}
.quality3.prp-pagequality-3, .numeropagina .prp-pagequality-3 {
	background: white url("//upload.wikimedia.org/wikipedia/commons/6/62/75_percent.svg") center right no-repeat;
	padding-right:11px;
	border-style: none;
}
.quality2.prp-pagequality-2, .numeropagina .prp-pagequality-2 {
	background: white url("//upload.wikimedia.org/wikipedia/commons/6/62/50_percents.svg") center right no-repeat;
	padding-right:11px;
	border-style: none;
}
.quality1.prp-pagequality-1, .numeropagina .prp-pagequality-1 {
	background: white url("//upload.wikimedia.org/wikipedia/commons/c/ce/25_percent.svg") center right no-repeat;
	padding-right:11px;
	border-style: none;
}
.quality0.prp-pagequality-0, .numeropagina .prp-pagequality-0 {
	background: white url("//upload.wikimedia.org/wikipedia/commons/6/60/00_percent.svg") center right no-repeat;
	padding-right:11px;
	border-style: none;
}

/* Livelli di qualità per il SAL */ 
.quality4  { 
	border: 1px solid lime; 
	padding: 1px 11px 1px 5px;
	background: white url("//upload.wikimedia.org/wikipedia/commons/2/24/100_percent.svg") no-repeat center right;
}
.quality3  { 
	border: 1px solid blue; 
	padding: 1px 11px 1px 5px;
	background: white url("//upload.wikimedia.org/wikipedia/commons/6/62/75_percent.svg") no-repeat center right;
	background-origin: padding-box;
}
.quality2  { 
	border: 1px solid purple;
	background: white url("//upload.wikimedia.org/wikipedia/commons/6/62/50_percents.svg") no-repeat center right;
	padding: 1px 11px 1px 5px;
}
.quality1  { 
	border: 1px solid red; 
	padding: 1px 11px 1px 5px;
	background: white url("//upload.wikimedia.org/wikipedia/commons/c/ce/25_percent.svg") no-repeat center right;
}
.quality0  { 
	border: 1px solid silver; 
	padding: 1px 11px 1px 5px;
	background: white url("//upload.wikimedia.org/wikipedia/commons/6/60/00_percent.svg") no-repeat center right;
}

/* stili per i messaggi MediaWiki:Proofreadpage_quality*_message */
.quality-msg {
	margin-top: 5px;
    width: 90%;
    margin: 0 auto;
    font-size: 90%;
    background: #fbfbfb;
    border: 1px solid #aaa;
    border-left: 10px solid #1e90ff;
}
.quality-msg-image {
	padding: 2px 0 2px 0.5em;
    text-align: center;
}
.quality-msg-text {
	padding: 0.25em 0.5em;
    width: 100%;
}
.quality-msg-imageright {
    padding: 2px 4px 2px 0;
    text-align: center;
}

/* stile per le pagine non create su Special:IndexPages */
.mw-special-IndexPages .qualitye { border: 1px dotted gray; }
#pagequality { padding-right:0; }

/* Per il template Outdent */
.tiInherit p {
 text-indent:inherit;
}

.errata .eco {
	display:none !important;
}

/**
 * Adattazione pe mobile e risoluziona piccerella
 * Vire https://fr.wikisource.org/wiki/MediaWiki:Common.css
 */
 
@media all and (max-width: 810px) {
	.wikisource-m-superfluo {
		display: none;
	}
}
@media only screen and (max-width: 738px){
        .colonna-sx-50, .colonna-dx-50, .colonna-sx-60, .colonna-dx-40 {
        display:block !important;
		float: inherit;
		width: inherit;
        }
        #mobile-no-margin {
        	margin:0.5em -1em;
        }
        #index-pages {
        	padding-right: 2px;
        }
}

/**
 * Styling for links generated by [[MediaWiki:Edittools]] in WikimediaUI inspired theme.
 * @source https://www.mediawiki.org/wiki/Extension:CharInsert#Styling
 * @updated 2020-03-17
 */
.mw-charinsert-buttons {
	margin-top: 8px;
	border: 1px solid #c8ccd1;
	padding: 2px 4px 4px;
	font-size: 1.1em;
	text-align: center;
}
.mw-charinsert-buttons a {
	background-color: #f8f9fa !important;
	color: #202122;
	border: thin #36c outset;
	padding: 0 1px 2px;
	font-size: 0.9em;
	font-weight: bold;
	text-decoration: none;
}
.mw-charinsert-buttons a:hover {
	background-color: #fff;
    color: #404244;
}
.mw-charinsert-buttons a:active {
	background-color: #c8ccd1;
	border-style: inset;
}
.client-js .mw-edittools-section {
	display: inline;
}
.client-js .mw-edittools-section input[type="button"] {
	background-color: #eeefff;
	color: #202122;
	margin: 2px;
	margin-bottom: 3px;
  border-radius: 5px;
	padding: 2px 6px;
	font-size: .95em;
    /* Apply pointer cursor to all interactive elements. */
    cursor: pointer;
}
.client-js .mw-edittools-section input[type="button"]:hover {
	background-color: #fff;
    color: #404244;
}
.client-js .mw-edittools-section input[type="button"]:active {
	background-color: #c8ccd1;
    color: #000;
}