MediaWiki:Common.css
MediaWiki interface page
Ansichten
Aktionen
Namensräume
Varianten
Werkzeuge
Version vom 17. Juni 2021, 09:27 Uhr von Admin (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/Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
- Opera: Strg+F5
/* CSS placed here will be applied to all skins */
/**
* FORM INPUTS
*/
/* kein Kommentar */
#pfForm .editOptions {
border: none !important;
}
#pfForm .editOptions > div:not(.editButtons) {
display: none !important;
}
/* element */
.formedit input {
width: 100%;
box-sizing: border-box;
border: none !important;
padding: 0 !important;
font-size: 0.875rem !important;
padding: 10px 0 !important;
background-color: transparent !important;
}
.formedit input:focus {
border: none !important;
}
.formedit .selection input {
border: none !important;
}
/* grid */
.formedit {
display: grid;
grid-template-columns: calc(50% - 15px) calc(50% - 15px);
grid-auto-flow: row;
grid-gap: 30px 30px;
margin-top: 50px;
}
.formedit .col-100 {
grid-column: 1 / 3;
}
.formedit > div {
position: relative;
padding: 20px;
border-radius: var(--border-radius--medium);
border: 1px var(--border-color-base--darker) solid;
}
.formedit .label {
position: absolute;
top: -15px;
padding: 0 7px;
left: 5px;
font-size: 120%;
background: var(--background-color-dp-00);
color: var(--color-base);
}
.formedit .input {
display: grid;
grid-template-columns: 1fr 100px;
grid-auto-flow: row;
grid-gap: 20px 10px;
}
.formedit .input.noSource {
grid-template-columns: 1fr;
}
.formedit .input.date {
grid-template-columns: 1fr auto 100px 100px;
}
.formedit .input:not(.noSource):not(.date) > span:first-child {
border-right: 1px var(--border-color-base--darker) solid !important;
}
.formedit .input.date .integerInput {
border-right: 1px var(--border-color-base--darker) solid !important;
}
.formedit .inputSpan {
display: inherit;
}
.formedit .radioButtonSpan {
text-align: center;
}
.formedit .radioButtonItem {
margin-right: 10px !important;
}
.formedit .radioButtonItem, t {
font-size: 0.875rem !important;
}
.formedit .radioButtonItem input {
width: auto;
}
#pfForm .formedit select {
width: 100% !important;
border: none !important;
cursor: pointer;
background: transparent !important;
}
#pfForm .formedit select:focus {
border: none !important;
}
.formedit .mw-widget-dateInputWidget-handle, .formedit .mw-widget-dateInputWidget-handle:focus {
border: none !important;
box-shadow: none !important;
background: transparent !important;
}
.formedit .input.date label {
display: flex;
justify-content: center;
align-items: center;
}
.formedit .comboboxSpan {
display: flex;
align-items: center;
}
.formedit .comboboxSpan > div {
width: 100% !important;
max-width: none;
}
.formedit .comboboxSpan a {
background-color: transparent !important;
}
#pfForm .formedit select option {
background: var(--background-color-dp-00);
}
.formedit .simpleupload_btn, .formedit .simpleupload_rmv_btn {
border-radius: var(--border-radius--medium) !important;
cursor: pointer;
}
.formedit .simpleupload_btn:hover, .formedit .simpleupload_rmv_btn:hover {
background-color: var(--background-color-quiet--hover) !important;
color: var(--color-base--emphasized);
}
.formedit .simpleupload_btn:active, .formedit .simpleupload_rmv_btn:active {
background-color: var(--background-color-quiet--active) !important;
color: var(--color-base--subtle);
}
.formedit .simpleupload_rmv_btn {
color: var(--color-destructive);
}
.formedit .simpleupload_btn:hover, .formedit .simpleupload_rmv_btn:hover {
color: var(--color-destructive--hover);
}
.formedit .simpleupload_btn:active, .formedit .simpleupload_rmv_btn:active {
color: var(--color-destructive--active);
}
@media screen and (max-width: 600px) {
.formedit {
grid-template-columns: calc(100% - 15px);
}
.formedit .col-100 {
grid-column: 1 / 2;
}
.formedit .radioButtonSpan {
text-align: left;
}
.formedit .radioButtonItem {
display: block !important;
}
}
* {
outline: none;
}
.mw-userrights-groups tr td div:not(.mw-userrights-nested):nth-child(1),
.mw-userrights-groups tr td div:not(.mw-userrights-nested):nth-child(3),
.mw-userrights-groups tr td div:not(.mw-userrights-nested):nth-child(4),
.mw-userrights-groups tr td div:not(.mw-userrights-nested):nth-child(5),
.mw-userrights-groups tr td div:not(.mw-userrights-nested):nth-child(8),
.mw-userrights-groups tr td div:not(.mw-userrights-nested):nth-child(9),
.mw-userrights-groups tr td div:not(.mw-userrights-nested):nth-child(10),
.mw-userrights-groups tr td div:not(.mw-userrights-nested):nth-child(12) {
display: none;
}
/* BABEL */
.mw-babel-wrapper {
border-width: 0;
overflow: visible !important;
}
.mw-babel-header , .mw-babel-footer {
display: none;
}
.mw-babel-box > table {
overflow: hidden !important;
}
.mw-content-ltr .mw-babel-box {
border-radius: var(--border-radius--small);
}
.mw-content-ltr .mw-babel-box a {
color: rgba(0,0,0,.8) !important;
}
#mw-content-container {
background-image: url(/resources/assets/biblewiki.svg);
}
.infobox {
width: 30em;
font-size: 90%;
border: 1px solid #aaaaaa;
background-color: #f9f9f9;
color: black;
margin-bottom: 0.5em;
margin-left: 1em;
padding: 0.2em;
float: right;
clear: right;
text-align:left;
}
p.infobox {
font-size: larger;
}
.bible {
display: inline;
font-size: 90%;
color: black;
}
#postedit-modqueued {
margin: 0 20px;
}
#pending-review {
border: 3px solid #d33;
background: #d33;
width: calc(100% - 15px);
text-align: center;
color: white;
}
/* CSS used for https://www.mediawiki.org/wiki/MediaWiki/Homepage_improvements_2018 : */
.mainpage_row {
display: flex;
flex-direction: row;
flex-flow: row wrap;
justify-content: space-between;
padding: 0;
margin: 0 -5px 0 -5px;
}
.mainpage_box {
flex: 1;
margin: 5px;
min-width: 210px;
border: 1px solid #CCC;
padding: 0 10px 10px 10px;
box-shadow: 0 2px 2px rgba(0,0,0,0.1);
}
.mainpage_box h3 {
/* Reset padding so is equal across skins */
padding-right: 0;
padding-top: 0;
padding-bottom: 0;
/* Padding left gets overridden by headanchor gadget */
margin: 0.5em 0;
}
/* Set padding left only if headanchor gadget is not enabled */
.mainpage_box h3:not(.tpl-vheadanchor-heading) {
padding-left: 0;
}
.mainpage_box h3 .header_icon {
float: left;
margin-right: 5px;
}
.mainpage_box .items {
border-top: 1px solid #CCC;
padding-top: 0.5em;
}
.mainpage_box p:last-child {
margin-bottom: 0;
}
.mainpage_boxcontents_small {
font-size: 95%;
}
/* Style the "other languages" box the same way as other boxes on the main page */
.mw-pt-languages {
display: block;
background: none;
border: 1px solid #CCC;
box-shadow: 0 2px 2px rgba(0,0,0,0.1);
width: auto;
}
.mw-pt-languages-label {
background: none;
border-right: none;
}
@media screen and (max-width: 719px) {
.thumb {
float: none;
}
.thumb, .thumbinner {
margin-left: auto;
margin-right: auto;
}
}
/** Ref Image margin **/
.reference-text img {
margin-right: 5px;
}
/** Base Table styles */
.mw-capiunto-infobox.wikitable {
margin-top: 0;
margin-left: 2rem;
}
.mw-capiunto-infobox caption,
table.mw-capiunto-infobox caption {
text-align: center;
padding-bottom: 0.5rem;
}
table.mw-capiunto-infobox tbody tr:first-of-type > :first-child {
overflow: hidden;
border-top-left-radius: 1rem;
}
table.mw-capiunto-infobox tbody tr:first-of-type > :last-child {
border-top-right-radius: 1rem;
overflow: hidden;
}
table.mw-capiunto-infobox tbody tr:last-of-type > :first-child {
overflow: hidden;
border-bottom-left-radius: 1rem;
}
table.mw-capiunto-infobox tbody tr:last-of-type > :last-child {
border-bottom-right-radius: 1rem;
overflow: hidden;
}
/** TimedMediaHandler fixes **/
.center .mediaContainer {
margin: 0 auto;
}
.mw-tmh-player {
position: relative;
}
.mw-tmh-play {
display: block;
left: 0;
position: absolute;
top: 0;
right: 0;
bottom: 0;
}
/** EmbedVideo **/
.embedvideo {
display: flex;
flex-direction: column;
}
/** Ul styles **/
.ul-col-2 {
column-count: 2;
}
.ul-col-3 {
column-count: 3;
}
.ul-col-4 {
column-count: 4;
}
/** Helper */
.text-center {
text-align: center;
}
.broadtable {
display: table;
}
.center-block {
display: block;
text-align: center;
}
.img-responsive {
max-width: 100%;
height: auto;
}