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

Citizen.css: Difference between revisions

MediaWiki interface page
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 51: Line 51:
/* Test */
/* Test */
.mw-capiunto-infobox {
.mw-capiunto-infobox {
   border: 1px solid var(--border-color, rgba(255,255,255,0.12));
  width: 100%;
   border: 1px solid rgba(255,255,255,0.12);
   border-radius: 12px;
   border-radius: 12px;
   overflow: hidden;
   overflow: hidden;
   background: var(--background-color-neutral, #0b1220);
   background: #0b1220;
  border-collapse: separate;
  border-spacing: 0;
}
}
.mw-capiunto-infobox .mw-capiunto-infobox-spanning {
.mw-capiunto-infobox td.mw-capiunto-infobox-spanning {
   padding: 0 !important;
   padding: 0 !important;
   border-bottom: 1px solid var(--border-color, rgba(255,255,255,0.12));
  text-align: center;
   border-bottom: 1px solid rgba(255,255,255,0.12);
}
.mw-capiunto-infobox td.mw-capiunto-infobox-spanning > figure {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
}
}
.mw-capiunto-infobox figure,
.mw-capiunto-infobox figure,
.mw-capiunto-infobox .mw-file-element,
.mw-capiunto-infobox .mw-file-element,
.mw-capiunto-infobox .mw-thumb {
.mw-capiunto-infobox .mw-thumb {
  margin: 0 !important;
   float: none !important;
   float: none !important;
   max-width: none !important;
   max-width: none !important;
}
.mw-capiunto-infobox .mw-file-element {
  width: 100% !important;
}
}
.mw-capiunto-infobox video,
.mw-capiunto-infobox video,
Line 75: Line 80:
   width: 100%;
   width: 100%;
   height: auto;
   height: auto;
  margin: 0 auto;
}
}
.mw-capiunto-infobox video {
.mw-capiunto-infobox video {
   aspect-ratio: 16 / 9;
   aspect-ratio: 16 / 9;
   object-fit: cover;
   object-fit: cover;
}
.mw-capiunto-infobox .mw-capiunto-infobox-spanning {
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.08);
}
.mw-capiunto-infobox video {
  transition: transform 0.4s ease;
}
.mw-capiunto-infobox:hover video {
  transform: scale(1.1);
}
}

Revision as of 17:12, 30 January 2026

/* All CSS here will be loaded for users of the Citizen skin */

/* To make images responsive */
.res-img img {
        max-width: 25vw;
        height: auto;
}

.mw-special-Search label[for="mw-search-ns3"] { 
	display:none;
}

@media screen {
	.citizen-body {
    border-radius: 20px;
    box-shadow: 40px 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding-left: 1em;
    padding-right: 1em;
  }
  .mw-body-content {
  	margin: 0 !important;
    padding-left: 1em;
    padding-right: 1em;
    padding-bottom: 1em;
    padding-top: 1em;
  }
}

.mw-body::before {
    content: "";
    position: fixed;
    pointer-events: none;
    inset: 0;
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
	
	z-index: -1;              /* behind content */
	pointer-events: none;    /* avoid blocking clicks */
    opacity: 0.75;

    /* Fade at bottom */
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 45%, rgba(0,0,0,0) 100%);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: cover;
    -webkit-mask-position: center top;
}

/* Test */
.mw-capiunto-infobox {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  overflow: hidden;
  background: #0b1220;
  border-collapse: separate;
  border-spacing: 0;
}
.mw-capiunto-infobox td.mw-capiunto-infobox-spanning {
  padding: 0 !important;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.mw-capiunto-infobox td.mw-capiunto-infobox-spanning > figure {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
}
.mw-capiunto-infobox figure,
.mw-capiunto-infobox .mw-file-element,
.mw-capiunto-infobox .mw-thumb {
  float: none !important;
  max-width: none !important;
}
.mw-capiunto-infobox video,
.mw-capiunto-infobox img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}
.mw-capiunto-infobox video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}