MediaWiki: Tweeki.css: Unterschied zwischen den Versionen
Aus Herrenhäuser
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 4: | Zeile 4: | ||
--color-primary: #264190; | --color-primary: #264190; | ||
--color-secondary: #F15025; | --color-secondary: #F15025; | ||
--max-width: 1580px; | --max-width: 1580px; | ||
} | } | ||
| Zeile 276: | Zeile 275: | ||
vertical-align: top !important; | vertical-align: top !important; | ||
padding: 2rem 2rem !important; | padding: 2rem 2rem !important; | ||
} | } | ||
#mw-content-text tr { | #mw-content-text tr { | ||
| Zeile 322: | Zeile 313: | ||
#mw-content-text ol li small { | #mw-content-text ol li small { | ||
margin-top: 0.5rem !important; | margin-top: 0.5rem !important; | ||
} | |||
.leaflet-popup-content p { | |||
display: flex; | |||
flex-direction: column; | |||
} | } | ||
| Zeile 650: | Zeile 646: | ||
} | } | ||
.mediawiki.mw-special-RunQuery .mw-parser-output > .nav-tabs { | .mediawiki.mw-special-RunQuery .mw-parser-output > .nav-tabs { | ||
height: 2. | height: 2.5rem !important; | ||
} | } | ||
@media all and (max-width: 1280px) { | @media all and (max-width: 1280px) { | ||
| Zeile 673: | Zeile 669: | ||
@media all and (min-width: 1281px) { | @media all and (min-width: 1281px) { | ||
.mediawiki.mw-special-RunQuery .mw-parser-output { | .mediawiki.mw-special-RunQuery .mw-parser-output { | ||
width: | width: 52.5% !important; | ||
} | } | ||
.mediawiki.mw-special-RunQuery #pfForm .mw-parser-output { | .mediawiki.mw-special-RunQuery #pfForm .mw-parser-output { | ||
| Zeile 692: | Zeile 688: | ||
width: 100% !important; | width: 100% !important; | ||
} | } | ||
#map_leaflet_1 { | .mediawiki.mw-special-RunQuery #map_leaflet_1 { | ||
height: 90vh !important; | height: 90vh !important; | ||
} | } | ||
| Zeile 730: | Zeile 726: | ||
} | } | ||
.pf-runquery-formcontent .oo-ui-inputWidget-input input, | .pf-runquery-formcontent .oo-ui-inputWidget-input input, | ||
.pf-runquery-formcontent .oo-ui-inputWidget-input span, | .pf-runquery-formcontent .oo-ui-inputWidget-input span, | ||
.pf-runquery-formcontent .oo-ui-inputWidget-input .oo-ui-inputWidget { | .pf-runquery-formcontent .oo-ui-inputWidget-input .oo-ui-inputWidget { | ||
width: 100% !important; | width: 100% !important; | ||
| Zeile 747: | Zeile 743: | ||
} | } | ||
#wpRunQuery button[name="wpRunQuery"] { | #wpRunQuery button[name="wpRunQuery"] { | ||
display: inline-flex; | |||
margin-left: 0 !important; | margin-left: 0 !important; | ||
border-radius: 0.3rem !important; | border-radius: 0.3rem !important; | ||
} | } | ||
#wpRunQuery .oo-ui-labelElement-label { | #wpRunQuery button[name="wpRunQuery"] .oo-ui-icon-search { | ||
margin-left: 0. | width: 1rem !important; | ||
} | |||
#wpRunQuery button[name="wpRunQuery"] .oo-ui-labelElement-label { | |||
margin-left: 0.75em !important; | |||
} | } | ||
#myTabs + .wikitable th { | #myTabs + .wikitable th { | ||
| Zeile 764: | Zeile 764: | ||
#mw-special-RequestAccount input { | #mw-special-RequestAccount input { | ||
margin-left: 1rem !important; | margin-left: 1rem !important; | ||
} | |||
.sitedir-ltr #contwentwrapper table { | |||
table-layout: fixed; | |||
} | |||
#map_leaflet_2 { | |||
margin-top: -3rem !important; | |||
width: 100% !important; | |||
height: 60vh !important; | |||
} | } | ||
Version vom 2. Oktober 2024, 09:20 Uhr
@import url("https://fonts.googleapis.com/css2?family=Fira+Sans:wght@100;300;400;500&display=swap");
:root {
--color-primary: #264190;
--color-secondary: #F15025;
--max-width: 1580px;
}
html {
font-size: 18px;
scroll-padding-top: 1.5rem !important;
position: relative;
overflow-x: hidden;;
overflow-y: scroll;
}
body {
font-family: "Fira Sans", Arial, Helvetica !important;
}
@media all and (max-width: 992px) {
html {
font-size: 16px;
}
}
@media all and (max-width: 496px) {
html {
font-size: 14px;
}
}
body.rootpage-Hauptseite #firstHeading {
display: none;
}
body.rootpage-Häuser .mw-parser-output > p {
border: 1px solid #C0C3C9;
padding: 0.75rem 1rem;
}
body.rootpage-Häuser .mw-parser-output > p > a {
font-size: 1.15rem;
}
table {
border-collapse: collapse;
row-gap: 0;
background-color: transparent !important;
border: none !important;
}
table tr:nth-of-type(odd) {
background-color: #F0F1F5;
}
table th, table td {
padding: 0.5rem 0.75rem !important;;
background-color: transparent !important;
border: none !important;
}
input, textarea {
padding: 0.5rem;
border: 1px solid #C0C3C9 !important;
font-family: inherit !important;
font-size: 0.9rem !important;
}
input:focus, textarea:focus {
outline: none;
box-shadow: none !important;
}
code {
color: var(--color-secondary) !important;
}
body .oo-ui-widget-enabled [type="radio"]:hover + span,
body .oo-ui-widget-enabled [type="checkbox"]:hover + span {
border-color: var(--color-primary) !important;
}
body .oo-ui-widget-enabled [type="radio"]:checked + span {
border-color: var(--color-primary) !important;
}
body .oo-ui-widget-enabled [type="checkbox"]:checked + span {
background-color: var(--color-primary) !important;
border: none !important;
}
.oo-ui-labelElement-label:empty {
display: none;
}
.card-body {
padding: 0;
}
.navbar-brand {
padding: 0;
height: 3.4rem;
img {
margin: 0;
width: auto;
height: 100%;
}
}
@media all and (max-width: 1400px) {
.navbar-brand {
--w: 2.8rem;
width: var(--w);
height: var(--w);
overflow: hidden;
}
}
.dropdown-item .fa {
display: none !important;
visibility: collapse !important;
}
.ui-ooMenu,
.ui-ooMenu li {
font-size: 0.9rem !important;
border: none !important;
}
.ui-ooMenu li {
margin-left: 0.15rem;
}
.ui-state-hover {
background-color: var(--color-primary) !important;
color: white !important;
}
.btn-group > *:not(:last-child) {
margin-right: 0.25rem;
}
.oo-ui-buttonElement-button {
color: var(--color-primary) !important;
font-size: 0.9rem !important;
text-transform: uppercase;
}
.btn-primary,
.mw-ui-button,
.oo-ui-inputWidget-input.oo-ui-buttonElement-button {
padding: 0.375rem 1.5rem !important;
background-color: var(--color-primary) !important;
color: white !important;
font-size: 0.9rem !important;
font-weight: 400 !important;
line-height: 1.35em !important;
border: none !important;
border-radius: 0.3rem !important;
text-transform: uppercase;
}
.mw-ui-button:hover, .mw-ui-button:active,
.btn-primary:hover, .btn-primary:active,
.oo-ui-inputWidget-input.oo-ui-buttonElement-button:hover, .oo-ui-inputWidget-input.oo-ui-buttonElement-button:active {
background-color: var(--color-primary) !important;
text-decoration: none !important;
filter: brightness(0.9);
}
.oo-ui-buttonElement-button {
background-color: white !important;
color: var(--color-primary) !important;
}
.editOptions p {
margin-top: 1rem;
line-height: 1.5em;
}
.ui-ooMenu a {
font-size: 0.85rem !important;
}
.ui-ooMenu-item {
padding: 0.05rem 0.375rem !important;
}
.ui-ooMenu-item:hover {
background-color: var(--color-primary) !important;
}
.ui-entityselector-notfound {
user-select: none !important;
pointer-events: none !important;
}
.mw-editsection-visualeditor {
color: var(--color-primary);
}
.mw-body-content {
font-size: 0.9rem !important;
}
.mw-body-content a {
color: var(--color-primary);
}
.mw-contributions-list li:not(:last-child) {
margin-bottom: 0.5rem;
}
.mw-contributions-user-tools a {
color: var(--color-primary) !important;
}
.navbar-toggler {
padding: 0.375rem 0.5rem;
}
.oo-ui-fieldLayout-field {
display: flex !important;
flex-direction: row;
align-items: center;
gap: 1rem;
width: 100%;
}
.oo-ui-fieldLayout-field > * {
width: fit-content !important;
}
.oo-ui-fieldLayout-field > .oo-ui-inputWidget,
.oo-ui-fieldLayout-field > .oo-ui-actionFieldLayout-input {
flex: 1 0 0;
}
.oo-ui-fieldLayout-field + * > .oo-ui-labelElement-label {
margin-left: 1.5rem;
}
.oo-ui-panelLayout {
border: none !important;
}
.card-title {
margin-top: 0 !important;
}
.mw-prefs-buttons {
box-shadow: none;
}
.mw-changeslist table {
margin-left: 0 !important;
}
/* TODO: Assign to generic class for details pages */
#mw-content-text .mw-parser-output {
display: flex;
flex-wrap: wrap;
flex-direction: row;
gap: 4rem;
}
#mw-content-text .subpagelist {
width: 20%;
}
#mw-content-text .subpagelist ul {
list-style: none !important;
position: sticky;
margin: 0 !important;
padding: 0 !important;
height: fit-content;
font-size: 1.05rem;
}
#mw-content-text .subpagelist li {
margin-bottom: 0.375rem;
}
#mw-content-text .subpagelist a {
color: inherit !important;
}
#mw-content-text .subpagelist a:hover {
text-decoration: none !important;
}
#mw-content-text .content {
flex: 1 0 0;
}
#mw-content-text .content > p {
max-width: none !important;
}
#mw-content-text .content iframe {
width: 100%;
height: 75vh;
}
#mw-content-text table:not(.formtable) th,
#mw-content-text table:not(.formtable) td {
vertical-align: top !important;
padding: 2rem 2rem !important;
}
#mw-content-text tr {
background-color: transparent !important;
}
#mw-content-text tr:nth-of-type(4) td .btn {
display: block;
flex: none;
}
#mw-content-text tr:nth-of-type(4) td small {
display: block;
margin-top: 1.5rem;
}
#mw-content-text tr:nth-of-type(4) td .btn-group {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
}
#mw-content-text tr:nth-of-type(4) .floatnone img {
height: 13.75rem !important;
}
#mw-content-text td:nth-of-type(2) .image,
#mw-content-text td:nth-of-type(2) .image img {
min-width: 20vw;
height: auto;
}
#mw-content-text td:nth-of-type(2) .image + .image {
margin-top: 1rem;
}
#mw-content-text .floatnone a,
#mw-content-text .floatnone img {
display: block;
width: 100%;
height: auto !important;
object-fit: cover;
}
#mw-content-text ol li small {
margin-top: 0.5rem !important;
}
.leaflet-popup-content p {
display: flex;
flex-direction: column;
}
.toclevel-1 span {
font-size: 1rem;
}
.toclevel-2 span {
font-size: 0.9rem;
}
#mw-navigation,
#contentwrapper,
#footer {
padding-left: 2rem !important;
padding-right: 2rem !important;
}
#map_leaflet_1 {
height: 24rem !important;
}
#maincontentwrapper {
padding-top: 0 !important;
}
#maincontentwrapper p a[href]:not(.btn), #maincontentwrapper blockquote a[href]:not(.btn),
#maincontentwrapper table a[href]:not(.btn),
#maincontentwrapper ul a[href]:not(.btn), #maincontentwrapper ol a[href]:not(.btn) {
color: var(--color-primary) !important;
}
#contentwrapper {
padding-top: 2rem;
max-width: var(--max-width);
}
#contentwrapper > .row {
display: flex;
flex-direction: row-reverse;
}
#sidebar-right {
position: sticky;
top: 1rem;
padding-top: 1.25rem;
padding-right: 4rem;
width: 20% !important;
white-space: break-spaces;
}
#sidebar-right .btn {
display: flex;
align-items: center;
gap: 0.5rem;
text-align: left;
}
#sidebar-right .nav-link {
margin-bottom: 0.125rem;
}
#sidebar-right .nav-link.active {
font-weight: 500;
}
#contentSub, #contentSub a {
margin-left: 0;
color: var(--color-primary);
}
#mw-toc-heading {
display: none !important;
}
#navbar {
flex-grow: 0 !important;
}
#navbar a {
font-size: 0.9rem;
text-transform: uppercase;
}
#navbar a::after {
display: none !important;
}
#navbar .nav-item {
padding: 0.25rem 0.125rem;
}
#navbar .dropdown-item.active,
#navbar .dropdown-item:active {
background-color: var(--color-primary);
color: white !important;;
}
#navbar .fa + * {
display: none;
}
#navbar > a:first-child {
margin-right: 1rem !important;
}
#navbar ul:nth-of-type(1) {
margin-right: 1rem !important;
}
#navbar ul:nth-of-type(2) {
order: 1;
margin-left: 0.5rem;
}
#navbar ul:nth-of-type(2) > li > a {
color: var(--color-primary) !important;
}
#navbar #searchform {
order: 0;
}
#navbar .fa-cog::before {
content: "…";
}
@media all and (max-width: 992px) {
#navbar {
margin-top: 1rem;
margin-bottom: 0;
}
#navbar form {
margin-top: 0.5rem;
}
}
#mw-navigation {
padding-top: 1.25rem;
padding-bottom: 1.25rem;
}
#mw-navigation input {
min-width: 13rem;
font-size: 0.9rem;
font-weight: 300;
border-width: 0.15rem !important;
border-radius: 0 !important;
border-color: var(--color-primary) !important;
}
#mw-navigation.fixed-top {
position: relative;
}
#mw-navigation > .container {
flex-wrap: wrap;
justify-content: space-between;
gap: 1rem;
padding: 0;
max-width: var(--max-width);
}
#firstHeading {
text-align: left;
}
#content,
#bodyContent .row > div {
padding: 0;
}
#bodyContent .row > div:first-child {
padding-right: 3.5rem;
}
#bodyContent .container-fluid + .container-fluid {
margin-top: 4rem;
}
#bodyContent h1,
#bodyContent h2,
#bodyContent h3,
#bodyContent h4,
#bodyContent h5,
#bodyContent h6 {
transform: translateY(-0.125em);
}
#bodyContent h1:not(:first-child),
#bodyContent h2:not(:first-child),
#bodyContent h3:not(:first-child),
#bodyContent h4:not(:first-child),
#bodyContent h5:not(:first-child),
#bodyContent h6:not(:first-child) {
margin-top: 1.25em;
}
#firstHeading,
#bodyContent h1,
#bodyContent h2,
#bodyContent h3,
#bodyContent h4,
#bodyContent h5,
#bodyContent h6 {
font-weight: 400;
margin-bottom: 0.75em;
}
#firstHeading,
#bodyContent h1 {
font-size: 2.66rem;
}
#bodyContent h2,
#bodyContent h5 {
font-size: 2rem;
}
#bodyContent h3 {
font-size: 1.5rem;
}
#bodyContent h4 {
font-size: 1.33rem;
}
#bodyContent p {
font-size: 1rem;
}
#bodyContent small {
font-size: 0.85rem;
}
#bodyContent ul,
#bodyContent ol {
margin-left: 0.75rem;
}
#mw-createaccount-join {
margin-top: 1rem;
}
#footer {
background-color: var(--color-primary) !important;
color: white !important;
font-size: 0.9rem;
}
#footer > .container {
max-width: var(--max-width);
}
#footer > .container > .row {
display: flex;
flex-direction: row;
justify-content: space-between;
}
#footer .footer-widget {
width: fit-content;
}
#footer .footer-widget:first-of-type {
flex: none;
order: 1;
}
#footer .footer-widget:last-of-type {
order: 0;
}
#footer ul * {
color: white !important;
}
#footer ul {
display: flex;
gap: 1rem;
}
#footer #footer-places {
font-size: 0.9rem;
text-transform: uppercase;
text-decoration: underline;
}
#footer #footer-poweredbyico {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
@media all and (max-width: 992px) {
#footer ul {
display: flex !important;
flex-direction: column !important;
gap: 0.5rem !important;
}
}
#footer-custom .dropdown-item {
color: #212529 !important;
}
#footer-custom #t-tools {
margin-right: 0.5em;
}
#footer-custom #t-tools .fa {
display: none;
}
#footer-custom #t-tools::before {
content: "Tools";
}
#footer-custom .dropup:not(.dropdown) {
width: 1.5em;
height: 1.5em;
color: transparent !important;
overflow: hidden;
}
#navbar .nav-item a[accesskey="o"],
#navbar .navbar-nav:nth-of-type(2) .nav-item:not(.dropdown):last-of-type a {
width: 2em;
height: 2em;
color: transparent !important;
overflow: hidden;
}
#navbar .navbar-nav:nth-of-type(2) .nav-item:not(.dropdown):last-of-type a {
display: inline-block;
width: 2.5em;
}
#navbar .nav-item a[accesskey="o"]::before,
#navbar .navbar-nav:nth-of-type(2) .nav-item:not(.dropdown):last-of-type a::before,
#navbar .navbar-nav:nth-of-type(2) .nav-item:not(.dropdown):last-of-type::after {
color: var(--color-primary) !important;
font-family: "Font Awesome 5 Free";
}
#navbar .nav-item a[accesskey="o"]::before,
#navbar .navbar-nav:nth-of-type(2) .nav-item:not(.dropdown):last-of-type a::before {
content: "\f007";
margin-right: 0rem;
}
#navbar .navbar-nav:nth-of-type(2) .nav-item:not(.dropdown):last-of-type::after {
content: "+";
display: inline-block;
font-size: 0.8em;
font-weight: 600;
transform: translateX(-0.95rem) translateY(-0.65rem);
}
#ca-edit-ext {
margin-left: 1em;
color: var(--color-primary) !important;
}
.mediawiki.mw-special-RunQuery #mw-content-text {
display: flex !important;
flex-direction: row !important;
gap: 3rem !important;
margin-right: -3rem !important;
}
.mediawiki.mw-special-RunQuery .mw-parser-output {
flex: 1 0 auto !important;
gap: 2rem !important;
width: 100% !important;
height: fit-content !important;
}
.mediawiki.mw-special-RunQuery .mw-parser-output > .nav-tabs {
height: 2.5rem !important;
}
@media all and (max-width: 1280px) {
.mediawiki.mw-special-RunQuery #mw-content-text {
flex-direction: column !important;
gap: 1.5rem !important;
margin-right: 0 !important;
}
#myTabs {
margin-bottom: -2rem !important;
}
.pf-runquery-formcontent .formtable {
width: fit-content;
}
.pf-runquery-formcontent {
margin-top: 2rem !important;
}
.pf-runquery-formcontent > h2 {
margin-bottom: -3rem !important;
}
}
@media all and (min-width: 1281px) {
.mediawiki.mw-special-RunQuery .mw-parser-output {
width: 52.5% !important;
}
.mediawiki.mw-special-RunQuery #pfForm .mw-parser-output {
width: 100% !important;
}
.pf-runquery-formcontent .formtable th:first-of-type,
.pf-runquery-formcontent .formtable td:first-of-type {
vertical-align: middle !important;
}
}
#myTabs {
margin-left: 0 !important;
width: 100%;
}
#myTabs + div,
#myTabs .tab-content,
#map_leaflet_1 {
width: 100% !important;
}
.mediawiki.mw-special-RunQuery #map_leaflet_1 {
height: 90vh !important;
}
.pf-runquery-formcontent h2 {
display: none !important;
}
.pf-runquery-formcontent .formtable tr {
display: block !important;
height: 4rem !important;
}
.pf-runquery-formcontent .formtable th,
.pf-runquery-formcontent .formtable td {
width: 100% !important;
text-align: left !important;
vertical-align: middle !important;
}
.pf-runquery-formcontent .formtable th:first-of-type,
.pf-runquery-formcontent .formtable td:first-of-type {
white-space: break-spaces;
width: 20% !important;
text-align: left !important;
vertical-align: middle !important;
}
.pf-runquery-formcontent .formtable th:last-of-type,
.pf-runquery-formcontent .formtable td:last-of-type {
width: 80% !important;
}
.pf-runquery-formcontent .formtable .oo-ui-selectWidget {
text-align: left !important;
}
.pf-runquery-formcontent .oo-ui-inputWidget-input {
margin-left: 1.25rem !important;
width: 100%;
height: calc(1.5em + 0.7rem) !important;
border-top-right-radius: 0 !important;
border-bottom-right-radius: 0 !important;
}
.pf-runquery-formcontent .oo-ui-inputWidget-input input,
.pf-runquery-formcontent .oo-ui-inputWidget-input span,
.pf-runquery-formcontent .oo-ui-inputWidget-input .oo-ui-inputWidget {
width: 100% !important;
}
.pf-runquery-formcontent .oo-ui-fieldLayout.oo-ui-fieldLayout-align-left {
margin: auto !important;
}
#myTabs + div > .tab-content {
margin-top: -2.5rem !important;
}
#myTabs + div > #map_leaflet_1 {
margin-top: 2.5rem !important;
}
#wpRunQuery {
margin: auto !important;
}
#wpRunQuery button[name="wpRunQuery"] {
display: inline-flex;
margin-left: 0 !important;
border-radius: 0.3rem !important;
}
#wpRunQuery button[name="wpRunQuery"] .oo-ui-icon-search {
width: 1rem !important;
}
#wpRunQuery button[name="wpRunQuery"] .oo-ui-labelElement-label {
margin-left: 0.75em !important;
}
#myTabs + .wikitable th {
min-width: 12.5em !important;
padding-left: 0 !important;
text-align: left !important;
}
#myTabs #wikiPreview + p {
display: none;
}
#mw-special-RequestAccount input {
margin-left: 1rem !important;
}
.sitedir-ltr #contwentwrapper table {
table-layout: fixed;
}
#map_leaflet_2 {
margin-top: -3rem !important;
width: 100% !important;
height: 60vh !important;
}