MediaWiki:Common.css: Unterschied zwischen den Versionen

MediaWiki-Schnittstellenseite
KKeine Bearbeitungszusammenfassung
KKeine Bearbeitungszusammenfassung
 
(145 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
/* Linkfarben:
Athyria-Wiki: a { color:#B8860B; }, a:hover { color: #DAA520 }
Mythopedia: a { color:#05a5ca; }, a:hover { color:#d9a557 }
*/
a { color:#05a5ca; }
a { color:#05a5ca; }
a:hover { color:#d9a557 }
a:hover { color:#d9a557 }


#p-logo img {
/*Footer-Abstände reduzieren*/
width: 243px;
.mw-footer, #footer-bottom { margin-top:0; }
    padding-top: 15px;
#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;
}
}
.ve-init-mw-desktopArticleTarget-toolbar {
 
    margin: 0px -20px 20px -20px !important;
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);
}
}


.mw-footer, #footer-bottom { margin-top:10px; }
#footer-tagline IMG.igelpic {
#footer-sitetitle { margin-top:30px; }
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;
}


header.mw-header div.mw-header-siteinfo a.mw-wiki-title span.mythopedia-logo-span { position:absolute; top:10px; left:130px;}
#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);
}


.mythopedia-logo {  
/* Doppelten Copyright-Hinweis ausblenden (steht schon in der Fußzeile) */
height:50px;
.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;
}
}


header.mw-header div.mw-header-siteinfo a.mw-wiki-title span.mythopedia-logo-span .mythopedia-logo {  
#footer-icons img:hover {
-webkit-filter: grayscale(80%);
opacity: 1.0;
filter: grayscale(80%);
}
}


header.mw-header div.mw-header-siteinfo a.mw-wiki-title:hover img.mythopedia-logo {
 
opacity: 1.0;
/*
-webkit-filter: grayscale(0);
div#bodyContent {
filter: grayscale(0);
    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;
}
}


footer.mw-footer div#footer-content h2#footer-sitetitle { height: 20px;}
/* Ampelinfo am Handy ausblenden */
footer.mw-footer div#footer-content h2#footer-sitetitle span.mythopedia-logo-span { position: relative; left: 150px; top: -45px; }
@media ( max-width: 800px ) {
div.ampel-box-info {
display: none;
}
        .ampel-box-handy {
                display: block;
        }
}


nav#footer-info { display:none; }
/* 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 {
.category-tiles {
display: flex;
display: flex;
flex-wrap: wrap;
flex-wrap: wrap;
max-width: 960px;
}
}


Zeile 55: Zeile 280:
}
}


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


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


.category-container-pic img {
.category-container-pic img {
     margin: auto;
     margin: 0;
    transform-origin: center;
     -webkit-filter: grayscale(0.3);
     -webkit-filter: grayscale(0.4);
     filter: grayscale(0.3);
     filter: grayscale(0.4);
     -webkit-transform: scale(1.0);
     -webkit-transform: scale(1.0);
    -moz-transform: scale(1.0);
    -ms-transform: scale(1.0);
    -o-transform: scale(1.0);
     transform: scale(1.0);
     transform: scale(1.0);
     -webkit-transition: .5s ease-in-out;
     -webkit-transition: .5s ease-in-out;
     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;
}
}


Zeile 89: Zeile 336:
     filter: grayscale(0);
     filter: grayscale(0);
     -webkit-transform: scale(1.1);
     -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
    -ms-transform: scale(1.1);
     transform: scale(1.1);
     transform: scale(1.1);
}
}
Zeile 105: Zeile 355:
}
}


/* Logo neben Mythopedia im Header am Handy ausblenden */
.category-container-logo {
@media ( max-width: 800px ) {
    position: relative;
header.mw-header div.mw-header-siteinfo a.mw-wiki-title span.mythopedia-logo-span {
    padding: 0;
display: none;
    margin: 5px;
}
    display: flex;
}
    justify-content: center;
 
    align-items: center;
/* Layout auf breiten Bildschirmen vergrößern >1300 */
    height: 200px;
@media ( min-width: 1300px ) {
    width: 300px;
--width-layout: @width-breakpoint-desktop-wide - @padding-page * 2;
    overflow: hidden;
}
    z-index: 2;
 
/* Layout auf breiten Bildschirmen vergrößern >2000 */
@media ( min-width: 2000px ) {
--width-layout: @width-breakpoint-desktop-wide - @padding-page * 2;
}
 
body.page-Hauptseite main#content div#bodyContent {
max-width: 1400px;
}
}
/* Ende Formatierungen für die Startseite */

Aktuelle Version vom 23. Januar 2023, 20:37 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;
	max-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 */