MediaWiki:Common.css
Aus Stratum 0
Version vom 23:53, 31. Mär. 2022 von Larsan (Diskussion | Beiträge)
Hinweis: Leere nach dem Speichern 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: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
- Opera: Gehe zu Menü → Einstellungen (Opera → Einstellungen auf dem Mac) und dann auf Datenschutz & Sicherheit → Browserdaten löschen → Gespeicherte Bilder und Dateien.
/* CSS an dieser Stelle wirkt sich auf alle Skins aus */
/* Zitate */
blockquote {
font-style: italic;
}
/* Tabellen */
table.prettytable {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #aaaaaa solid;
border-collapse: collapse;
}
table.prettytable th, table.prettytable td {
border: 1px solid #8cacbb;
padding: 0.2em;
vertical-align: top;
}
table.prettytable th {
background: #dee7ec;
text-align: left;
}
table.prettytable caption {
margin-left: inherit;
margin-right: inherit;
}
.navbar {
clear:right;
float:right;
border:1px solid #888;
background-color:#eee;
padding: 0.5em 1em;
}
.one-column-list div {
columns: 1 !important;
-moz-columns: 1 !important;
-webkit-columns: 1 !important;
}
/** siehe zB http://weblogtoolscollection.com/archives/2007/06/16/css-for-code-wrap-long-lines/ */
.wrap {
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
}
.fold {
max-height: 200px;
overflow-y: scroll;
}
pre {
overflow: auto;
}
pre, .mw-code {
padding: 0.5em;
margin: 0.5em 0;
}
/* Standard Navigationsleisten, aka box hiding thingy
* from Wikipedia: https://en.wikipedia.org/wiki/MediaWiki:Common.css
* Documentation at https://en.wikipedia.org/wiki/Wikipedia:NavFrame
*/
div.NavFrame {
margin: 0;
padding: 4px;
border: 1px solid #aaa;
text-align: center;
border-collapse: collapse;
font-size: 95%;
}
div.NavFrame + div.NavFrame {
border-top-style: none;
border-top-style: hidden;
}
div.NavPic {
background-color: #fff;
margin: 0;
padding: 2px;
/* @noflip */
float: left;
}
div.NavFrame div.NavHead {
height: 1.6em;
font-weight: bold;
background-color: #ccf;
position: relative;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
font-size: 100%;
}
div.NavEnd {
margin: 0;
padding: 0;
line-height: 1px;
clear: both;
}
a.NavToggle {
position: absolute;
top: 0;
/* @noflip */
right: 3px;
font-weight: normal;
font-size: 90%;
}
.rawinclude-header {
clear: both;
vertical-align: center;
padding: 0.1em 0.5em;
margin-bottom: 0px;
border: 1px solid #ddd;
border-bottom: 0px;
background-color: #b5cad4;
font-style: italic;
}
.rawinclude-header .icon {
display: inline-block;
}
#globalWrapper {
max-width: 1390px;
margin: 0 auto !important;
border-left: 1px solid #cacaca;
border-right: 1px solid #cacaca;
background: #f8f8f8;
background-image: none !important;
}
#column-content {
margin-top: 37px !important;
}
#p-logo a {
display: none;
}
#p-logo {
position: fixed;
font-size: 17px;
height: 36px;
top: 8px;
margin: 0 0 0 15px;
z-index: 1001;
color: #000 !important;
}
#p-logo::before {
content: 'stratum0';
font-weight: bold;
}
#p-logo::after {
content: '.org';
font-size: 60%;
}
#p-cactions {
height: 36.5px;
background-color: #ffb122;
position: fixed;
padding: 0;
top: 0;
left: 0;
display: inline-block;
width: 100vw;
z-index: 1000;
box-shadow: 0 4px 10px -6px #000;
}
#p-cactions .pBody {
height: 100%;
float: right;
margin-right: 460px;
}
#p-cactions .pBody ul {
margin: 0;
height: 100%;
}
#p-cactions .pBody ul li {
height: 35.5px;
margin: 0;
display: inline-block;
padding: 0;
border-top: none;
font-weight: bold;
background: none;
border-color: #d4931c;
border-left-width: 0;
}
#p-cactions .pBody ul li:first-child {
border-left-width: 1px;
}
#p-cactions .pBody ul li a {
background: none;
color: #000;
margin: auto;
font-size: 12px;
text-transform: uppercase;
padding: 8px 15px 0;
height: 27.5px;
display: block;
}
#p-cactions .pBody ul li a:hover {
background: #dd9917;
color: #ffd;
}
#p-search {
position: fixed;
top: 0;
right: 130px;
z-index: 1001;
width: 300px;
margin: 0;
}
#p-search-label {
display: none;
}
#searchBody {
background: none;
border: none;
padding: 1px 0 2px !important;
}
#searchBody .searchButton {
display: none;
}
#searchInput {
background: #b78508;
border: 0;
outline: none;
color: #ffd;
min-width: 300px;
font-size: 13px;
width: 100px;
height: 34px;
border-radius: 4px;
}
#p-personal {
z-index: 1003;
width: 10px;
}
#pt-login {
position: fixed;
right: 20px;
top: 3px;
padding: 0;
text-transform: uppercase;
background-color: #2c3e50 !important;
height: 24px;
border-radius: 4px;
padding: 10px 10px 0 !important;
}
#pt-login:hover {
background-color: #22303e !important;
}
#pt-login a {
color: #fff;
background: none !important;
}
#pt-createaccount {
position: absolute;
left: -5px;
top: 50px;
width: 145px;
}
#pt-createaccount a {
display: inline-block;
width: 145px;
white-space: break-spaces;
text-align: left;
background: none !important;
}
#column-one {
padding-top: 86px !important;
}
.portlet {
width: 145px;
color: #02a !important;
padding-left: 6px;
margin: 10px 0;
}
.portlet h3 {
color: inherit;
font-weight: 700;
font-size: 14px;
padding: 0;
}
.portlet .pBody {
background: none;
border: none;
padding: 0;
}
.portlet .pBody ul {
line-height: 1.4;
font-size: 13px;
margin: 5px 0 0 15px;
}
#content {
margin-top: 0;
border: 0;
border-left: 1px solid #cacaca;
}
#firstHeading {
border-bottom: 0;
font-weight: 700;
}
#mw-content-text table, #mw-content-text td {
border-width: 1px !important;
border-color: #cacaca !important;
padding: 0 !important;
background: none !important;
}
#mw-content-text > div > table:first-of-type {
border-spacing: 0;
}
#mw-content-text h3 {
background-color: #ffaa00;
padding: 4px 4px 8px 4px;
font-size: 14px;
}
#mw-content-text h3 * {
font-weight: normal
}
#mw-content-text h3 + hr {
display: none;
}
#mw-content-text .floatright {
margin: 0;
}