MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus Eco - Deutsches Wiki
Dennis (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
StalEF (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
/* Custom Font */ | /* Custom Font */ | ||
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap'); | @import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap'); | ||
/* Dark Mode */ | /* Dark Mode */ | ||
| Zeile 36: | Zeile 35: | ||
width: 100%; | width: 100%; | ||
height: auto; | height: auto; | ||
} | } | ||
| Zeile 68: | Zeile 58: | ||
} | } | ||
.tablescroll { | |||
. | overflow-x: auto; | ||
} | } | ||
. | .ecotable { | ||
display: table; | |||
white-space: normal; | |||
/*font-family: Quicksand, sans-serif;*/ | |||
border: 2px solid var(--border-color, #395684); | |||
border-radius: 3px; | |||
} | } | ||
. | .ecotable th, .ecoheader { | ||
background-color: var(--table-header-background, #305080); | |||
color: var(--table-header-color, #FFFCF7); | |||
} | } | ||
.ecotable tr:nth-child(odd) { | |||
. | background-color: var(--table-row-odd, #3956844D); | ||
background- | |||
} | } | ||
.ecotable tr, .ecobody { | |||
background-color: var(--table-row-even, #3956841A); | |||
background- | |||
} | } | ||
. | .IconFrame { | ||
background | border: 5px outset #A9A9A9; | ||
background: #DCDCDC; | |||
display:inline-block; | |||
/*width: auto;*/ | |||
padding: 5px; | |||
padding-top: 20px; | |||
margin: 5px; | |||
text-align: center; | |||
vertical-align: middle; | |||
width: 200px; | |||
} | } | ||
. | /* Recipes Item Icon with count */ | ||
.recipeitem { | |||
position: relative; | |||
width: 72px; | |||
height: 72px; | |||
} | } | ||
.itemcount { | |||
. | position: absolute; | ||
bottom: 0px; | |||
right: 0px; | |||
width: 100%; | |||
height: 100%; | |||
z-index: 2; | |||
} | } | ||
. | .itemcountyellow { | ||
border: 4px solid yellow; | |||
} | } | ||
.itemicon { | |||
. | position: absolute; | ||
top: 4px; | |||
left: 4px; | |||
width: 100%; | |||
height: 100%; | |||
z-index: 1; | |||
} | } | ||
. | .card-horizontal { | ||
display: flex; | |||
flex: 1 1 auto; | |||
} | } | ||
. | .card { | ||
margin-top: 10px; | |||
} | } | ||
. | .card-img-top img { | ||
max-width: 100%; | |||
height: auto; | |||
width: auto; | |||
} | } | ||
. | .keyboardkey { | ||
border: 1px solid #aaa; | |||
border-radius: 0.2em; | |||
box-shadow: 0.1em 0.1em 0.2em rgba(0, 0, 0, 0.1); | |||
background-color: #f9f9f9; | |||
background-image: linear-gradient(to bottom, #eee, #f9f9f9, #eee); | |||
color: #000; | |||
padding: 0.1em 0.3em; | |||
font-family: inherit; | |||
font-size: 0.85em; | |||
} | } | ||
. | .nowrap { | ||
white-space: nowrap; | |||
} | } | ||
. | .IconGrid img { | ||
margin-right:10px; | |||
} | } | ||
/* Gallery Top */ | |||
.mw-gallery-slideshow { | |||
margin: 0; | |||
/* | |||
} | } | ||
/* Recipe table cell vertical align */ | |||
.table th, .table td { | |||
vertical-align: middle; | |||
. | |||
} | } | ||
Version vom 6. Februar 2026, 21:02 Uhr
/* Custom Font */
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
/* Dark Mode */
.client-darkmode img, .embedvideo-overlay {
filter: invert(1) hue-rotate(180deg) !important;
}
/* Framework */
* {
font-family: 'Roboto', sans-serif;
}
body {
background-image: url(https://wiki.play.eco/cubes.png);
background-color: #FAFAFA;
}
#ooui-php-3 {
position: absolute;
width: 50%;
}
.ace_editor * {
font-family: monospace !important;
}
.mw-changeslist-legend {
position: absolute;
margin: 45px 0px 0px 0px;
}
/* Banner */
.headbanner span img {
width: 100%;
height: auto;
}
/* Table of Contents */
.toc {
border: 5px solid #A9A9A9;
padding: 10px;
float: right;
margin: 0px 30px 30px 30px;
width: 300px;
clear: right;
}
/* Infoboxes */
.infobox {
border: 5px solid #7BC2CE;
padding: 0;
color: #333333;
float: right;
margin: 0px 30px 30px 30px;
width: 300px;
clear: right;
}
.tablescroll {
overflow-x: auto;
}
.ecotable {
display: table;
white-space: normal;
/*font-family: Quicksand, sans-serif;*/
border: 2px solid var(--border-color, #395684);
border-radius: 3px;
}
.ecotable th, .ecoheader {
background-color: var(--table-header-background, #305080);
color: var(--table-header-color, #FFFCF7);
}
.ecotable tr:nth-child(odd) {
background-color: var(--table-row-odd, #3956844D);
}
.ecotable tr, .ecobody {
background-color: var(--table-row-even, #3956841A);
}
.IconFrame {
border: 5px outset #A9A9A9;
background: #DCDCDC;
display:inline-block;
/*width: auto;*/
padding: 5px;
padding-top: 20px;
margin: 5px;
text-align: center;
vertical-align: middle;
width: 200px;
}
/* Recipes Item Icon with count */
.recipeitem {
position: relative;
width: 72px;
height: 72px;
}
.itemcount {
position: absolute;
bottom: 0px;
right: 0px;
width: 100%;
height: 100%;
z-index: 2;
}
.itemcountyellow {
border: 4px solid yellow;
}
.itemicon {
position: absolute;
top: 4px;
left: 4px;
width: 100%;
height: 100%;
z-index: 1;
}
.card-horizontal {
display: flex;
flex: 1 1 auto;
}
.card {
margin-top: 10px;
}
.card-img-top img {
max-width: 100%;
height: auto;
width: auto;
}
.keyboardkey {
border: 1px solid #aaa;
border-radius: 0.2em;
box-shadow: 0.1em 0.1em 0.2em rgba(0, 0, 0, 0.1);
background-color: #f9f9f9;
background-image: linear-gradient(to bottom, #eee, #f9f9f9, #eee);
color: #000;
padding: 0.1em 0.3em;
font-family: inherit;
font-size: 0.85em;
}
.nowrap {
white-space: nowrap;
}
.IconGrid img {
margin-right:10px;
}
/* Gallery Top */
.mw-gallery-slideshow {
margin: 0;
}
/* Recipe table cell vertical align */
.table th, .table td {
vertical-align: middle;
}