Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 46: Line 46:
}
}


/* === Homepage Cineteca dell'Etna === */
/* ==========================================================
  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 {
.mw-parser-output .ce-home {
   max-width: 100%;
   max-width: 1400px;
   margin: 0 auto;
   margin: 0 auto;
   padding: 2rem 1rem 4rem;
   padding: 2rem 2rem 4rem;
   box-sizing: border-box;
   box-sizing: border-box;
   overflow-x: hidden;
   overflow-x: hidden;
}
}


/* Hero: testo a sinistra, foto a destra */
/* Hero: testo a sinistra, foto verticale a destra */


.mw-parser-output .ce-hero {
.mw-parser-output .ce-hero {
   display: grid;
   display: grid;
   grid-template-columns: minmax(0, 1fr) 320px;
   grid-template-columns: minmax(0, 1.2fr) 380px;
   gap: 3rem;
   gap: 4rem;
   align-items: start;
   align-items: start;
   width: 100%;
   width: 100%;
Line 83: Line 125:
   grid-column: 2;
   grid-column: 2;
   grid-row: 1;
   grid-row: 1;
   width: 320px;
   width: 380px;
   height: 480px;
   height: 570px;
   padding: 0 !important;
   padding: 0 !important;
   margin: 0 !important;
   margin: 0 !important;
Line 106: Line 148:
.mw-parser-output .ce-hero-visual .mw-file-description {
.mw-parser-output .ce-hero-visual .mw-file-description {
   display: block;
   display: block;
   width: 320px !important;
   width: 380px !important;
   height: 480px !important;
   height: 570px !important;
   margin: 0 !important;
   margin: 0 !important;
   padding: 0 !important;
   padding: 0 !important;
Line 121: Line 163:
.mw-parser-output .ce-hero-img {
.mw-parser-output .ce-hero-img {
   display: block;
   display: block;
   width: 320px !important;
   width: 380px !important;
   height: 480px !important;
   height: 570px !important;
   max-width: none !important;
   max-width: none !important;
   object-fit: cover;
   object-fit: cover;
Line 135: Line 177:
}
}


/* Testo principale */
/* Testo principale hero */


.mw-parser-output .ce-hero-text h1 {
.mw-parser-output .ce-hero-text h1 {
   font-size: clamp(2.4rem, 5vw, 5rem);
   font-size: clamp(2.8rem, 6vw, 6.5rem);
   line-height: 1;
   line-height: 0.95;
   margin: 0 0 1rem;
   margin: 0 0 1.5rem;
  letter-spacing: -0.035em;
}
}


.mw-parser-output .ce-hero-text p {
.mw-parser-output .ce-hero-text p {
   font-size: 1.15rem;
   font-size: 1.2rem;
   max-width: 720px;
  line-height: 1.55;
   max-width: 780px;
   color: var(--color-base--subtle, #b8b8b8);
   color: var(--color-base--subtle, #b8b8b8);
}
}
Line 187: Line 231:
}
}


/* Testo descrittivo */
/* Testo descrittivo box */


.mw-parser-output .ce-card-text {
.mw-parser-output .ce-card-text {
Line 245: Line 289:
     max-width: 320px;
     max-width: 320px;
     height: 480px;
     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;
   }
   }


Line 252: Line 308:


   .mw-parser-output .ce-hero-text h1 {
   .mw-parser-output .ce-hero-text h1 {
     font-size: 2.5rem;
     font-size: 2.6rem;
   }
   }
}
/* === 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;
}
}

Revision as of 21:29, 13 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, 1.2fr) 380px;
  gap: 4rem;
  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: 380px;
  height: 570px;
  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: 380px !important;
  height: 570px !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: 380px !important;
  height: 570px !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, 6vw, 6.5rem);
  line-height: 0.95;
  margin: 0 0 1.5rem;
  letter-spacing: -0.035em;
}

.mw-parser-output .ce-hero-text p {
  font-size: 1.2rem;
  line-height: 1.55;
  max-width: 780px;
  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 box */

.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-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;
  }
}