Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* 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 === */
.mw-parser-output .ce-home {
max-width: 100%;
margin: 0 auto;
padding: 2rem 1rem 4rem;
box-sizing: border-box;
overflow-x: hidden;
}
/* Hero: testo a sinistra, foto a destra */
.mw-parser-output .ce-hero {
display: grid;
grid-template-columns: minmax(0, 1fr) 320px;
gap: 3rem;
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 */
.mw-parser-output .ce-hero-text h1 {
font-size: clamp(2.4rem, 5vw, 5rem);
line-height: 1;
margin: 0 0 1rem;
}
.mw-parser-output .ce-hero-text p {
font-size: 1.15rem;
max-width: 720px;
color: var(--color-base--subtle, #b8b8b8);
}
/* Link principali */
.mw-parser-output .ce-main-links {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 1rem;
width: 100%;
max-width: 100%;
margin: 0 0 2rem 0;
box-sizing: border-box;
}
/* Box principali */
.mw-parser-output .ce-card {
box-sizing: border-box;
width: 100%;
min-width: 0;
padding: 1.25rem;
border: 2px solid #ff006e;
border-radius: 0;
background: transparent;
color: inherit;
overflow: visible;
font-family: inherit;
}
/* Titolo box */
.mw-parser-output .ce-card-title {
display: block;
margin-bottom: .65rem;
font-size: 1.15rem;
font-weight: 600;
font-family: inherit;
color: inherit;
}
/* Testo descrittivo */
.mw-parser-output .ce-card-text {
display: block;
color: var(--color-base--subtle, #b8b8b8);
font-size: .95rem;
line-height: 1.45;
font-family: inherit;
}
/* Link nei box */
.mw-parser-output .ce-card a,
.mw-parser-output .ce-card a:visited {
color: inherit;
text-decoration: none;
}
/* Sezione archivi principali */
.mw-parser-output .ce-section {
box-sizing: border-box;
width: 100%;
max-width: 100%;
border: 2px solid #ff006e;
border-radius: 0;
padding: 1.5rem;
background: transparent;
overflow: hidden;
}
.mw-parser-output .ce-section h2 {
margin-top: 0;
}
/* 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-main-links {
grid-template-columns: 1fr;
}
.mw-parser-output .ce-hero-text h1 {
font-size: 2.5rem;
}
}
/* === 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;
}
body.page-Test_home .citizen-body {
grid-template-columns: minmax(0, 1fr) !important;
}
body.page-Test_home .citizen-body-container {
max-width: none !important;
}
/* === Larghezza speciale per la home di test === */
body.page-Test_home .citizen-body-container,
body.page-Test_home .citizen-body,
body.page-Test_home .mw-body,
body.page-Test_home .mw-parser-output {
max-width: none !important;
}
body.page-Test_home .ce-home {
max-width: 1400px;
margin-left: auto;
margin-right: auto;
padding-left: 2rem;
padding-right: 2rem;
}