More actions
No edit summary |
No edit summary |
||
| Line 75: | Line 75: | ||
} | } | ||
/* Allarga | /* Allarga lo spazio utile della home dentro Citizen */ | ||
body.page-Test_home .citizen-body, | body.page-Test_home .citizen-body, | ||
| Line 93: | Line 93: | ||
grid-template-columns: minmax(0, 1fr) !important; | grid-template-columns: minmax(0, 1fr) !important; | ||
} | } | ||
/* Contenitore generale home: largo ma centrato */ | /* Contenitore generale home: largo ma centrato */ | ||
| Line 122: | Line 121: | ||
min-width: 0; | min-width: 0; | ||
} | } | ||
/* Colonna laterale editoriale: senza linee */ | |||
.mw-parser-output .ce-home-aside { | .mw-parser-output .ce-home-aside { | ||
| Line 128: | Line 129: | ||
gap: 2rem; | gap: 2rem; | ||
min-width: 0; | min-width: 0; | ||
border-left: | border-left: 0; | ||
padding-left: 2rem; | padding-left: 2rem; | ||
} | } | ||
| Line 261: | Line 262: | ||
line-height: 1.1; | line-height: 1.1; | ||
font-weight: 600; | font-weight: 600; | ||
color: inherit; | |||
} | } | ||
.mw-parser-output .ce-index-title a, | |||
.mw-parser-output .ce-index-title a:visited { | |||
color: inherit; | |||
color: | |||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
.mw-parser-output .ce-index-title a:hover { | |||
color: | color: inherit; | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
| Line 283: | Line 283: | ||
} | } | ||
/* Sezione archivi principali: libera, senza box */ | /* Sezione archivi principali: libera, senza box e senza linee */ | ||
.mw-parser-output .ce-section { | .mw-parser-output .ce-section { | ||
| Line 312: | Line 312: | ||
margin: 0; | margin: 0; | ||
padding: 0.55rem 0; | padding: 0.55rem 0; | ||
border-bottom: 0; | border-bottom: 0; | ||
} | } | ||
| Line 326: | Line 322: | ||
.mw-parser-output .ce-section a:hover { | .mw-parser-output .ce-section a:hover { | ||
color: | color: inherit; | ||
text-decoration: | text-decoration: underline; | ||
} | } | ||
/* | /* Box laterali leggeri, senza delimitazioni */ | ||
.mw-parser-output .ce-side-box { | .mw-parser-output .ce-side-box { | ||
| Line 339: | Line 335: | ||
.mw-parser-output .ce-side-box::before { | .mw-parser-output .ce-side-box::before { | ||
content: | content: none; | ||
display: | display: none; | ||
} | } | ||
| Line 360: | Line 352: | ||
line-height: 1.1; | line-height: 1.1; | ||
font-weight: 600; | font-weight: 600; | ||
color: inherit; | |||
} | |||
.mw-parser-output .ce-side-title a, | |||
.mw-parser-output .ce-side-title a:visited { | |||
color: inherit; | |||
text-decoration: none; | |||
} | |||
.mw-parser-output .ce-side-title a:hover { | |||
color: inherit; | |||
text-decoration: underline; | |||
} | } | ||
| Line 380: | Line 384: | ||
.mw-parser-output .ce-side-link a:hover { | .mw-parser-output .ce-side-link a:hover { | ||
color: inherit; | |||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
| Line 423: | Line 406: | ||
border-left: 0; | border-left: 0; | ||
padding-left: 0; | padding-left: 0; | ||
border-top: | border-top: 0; | ||
padding-top: 2rem; | padding-top: 2rem; | ||
} | } | ||
Revision as of 18:28, 20 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 standard 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 dentro Citizen */
body.page-Test_home .citizen-body,
body.page-Test_home .citizen-body-container,
body.page-Test_home .citizen-body-content,
body.page-Test_home .citizen-page-container,
body.page-Test_home .mw-body,
body.page-Test_home .mw-body-content,
body.page-Test_home .mw-parser-output,
body.page-Test_home #bodyContent,
body.page-Test_home #content {
max-width: none !important;
width: 100% !important;
}
body.page-Test_home .citizen-body {
grid-template-columns: minmax(0, 1fr) !important;
}
/* Contenitore generale home: largo ma centrato */
body.page-Test_home .mw-parser-output .ce-home {
width: min(1300px, calc(100vw - 14rem));
max-width: none !important;
margin: 0 auto;
padding: 2rem 0 4rem;
box-sizing: border-box;
overflow-x: hidden;
transform: none;
}
/* Layout generale: contenuto principale + colonna laterale */
.mw-parser-output .ce-home-layout {
display: grid;
grid-template-columns: minmax(0, 1fr) 270px;
gap: 3rem;
align-items: start;
width: 100%;
max-width: 100%;
box-sizing: border-box;
}
.mw-parser-output .ce-home-main {
min-width: 0;
}
/* Colonna laterale editoriale: senza linee */
.mw-parser-output .ce-home-aside {
display: flex;
flex-direction: column;
gap: 2rem;
min-width: 0;
border-left: 0;
padding-left: 2rem;
}
/* Hero: testo a sinistra, foto verticale a destra */
.mw-parser-output .ce-hero {
display: grid;
grid-template-columns: minmax(420px, 1fr) 300px;
gap: 3rem;
align-items: start;
width: 100%;
max-width: 100%;
box-sizing: border-box;
margin-bottom: 4rem;
}
.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: 300px;
height: 450px;
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: 300px !important;
height: 450px !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: 300px !important;
height: 450px !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(3rem, 5vw, 5rem);
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;
color: inherit;
}
.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: inherit;
text-decoration: underline;
}
.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 e senza linee */
.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: 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: inherit;
text-decoration: underline;
}
/* Box laterali leggeri, senza delimitazioni */
.mw-parser-output .ce-side-box {
padding: 0;
border: 0;
background: transparent;
}
.mw-parser-output .ce-side-box::before {
content: none;
display: none;
}
.mw-parser-output .ce-side-label {
margin-bottom: 0.6rem;
color: var(--color-base--subtle, #b8b8b8);
font-size: 0.78rem;
text-transform: uppercase;
letter-spacing: 0.08em;
}
.mw-parser-output .ce-side-title {
margin-bottom: 0.75rem;
font-size: 1.25rem;
line-height: 1.1;
font-weight: 600;
color: inherit;
}
.mw-parser-output .ce-side-title a,
.mw-parser-output .ce-side-title a:visited {
color: inherit;
text-decoration: none;
}
.mw-parser-output .ce-side-title a:hover {
color: inherit;
text-decoration: underline;
}
.mw-parser-output .ce-side-text {
color: var(--color-base--subtle, #b8b8b8);
font-size: 0.95rem;
line-height: 1.45;
}
.mw-parser-output .ce-side-link {
margin-top: 0.85rem;
font-size: 0.95rem;
}
.mw-parser-output .ce-side-link a,
.mw-parser-output .ce-side-link a:visited {
color: inherit;
text-decoration: none;
}
.mw-parser-output .ce-side-link a:hover {
color: inherit;
text-decoration: underline;
}
/* Mobile */
@media (max-width: 900px) {
body.page-Test_home .mw-parser-output .ce-home {
width: 100%;
margin-left: 0;
transform: none;
padding: 1.25rem 0 3rem;
}
.mw-parser-output .ce-home-layout {
grid-template-columns: 1fr;
gap: 3rem;
}
.mw-parser-output .ce-home-aside {
border-left: 0;
padding-left: 0;
border-top: 0;
padding-top: 2rem;
}
.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: 300px;
height: 450px;
}
.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: 300px !important;
height: 450px !important;
}
.mw-parser-output .ce-home-index {
grid-template-columns: 1fr;
gap: 1.5rem;
}
.mw-parser-output .ce-index-item {
grid-template-columns: 2.5rem minmax(0, 1fr);
}
.mw-parser-output .ce-hero-text h1 {
font-size: 2.6rem;
}
}