Difference between revisions of "MediaWiki:Common.css"
m |
m |
/* CSS placed here will be applied to all skins Das folgende CSS wird für alle Benutzeroberflächen geladen. */
- toc { max-width: 600px; }
.mw-editsection { display: none; }
- content #bodyContent h2 {
font-size: 1.375rem; border-bottom: 1px solid rgb(51174, 51174, 51174);
padding-bottom: 2px;
margin-top: 2.5rem; margin-bottom: 2rem;
}
- toc h2 {
border-bottom: 0; }
- content #bodyContent .toc .toctitle h2 {
display: inline-block;
padding-right: 1em;
width: 80%;
}
- content #bodyContent h3 {
font-size: 1.2rem; margin-top: 2.5rem; margin-bottom: 2rem;
}
.bs-layout-container-banner img { max-width: 100%; height: auto; } .mw-body-content ol li li { list-style-type: lower-alpha; }
.bs-layout-box .bs-layout-box-image img { height: auto; }
/*Special:AllPages ERM12866 */ body.ns-special .mw-allpages-body { columns: 32em 2; -moz-columns: 32em 2; -webkit-columns: 32em 2; }
@media screen { .print-only { display: none; }
}
/* overrides mlink-rodrigue */ h2 { border-bottom: 1px solid rgb(51, 51, 51); padding-bottom: 2px; }
- toc {
margin: 3em 0;
}
- toc h2 {
border-bottom: 0; }
.bs-layout-container-banner img { max-width: 100%; height: auto; }
.mw-body-content ol li li { list-style-type: lower-alpha; }
- content #bodyContent ol > li {
margin-top: 1em;
margin-bottom: 1em;
}
- content #bodyContent ol > li li{
margin-top: 0.5em;
margin-bottom: 0.5em;
} .mw-parser-output .center .floatnone img { margin: 2em 0; } .mw-parser-output img.ve-ce-nail, .mw-parser-output img.ve-ce-nail-pre-open { margin:0; } .blsp-hint {
border: 1px solid #c8c8c8; background-image: url("https://de.wiki.bluespice.com/wiki/Datei:Hinweis.jpg"); background-size: 60px 55px;
}
- content #bodyContent ul > li {
margin-bottom: 0.5rem;
}
/* Banner - Wikivoyage - Used to test MediaWiki/Homepage redesign/Preview */
.banner-image { position: relative; overflow: hidden; max-width: 1000px; height: auto; margin-bottom: .6em; } .banner-image img { max-width: 100%; height: auto; width: auto; } .banner-box { position: absolute; z-index: 2; margin-top: 2.5em; color: white; min-width: 20em; text-shadow: black 0.3em 0.3em 1em,black -0.1em -0.1em 1em; } .banner-box-wide { width: 80% } .banner-box-left { left: 5%; text-align: left; } .banner-box-right { right: 5%; text-align: right; } .banner-box .name { font-size: 3em; white-space: nowrap; line-height: 1.2em; } .banner-box .type { font-size: 2em; line-height: 1.2em; }
/* Vorlage Portal*/ .portal-bannerbox {background:#efefef;
overflow: auto;
width: 100%;
}
- content #bodyContent .portal-bannerbox {padding:30px; margin-bottom: 30px;}
- content #bodyContent .portal-bannerbox img {margin-right:45px;}
- content #bodyContent .portal-bannerbox h1 {display:inline-block; margin: 18px 0 0.5em 0; font-size:1.6em; font-weight:bold;}
- content #bodyContent .portal-bannerbox .floatright, #content #bodyContent .portal-bannerbox .floatleft {margin:0;}
#content #bodyContent .portal-bannerbox .portal-shortquote {font-size:1.5em; font-weight:100}
#content #bodyContent .simpleportal2-col h2, #content #bodyContent .simpleportal2-col-last h2 {font-size: 1.3em; margin-top: 1rem;
margin-bottom: 1.5rem;padding-bottom: 6px;}
- content #bodyContent .simpleportal2-col {flex-grow: 1; flex-shrink: 0; flex-basis: 260px; margin-right: 2em;}
- content #bodyContent .simpleportal2-col-last {flex-grow: 1; flex-shrink: 0; flex-basis: 140px; padding: 0 1em 1em 1em; background: #f4f4f4;}
/* CSS placed here will be applied to all skins */ Das folgende CSS wird für alle Benutzeroberflächen geladen. */ #toc { max-width: 600px; } .mw-editsection { display: none; } #content #bodyContent h2 { font-size: 1.375rem; border-bottom: 1px solid rgb(51, 51, 51174, 174, 174); padding-bottom: 2px; margin-top: 2.5rem; margin-bottom: 2rem; } #toc h2 { border-bottom: 0; } #content #bodyContent .toc .toctitle h2 { display: inline-block; padding-right: 1em; width: 80%; } #content #bodyContent h3 { font-size: 1.2rem; margin-top: 2.5rem; margin-bottom: 2rem; } .bs-layout-container-banner img { max-width: 100%; height: auto; } .mw-body- .bs-layout-box .bs-layout-box-image img { height: auto; } /*Special:AllPages ERM12866 */ body.ns-special .mw-allpages-body { columns: 32em 2; -moz-columns: 32em 2; -webkit-columns: 32em 2; } /* overrides mlink-rodrigue */ h2 { border-bottom: 1px solid rgb(51, 51, 51); padding-bottom: 2px; } #toc { margin: 3em 0; } #toc h2 { border-bottom: 0; } .bs-layout-container-banner img { max-width: 100%; height: auto; } .mw-body-content ol li li { list-style-type: lower-alpha; } .bs-layout-box .bs-layout-box-image img { height: auto; } /*Special:AllPages ERM12866 */ body.ns-special .mw-allpages-body { columns: 32em 2; -moz-columns: 32em 2; -webkit-columns: 32em 2; } @media screen { .print-only { display: none; } }#content #bodyContent ol > li { margin-top: 1em; margin-bottom: 1em; } #content #bodyContent ol > li li{ margin-top: 0.5em; margin-bottom: 0.5em; } .mw-parser-output .center .floatnone img { margin: 2em 0; } .mw-parser-output img.ve-ce-nail, .mw-parser-output img.ve-ce-nail-pre-open { margin:0; } .blsp-hint { border: 1px solid #c8c8c8; background-image: url("https://de.wiki.bluespice.com/wiki/Datei:Hinweis.jpg"); background-size: 60px 55px; } #content #bodyContent ul > li { margin-bottom: 0.5rem; } /* Banner - Wikivoyage - Used to test MediaWiki/Homepage redesign/Preview */ .banner-image { position: relative; overflow: hidden; max-width: 1000px; height: auto; margin-bottom: .6em; } .banner-image img { max-width: 100%; height: auto; width: auto; } .banner-box { position: absolute; z-index: 2; margin-top: 2.5em; color: white; min-width: 20em; text-shadow: black 0.3em 0.3em 1em,black -0.1em -0.1em 1em; } .banner-box-wide { width: 80% } .banner-box-left { left: 5%; text-align: left; } .banner-box-right { right: 5%; text-align: right; } .banner-box .name { font-size: 3em; white-space: nowrap; line-height: 1.2em; } .banner-box .type { font-size: 2em; line-height: 1.2em; } /* Vorlage Portal*/ .portal-bannerbox {background:#efefef; overflow: auto; width: 100%; } #content #bodyContent .portal-bannerbox {padding:30px; margin-bottom: 30px;} #content #bodyContent .portal-bannerbox img {margin-right:45px;} #content #bodyContent .portal-bannerbox h1 {display:inline-block; margin: 18px 0 0.5em 0; font-size:1.6em; font-weight:bold;} #content #bodyContent .portal-bannerbox .floatright, #content #bodyContent .portal-bannerbox .floatleft {margin:0;} #content #bodyContent .portal-bannerbox .portal-shortquote {font-size:1.5em; font-weight:100} #content #bodyContent .simpleportal2-col h2, #content #bodyContent .simpleportal2-col-last h2 {font-size: 1.3em; margin-top: 1rem; margin-bottom: 1.5rem;padding-bottom: 6px;} #content #bodyContent .simpleportal2-col {flex-grow: 1; flex-shrink: 0; flex-basis: 260px; margin-right: 2em;} #content #bodyContent .simpleportal2-col-last {flex-grow: 1; flex-shrink: 0; flex-basis: 140px; padding: 0 1em 1em 1em; background: #f4f4f4;}
Line 1: | Line 1: | ||
− | /* CSS | + | /* Das folgende CSS wird für alle Benutzeroberflächen geladen. */ |
− | |||
#toc { max-width: 600px; } | #toc { max-width: 600px; } | ||
Line 7: | Line 6: | ||
#content #bodyContent h2 { | #content #bodyContent h2 { | ||
font-size: 1.375rem; | font-size: 1.375rem; | ||
− | border-bottom: 1px solid rgb( | + | border-bottom: 1px solid rgb(174, 174, 174); |
padding-bottom: 2px; | padding-bottom: 2px; | ||
margin-top: 2.5rem; | margin-top: 2.5rem; | ||
Line 16: | Line 15: | ||
border-bottom: 0; | border-bottom: 0; | ||
} | } | ||
+ | |||
+ | #content #bodyContent .toc .toctitle h2 { | ||
+ | display: inline-block; | ||
+ | padding-right: 1em; | ||
+ | width: 80%; | ||
+ | } | ||
+ | |||
+ | |||
#content #bodyContent h3 { | #content #bodyContent h3 { | ||
font-size: 1.2rem; | font-size: 1.2rem; | ||
Line 21: | Line 28: | ||
margin-bottom: 2rem; | margin-bottom: 2rem; | ||
} | } | ||
+ | |||
.bs-layout-container-banner img { | .bs-layout-container-banner img { | ||
max-width: 100%; | max-width: 100%; | ||
height: auto; | height: auto; | ||
− | |||
− | |||
− | |||
− | |||
} | } | ||
Line 41: | Line 45: | ||
} | } | ||
− | + | ||
− | . | + | /* overrides mlink-rodrigue */ |
− | + | h2 { | |
+ | border-bottom: 1px solid rgb(51, 51, 51); | ||
+ | padding-bottom: 2px; | ||
+ | } | ||
+ | #toc { | ||
+ | margin: 3em 0; | ||
+ | } | ||
+ | |||
+ | #toc h2 { | ||
+ | border-bottom: 0; | ||
+ | } | ||
+ | |||
+ | .bs-layout-container-banner img { | ||
+ | max-width: 100%; | ||
+ | height: auto; | ||
+ | } | ||
+ | |||
+ | .mw-body-content ol li li | ||
+ | { | ||
+ | list-style-type: lower-alpha; | ||
+ | } | ||
+ | #content #bodyContent ol > li { | ||
+ | margin-top: 1em; | ||
+ | margin-bottom: 1em; | ||
+ | } | ||
+ | #content #bodyContent ol > li li{ | ||
+ | margin-top: 0.5em; | ||
+ | margin-bottom: 0.5em; | ||
+ | } | ||
+ | .mw-parser-output .center .floatnone img | ||
+ | { | ||
+ | margin: 2em 0; | ||
+ | } | ||
+ | .mw-parser-output img.ve-ce-nail, .mw-parser-output img.ve-ce-nail-pre-open | ||
+ | { | ||
+ | margin:0; | ||
+ | } | ||
+ | .blsp-hint | ||
+ | { | ||
+ | border: 1px solid #c8c8c8; | ||
+ | background-image: url("https://de.wiki.bluespice.com/wiki/Datei:Hinweis.jpg"); | ||
+ | background-size: 60px 55px; | ||
+ | } | ||
+ | |||
+ | #content #bodyContent ul > li { | ||
+ | margin-bottom: 0.5rem; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* Banner - Wikivoyage - Used to test MediaWiki/Homepage redesign/Preview */ | ||
+ | |||
+ | .banner-image { | ||
+ | position: relative; | ||
+ | overflow: hidden; | ||
+ | max-width: 1000px; | ||
+ | height: auto; | ||
+ | margin-bottom: .6em; | ||
+ | } | ||
+ | .banner-image img { | ||
+ | max-width: 100%; | ||
+ | height: auto; | ||
+ | width: auto; | ||
+ | } | ||
+ | .banner-box { | ||
+ | position: absolute; | ||
+ | z-index: 2; | ||
+ | margin-top: 2.5em; | ||
+ | color: white; | ||
+ | min-width: 20em; | ||
+ | text-shadow: black 0.3em 0.3em 1em,black -0.1em -0.1em 1em; | ||
+ | } | ||
+ | .banner-box-wide { width: 80% } | ||
+ | .banner-box-left { | ||
+ | left: 5%; | ||
+ | text-align: left; | ||
+ | } | ||
+ | .banner-box-right { | ||
+ | right: 5%; | ||
+ | text-align: right; | ||
+ | } | ||
+ | .banner-box .name { | ||
+ | font-size: 3em; | ||
+ | white-space: nowrap; | ||
+ | line-height: 1.2em; | ||
+ | } | ||
+ | .banner-box .type { | ||
+ | font-size: 2em; | ||
+ | line-height: 1.2em; | ||
} | } | ||
+ | |||
+ | /* Vorlage Portal*/ | ||
+ | .portal-bannerbox | ||
+ | {background:#efefef; | ||
+ | overflow: auto; | ||
+ | width: 100%; | ||
} | } | ||
+ | #content #bodyContent .portal-bannerbox {padding:30px; margin-bottom: 30px;} | ||
+ | #content #bodyContent .portal-bannerbox img {margin-right:45px;} | ||
+ | #content #bodyContent .portal-bannerbox h1 {display:inline-block; margin: 18px 0 0.5em 0; font-size:1.6em; font-weight:bold;} | ||
+ | #content #bodyContent .portal-bannerbox .floatright, #content #bodyContent .portal-bannerbox .floatleft {margin:0;} | ||
+ | #content #bodyContent .portal-bannerbox .portal-shortquote {font-size:1.5em; font-weight:100} | ||
+ | #content #bodyContent .simpleportal2-col h2, #content #bodyContent .simpleportal2-col-last h2 {font-size: 1.3em; margin-top: 1rem; | ||
+ | margin-bottom: 1.5rem;padding-bottom: 6px;} | ||
+ | #content #bodyContent .simpleportal2-col {flex-grow: 1; flex-shrink: 0; flex-basis: 260px; margin-right: 2em;} | ||
+ | #content #bodyContent .simpleportal2-col-last {flex-grow: 1; flex-shrink: 0; flex-basis: 140px; padding: 0 1em 1em 1em; background: #f4f4f4;} |