Apri/Chiudi il menu
Toggle preferences menu
Apri/Chiudi il menu personale
Accesso non effettuato
Il tuo indirizzo IP sarà visibile pubblicamente se effettuerai modifiche.

MediaWiki:Common.css: differenze tra le versioni

Pagina dell'interfaccia di MediaWiki
Nessun oggetto della modifica
Nessun oggetto della modifica
Etichetta: Ripristino manuale
 
(23 versioni intermedie di uno stesso utente non sono mostrate)
Riga 1: Riga 1:
/* Gli stili CSS inseriti qui si applicano a tutti i temi */
/* ===============================
  Stili globali per l'infobox
  =============================== */


/* ===== Infobox (light + dark) ===== */
/* Infobox scura, stretta e verticale */
/* ========= Infobox – tema scuro + responsive ========= */
.infobox {
/* Infobox scura e verticale */
   float: right;
.infobox{
  clear: right;
   float:right; clear:right;
   width: 320px;
   width:320px;           /* larghezza fissa desktop */
   max-width: 320px; /* fissa su desktop */
   max-width:320px;       /* blocca la larghezza */
   margin: 0 0 1rem 1rem;
   margin:0 !important;
   background: #0f0f10;
   background:#0f0f10; color:#e9e9ea;
  color: #e9e9ea;
   border:1px solid #27272a; border-radius:6px;
   border: 1px solid #27272a;
   font-size:.95em; line-height:1.45;
  border-radius: 6px;
   box-sizing:border-box;
   font-size: 0.95em;
  line-height: 1.45;
   box-sizing: border-box;
}
}
.infobox .ib-title{
 
   background:#151519; padding:.6rem .8rem;
/* Titolo */
   text-align:center; font-weight:700; font-size:1.05em;
.infobox .ib-title {
   background: #151519;
  padding: 0.6rem 0.8rem;
   text-align: center;
  font-weight: 700;
  font-size: 1.05em;
}
 
/* Immagine + didascalia */
.infobox .ib-image {
  text-align: center;
  padding: 0.5rem;
}
 
.infobox .ib-image img {
  max-width: 100%;
  height: auto;
}
 
.infobox .ib-caption {
  color: #b6b6b8;
  font-size: 0.85em;
  text-align: center;
  font-style: italic;
  margin: 0.25rem 0.5rem 0.5rem;
}
 
/* Righe (flex: etichetta a sinistra, dato a destra) */
.ib-row {
  display: flex;
}
}
.infobox .ib-image{ text-align:center; padding:.5rem; }
 
.infobox .ib-image img{ max-width:100%; height:auto; }
.ib-label,
.infobox .ib-caption{
.ib-data {
   color:#b6b6b8;
   padding: 0.45rem 0.6rem;
  font-size:.85em;
  text-align:center;
  font-style:italic;
  margin:.25rem .5rem .5rem;
}
}


.ib-label {
  width: 42%;
  background: #151519;
  text-align: left;
  font-weight: 600;
  vertical-align: top;
}


.ib-row{ display:flex; }
.ib-data {
.ib-label, .ib-data{ padding:.45rem .6rem; }
   width: 58%;
.ib-label{
  word-break: break-word;
   width:42%; background:#151519; text-align:left; font-weight:600;
  overflow-wrap: anywhere;
}
}
.ib-data{
 
   width:58%; background:transparent;
.ib-row:nth-of-type(even) .ib-data {
  word-break:break-word; overflow-wrap:anywhere;
   background: #121214;
}
}
.ib-row:nth-of-type(even) .ib-data{ background:#121214; }


.infobox a{ color:#58a6ff; text-decoration:none; }
/* Link */
.infobox a:hover{ text-decoration:underline; }
.infobox a {
  color: #58a6ff;
  text-decoration: none;
}
 
.infobox a:hover {
  text-decoration: underline;
}
 
/*
  *** STOP AI BUCHI ***
  MediaWiki inserisce <p> tra i blocchi → li azzeriamo/eliminiamo.
  Manteniamo invece i <p> dentro .ib-data (testo dell'utente).
*/
.infobox > p {
  margin: 0 !important;
  padding: 0 !important;
  display: none !important;
}
 
/* Mobile: piena larghezza, niente float */
@media (max-width: 768px) {
  .infobox {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0.5rem 0 1rem;
  }
}
 
 
 
 


@media (max-width:768px){
/* Nasconde il link duplicato aggiunto nel portlet Navigation */
   .infobox{ float:none; width:100%; margin:.5rem 0 1rem; }
#n-specialpages {
   display: none !important;
}
}

Versione attuale delle 15:49, 6 set 2025

/* ===============================
   Stili globali per l'infobox
   =============================== */

/* Infobox scura, stretta e verticale */
.infobox {
  float: right;
  clear: right;
  width: 320px;
  max-width: 320px; /* fissa su desktop */
  margin: 0 0 1rem 1rem;
  background: #0f0f10;
  color: #e9e9ea;
  border: 1px solid #27272a;
  border-radius: 6px;
  font-size: 0.95em;
  line-height: 1.45;
  box-sizing: border-box;
}

/* Titolo */
.infobox .ib-title {
  background: #151519;
  padding: 0.6rem 0.8rem;
  text-align: center;
  font-weight: 700;
  font-size: 1.05em;
}

/* Immagine + didascalia */
.infobox .ib-image {
  text-align: center;
  padding: 0.5rem;
}

.infobox .ib-image img {
  max-width: 100%;
  height: auto;
}

.infobox .ib-caption {
  color: #b6b6b8;
  font-size: 0.85em;
  text-align: center;
  font-style: italic;
  margin: 0.25rem 0.5rem 0.5rem;
}

/* Righe (flex: etichetta a sinistra, dato a destra) */
.ib-row {
  display: flex;
}

.ib-label,
.ib-data {
  padding: 0.45rem 0.6rem;
}

.ib-label {
  width: 42%;
  background: #151519;
  text-align: left;
  font-weight: 600;
  vertical-align: top;
}

.ib-data {
  width: 58%;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.ib-row:nth-of-type(even) .ib-data {
  background: #121214;
}

/* Link */
.infobox a {
  color: #58a6ff;
  text-decoration: none;
}

.infobox a:hover {
  text-decoration: underline;
}

/* 
   *** STOP AI BUCHI ***
   MediaWiki inserisce <p> tra i blocchi → li azzeriamo/eliminiamo.
   Manteniamo invece i <p> dentro .ib-data (testo dell'utente).
*/
.infobox > p {
  margin: 0 !important;
  padding: 0 !important;
  display: none !important;
}

/* Mobile: piena larghezza, niente float */
@media (max-width: 768px) {
  .infobox {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0.5rem 0 1rem;
  }
}





/* Nasconde il link duplicato aggiunto nel portlet Navigation */
#n-specialpages {
  display: none !important;
}