MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
HaFu (Diskussion | Beiträge) |
HaFu (Diskussion | Beiträge) Markierungen: Mobile Web-Bearbeitung Mobile Bearbeitung |
||
| Zeile 13: | Zeile 13: | ||
} | } | ||
| − | a | + | a { |
color: #006faf; | color: #006faf; | ||
| + | } | ||
| + | |||
| + | a:visited { | ||
| + | color: #629fcd; | ||
} | } | ||
Version vom 19. September 2021, 08:27 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
body.page-Hauptseite h1 { display: none; }
/* Override */
html, body {
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
body {
background-color: #f0f1f2;
}
a {
color: #006faf;
}
a:visited {
color: #629fcd;
}
.mw-body {
margin-top: -1px;
border: 1px solid #d9dcdf;
border-right: none;
border-radius: 0 0 0 2px;
}
#mw-page-base {
background-image: none;
background-color: #f0f1f2;
}
#p-personal {
right: 1.5em;
}
.vector-menu-tabs {
height: 2.5em;
padding-left: 1px;
}
.vector-menu-tabs li {
background-image: none;
background-color: #e4e6e8;
margin-left: -1px;
}
.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown h3 {
background-image: none;
}
.vector-menu-tabs li a {
padding-top: 10px;
padding-left: 8px;
padding-right: 8px;
border: 1px solid #c1c6cb;
border-bottom: 1px solid #d9dcdf;
border-radius: 2px 2px 0 0;
}
.vector-menu-tabs li.selected a {
border: 1px solid #d9dcdf;
border-bottom: 1px solid transparent;
}
.vector-menu-dropdown h3 {
padding-top: 10px;
}
.vector-menu-dropdown h3::after {
top: 0;
}
.vector-menu-tabs .mw-watchlink.icon a {
padding: 36px 0 2px 0;
}
.vector-menu-tabs .mw-watchlink.icon a::before {
top: 10px;
}
#p-search {
margin-right: 1.5em;
}
#p-search form {
margin: 0;
}
#searchInput {
background-color: #ffffff;
border: 1px solid #d9dcdf;
border-radius: 2px;
padding: 0.8em 1.8em 0.6em 0.4em;
}
.portal h3, .vector-menu-portal h3 {
background-image: none;
padding: 0;
font-weight: bold;
}
.portal .body li, .vector-menu-portal .body li {
padding: 0.5em inherit;
line-height: 1.3em;
}
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.mw-body-content h2 {
font-size: 1.4em;
}
.mw-content-ltr ol, .mw-content-rtl .mw-content-ltr ol {
margin: 0.7em 0 0.7em 1.2em;
padding: 0;
}
div.floatright, table.floatright {
margin: 0;
}
.mw-footer {
padding: 1.5em;
}
#footer-icons {
display: flex;
width: auto;
margin-top: 8px;
}
#footer-icons li {
display: flex;
float: none;
margin: 0 0 0 10px;
vertical-align: top;
}
#footer-icons li#footer-copyrightico {
order: 2;
}
/* Boxen Hauptseite */
.spalten {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.spalte-1-1 {
width: 100%;
margin: 0 0 1.5em 0;
overflow: auto;
clear: both;
}
.spalte-1-2 {
width: calc(50% - 0.75em);
margin: 0 0 1.5em 0;
overflow: auto;
clear: both;
}
.text-center {
text-align: center;
}
.text-right {
text-align: right;
}
.box-header {
text-align: center;
margin: 0;
padding: 0.2em 0.8em;
border: 0;
}
h2.box-header {
margin: 0;
padding: 0.2em 0.8em;
}
.box-content {
margin-bottom: 0;
margin-top: 0;
padding: 0.3em 0.8em;
}
.box-content p, .box-content li {
line-height: 2;
}
.box-grau {
background-color: #f6f6f6;
border: #d9dcdf 1px solid;
border-radius: 2px;
}
.box-grau .box-header {
background-color: #d9dcdf;
}
.box-blau {
background-color: #f1f6fb;
border: #cedfef 1px solid;
border-radius: 2px;
}
.box-blau .box-header {
background-color: #cedfef;
}
.box-orange {
background-color: #fef3e5;
border: #fbdaac 1px solid;
border-radius: 2px;
}
.box-orange .box-header {
background-color: #fbdaac;
}
/* Medien */
.image, .image img {
display: block;
max-width: 100%;
height: auto;
}
@media only screen and (max-width: 900px) {
.spalten {
display: block;
}
.spalte-1-2 {
width: 100%;
}
}