MediaWiki:Mobile.css

Aus zitieren.at – Das Zitier-Wiki
Version vom 21. April 2022, 15:09 Uhr von HaFu (Diskussion | Beiträge)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
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; }

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

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

body {
    color: #2a2b2c;
    font-size: 0.85em;
}

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

h1 {
    font-size: 1.5em;
}

h2 {
    font-size: 1.25em;
}

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

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

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

sup, sub {
    font-size: 0.65rem;
	padding: 0 1px;
}

blockquote {
    font-family: 'NotoSans-Regular', 'Helvetica Neue', Helvetica, Arial, sans-serif; 
    font-size: 100%;
    margin: 0.5em 0;
    padding: 0 0 0 1em;
    border-left: 1px solid #e6a817;
}

a {
    color: #005490;
}

a:visited {
    color: #4784af;
}

code {
    display: inline-block;
    margin: 1em 0;
    padding: 0.3em 0.5em;
	background-color: #efefef;
	border: 1px solid #dedfdf;
}

.content pre {
    padding: 0.3em 0.5em;
	background-color: transparent;
	border: none;
}

.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: 10em;
    background-image:url(static/logo/zitieren09-mobile.png);
    background-position: left center;
    background-size: 10em 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-width: auto;
    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;
    margin: 1em 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) ". ";
}

.content p {
    margin: 0.5em 0;
}

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

.content h2, .content h3 {
    margin: 1.5em 0 1em 0;
}

.content h3 {
    font-family: 'NotoSans-Bold', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: normal;
}

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

.mw-ui-button {
    padding: 0.5em;
}

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

.mw-inputbox-centered {
    margin: 1em 0;
    text-align: left;
}

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

.content .mw-parser-output > h2, .content .section-heading {
    margin: 1.5em 0 1em 0;    
    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;
}

.last-modified-bar.active {
    background-color: #005490 !important;
}

/* Boxen Hauptseite */

.spalten {
    display: block;
}

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

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

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

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

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

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

p + .spalten, ul + .spalten, ol + .spalten {
    margin: 1.5em 0 0 0;
}

.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;
    width: 100%;
    margin: 0;
    padding: 0.3em 1em;
}

h2.box-header {
    font-size: 1.2em;
    width: 100%;
    margin: 0;
    padding: 0.3em 1em;
}

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

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

.box-grau {
    /*background-color: #efefef;*/
    background-color: #fdf7ea;
    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;*/
}

.small-text {
   font-size: 0.8em;
}

.colored-text {
    font-family: 'NotoSans-Bold','Helvetica Neue',Helvetica,Arial,sans-serif;    
   color: #e6a817;
}

.content p.no-margin {
    margin: 0;
}

.button {
    margin: 1.5em 0;
}

.button a, .button a:hover, .button a:active {
    color: #ffffff;
    text-decoration: none;
    
}

.button a {
    background-color: #4784af;
    padding: 0.5em 1em;
    border-radius: 2px;
    transition: all 0.2s ease;
}

.button a:hover {
    background-color: #005490;
}

.button a:active {
    background-color: #e6a817;
}

.h2-mimic {
	font-size: 1.5em;
	line-height: 1.2em;
    margin: 1.2em 0 1em 0;
}

.h2-mimic:after {
    content: "";
    margin-top: 4px;
    width: 100%;
    height: 1px;
    background-color: #e6a817;
    display: block;
}

/* Medien */

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

.content figure, .content .thumb {
    margin: 1.5em 0;
    max-width: 100%;
}

.content .thumb .thumbinner {
    margin: 0;
    padding: 4px;
    border: 1px solid #dedfdf;
    border-radius: 2px;
    background-color: #efefef;
    max-width: 100%;
}

.content .thumbimage {
    border: none;
}

.content figcaption, .content .thumbcaption {
    font-size: 80%;
    line-height: 1.4;
    text-indent: 0;
    margin: 0;
    padding: 4px 0 0 0 !important;
}

.image {
    margin: 1.5em 0;
}

.image img {
    border: 1px solid #dedfdf;
    border-radius: 2px;
}

div.thumbinner .image, .spalten .image {
    margin: 0;
}

div.thumbinner .image img, .spalten .image img {
    border: none;
    border-radius: 0;
}

/* Tabellen */

.content .main-table {
	margin: 0.5em 0; 
	border-collapse: collapse;
	background-color: #ffffff;
}
.main-table th, .main-table td {
	vertical-align: top;
	text-align: left;
	/*font-size: 0.75em;*/
	/*line-height: 1.4;*/
	padding: 0.5em 0.75em;
	border: 1px solid #005490;
}

.main-table th {
	color: #ffffff;
	background-color: #4784af;
}

.main-table td ul {
	margin-top: 0;
}

.main-table td li {
	margin-bottom: 0;
}

.main-table code {
	margin: 0.5em 0;
}

.main-table .spalten {
	margin: 0.5em 0;
}

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

.content .main-table caption { 
	caption-side: bottom; 
	font-size: 75%;
	text-align: right;
	font-weight: normal;
	margin: 1em; 
	background: none;
}

.color-table-1 {
	background-color: #d1e0eb;
}

.color-table-2 {
	background-color: #faefd5;
}

.color-sample {
	display: inline-block;
	position: relative;
	top: 0.2em;
	width: 1em;
	height: 1em;
	margin-left: 0.4em;
}

.main-table .thumb {
    margin: 0.5em 0;
}

/* Flagged Revs */

#contentSub, #contentSub2 {
    font-size: 0.75em;
    line-height: 1.2em;
    margin: 1em 0;
}

div.flaggedrevs_preview {
    color: #202122;
    background-color: #faefd5;
}

div.flaggedrevs_diffnotice, div.flaggedrevs_preview {
    margin: 0 0 1em 0;
    padding: 8px;
    border: #e6a817 1px solid;
    border-radius: 2px;
}

div.flaggedrevs_short {
    font-size: 100%;
    padding: 4px 6px 4px 4px;
    background-color: #faefd5;
    border: #e6a817 1px solid;
    border-radius: 2px;
}

fieldset.flaggedrevs_reviewform {
    margin: 1em 0 1em 0;
    padding: 1em 1.5em 1.5em 1.5em;
    background-color: #faefd5;
    border: #e6a817 1px solid;
    border-radius: 2px;
}

.fr-rating-options {
    display: block;
}

.fr-rating-options select, #mw-fr-commentbox {
    padding: 4px;
    background-color: #fff;
    border: #e6a817 1px solid;
    border-radius: 2px;
}

.fr-rating-options label:before {
    content: "";
    display: block;
    width: 100%;
    height: 0.5em;
}

.fr-comment-box {
    margin-top: 0.25em;
}

#mw-fr-confirmreview {
    display: block;    
}

#mw-fr-submit-accept, #mw-fr-submit-reject, #mw-fr-submit-unaccept, #mw-content-text input[type="submit"] {
    display: block;    
    margin-top: 0.5em;
    vertical-align: baseline;
    padding: 4px 8px;
    background-color: #e6a817;
    border: #e6a817 1px solid;
    border-radius: 2px;
    color: #fff;
    font-weight: bold;
}

table.flaggedrevs_editnotice, table.flaggedrevs_viewnotice {
    padding: 8px;
    background-color: #faefd5;
    border: #e6a817 1px solid;
    border-radius: 2px;
}

#wpReason, #wpReason:focus {
    margin-bottom: 1em;
    border: none;
}

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

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