MediaWiki:Common.css

MediaWiki-Schnittstellenseite

Hinweis: Leere nach dem Veröffentlichen den Browser-Cache, um die Änderungen sehen zu können.

  • Firefox/Safari: Umschalttaste drücken und gleichzeitig Aktualisieren anklicken oder entweder Strg+F5 oder Strg+R (⌘+R auf dem Mac) drücken
  • Google Chrome: Umschalttaste+Strg+R (⌘+Umschalttaste+R auf dem Mac) drücken
  • Internet Explorer/Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
  • Opera: Strg+F5
a { color:#05a5ca; }
a:hover { color:#d9a557 }

#p-logo img {
	width: 243px;
    padding-top: 15px;
}
.ve-init-mw-desktopArticleTarget-toolbar {
    margin: 0px -20px 20px -20px !important;
}

.mw-footer, #footer-bottom { margin-top:10px; }
#footer-sitetitle { margin-top:30px; }

.mw-header-siteinfo .mw-wiki-title { 
position:relative;
}

.mw-header-siteinfo .mw-wiki-title span.mythopedia-logo-span { 
position:absolute;
top:-10px;
left:130px;
}

.mythopedia-logo { 
height:50px;
}

.mw-header-siteinfo {
overflow: visible;
}

.mw-header-siteinfo .mw-wiki-title {
opacity: 0.8; 
-webkit-filter: grayscale(40%);
filter: grayscale(40%);
-webkit-transition: .5s ease-in-out;
transition: .5s ease-in-out;
}

.mw-header-siteinfo .mw-wiki-title img.mythopedia-logo {
transition: .5s ease-in-out;
}

.mw-header-siteinfo .mw-wiki-title:hover {
opacity: 1.0;
-webkit-filter: grayscale(0);
filter: grayscale(0);
}

.mw-header-siteinfo .mw-wiki-title:hover img.mythopedia-logo {
-webkit-transform: scale(1.1);
transform: scale(1.1);
}

footer.mw-footer div#footer-content h2#footer-sitetitle { height: 20px;}
footer.mw-footer div#footer-content h2#footer-sitetitle span.mythopedia-logo-span { position: relative; left: 150px; top: -45px; }

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

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

nav#footer-info { display:none; }

nav#footer-icons img {
opacity: 0.7; 
-webkit-transition: .5s ease-in-out;
transition: .5s ease-in-out;
}

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

.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;
}

.category-container-logo-alt {
    background-image: url("/images/5/59/Mythopedia-Logo-a-1200.png"), url("/images/8/8c/Mythopedia-Logo-b-1200.png");
    background-position-x: 0px;
    background-position-y: 0px, -200px;
    background-repeat: no-repeat;
    background-size: 300px 200px, 300px 200px;
}

.category-container-logo-alt:hover {
    background-position-y: -200px, 0px;
}

div#bodyContent {
    position:relative;
}

.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;
    padding: 0;
    background-size: cover;                      
    background-repeat: no-repeat;
    background-position: center center;  
    border: none;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

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

.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");
}

.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 a.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;
   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: 0px 2px 2px 0px rgba(150, 150, 150, 0.40);
		-webkit-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;
}

.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);
}

td.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;
}

/* 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;
}


/* Logo neben Mythopedia im Header am Handy ausblenden */
@media ( max-width: 800px ) {
	header.mw-header div.mw-header-siteinfo a.mw-wiki-title span.mythopedia-logo-span {
		display: none;
	}
}

/* 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;
}
}

body.page-Hauptseite header.mw-body-header, body.page-Hauptseite div.mw-body-content {
max-width: 960px;
}