MediaWiki:Common.css: Unterschied zwischen den Versionen

MediaWiki-Schnittstellenseite
KKeine Bearbeitungszusammenfassung
KKeine Bearbeitungszusammenfassung
Zeile 7: Zeile 7:


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


/*Logo in Menüleiste formatieren*/
/*Logo in Menüleiste formatieren*/
Zeile 96: Zeile 96:
}
}


.category-tiles {
display: flex;
flex-wrap: wrap;
}
.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);
    transform: scale(1.0);
    -webkit-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-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);
    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;
}


/*
/*
Zeile 198: Zeile 103:
*/
*/


/* Start Kategorie-Bilder bei Seitenüberschrift */
.category-box {
.category-box {
     display: inline-block;
     display: inline-block;
     height: 44px;
     height: 44px;
     margin: 0;
     margin: 0;
     padding: 0
     padding: 0;
     background: none;
     background: none;
     border: none;
     border: none;
Zeile 220: Zeile 126:
     border: none;
     border: none;
     -webkit-transition: .3s ease-in-out;
     -webkit-transition: .3s ease-in-out;
    -moz-transition: .3s ease-in-out;
-o-transition: .3s ease-in-out;
     transition: .3s ease-in-out;
     transition: .3s ease-in-out;
}
}


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


Zeile 241: Zeile 149:
}
}


/* Ende Kategorie-Bilder bei Seitenüberschrift */
/* Start Ampelboxen */
.ampel-box {
.ampel-box {
     position: relative;
     position: relative;
Zeile 253: Zeile 164:
}
}


.ampel-box a.ampel-link {
.ampel-box .ampel-link {
     width: 100px;
     width: 100px;
     height: 200px;
     height: 200px;
Zeile 262: Zeile 173:
     width: 100px;
     width: 100px;
     height: 200px;
     height: 200px;
  opacity: 0.8;
opacity: 0.8;
z-index: 2;
z-index: 2;
  -webkit-filter: grayscale(20%);
-webkit-filter: grayscale(20%);
  filter: grayscale(20%);
filter: grayscale(20%);
  -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;
}
}


Zeile 289: Zeile 202:
     margin: 0;
     margin: 0;
     border: 1px solid #555555;
     border: 1px solid #555555;
border-radius: 20px;
border-radius: 20px;
     box-shadow: 0px 2px 2px 0px rgba(150, 150, 150, 0.40);
     box-shadow: 0 2px 2px 0 rgba(150, 150, 150, 0.40);
-webkit-transition: 1.0s ease-in-out;
-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;
     transition: 1.0s ease-in-out;
}
}
Zeile 314: Zeile 229:
right: 105px;
right: 105px;
}
}
/* Ende Ampelboxen */


/* Start Inhalte-Box für Copyright-Hinweise */
.inhalt-box {
.inhalt-box {
     max-width: 300px;
     max-width: 300px;
Zeile 337: Zeile 254:
}
}


td.inhalte-label {
.inhalte-label {
     padding-right: 10px;
     padding-right: 10px;
     font-weight: 500;
     font-weight: 500;
Zeile 382: Zeile 299:
}
}


/* Abstände anpassen */
/* 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 {
.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 */
Zeile 411: Zeile 332:
}
}
*/
*/
/* Layout der Hauptseite fixieren */
/*
body.page-Hauptseite header.mw-body-header, body.page-Hauptseite div.mw-body-content {
body.page-Hauptseite header.mw-body-header, body.page-Hauptseite div.mw-body-content {
max-width: 960px;
max-width: 960px;
}
}
*/

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