Menü aufrufen
Persönliches Menü aufrufen
Nicht angemeldet
Ihre IP-Adresse wird öffentlich sichtbar sein, wenn Sie Änderungen vornehmen.

MediaWiki:Common.css: Unterschied zwischen den Versionen

MediaWiki-Schnittstellenseite
Die Seite wurde neu angelegt: „→‎Titelelemente auf Startseite Verstecken: .page-Hauptseite .mw-side, .page-Hauptseite .firstHeading, .page-Hauptseite #siteSub { display: none!important; }“
 
Mobile Probleme behoben
 
(4 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
/* Titelelemente auf Startseite Verstecken */
/* Font */
.page-Hauptseite .mw-side,
@import url('https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');
.page-Hauptseite .firstHeading,
 
/* Global */
:root {
    --color-primary__h: 260;
    --font-family-base: 'PT Sans','Noto Sans CJK',system-ui,-apple-system,sans-serif;
    --font-family-serif: 'PT Serif','Noto Sans CJK',system-ui,-apple-system,sans-serif;
   
    --pi-item-spacing: 8px 15px
}
 
/* Header auf Hauptseite verstecken */
.page-Hauptseite .mw-body-header,
.page-Hauptseite #siteSub {
.page-Hauptseite #siteSub {
display: none!important;
    display: none;
}
 
/* Bearbeitung auf der Hauptseite verstecken */
.page-Hauptseite .mw-editsection {
    display: none;
}
 
 
/* mobileonly & desktoponly */
@media (min-width: 1120px) {
    .mobileonly {
        display: none;
    }       
}
@media (max-width: 1119px) {
    .desktoponly {
        display: none;
    }       
}
 
/* Styles for Characters Grid on Home - This isn't in a TemplateStyle because of some MediaWiki issues */
 
.home-characters__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
}
 
@media (max-width: 1119px) {
.home-characters__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}     
}
 
.home-characters__card {
    background: var(--color-surface-4);
    border-radius: 8px;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: end;
    color: white;
    --gradient: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.8) 100%);
    font-weight: bold;
    padding: 0.4rem 0.8rem;
    font-size: 1.2rem;
    background-size: 100% auto;
    background-position: center;
    transition: 0.2s;
}
 
.home-characters__card:hover {
    background-size: 110% auto;
}
 
.home-characters__card.pomni {
    background-image: var(--gradient), url("https://de.tadc.wiki/images/6/66/Pomni.png");
}
 
.home-characters__card.jax {
    background-image: var(--gradient), url("https://de.tadc.wiki/images/f/fa/Jax.png");
}
 
.home-characters__card.caine {
    background-image: var(--gradient), url("https://de.tadc.wiki/images/a/a0/Caine.png");
}
 
.home-characters__card.bubble {
    background-image: var(--gradient), url("https://de.tadc.wiki/images/9/9b/Bubble.png");
}
 
.home-characters__card.gangle {
    background-image: var(--gradient), url("https://de.tadc.wiki/images/5/5e/Gangle.png");
}
 
.home-characters__card.kinger {
    background-image: var(--gradient), url("https://de.tadc.wiki/images/7/7e/Kinger.png");
}
 
.home-characters__card.zooble {
    background-image: var(--gradient), url("https://de.tadc.wiki/images/2/28/Zooble.png");
}
 
.home-characters__card.ragatha {
background-image: var(--gradient), url("https://de.tadc.wiki/images/b/b2/Ragatha.png");
}
 
.home__grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}
 
@media (max-width: 1119px) {
.home__grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}     
}
 
.home__card {
  padding: var(--space-md);
  background: var(--color-surface-1);
  border: 1px solid var(--border-color-base);
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.04),0 3px 6px rgba(0,0,0,0.0575);
  font-size: 0.875rem;
}
.home__card h3 {
    margin: 0;
}
 
/* Portable Infobox */
.portable-infobox {
    border-radius: var(--border-radius--medium);
    background-color: var(--color-surface-2);
    width: 100% !important;
    max-width: 300px !important;
}
 
.skin-citizen-light .portable-infobox {
    background-color: var(--color-surface-3);
}
 
.pi-data-label {
    text-align: left;
    color: var(--color-base--subtle);
    font-size: 0.8125rem;
    font-weight: 500;
}
.pi-data-value {
    text-align: left;
    color: var(--color-base);
    font-size: 0.875rem;
}
.pi-smart-data-label:not(:first-child), .pi-smart-data-value:not(:first-child), .portable-infobox .pi-border-color {
    border: none;
}
 
.pi-data-value:not(:first-child) {
    padding-left: 15px;
}
 
.pi-group:not(:nth-child(2)) {
    border-top: 1px solid var(--border-color-base) !important;
}
 
.pi-header {
    background-color: transparent !important;
    padding-top: 15px !important;
    padding-bottom: 0 !important;
}
 
.pi-image-thumbnail {
    max-width: none!important;
    width: 100%;
}
 
.portable-infobox ul {
    margin: 0 0 0 1rem;
}
 
.pi-media:nth-child(2) {
    margin-bottom: 10px !important;
}
}

Aktuelle Version vom 27. Januar 2024, 17:48 Uhr

/* Font */
@import url('https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* Global */
:root {
    --color-primary__h: 260;
    --font-family-base: 'PT Sans','Noto Sans CJK',system-ui,-apple-system,sans-serif;
    --font-family-serif: 'PT Serif','Noto Sans CJK',system-ui,-apple-system,sans-serif;
    
    --pi-item-spacing: 8px 15px
}

/* Header auf Hauptseite verstecken */
.page-Hauptseite .mw-body-header,
.page-Hauptseite #siteSub {
    display: none;
}

/* Bearbeitung auf der Hauptseite verstecken */
.page-Hauptseite .mw-editsection {
    display: none;
}


/* mobileonly & desktoponly */
@media (min-width: 1120px) {
    .mobileonly {
        display: none;
    }        
}
@media (max-width: 1119px) {
    .desktoponly {
        display: none;
    }        
}

/* Styles for Characters Grid on Home - This isn't in a TemplateStyle because of some MediaWiki issues */

.home-characters__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
}

@media (max-width: 1119px) {
	.home-characters__grid {
    	grid-template-columns: repeat(2, minmax(0, 1fr));
	}      
}

.home-characters__card {
    background: var(--color-surface-4);
    border-radius: 8px;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: end;
    color: white;
    --gradient: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.8) 100%);
    font-weight: bold;
    padding: 0.4rem 0.8rem;
    font-size: 1.2rem;
    background-size: 100% auto;
    background-position: center;
    transition: 0.2s;
}

.home-characters__card:hover {
    background-size: 110% auto;
}

.home-characters__card.pomni {
    background-image: var(--gradient), url("https://de.tadc.wiki/images/6/66/Pomni.png");
}

.home-characters__card.jax {
    background-image: var(--gradient), url("https://de.tadc.wiki/images/f/fa/Jax.png");
}

.home-characters__card.caine {
    background-image: var(--gradient), url("https://de.tadc.wiki/images/a/a0/Caine.png");
}

.home-characters__card.bubble {
    background-image: var(--gradient), url("https://de.tadc.wiki/images/9/9b/Bubble.png");
}

.home-characters__card.gangle {
    background-image: var(--gradient), url("https://de.tadc.wiki/images/5/5e/Gangle.png");
}

.home-characters__card.kinger {
    background-image: var(--gradient), url("https://de.tadc.wiki/images/7/7e/Kinger.png");
}

.home-characters__card.zooble {
    background-image: var(--gradient), url("https://de.tadc.wiki/images/2/28/Zooble.png");
}

.home-characters__card.ragatha {
	background-image: var(--gradient), url("https://de.tadc.wiki/images/b/b2/Ragatha.png");
}

.home__grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

@media (max-width: 1119px) {
	.home__grid {
    	grid-template-columns: repeat(1, minmax(0, 1fr));
	}      
}

.home__card {
  padding: var(--space-md);
  background: var(--color-surface-1);
  border: 1px solid var(--border-color-base);
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.04),0 3px 6px rgba(0,0,0,0.0575);
  font-size: 0.875rem;
}
.home__card h3 {
    margin: 0;
}

/* Portable Infobox */
.portable-infobox {
    border-radius: var(--border-radius--medium);
    background-color: var(--color-surface-2);
    width: 100% !important;
    max-width: 300px !important;
}

.skin-citizen-light .portable-infobox {
    background-color: var(--color-surface-3);
}

.pi-data-label {
    text-align: left;
    color: var(--color-base--subtle);
    font-size: 0.8125rem;
    font-weight: 500;
}
.pi-data-value {
    text-align: left;
    color: var(--color-base);
    font-size: 0.875rem;
}
.pi-smart-data-label:not(:first-child), .pi-smart-data-value:not(:first-child), .portable-infobox .pi-border-color {
    border: none;
}

.pi-data-value:not(:first-child) {
    padding-left: 15px;
}

.pi-group:not(:nth-child(2)) {
    border-top: 1px solid var(--border-color-base) !important;
}

.pi-header {
    background-color: transparent !important;
    padding-top: 15px !important;
    padding-bottom: 0 !important;
}

.pi-image-thumbnail {
    max-width: none!important;
    width: 100%;
}

.portable-infobox ul {
    margin: 0 0 0 1rem;
}

.pi-media:nth-child(2) {
    margin-bottom: 10px !important;
}
Cookies helfen uns bei der Bereitstellung von Der Unglaubliche Digitale Zirkus Wiki. Durch die Nutzung von Der Unglaubliche Digitale Zirkus Wiki erklärst du dich damit einverstanden, dass wir Cookies speichern.