MediaWiki:Common.css: Unterschied zwischen den Versionen

MediaWiki-Schnittstellenseite
KKeine Bearbeitungszusammenfassung
KKeine Bearbeitungszusammenfassung
Zeile 222: Zeile 222:
/* Ende Inhalte-Box für Copyright-Hinweise */
/* Ende Inhalte-Box für Copyright-Hinweise */


/* Abstände anpassen - wird derzeit nicht benutzt */
/* Abstände anpassen */
/*
.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 {
.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;
     margin-top: 1.0rem;
}
}
*/


/* Ampelinfo am Handy ausblenden */
/* Ampelinfo am Handy ausblenden */

Version vom 23. Januar 2023, 21:30 Uhr

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

/*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.mythopedia-logo { height:50px; }

footer.mw-footer IMG.mythopedia-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.mythopedia-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 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 */
.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;
}
*/

/* Formatierungen für die Startseite */
.category-tiles {
	display: flex;
	flex-wrap: wrap;
	width: 960px;
}

.category-tiles .category-container {
	flex: 1 0 40%;
}

.category-container {
    background: none;
    border: none;
    border-left: 2px solid var(--border-color-base--darker);
    border-radius: 30px;
    box-shadow:  none;
    position: relative;
    padding: 5px 20px 5px 20px;
    margin: 5px;
}

.mw-body-content .category-container p {
    margin-top: 0.5rem;
}

.mw-body-content .category-container ul {
    margin-top: 0;
}
/*
.category-container:hover {
    background: var(--background-color-framed--hover);
    border: 2px solid var(--border-color-input--hover);
    box-shadow:  0 1px 2px 1px rgba(0,0,0,0.01);
}
*/

.category-container-pic {
    position: relative;
    padding: 0;
    margin: 5px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    width: 300px;
    overflow: hidden;
    z-index: 2;
}

.category-container-pic img {
    margin: 0;
    -webkit-filter: grayscale(0.3);
    filter: grayscale(0.3);
    -webkit-transform: scale(1.0);
    -moz-transform: scale(1.0);
    -ms-transform: scale(1.0);
    -o-transform: scale(1.0);
    transform: scale(1.0);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
     transition: .5s ease-in-out;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    z-index: 1;
}

.category-container-pic:hover img {
    -webkit-filter: grayscale(0);
    filter: grayscale(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);
}

.category-container-pic-label {
    position: absolute;
    top: 80px;
    left: auto;
    justify-content: center;
    align-items: center;
}

.category-container-pic-bordered {
    border: 2px solid var(--border-color-base--darker);
    box-shadow:  0 1px 2px 1px rgba(0,0,0,0.02);
}

.category-container-logo {
    position: relative;
    padding: 0;
    margin: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    width: 300px;
    overflow: hidden;
    z-index: 2;
}
/* Ende Formatierungen für die Startseite */