MediaWiki:Common.css: Unterschied zwischen den Versionen

MediaWiki-Schnittstellenseite
KKeine Bearbeitungszusammenfassung
KKeine Bearbeitungszusammenfassung
Zeile 97: Zeile 97:




/*
div#bodyContent {
div#bodyContent {
     position:relative;
     position:relative;
}
}
*/


/* Start Kategorie-Bilder bei Seitenüberschrift */
/* Start Kategorie-Bilder bei Seitenüberschrift */

Version vom 23. Januar 2023, 20:34 Uhr

/* Linkfarben:
Athyria-Wiki: a { color:#B8860B; }, a:hover { color: #DAA520 }
Mythopedia: a { color:#05a5ca; }, a:hover { color:#d9a557 }
*/
 a { color:#B8860B; }
 a:hover { color: #DAA520 }

/*Footer-Abstände reduzieren*/
.mw-footer, #footer-bottom { margin-top:0; }
#footer-sitetitle { margin-top:0; }

/*Logo in Menüleiste formatieren*/
.mw-header .citizen-header__logo, .mw-header .citizen-header__logo .mw-logo {
	overflow: visible;
}

.mw-header .citizen-header__logo .mw-logo {
	opacity: 0.9;
	-webkit-filter: grayscale(20%);
	filter: grayscale(20%);
	-webkit-transition: .5s ease-in-out;
	-moz-transition: .5s ease-in-out;
	-o-transition: .5s ease-in-out;
	transition: .5s ease-in-out;
}

.mw-header .citizen-header__logo .mw-logo IMG.mw-logo-icon {
transition: .5s ease-in-out;
}

.mw-header .citizen-header__logo .mw-logo:hover {
opacity: 1.0;
-webkit-filter: grayscale(0);
filter: grayscale(0);
}

.mw-header .citizen-header__logo .mw-logo:hover IMG.mw-logo-icon {
-webkit-transform: scale(1.2);
-moz-transform: scale(1.2);
-o-transform: scale(1.2);
-ms-transform: scale(1.2);
transform: scale(1.2);
}
/* Formatierungen im Footer anpassen */
footer.mw-footer .mw-logo-wordmark { display: none; }
footer.mw-footer IMG.athyria-logo { height:50px; }

footer.mw-footer IMG.athyria-logo {
	opacity: 0.8;
	-webkit-transition: .5s ease-in-out;
	-moz-transition: .5s ease-in-out;
	-o-transition: .5s ease-in-out;
	transition: .5s ease-in-out;
}

footer.mw-footer IMG.athyria-logo:hover {
	opacity: 1.0;
	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);
	-o-transform: scale(1.1);
	-ms-transform: scale(1.1);
	transform: scale(1.1);
}

#footer-tagline IMG.igelpic {
	opacity: 0.7;
	-webkit-transition: .5s ease-in-out;
	-moz-transition: .5s ease-in-out;
	-o-transition: .5s ease-in-out;
	transition: .5s ease-in-out;
}

#footer-tagline IMG.igelpic:hover {
	opacity: 1.0;
	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);
	-o-transform: scale(1.1);
	-ms-transform: scale(1.1);
	transform: scale(1.1);
}

/* Doppelten Copyright-Hinweis ausblenden (steht schon in der Fußzeile) */
.page-info #footer-info-copyright { display:none; }

/* Bilder im Footer farblich faden */
#footer-icons img {
	opacity: 0.7;
	-webkit-transition: .5s ease-in-out;
	-moz-transition: .5s ease-in-out;
	-o-transition: .5s ease-in-out;
	transition: .5s ease-in-out;
}

#footer-icons img:hover {
	opacity: 1.0;
}


div#bodyContent {
    position:relative;
}

/* Start Kategorie-Bilder bei Seitenüberschrift */
.category-box {
    display: inline-block;
    height: 44px;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
}

.category-box span {
    position: relative;
    top: 5px;
    display: inline-block;
    height: 36px;
    width: 36px;
    margin: 0 5px 0 0;
    padding: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    border: none;
    -webkit-transition: .3s ease-in-out;
    -moz-transition: .3s ease-in-out;
	-o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.category-box span:hover {
    height: 40px;
    width: 40px;
}

/* Kategorie-Bilder in der Seitenüberschrift, die mit Jquery eingefügt werden */
.category-box-athyria {
    background-image: url("/resources/assets/Category_Athyria_360.png");
}

.category-box-mitraspera {
    background-image: url("/resources/assets/Category_Mitraspera_360.png");
}

.category-box-mitrasperaev {
    background-image: url("/resources/assets/Category_Verein_360.png");
}

/* Ende Kategorie-Bilder bei Seitenüberschrift */

/* Start Ampelboxen */
.ampel-box {
    position: relative;
		width: 100px;
    height: 200px;
    overflow: visible;
    background: none;
    padding: 0;
    margin: 0 20px 5px 5px;
    border: none;
    box-shadow:  none;
}

.ampel-box .ampel-link {
    width: 100px;
    height: 200px;
    display: block;
}

.ampel-box img {
    width: 100px;
    height: 200px;
	opacity: 0.8;
	z-index: 2;
	-webkit-filter: grayscale(20%);
	filter: grayscale(20%);
	-webkit-transition: .5s ease-in-out;
	-moz-transition: .5s ease-in-out;
	-o-transition: .5s ease-in-out;
	transition: .5s ease-in-out;
}

.ampel-box:hover img {
    opacity: 1.0;
   -webkit-filter: grayscale(0);
   filter: grayscale(0);
}

.ampel-box-info {
    position: absolute;
		z-index: 0;
		opacity: 0;
		right: 0;
		width: 200px;
    height: 165px;
    overflow: hidden;
    text-align: center;
    background: rgba(30, 30, 30, 0.8);
    padding: 10px;
    margin: 0;
    border: 1px solid #555555;
	border-radius: 20px;
    box-shadow: 0 2px 2px 0 rgba(150, 150, 150, 0.40);
	-webkit-transition: 1.0s ease-in-out;
	-moz-transition:  1.0s ease-in-out;
	-o-transition:  1.0s ease-in-out;
    transition: 1.0s ease-in-out;
}

.ampel-box-handy {
  display: none;
	position: absolute;
	width: 100px;
	bottom: 10px;
	text-align: center;
	color: #eeeeee;
	font-weight: bolder;
}

.mw-body-content .ampel-box-info h1 {
    margin-top: 0;
}

.ampel-box:hover .ampel-box-info {
		z-index: 5;
		opacity: 1;
		right: 105px;
}
/* Ende Ampelboxen */

/* Start Inhalte-Box für Copyright-Hinweise */
.inhalt-box {
    max-width: 300px;
    background: none;
    padding: 0;
    margin: 0 0 5px 5px;
}

table.inhalt-tabelle {
    margin: 0;
    padding: 5px;
    border-spacing: 0;
    background: var(--background-color-framed);
    border: 1px solid rgba(100,100,100,0.5);
    box-shadow:  0 1px 2px 1px rgba(0,0,0,0.4);
    border-radius: 10px;
    font-size: 0.86em;
}

table.inhalt-tabelle td {
    border-bottom: 1px solid var(--border-color-input--hover);
}

.inhalte-label {
    padding-right: 10px;
    font-weight: 500;
}

body.cat-Athyria table.inhalt-tabelle {
    background-image: url("/resources/assets/Athyria-Background.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    border: 2px solid rgba(222,161,63,0.50);
}

body.cat-Athyria table.inhalt-tabelle td {
    border-bottom: 2px solid rgba(222,161,63,0.50);
}

body.cat-Mitraspera table.inhalt-tabelle {
    background-image: url("/resources/assets/Mitraspera-Background.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    border: 2px solid rgba(64,152,183,0.5);
}

body.cat-Mitraspera table.inhalt-tabelle td {
    border-bottom: 2px solid rgba(64,152,183,0.5);
}

body.cat-Mitraspera_e_V_ table.inhalt-tabelle, body.cat-Wiki table.inhalt-tabelle{
    background-image: url("/resources/assets/Verein-Background.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    border: 2px solid rgba(128,9,9,0.5);
}

body.cat-Mitraspera_e_V_ table.inhalt-tabelle td, body.cat-Wiki table.inhalt-tabelle td {
    border-bottom: 2px solid rgba(128,9,9,0.5);
}

table.inhalt-tabelle td.inhalte-noborder, body.cat-Mitraspera_e_V_ table.inhalt-tabelle td.inhalte-noborder, body.cat-Mitraspera table.inhalt-tabelle td.inhalte-noborder, body.cat-Athyria table.inhalt-tabelle td.inhalte-noborder, body.cat-Wiki table.inhalt-tabelle td.inhalte-noborder  {
    border-bottom: none;
}

/* Ende Inhalte-Box für Copyright-Hinweise */

/* Abstände anpassen  - wird derzeit nicht benutzt */
/*
.mw-body-content p, .mw-body-content p + p, .mw-body-content h1, .mw-body-content h2, .mw-body-content h3, .mw-body-content h4 {
    margin-top: 1.0rem;
}
*/

/* Ampelinfo am Handy ausblenden */
@media ( max-width: 800px ) {
	div.ampel-box-info {
		display: none;
	}
        .ampel-box-handy {
                display: block;
        }
}

/* Layout auf breiten Bildschirmen vergrößern >1300 */
/*@media ( min-width: 1300px ) {
html {
--width-layout: 1100px;
}
}
*/
/* Layout auf breiten Bildschirmen vergrößern >1700 */
/*@media ( min-width: 1600px ) {
html {
--width-layout: 1400px;
}
}
*/
/* Layout der Hauptseite fixieren */
body.page-Hauptseite header.mw-body-header, body.page-Hauptseite div.mw-body-content {
max-width: 960px;
}