MediaWiki:Mobile.css

Aus zitieren.at – Das Zitier-Wiki
Zur Navigation springen Zur Suche springen

Hinweis: Leeren Sie 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: Gehen Sie zu Menü → Einstellungen (Opera → Einstellungen auf dem Mac) und dann auf Datenschutz & Sicherheit → Browserdaten löschen → Gespeicherte Bilder und Dateien.
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */

/* Fonts */

@font-face {
    font-family: 'NotoSans-Regular';
    src: url('static/fonts/notosans-regular.woff2') format('woff2'), url('static/fonts/notosans-regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'NotoSans-Italic';
    src: url('static/fonts/notosans-italic.woff2') format('woff2'), url('static/fonts/notosans-italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'NotoSans-Bold';
    src: url('static/fonts/notosans-bold.woff2') format('woff2'), url('static/fonts/notosans-bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'NotoSans-BoldItalic';
    src: url('static/fonts/notosans-bolditalic.woff2') format('woff2'), url('static/fonts/notosans-bolditalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}

/* Override */

body.page-Hauptseite h1 { display: none; }

html, body {
    font-family: 'NotoSans-Regular', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    text-rendering: optimizeLegibility;
}

body {
    color: #2a2b2c;
}

h1, h2, h3, h4, h5, h6 {
    color: #2a2b2c;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.5em;
}

b, strong {
    font-family: 'NotoSans-Bold', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

i, em {
    font-family: 'NotoSans-Italic', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a {
    color: #005490;
}

a:visited {
    color: #4784af;
}

.header-container.header-chrome {
    background-color: #efefef;
    border: 0;
    box-shadow: none;
}

.header {
    height: 4em;
}

.header .branding-box {
    opacity: 1;
    display: table-cell;
    height: 4em;
    width: 8em;
    background-image:url(static/logo/zitieren06-mobile.png);
    background-position: left center;
    background-size: 8em 4em;
    background-repeat: no-repeat;
}

.header .branding-box a {
   display: table-cell;
   color: #005490;
}

.header .branding-box h1 span, .header .branding-box a span {
    line-height: 4em;
    width: 8em;
    text-indent: -100em;
}

.minerva-user-navigation {
    min-height: 4em;
}

#mw-mf-page-center {
    background-color: #efefef;
}

div.floatright, table.floatright {
    margin: 0;
}

.pre-content h1, .content h1, .content h2 {
    font-family: 'Noto Sans',  'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.content h2, .content h3, .content h4, .content h5, .content h6 {
    padding: 0.5em 0;
    margin: 1.2em 0 0 0;
}

.content ol {
    margin: 0.5em 0 0.5em 1.5em;
    padding: 0;
    list-style: none;
    counter-reset: section;
}

.content ol li {
    text-indent: -1.2em;
    margin-bottom: 0.5em;
    counter-increment: section;
}

.content ol li:before {
    content: counter(section) ". ";
}

.minerva-footer {
    border-top: 0;
}

.mw-ui-vform .mw-ui-vform-field {
    margin-bottom: 1em;
}

.mw-ui-button.mw-ui-progressive {
    background-color: #005490;
    border: 1px solid #005490;
}

.mw-ui-button.mw-ui-progressive:hover {
    background-color: #4784af;
    border: 1px solid #4784af;
}

.content .center > *, .content .center .thumb {
    display: inline-block;
}

.content .mw-parser-output > h2, .content .section-heading {
    border-bottom: 1px solid #e6a817;
}

.toc {
    padding: 1em;
}

.toc, .mw-warning, .toccolours {
    border: 1px solid #d1e0eb;
    background-color: #e8f0f5;
    border-radius: 2px;
}

.client-js .toc .toctitle h2 {
    font-family: 'NotoSans-Regular', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.2em;
    margin: 0;
}

.client-js .toc > ul {
    font-size: inherit;
    margin: 12px;
    padding: 0;
}

.client-js .toc > ul li ul {
    margin: 12px;
}

/* Boxen Hauptseite */

.spalten {
    display: block;
}

.spalte-1-1 {
    width: 100%;
    margin: 0 0 1em 0;
    overflow: auto;
    clear: both;
}

.spalte-2-3 {
    width: 100%;
    margin: 0 0 1em 0;
    overflow: auto;
    clear: both;
}

.spalte-1-2 {
    width: 100%;
    margin: 0 0 1em 0;
    overflow: auto;
    clear: both;
}

.spalte-1-3 {
    width: 100%;
    margin: 0 0 1em 0;
    overflow: auto;
    clear: both;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.box-header {
    margin: 0;
    padding: 0.3em 1em;
}

body.page-Hauptseite h1.box-header {
    display: block;
}

h1.box-header {
    font-size: 1.5em;
    text-align: center;
    width: calc(100% - 2em);
    margin: 0;
    padding: 0.3em 1em;
}

h2.box-header {
    font-size: 1.2em;
    text-align: center;
    width: calc(100% - 2em);
    margin: 0;
    padding: 0.3em 1em;
}

.box-content {
    margin-bottom: 0;
    margin-top: 0;
    padding: 0.5em 1em;
}

.box-grau {
    background-color: #efefef;
    border: #dedfdf 1px solid;
    border-radius: 2px;
}

.box-grau .box-header {
    background-color: #dedfdf;
}

.box-blau {
    background-color: #e8f0f5;
    border: #d1e0eb 1px solid;
    border-radius: 2px;
}

.box-blau .box-header {
    background-color: #d1e0eb;
}

.box-orange {
    background-color: #fdf7ea;
    border: #faefd5 1px solid;
    border-radius: 2px;
}

.box-orange .box-header {
    background-color: #faefd5;
}

/* Specials */

.big-text {
   /* font-size: 1.2em;*/
    line-height: 1.75;
}

/* Medien */

.image, .image img {
	display: block;
	max-width: 100%;
	height: auto;
}

@media screen and (min-width: 720px) {
.header .search-box {
    padding-left: 1em;
}
}