Differenze tra le versioni di "MediaWiki:Common.css"
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| (146 versioni intermedie di 2 utenti non mostrate) | |||
| 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 */ | ||
| − | . | + | /* =============== Interfaccia generale ============= */ | 
| − | + | ||
| − | + | .mobile-only { | |
| + | 	display: none; | ||
| } | } | ||
| − | . | + | |
| − | + | .toc { | |
| − | + | 	margin-top: 30px; | |
| } | } | ||
| − | . | + | |
| − | 	background-color: # | + | /* nascondi pulsante salvataggio */ | 
| + | /*.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-tool-link { | ||
| + | 	display: none; | ||
| + | } | ||
| + | |||
| + | .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { | ||
| + | 	display: none; | ||
| + | }*/ | ||
| + | |||
| + | /* =============== Home ============= */ | ||
| + | .home-title-container { | ||
| + | 	text-align: center; | ||
| + | 	background-blend-mode: overlay; | ||
| + |     background-image: url(https://www.wtraining.it/wp-content/uploads/2021/09/logo-mediawiki-dettaglio-3.png),linear-gradient(180deg,#18374b 0%,#306199 100%); | ||
| + |     background-position: center; | ||
| + |     background-size: cover; | ||
| + | 	padding: 50px; | ||
| + | } | ||
| + | |||
| + | .home-title { | ||
| + | 	font-size: 200%; | ||
| + | 	color: white; | ||
| + | } | ||
| + | |||
| + | .home-box-red { | ||
| + | 	background-blend-mode: overlay; | ||
| + | 	background-image: url('https://www.wtraining.it/wp-content/uploads/2021/08/sfondo-wiki.png'); | ||
| + | 	background-color: #d74e38; | ||
| + | 	background-repeat: no-repeat; | ||
| + |     background-position: center center; | ||
| + |     background-size: cover; | ||
| + |     width: 100%; | ||
| + |     padding: 70px 0; | ||
| + | } | ||
| + | |||
| + | .testo-corporate { | ||
| + | 	color: white; | ||
| + |     text-align: center; | ||
| + |     width: 65%; | ||
| + |     margin: 40px auto; | ||
| + | } | ||
| + | |||
| + | .text-shadow { | ||
| + | 	text-shadow: 1px 3px 4px rgba(0, 0, 0, 0.3); | ||
| + |     font-size: 125%; | ||
| + | } | ||
| + | |||
| + | .testo-corporate a.external.text { | ||
| + | 	color: white; | ||
| + | 	text-decoration: underline; | ||
| + | } | ||
| + | |||
| + | .home-button { | ||
| + | 	 background-color: #FFFFFF; | ||
| + | 	 color: #d74e38; | ||
| + | 	 font-size: 150%; | ||
| + | 	 font-weight: bold; | ||
| + | 	 margin: 30px auto 0 auto; | ||
| + | 	 width: 12em; | ||
| + | 	 border-radius: 2em; | ||
| + | 	 padding: 0.1em; | ||
| + | 	 text-align: center; | ||
| + | } | ||
| + | |||
| + | .home-box-blue { | ||
| + | 	text-align: center; | ||
| + | 	color: white; | ||
| + |     background-image: linear-gradient(135deg,#18374b 0%,#306199 100%); | ||
| + |     background-position: center; | ||
| + |     background-size: cover; | ||
| + | 	padding: 50px; | ||
| + | } | ||
| + | |||
| + | .home-box-blue a { | ||
| + | 	color: white; | ||
| + | } | ||
| + | |||
| + | .separator { | ||
| + | 	display: inline-block; | ||
| + | 	color: white; | ||
| 	text-align: center; | 	text-align: center; | ||
| + | 	width: 2em; | ||
| + | } | ||
| + | |||
| + | .img-big { | ||
| + | 	width: 500px; | ||
| + | } | ||
| + | |||
| + | /* =============== Tabelle SMW ============= */ | ||
| + | .sortable.wikitable.smwtable.jquery-tablesorter { | ||
| + |   border: none; | ||
| + |   margin-top: 30px; | ||
| + |   margin-bottom: 30px; | ||
| + | } | ||
| + | |||
| + | .sortable.wikitable.smwtable.jquery-tablesorter * { | ||
| + |   border: none; | ||
| + | } | ||
| + | |||
| + | .smwtable { | ||
| + |   border-collapse: collapse; | ||
| + |   margin: 10px auto; | ||
| } | } | ||
| − | . | + | |
| − | + | .smwtable td { | |
| + |   padding: 4px; | ||
| + |   background-color: #f9f9f9; | ||
| } | } | ||
| − | . | + | |
| + | .smwtable td:nth-child(1) { | ||
| + |   background-color: #f2f2f2; | ||
| + | } | ||
| + | |||
| + | /* =============== Template:Header ============= */ | ||
| + | .page-header { | ||
| + | 	font-size: 200%; | ||
| + | 	font-weight: bold; | ||
| + | 	color: white; | ||
| + |     background-image: linear-gradient(130deg,#18374b 0%,#d74e38 100%); | ||
| + |     background-position: center; | ||
| + |     background-size: cover; | ||
| + | 	padding: 50px; | ||
| + | } | ||
| + | |||
| + | .article-body { | ||
| + | 	width: 70%; | ||
| + | 	margin: 20px auto; | ||
| + | } | ||
| + | |||
| + | /* =============== Template:Footer ============= */ | ||
| + | .page-footer { | ||
| + | 	color: white; | ||
| 	text-align: center; | 	text-align: center; | ||
| + |     background-image: linear-gradient(130deg,#18374b 0%,#d74e38 100%); | ||
| + |     background-position: center; | ||
| + |     background-size: cover; | ||
| + | 	padding: 20px; | ||
| + | 	margin-bottom: 10px; | ||
| + | } | ||
| + | |||
| + | .page-footer a { | ||
| + | 	color: white; | ||
| + | } | ||
| + | |||
| + | /* ======== template:Infobox ======== */ | ||
| + | .infobox { | ||
| + |   border: 1px solid silver; | ||
| + |   background-color: #f9f9f9; | ||
| + |   width: 300px; | ||
| + |   float: right; | ||
| + |   padding: 2px; | ||
| + |   margin: 0 0 20px 20px; | ||
| + | } | ||
| + | |||
| + | .infobox td { | ||
| + |   padding: 4px; | ||
| + | } | ||
| + | |||
| + | .infobox td:nth-child(1) { | ||
| + |   width: 50%; | ||
| + |   background-color: #f2f2f2; | ||
| + |   font-weight: bold; | ||
| + |   text-align: right; | ||
| + | } | ||
| + | |||
| + | .infobox td:nth-child(2) { | ||
| + |   width: 50%; | ||
| + | } | ||
| + | |||
| + | /* ======== Font Awesome icons ======== */ | ||
| + | .wt-blue { | ||
| + | 	color: #18374b; | ||
| + | } | ||
| + | |||
| + | /* ======== Template:Social icons ======== */ | ||
| + | .social-icons-container { | ||
| + | 	display: flex; | ||
| + | } | ||
| + | |||
| + | .social-icon { | ||
| + | 	color: #18374b; | ||
| + | 	font-size: 200%; | ||
| + | 	width: 25%; | ||
| + | 	text-align: center; | ||
| + | } | ||
| + | |||
| + | /* =========================== Template:Riga indice, Riga indice primo livello, Riga indice collassabile =================================== */ | ||
| + | .riga-indice { | ||
| + | 	color: white; | ||
| + | } | ||
| + | |||
| + | .riga-indice a { | ||
| + | 	color: white; | ||
| + | } | ||
| + | |||
| + | .riga-indice-semplice { | ||
| + | 	padding-left:35px; | ||
| + | 	padding-top:5px; | ||
| + | 	padding-bottom:5px; | ||
| + | 	padding-right:5px; | ||
| + | 	margin:5px auto; | ||
| + | 	width: 80%; | ||
| + | 	background-image: linear-gradient(135deg,#18374b 0%,#306199 100%); | ||
| + |     background-position: center; | ||
| + |     background-size: cover; | ||
| + | } | ||
| + | |||
| + | .riga-indice-collassabile { | ||
| + | 	padding-left:35px; | ||
| + | 	padding-top:5px; | ||
| + | 	padding-bottom:5px; | ||
| + | 	padding-right:5px; | ||
| + | 	margin:5px auto 5px auto; | ||
| + | 	width: 80%; | ||
| + | 	background-image: linear-gradient(135deg,#18374b 0%,#306199 100%); | ||
| + |     background-position: center; | ||
| + |     background-size: cover; | ||
| + | } | ||
| + | |||
| + | .riga-indice-primo-livello { | ||
| + | 	padding-left:5px; | ||
| + | 	padding-top:5px; | ||
| + | 	padding-bottom:5px; | ||
| + | 	padding-right:35px; | ||
| + | 	margin:5px auto; | ||
| + | 	width: 80%; | ||
| + | 	background-image: linear-gradient(135deg,#18374b 0%,#306199 100%); | ||
| + |     background-position: center; | ||
| + |     background-size: cover; | ||
| + | } | ||
| + | |||
| + | .ispring-book { | ||
| + | 	width: 100%; | ||
| + | 	height: 500px; | ||
| + | 	margin: 20px auto; | ||
| + | 	border: none; | ||
| + | } | ||
| + | |||
| + | /* =========================== Template:Box testo e Box testo e immagine =================================== */ | ||
| + | .template-box-testo-header { | ||
| + | 	background-image: linear-gradient(135deg,#18374b 0%,#306199 100%); | ||
| + | 	background-color: #18374b; | ||
| + | 	color: white; | ||
| + | 	border: 1px solid #D8D8D8; | ||
| + | 	padding: 15px; | ||
| + | 	margin: 10px 0 0 0; | ||
| + | } | ||
| + | |||
| + | .template-box-testo-body { | ||
| + | 	background-color: #fcfcfc; | ||
| + | 	color: white; | ||
| + | 	border: 1px solid #D8D8D8; | ||
| + | 	padding: 15px 15px 5px 15px; | ||
| + | 	margin: 0 0 10px 0; | ||
| + | } | ||
| + | |||
| + | /* ====================== individual pages ======================*/ | ||
| + | .ornament { | ||
| + | 	margin-top: 20px; | ||
| + | 	margin-bottom: 20px; | ||
| + | 	height: 12em; | ||
| + | } | ||
| + | |||
| + | .ornament-1 { | ||
| + | 	background-image: url('https://interno.ct2.it/wiki_demo/images/4/42/University-gd1cc75ad5_1920.jpg'); | ||
| + | 	background-size: cover; | ||
| + | 	background-position: center bottom; | ||
| + | } | ||
| + | |||
| + | .ornament-2 { | ||
| + | 	background-image: url('https://interno.ct2.it/wiki_demo/images/c/ca/Young-woman-1034421_1920.jpg'); | ||
| + | 	background-size: cover; | ||
| + | 	background-position: center center; | ||
| } | } | ||
| − | + | ||
| − | + | /* ==================== Gestione iframe =================== */ | |
| − | + | .iframe-container { | |
| − | + | 	width: 700px; | |
| − | + | 	margin: 20px auto; | |
| } | } | ||
| − | . | + | |
| − | + | .iframe-custom { | |
| − | + | 	width: 700px; | |
| + | 	height: 350px; | ||
| } | } | ||
Versione attuale delle 10:10, 6 ott 2022
/* Gli stili CSS inseriti qui si applicano a tutti i temi */
/* =============== Interfaccia generale ============= */
.mobile-only {
	display: none;
}
.toc {
	margin-top: 30px;
}
/* nascondi pulsante salvataggio */
/*.oo-ui-tool.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-tool-link {
	display: none;
}
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
	display: none;
}*/
/* =============== Home ============= */
.home-title-container {
	text-align: center;
	background-blend-mode: overlay;
    background-image: url(https://www.wtraining.it/wp-content/uploads/2021/09/logo-mediawiki-dettaglio-3.png),linear-gradient(180deg,#18374b 0%,#306199 100%);
    background-position: center;
    background-size: cover;
	padding: 50px;
}
.home-title {
	font-size: 200%;
	color: white;
}
.home-box-red {
	background-blend-mode: overlay;
	background-image: url('https://www.wtraining.it/wp-content/uploads/2021/08/sfondo-wiki.png');
	background-color: #d74e38;
	background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    width: 100%;
    padding: 70px 0;
}
.testo-corporate {
	color: white;
    text-align: center;
    width: 65%;
    margin: 40px auto;
}
.text-shadow {
	text-shadow: 1px 3px 4px rgba(0, 0, 0, 0.3);
    font-size: 125%;
}
.testo-corporate a.external.text {
	color: white;
	text-decoration: underline;
}
.home-button {
	 background-color: #FFFFFF;
	 color: #d74e38;
	 font-size: 150%;
	 font-weight: bold;
	 margin: 30px auto 0 auto;
	 width: 12em;
	 border-radius: 2em;
	 padding: 0.1em;
	 text-align: center;
}
.home-box-blue {
	text-align: center;
	color: white;
    background-image: linear-gradient(135deg,#18374b 0%,#306199 100%);
    background-position: center;
    background-size: cover;
	padding: 50px;
}
.home-box-blue a {
	color: white;
}
.separator {
	display: inline-block;
	color: white;
	text-align: center;
	width: 2em;
}
.img-big {
	width: 500px;
}
/* =============== Tabelle SMW ============= */
.sortable.wikitable.smwtable.jquery-tablesorter {
  border: none;
  margin-top: 30px;
  margin-bottom: 30px;
}
.sortable.wikitable.smwtable.jquery-tablesorter * {
  border: none;
}
.smwtable {
  border-collapse: collapse;
  margin: 10px auto;
}
.smwtable td {
  padding: 4px;
  background-color: #f9f9f9;
}
.smwtable td:nth-child(1) {
  background-color: #f2f2f2;
}
/* =============== Template:Header ============= */
.page-header {
	font-size: 200%;
	font-weight: bold;
	color: white;
    background-image: linear-gradient(130deg,#18374b 0%,#d74e38 100%);
    background-position: center;
    background-size: cover;
	padding: 50px;
}
.article-body {
	width: 70%;
	margin: 20px auto;
}
/* =============== Template:Footer ============= */
.page-footer {
	color: white;
	text-align: center;
    background-image: linear-gradient(130deg,#18374b 0%,#d74e38 100%);
    background-position: center;
    background-size: cover;
	padding: 20px;
	margin-bottom: 10px;
}
.page-footer a {
	color: white;
}
/* ======== template:Infobox ======== */
.infobox {
  border: 1px solid silver;
  background-color: #f9f9f9;
  width: 300px;
  float: right;
  padding: 2px;
  margin: 0 0 20px 20px;
}
.infobox td {
  padding: 4px;
}
.infobox td:nth-child(1) {
  width: 50%;
  background-color: #f2f2f2;
  font-weight: bold;
  text-align: right;
}
.infobox td:nth-child(2) {
  width: 50%;
}
/* ======== Font Awesome icons ======== */
.wt-blue {
	color: #18374b;
}
/* ======== Template:Social icons ======== */
.social-icons-container {
	display: flex;
}
.social-icon {
	color: #18374b;
	font-size: 200%;
	width: 25%;
	text-align: center;
}
/* =========================== Template:Riga indice, Riga indice primo livello, Riga indice collassabile =================================== */
.riga-indice {
	color: white;
}
.riga-indice a {
	color: white;
}
.riga-indice-semplice {
	padding-left:35px;
	padding-top:5px;
	padding-bottom:5px;
	padding-right:5px;
	margin:5px auto;
	width: 80%;
	background-image: linear-gradient(135deg,#18374b 0%,#306199 100%);
    background-position: center;
    background-size: cover;
}
.riga-indice-collassabile {
	padding-left:35px;
	padding-top:5px;
	padding-bottom:5px;
	padding-right:5px;
	margin:5px auto 5px auto;
	width: 80%;
	background-image: linear-gradient(135deg,#18374b 0%,#306199 100%);
    background-position: center;
    background-size: cover;
}
.riga-indice-primo-livello {
	padding-left:5px;
	padding-top:5px;
	padding-bottom:5px;
	padding-right:35px;
	margin:5px auto;
	width: 80%;
	background-image: linear-gradient(135deg,#18374b 0%,#306199 100%);
    background-position: center;
    background-size: cover;
}
.ispring-book {
	width: 100%;
	height: 500px;
	margin: 20px auto;
	border: none;
}
/* =========================== Template:Box testo e Box testo e immagine =================================== */
.template-box-testo-header {
	background-image: linear-gradient(135deg,#18374b 0%,#306199 100%);
	background-color: #18374b;
	color: white;
	border: 1px solid #D8D8D8;
	padding: 15px;
	margin: 10px 0 0 0;
}
.template-box-testo-body {
	background-color: #fcfcfc;
	color: white;
	border: 1px solid #D8D8D8;
	padding: 15px 15px 5px 15px;
	margin: 0 0 10px 0;
}
/* ====================== individual pages ======================*/
.ornament {
	margin-top: 20px;
	margin-bottom: 20px;
	height: 12em;
}
.ornament-1 {
	background-image: url('https://interno.ct2.it/wiki_demo/images/4/42/University-gd1cc75ad5_1920.jpg');
	background-size: cover;
	background-position: center bottom;
}
.ornament-2 {
	background-image: url('https://interno.ct2.it/wiki_demo/images/c/ca/Young-woman-1034421_1920.jpg');
	background-size: cover;
	background-position: center center;
}
/* ==================== Gestione iframe =================== */
.iframe-container {
	width: 700px;
	margin: 20px auto;
}
.iframe-custom {
	width: 700px;
	height: 350px;
}