More actions
No edit summary |
No edit summary |
||
| Line 192: | Line 192: | ||
color: var(--color-base--subtle, #b8b8b8); | color: var(--color-base--subtle, #b8b8b8); | ||
} | } | ||
/* Indice editoriale principale */ | /* Indice editoriale principale: libero, senza box */ | ||
.mw-parser-output .ce-home-index { | .mw-parser-output .ce-home-index { | ||
display: grid; | display: grid; | ||
grid-template-columns: repeat(3, minmax(0, 1fr)); | grid-template-columns: repeat(3, minmax(0, 1fr)); | ||
gap: | gap: 3rem; | ||
width: 100%; | width: 100%; | ||
margin: 0 0 | margin: 0 0 4rem 0; | ||
padding-top: | padding-top: 2rem; | ||
border | border: 0; | ||
} | } | ||
| Line 208: | Line 208: | ||
grid-template-columns: 3rem minmax(0, 1fr); | grid-template-columns: 3rem minmax(0, 1fr); | ||
gap: 1rem; | gap: 1rem; | ||
padding | padding: 0; | ||
border | border: 0; | ||
background: transparent; | |||
} | } | ||
.mw-parser-output .ce-index-number { | .mw-parser-output .ce-index-number { | ||
color: # | color: var(--color-base--subtle, #b8b8b8); | ||
font-size: 0. | font-size: 0.85rem; | ||
line-height: 1.2; | line-height: 1.2; | ||
font-weight: | font-weight: 500; | ||
letter-spacing: 0.04em; | letter-spacing: 0.04em; | ||
} | } | ||
| Line 234: | Line 235: | ||
.mw-parser-output .ce-index-title a:hover { | .mw-parser-output .ce-index-title a:hover { | ||
color: # | color: var(--color-progressive, #36c); | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
| Line 245: | Line 246: | ||
} | } | ||
/* Sezione archivi principali */ | /* Sezione archivi principali: libera, senza box */ | ||
.mw-parser-output .ce-section { | .mw-parser-output .ce-section { | ||
| Line 251: | Line 252: | ||
width: 100%; | width: 100%; | ||
max-width: 100%; | max-width: 100%; | ||
padding: 0; | |||
margin-top: 2rem; | |||
background: transparent; | background: transparent; | ||
overflow: | border: 0; | ||
overflow: visible; | |||
} | } | ||
.mw-parser-output .ce-section h2 { | .mw-parser-output .ce-section h2 { | ||
margin-top: 0; | margin-top: 0; | ||
margin-bottom: 1.25rem; | |||
font-size: 1.6rem; | |||
font-weight: 600; | |||
} | |||
.mw-parser-output .ce-section ul { | |||
list-style: none; | |||
margin: 0; | |||
padding: 0; | |||
} | |||
.mw-parser-output .ce-section li { | |||
margin: 0; | |||
padding: 0.55rem 0; | |||
border-bottom: 1px solid rgba(255, 255, 255, 0.12); | |||
} | |||
.mw-parser-output .ce-section li:last-child { | |||
border-bottom: 0; | |||
} | |||
.mw-parser-output .ce-section a, | |||
.mw-parser-output .ce-section a:visited { | |||
color: inherit; | |||
text-decoration: none; | |||
} | |||
.mw-parser-output .ce-section a:hover { | |||
color: var(--color-progressive, #36c); | |||
text-decoration: none; | |||
} | } | ||
Revision as of 11:21, 14 May 2026
/* CSS placed here will be applied to all skins */
/* === Footer MediaWiki/Citizen === */
#footer {
display: none;
}
/* last modification stuff */
#footer-info {
display: none;
}
/* footer links */
#footer-places {
display: none;
}
/* powered by icon */
#footer-icon {
display: none;
}
/* === Box stato archivio === */
.box-stato-archivio .citizen-card__body p {
margin: 0 0 .75em 0;
}
.box-stato-archivio .citizen-card__body p:last-child {
margin-bottom: 0;
}
/* === CSS per template IntestazionePagine === */
.namespace-label {
display: block;
font-size: 0.85em;
margin-top: -0.3em;
margin-bottom: 0.6em;
}
.namespace-label a,
.namespace-label a:visited {
color: inherit;
}
/* ==========================================================
HOMEPAGE CINETECA DELL'ETNA
Pagina di test: Test_home
========================================================== */
/* Nasconde titolo standard Citizen solo nella pagina Test_home */
body.page-Test_home .citizen-page-header,
body.page-Test_home .citizen-body-header,
body.page-Test_home .mw-body-header,
body.page-Test_home #firstHeading,
body.page-Test_home .firstHeading,
body.page-Test_home .mw-first-heading,
body.page-Test_home .mw-page-title-main {
display: none !important;
}
/* Nasconde colonna destra Citizen solo nella pagina Test_home */
body.page-Test_home .citizen-page-sidebar,
body.page-Test_home .citizen-toc,
body.page-Test_home .citizen-page-info,
body.page-Test_home .citizen-lastmod,
body.page-Test_home .citizen-page-actions-more,
body.page-Test_home .toc,
body.page-Test_home #toc {
display: none !important;
}
/* Allarga lo spazio utile della home */
body.page-Test_home .citizen-body,
body.page-Test_home .citizen-body-container,
body.page-Test_home .mw-body,
body.page-Test_home .mw-parser-output {
max-width: none !important;
}
body.page-Test_home .citizen-body {
grid-template-columns: minmax(0, 1fr) !important;
}
/* Contenitore generale home */
.mw-parser-output .ce-home {
max-width: 1400px;
margin: 0 auto;
padding: 2rem 2rem 4rem;
box-sizing: border-box;
overflow-x: hidden;
}
/* Hero: testo a sinistra, foto verticale a destra */
.mw-parser-output .ce-hero {
display: grid;
grid-template-columns: minmax(0, 1fr) 320px;
gap: 3.5rem;
align-items: start;
width: 100%;
max-width: 100%;
box-sizing: border-box;
margin-bottom: 3rem;
}
.mw-parser-output .ce-hero-text {
grid-column: 1;
grid-row: 1;
min-width: 0;
align-self: start;
margin-top: 0;
padding-top: 0;
}
/* Immagine verticale della home: solo foto, nessun box */
.mw-parser-output .ce-hero-visual {
grid-column: 2;
grid-row: 1;
width: 320px;
height: 480px;
padding: 0 !important;
margin: 0 !important;
border: 0 !important;
outline: 0 !important;
background: none !important;
box-shadow: none !important;
border-radius: 0 !important;
overflow: hidden;
}
.mw-parser-output .ce-hero-visual > p {
margin: 0 !important;
padding: 0 !important;
}
.mw-parser-output .ce-hero-visual a,
.mw-parser-output .ce-hero-visual span,
.mw-parser-output .ce-hero-visual figure,
.mw-parser-output .ce-hero-visual .mw-default-size,
.mw-parser-output .ce-hero-visual .mw-file-description {
display: block;
width: 320px !important;
height: 480px !important;
margin: 0 !important;
padding: 0 !important;
border: 0 !important;
outline: 0 !important;
background: none !important;
box-shadow: none !important;
border-radius: 0 !important;
}
.mw-parser-output .ce-hero-visual img,
.mw-parser-output .ce-hero-visual .mw-file-element,
.mw-parser-output .ce-hero-img {
display: block;
width: 320px !important;
height: 480px !important;
max-width: none !important;
object-fit: cover;
object-position: center;
margin: 0 !important;
padding: 0 !important;
border: 0 !important;
outline: 0 !important;
background: none !important;
box-shadow: none !important;
border-radius: 0 !important;
}
/* Testo principale hero */
.mw-parser-output .ce-hero-text h1 {
font-size: clamp(2.8rem, 5.2vw, 5.2rem);
line-height: 0.98;
margin: 0 0 1.5rem;
letter-spacing: -0.03em;
}
.mw-parser-output .ce-hero-text p {
font-size: 1.15rem;
line-height: 1.55;
max-width: 760px;
color: var(--color-base--subtle, #b8b8b8);
}
/* Indice editoriale principale: libero, senza box */
.mw-parser-output .ce-home-index {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 3rem;
width: 100%;
margin: 0 0 4rem 0;
padding-top: 2rem;
border: 0;
}
.mw-parser-output .ce-index-item {
display: grid;
grid-template-columns: 3rem minmax(0, 1fr);
gap: 1rem;
padding: 0;
border: 0;
background: transparent;
}
.mw-parser-output .ce-index-number {
color: var(--color-base--subtle, #b8b8b8);
font-size: 0.85rem;
line-height: 1.2;
font-weight: 500;
letter-spacing: 0.04em;
}
.mw-parser-output .ce-index-title {
margin-bottom: 0.65rem;
font-size: 1.45rem;
line-height: 1.1;
font-weight: 600;
}
.mw-parser-output .ce-index-title a,
.mw-parser-output .ce-index-title a:visited {
color: inherit;
text-decoration: none;
}
.mw-parser-output .ce-index-title a:hover {
color: var(--color-progressive, #36c);
text-decoration: none;
}
.mw-parser-output .ce-index-text {
color: var(--color-base--subtle, #b8b8b8);
font-size: 1rem;
line-height: 1.45;
max-width: 32em;
}
/* Sezione archivi principali: libera, senza box */
.mw-parser-output .ce-section {
box-sizing: border-box;
width: 100%;
max-width: 100%;
padding: 0;
margin-top: 2rem;
background: transparent;
border: 0;
overflow: visible;
}
.mw-parser-output .ce-section h2 {
margin-top: 0;
margin-bottom: 1.25rem;
font-size: 1.6rem;
font-weight: 600;
}
.mw-parser-output .ce-section ul {
list-style: none;
margin: 0;
padding: 0;
}
.mw-parser-output .ce-section li {
margin: 0;
padding: 0.55rem 0;
border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.mw-parser-output .ce-section li:last-child {
border-bottom: 0;
}
.mw-parser-output .ce-section a,
.mw-parser-output .ce-section a:visited {
color: inherit;
text-decoration: none;
}
.mw-parser-output .ce-section a:hover {
color: var(--color-progressive, #36c);
text-decoration: none;
}
/* Mobile */
@media (max-width: 800px) {
.mw-parser-output .ce-home {
padding: 1.25rem 0 3rem;
}
.mw-parser-output .ce-hero {
grid-template-columns: 1fr;
gap: 1.5rem;
}
.mw-parser-output .ce-hero-text {
grid-column: 1;
grid-row: 1;
}
.mw-parser-output .ce-hero-visual {
grid-column: 1;
grid-row: 2;
width: 100%;
max-width: 320px;
height: 480px;
}
.mw-parser-output .ce-hero-visual a,
.mw-parser-output .ce-hero-visual span,
.mw-parser-output .ce-hero-visual figure,
.mw-parser-output .ce-hero-visual .mw-default-size,
.mw-parser-output .ce-hero-visual .mw-file-description,
.mw-parser-output .ce-hero-visual img,
.mw-parser-output .ce-hero-visual .mw-file-element,
.mw-parser-output .ce-hero-img {
width: 320px !important;
height: 480px !important;
}
.mw-parser-output .ce-main-links {
grid-template-columns: 1fr;
}
.mw-parser-output .ce-hero-text h1 {
font-size: 2.6rem;
}
}