MediaWiki:Mobile.css: differenze tra le versioni

Da Semi del Verbo, l'enciclopedia dell'influenza del Vangelo sulla cultura
 
Nessun oggetto della modifica
 
(Una versione intermedia di uno stesso utente non è mostrata)
Riga 83: Riga 83:
.mobileonly {
.mobileonly {
display: initial;
display: initial;
}
.nomobile {
display: none;
}
span.bibleQuoteRef {
color: #36b;
font-weight: bold;
cursor: help;
display: inline-block;
line-height: 0.8em;
border-bottom: 1px dashed #36b;
}
div.bibleQuoteRef {
border: 1px solid Gray;
border-radius: 6px;
padding: 6px 12px;
margin: 6px auto;
max-width: 80%;
background-color:Gray;
}
/*
.bibleQuoteRef:hover {
text-decoration: underline;
}
*/
.bibleGetQuote {
border: 1px solid #aaa;
padding: 9px 12px;
background-color: white;
box-shadow: 6px 6px 12px lightgray;
max-width: 400px;
min-width: 380px;
font-size: .8em;
}
.bibleGetQuote.ready {
position: absolute;
top: 0;
}
.bibleGetQuote.hidden {
left: -1000px;
}
.bibleGetQuote.sticky {
overflow-y: auto;
height: 90vh;
border-right: 0px;
}
.bibleGetQuote.sticky .closeButton {
display: block;
position: absolute;
top: 3px;
right: 5px;
background-color: lightgrey;
border: 1px groove Gray;
font-weight: bold;
text-align: center;
width: 2em;
height: 1.8em;
font-size: 1em;
padding-top: .4em;
color: DarkRed;
cursor: pointer;
}
.bibleGetQuote.sticky .closeButton:hover {
background-color: #dfdfdf;
color: Red;
}
.bibleQuoteRefBroken {
color:#36b;
font-weight:bold;
display: inline-block;
line-height: 0.8em;
border-bottom: 1px dashed Red;
cursor: help;
}
.bibleQuoteRefBrokenReason {
color:red;
font-weight:bold;
cursor:help;
}
/*.bibleQuote.results { font-family:'Quattrocento'; }*/
.bibleQuote.results p { margin: 0; }
.bibleQuote.results .bibleVersion {
color: #5a5aad;
text-align: center;
font-size:0.9em;
font-weight: bold;
font-style: normal;
text-decoration: none;
}
.bibleQuote.results .bookChapter {
color: #b40505;
font-size:1em;
font-weight: bold;
font-style: normal;
text-decoration: none;
text-align: left;
}
.bibleQuote.results .versesParagraph {
color: #666666;
text-align: justify;
font-size:1em;
font-weight: normal;
font-style: normal;
text-decoration: none;
line-height: 1.5em;
}
.bibleQuote.results .versesParagraph .verseNum {
color: #AA0000;
margin: 0px 3px;
font-weight: bold;
font-style: normal;
text-decoration: none;
vertical-align: baseline;
position: relative; top: -0.6em;
font-size: .83em;
/*vertical-align: super;*/
}
.bibleQuote.results .versesParagraph .sm { text-transform: lowercase; font-variant: small-caps; }
.bibleQuote.results .versesParagraph .pof { display: block; text-indent: 0; margin-top:.1em; margin-left:5%; line-height: 160%; }
.bibleQuote.results .versesParagraph .po { display: block; margin-left:5%; line-height: 160%; }
.bibleQuote.results .versesParagraph .pol { display: block; margin-left:5%; margin-bottom:1em; line-height: 160%; }
.bibleQuote.results .versesParagraph .pos { display: block; margin-top:0.3em; margin-left:5%; line-height: 110%; }
.bibleQuote.results .versesParagraph .poif { display: block; margin-left:7%; margin-top:1%; line-height: 160%; }
.bibleQuote.results .versesParagraph .poi { display: block; margin-left:7%; line-height: 160%; }
.bibleQuote.results .versesParagraph .poil { display: block; margin-left:7%; margin-bottom:.1em; line-height: 160%; }
.bibleQuote.results .versesParagraph .po3 { display: block; margin-left:7%; line-height: 110%; }
.bibleQuote.results .versesParagraph .po3l { display: block; margin-left:7%; line-height: 110%; }
.bibleQuote.results .versesParagraph .speaker { font-weight: bold; background-color: #eeeeee; padding: 3px; border-radius: 3px; font-size: 1em; }
.bibleQuote.results .versesParagraph .pr { display: block; text-align: right; font-style: italic; font-size: .8em; line-height: 90%; margin-bottom: -.1em; }
.bibleQuote.results span.bookChapter { margin-left: 12px; }
.bibleQuote.errors { display: none; }
.bibleQuote.info { display: none; }
.citation.libro .autore, .citation.pubblicazione .autore { font-variant: small-caps; }
.lds-spinner {
  display: block;
  position: relative;
  margin: 0px auto;
  width: 80px;
  height: 80px;
}
.lds-spinner div {
  transform-origin: 40px 40px;
  animation: lds-spinner 1.2s linear infinite;
}
.lds-spinner div:after {
  content: " ";
  display: block;
  position: absolute;
  top: 3px;
  left: 37px;
  width: 6px;
  height: 18px;
  border-radius: 20%;
  background: #fff;
}
.lds-spinner div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -1.1s;
}
.lds-spinner div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1s;
}
.lds-spinner div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.9s;
}
.lds-spinner div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.8s;
}
.lds-spinner div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.7s;
}
.lds-spinner div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.6s;
}
.lds-spinner div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}
.lds-spinner div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.4s;
}
.lds-spinner div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.3s;
}
.lds-spinner div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.2s;
}
.lds-spinner div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.1s;
}
.lds-spinner div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
}
@keyframes lds-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
}

Versione attuale delle 17:26, 21 ott 2020

/* Gli stili CSS inseriti qui si applicano agli utenti che usano il sito per dispositivi mobili */

/* Sinottico semplificata */
.sinottico {
	border: 1px solid #aaaaaa;
	background-color: #f9f9f9;
	font-size: 95%;
	vertical-align: top;
	line-height: 1.4em;
}

.sinottico th {
	background-color: #f2f2f2;
	text-align: right;
	vertical-align: top;
	border-bottom: 1px solid #f9f9f9;
	padding-right: 0.5em;
}

.sinottico td {
	vertical-align: top;
	border: none;
}

.sinottico_testo_centrale {
	text-align: center;
}

.sinottico_testata th {
	font-size: 116%;
	background-color: #dedede;
	text-align: center;
}

.sinottico_piede {
	text-align: center;
	font-size: 90%;
	background: #EFEFEF;
}

.sinottico_divisione th {
	background-color: #eeeeee;
	text-align: center;
}

.sinottico caption {
	font-weight: bold;
}

/* altrimenti appare indentato anche il titolo, forse per errore */
dl {
	margin-left:0;
}
dd {
	margin-left:1em;
}

/* Migliora visibilità degli elenchi puntati nei sinottici */
.sinottico ul {
	padding-left: 1.5em;
}

/* Permette di vedere le espressioni abbreviate senza mouse */
abbr[title]:focus::after,
abbr[title]:hover::after {
	background: white;
	border: 1px grey solid;
	content: attr(title);
	font-size: 14px;
	font-style: normal;
	font-weight: normal;
	left: 25%;
	max-height: 30%;
	overflow: scroll;
	padding: 5px;
	position: fixed;
	text-align: center;
	top: 35%;
	width: 50%;
	z-index: 101;
}

.mobileonly {
	display: initial;
}

.nomobile {
	display: none;
}


span.bibleQuoteRef {
	color: #36b;
	font-weight: bold;
	cursor: help;
	display: inline-block;
	line-height: 0.8em;
	border-bottom: 1px dashed #36b;
}

div.bibleQuoteRef {
	border: 1px solid Gray;
	border-radius: 6px;
	padding: 6px 12px;
	margin: 6px auto;
	max-width: 80%;
	background-color:Gray;
}
/*
.bibleQuoteRef:hover {
	text-decoration: underline;
}
*/
.bibleGetQuote {
	border: 1px solid #aaa;
	padding: 9px 12px;
	background-color: white;
	box-shadow: 6px 6px 12px lightgray;
	max-width: 400px;
	min-width: 380px;
	font-size: .8em;
}

.bibleGetQuote.ready {
	position: absolute;
	top: 0;
}

.bibleGetQuote.hidden {
	left: -1000px;
}

.bibleGetQuote.sticky {
	overflow-y: auto;
	height: 90vh;
	border-right: 0px;
}

.bibleGetQuote.sticky .closeButton {
	display: block;
	position: absolute;
	top: 3px;
	right: 5px;
	background-color: lightgrey;
	border: 1px groove Gray;
	font-weight: bold;
	text-align: center;
	width: 2em;
	height: 1.8em;
	font-size: 1em;
	padding-top: .4em;
	color: DarkRed;
	cursor: pointer;
}

.bibleGetQuote.sticky .closeButton:hover {
	background-color: #dfdfdf;
	color: Red;
}

.bibleQuoteRefBroken {
	color:#36b;
	font-weight:bold;
	display: inline-block;
	line-height: 0.8em;
	border-bottom: 1px dashed Red;
	cursor: help;
}

.bibleQuoteRefBrokenReason {
	color:red;
	font-weight:bold;
	cursor:help;
}

/*.bibleQuote.results { font-family:'Quattrocento'; }*/
.bibleQuote.results p { margin: 0; }
.bibleQuote.results .bibleVersion { 
	color: #5a5aad; 
	text-align: center;
	font-size:0.9em;
	font-weight: bold;
	font-style: normal;
	text-decoration: none;
}
.bibleQuote.results .bookChapter { 
	color: #b40505; 
	font-size:1em;
	font-weight: bold;
	font-style: normal;
	text-decoration: none;
	text-align: left;
}
.bibleQuote.results .versesParagraph { 
	color: #666666; 
	text-align: justify;
	font-size:1em;
	font-weight: normal;
	font-style: normal;
	text-decoration: none;
	line-height: 1.5em;
}

.bibleQuote.results .versesParagraph .verseNum { 
	color: #AA0000; 
	margin: 0px 3px;	
	font-weight: bold;
	font-style: normal;
	text-decoration: none;
	vertical-align: baseline;
	position: relative; top: -0.6em;	
	font-size: .83em;
	/*vertical-align: super;*/
}

.bibleQuote.results .versesParagraph .sm { text-transform: lowercase; font-variant: small-caps; } 
.bibleQuote.results .versesParagraph .pof { display: block; text-indent: 0; margin-top:.1em; margin-left:5%; line-height: 160%; }
.bibleQuote.results .versesParagraph .po { display: block; margin-left:5%; line-height: 160%; }
.bibleQuote.results .versesParagraph .pol { display: block; margin-left:5%; margin-bottom:1em; line-height: 160%; }
.bibleQuote.results .versesParagraph .pos { display: block; margin-top:0.3em; margin-left:5%; line-height: 110%; }
.bibleQuote.results .versesParagraph .poif { display: block; margin-left:7%; margin-top:1%; line-height: 160%; }
.bibleQuote.results .versesParagraph .poi { display: block; margin-left:7%; line-height: 160%; }
.bibleQuote.results .versesParagraph .poil { display: block; margin-left:7%; margin-bottom:.1em; line-height: 160%; }
.bibleQuote.results .versesParagraph .po3 { display: block; margin-left:7%; line-height: 110%; }
.bibleQuote.results .versesParagraph .po3l { display: block; margin-left:7%; line-height: 110%; }
.bibleQuote.results .versesParagraph .speaker { font-weight: bold; background-color: #eeeeee; padding: 3px; border-radius: 3px; font-size: 1em; }
.bibleQuote.results .versesParagraph .pr { display: block; text-align: right; font-style: italic; font-size: .8em; line-height: 90%; margin-bottom: -.1em; }
.bibleQuote.results span.bookChapter { margin-left: 12px; }
.bibleQuote.errors { display: none; }
.bibleQuote.info { display: none; }

.citation.libro .autore, .citation.pubblicazione .autore { font-variant: small-caps; }

.lds-spinner {
  display: block;
  position: relative;
  margin: 0px auto;
  width: 80px;
  height: 80px;
}
.lds-spinner div {
  transform-origin: 40px 40px;
  animation: lds-spinner 1.2s linear infinite;
}
.lds-spinner div:after {
  content: " ";
  display: block;
  position: absolute;
  top: 3px;
  left: 37px;
  width: 6px;
  height: 18px;
  border-radius: 20%;
  background: #fff;
}
.lds-spinner div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -1.1s;
}
.lds-spinner div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1s;
}
.lds-spinner div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.9s;
}
.lds-spinner div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.8s;
}
.lds-spinner div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.7s;
}
.lds-spinner div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.6s;
}
.lds-spinner div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}
.lds-spinner div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.4s;
}
.lds-spinner div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.3s;
}
.lds-spinner div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.2s;
}
.lds-spinner div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.1s;
}
.lds-spinner div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
}
@keyframes lds-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}