MediaWiki:Timeless.css: Unterschied zwischen den Versionen

Aus NordhausenWiki
Keine Bearbeitungszusammenfassung
Markierung: Zurückgesetzt
(Änderung 30950 von Vincent Eisfeld (Diskussion) rückgängig gemacht.)
Markierung: Rückgängigmachung
Zeile 40: Zeile 40:
@media screen and (min-width:1100px) {
@media screen and (min-width:1100px) {
/* Remove duplicate logo */
#p-logo-text #p-banner {
display: none;
}
/* Revised sidebar */
/* Revised sidebar */
.sidebar-chunk {
.sidebar-chunk {
background: #FAFCFA !important;
background: #ffffff !important;
border-color: #D5EAD5 !important;
border-color: #e4e4e4  !important;
}
}
.sidebar-chunk h3 {
.sidebar-chunk h3 {
border-bottom-color: #AAD5AA !important;
border-bottom-color: # !important;
}
}
}
}


/* Masthead fix */
/* Masthead fix */
.ns-masthead-title h2::after {border-bottom:none !important;}
.nw-masthead-title h2::after {border-bottom:none !important;}
.ns-masthead-contents {column-width: 9.125rem;}
.nw-masthead-contents {column-width: 9.125rem;}


/* Disable mobile link for Timeless only, and nowhere else */
/* Disable mobile link for Timeless only, and nowhere else */
.ns-masthead-mlink {display: none;}
.nw-masthead-mlink {display: none;}


/* Frame title fix */
/* Frame title fix */
.ns-portal-frame h2        {border-bottom: 3px solid #AAD5AA !important;}
.nw-portal-frame h2        {border-bottom: 3px solid # !important;}
.ns-portal-frame h2::after {border-bottom: none !important;}
.nw-portal-frame h2::after {border-bottom: none !important;}


/* Custom borders */
/* Linie oben */
.color-left, .color-middle, .color-right {background-color:#008000;}
.color-left, .color-middle, .color-right {background-color:#EFEFEF;}


/* Strich Überschrift */
#mw-content-container,
#mw-content-container,
.mw-body h1.firstHeading,
.mw-body h1.firstHeading,
.tools-inline li.selected {
.tools-inline li.selected {
border-bottom-color: #008000;
border-bottom-color: #00669d;
}
}


Zeile 81: Zeile 78:


/* Revised background */
/* Revised background */
body                  {background  : #808080 !important;}
body                  {background  : #2e3438 !important;}
#mw-content          {border-color: #D5EAD5 !important;}
#mw-content          {border-color: #ffffff !important;}
#mw-content-container {background  : #E6F2E6;          }
#mw-content-container {background  : #f1f1f1;          }


/* Experimental dark mode */
#mw-content-container { background-image: none }
@media (prefers-color-scheme: dark) {
 
html {
}
filter: invert( 1 ) hue-rotate( 180deg );
 
}
/* Website title text */
@media screen and (max-width: 1150px) {
#p-logo-text a {
        display: none;
}
}
 
/* Website title text */
@media screen and (min-width: 1149px) {
#p-logo-text a {
        display: none;
}
}
}

Version vom 3. Mai 2022, 20:14 Uhr

/*
 * Koordinaten und diverse andere Anzeigen oben rechts, siehe
 * [[:Kategorie:Vorlage:mit Seitenindikator#Textelemente]].
 * Beachte, dass diese Elemente im Wikitext an beliebigen Stellen auftreten und
 * deshalb allerhand Eigenschaften erben können. Das gilt insbesondere für die
 * Schriftgröße.
 * Der folgende Darstellungsfehler ist bekannt: Wenn die Fensterbreite kleiner
 * als 982px ist und die Schriftgröße des Wurzelelements wie üblich 16px ist,
 * überlappen sich die 17px hohen Icons der Gadgets „WikiMiniAtlas“ und
 * „OpenStreetMap“ mit der SiteNotice.
 */
#mw-content-text #coordinates,
#mw-content-text #editcount,
#mw-content-text #shortcut,
body.ns-special #mw-content-text .specialpage-helplink {
	display: block;
	font-size: x-small;
	line-height: 1.5;
	position: absolute;
	right: 1.6em;
	text-align: right;
	text-indent: 0;
	top:2em;
	white-space: nowrap;
}
@media screen and (min-width: 982px) {
	#mw-content-text #coordinates,
	#mw-content-text #editcount,
	#mw-content-text #shortcut,
	body.ns-special #mw-content-text .specialpage-helplink {
		right: 2.4em;
	}
}


/* ============================================== */
/* Jetzt kommt das Special-CSS von NordhausenWiki. */
/* ============================================== */

@media screen and (min-width:1100px) {
	
	
	/* Revised sidebar */
	.sidebar-chunk {
		background: #ffffff !important;
		border-color: #e4e4e4  !important;
	}
	
	.sidebar-chunk h3 {
		border-bottom-color: #  !important;
	}
}

/* Masthead fix */
.nw-masthead-title h2::after {border-bottom:none !important;}
.nw-masthead-contents {column-width: 9.125rem;}

/* Disable mobile link for Timeless only, and nowhere else */
.nw-masthead-mlink {display: none;}

/* Frame title fix */
.nw-portal-frame h2        {border-bottom: 3px solid # !important;}
.nw-portal-frame h2::after {border-bottom: none !important;}

/* Linie oben */
.color-left, .color-middle, .color-right {background-color:#EFEFEF;}

/* Strich Überschrift */
#mw-content-container,
.mw-body h1.firstHeading,
.tools-inline li.selected {
	border-bottom-color: #00669d;
}

/* Margin fixes */
.mw-indicators {margin: 0.25em 0 0 0;}
.mw-dismissable-notice-close {margin: 0em 1.25em;}

/* Revised background */
body                  {background  : #2e3438 !important;}
#mw-content           {border-color: #ffffff !important;}
#mw-content-container {background  : #f1f1f1;           }

#mw-content-container { background-image: none }

}

/* Website title text */
@media screen and (max-width: 1150px) {
#p-logo-text a {
        display: none;
}
}

/* Website title text */
@media screen and (min-width: 1149px) {
#p-logo-text a {
        display: none;
}
}