MediaWiki:Mobile.css

Da W.Training Demo Wiki.
Jump to navigation Jump to search

Nota: dopo aver salvato, potrebbe essere necessario pulire la cache del proprio browser per vedere i cambiamenti.

  • Firefox / Safari: tenere premuto il tasto delle maiuscole Shift e fare clic su Ricarica, oppure premere Ctrl-F5 o Ctrl-R (⌘-R su Mac)
  • Google Chrome: premere Ctrl-Shift-R (⌘-Shift-R su un Mac)
  • Internet Explorer: tenere premuto il tasto Ctrl e fare clic su Aggiorna, oppure premere Ctrl-F5
  • Opera: Vai nel Menu → Impostazioni (Opera → Preferenze su un Mac) e poi in Privacy & sicurezza → Pulisci dati del browser → Immagini e file nella cache.
/* Gli stili CSS inseriti qui si applicano agli utenti che usano il sito per dispositivi mobili */
/* ============== interface cleanup ============== */
/* rimuove la barra "Last modified"/"Cronologia" */
div.last-modified-bar { display:none; }
/* div.footer-element { display:none; } */

/* rimuove link alla discussione */
#page-secondary-actions { display:none; }

/* rimuove il link "privacy" nel footer */
#footer-places-privacy { display:none; }

/* rimuove barra contenente link alle altre lingue, osserva, modifica */
#page-actions { display:none; }
/* .hlist { display:none; } */
.page-actions-menu { display:none; }

/* rimuove hamburger */
/* #mw-mf-main-menu-button { display:none; } */

/* rimuove menu laterale a scomparsa */
/* div.view-border-box { display:none; } */

/* rimuove link inutili dal menu laterale a scomparsa */
/* .mw-ui-icon { display:none; } */
/* .mw-ui-icon-before { display:none; } */
/* .mw-ui-icon-minerva-settings { display:none; } */
.mw-ui-icon-minerva-profile { display:none; }
.mw-ui-icon-minerva-logout { display:none; }
.mw-ui-icon-minerva-watchlist { display:none; }
.mw-ui-icon-minerva-contributions { display:none; }
.mw-ui-icon-minerva-settings { display:none; }

/*.heading-holder { display:none; }*/

/* nasconde pulsante modifica */
.mw-ui-icon.mw-ui-icon-mf-next-invert.mw-ui-icon-element.continue {
	display: none;
}

.oo-ui-tool-link.ve-ui-toolbar-saveButton {
	display: none;
}

.desktop-only {
	display: none;
}

.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: 30px;
}

.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: 30px 0;
}

.home-box-red-1 {
	    padding-top: 0;
}

.testo-corporate {
	color: white;
    margin: 20px auto;
    padding: 20px;
}

.text-shadow {
	    text-shadow: 1px 3px 4px rgba(0, 0, 0, 0.3);
}

.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(180deg,#18374b 0%,#306199 100%);
    background-position: center;
    background-size: cover;
	padding: 20px;
}

.home-box-blue a {
	color: white;
}

.separator {
	visibility: hidden;
}
.separator::after {
	content: "";
	display: block;
}

.img-big {
	width: 100%;
}

/* =============== 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: 20px;
	margin-bottom: 20px;
}


/* =============== 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;
	margin-top: 40px;
}

.page-footer a {
	color: white;
}

/* ======== template:Infobox ======== */
.infobox {
  background-color: #f9f9f9;
  width: 300px;
  margin: 10px auto;
}

.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;
	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;
	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;
	background-image: linear-gradient(135deg,#18374b 0%,#306199 100%);
    background-position: center;
    background-size: cover;
}

.riga-indice-primo-livello {
	padding-left:10px;
	padding-top:5px;
	padding-bottom:5px;
	padding-right:5px;
	margin:5px auto;
	background-image: linear-gradient(135deg,#18374b 0%,#306199 100%);
    background-position: center;
    background-size: cover;
}

.ispring-book {
	width: 100%;
	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: 360px;
	margin: 20px auto;
}

.iframe-custom {
	width: 360px;
	height: 180px;
}