Unterschied: MediaWiki:Common.css
MediaWiki interface page
Ansichten
Aktionen
Namensräume
Varianten
Werkzeuge
Admin (Diskussion | Beiträge) |
Admin (Diskussion | Beiträge) |
||
Zeile 3: | Zeile 3: | ||
* { | * { | ||
outline: none; | outline: none; | ||
} | |||
#mw-content-container { | |||
background-image: url(/resources/assets/biblewiki.svg); | |||
} | |||
.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(7), | |||
.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(10) { | |||
display: none; | |||
} | |||
.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; | |||
} | |||
.usermessage { | |||
background-color: #ffb952; | |||
border-left: 10px solid rgba(0,0,0,.2); | |||
border-radius: 2px; | |||
padding: 20px; | |||
margin: 10px 0 30px 0; | |||
} | |||
.usermessage a { | |||
color: rgba(0,0,0,.6); | |||
background-position: center right; | |||
background-repeat: no-repeat; | |||
background-image: url(/resources/src/mediawiki.skinning/images/external-ltr.png?bbaf6); | |||
background-image: linear-gradient(transparent,transparent),url(/resources/src/mediawiki.skinning/images/external-ltr.svg?59558); | |||
padding-right: 13px; | |||
} | |||
.infoMessage { | |||
-webkit-touch-callout: none; /* iOS Safari */ | |||
-webkit-user-select: none; /* Safari */ | |||
-khtml-user-select: none; /* Konqueror HTML */ | |||
-moz-user-select: none; /* Old versions of Firefox */ | |||
-ms-user-select: none; /* Internet Explorer/Edge */ | |||
user-select: none; /* Non-prefixed version, currently | |||
supported by Chrome, Edge, Opera and Firefox */ | |||
background: none !important; | |||
color: transparent !important; | |||
border: none !important; | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
} | |||
.infoMessage a { | |||
display: block; | |||
border-radius: 2px; | |||
padding: 6px !important; | |||
background-color: #3366cc !important; | |||
color: #fff !important; | |||
border: 1px solid #3366cc !important; | |||
box-sizing: border-box; | |||
min-width: 4em; | |||
max-width: 28.75em; | |||
cursor: pointer; | |||
vertical-align: middle; | |||
font-family: inherit; | |||
font-weight: bold; | |||
line-height: 1.28571429em; | |||
text-align: center; | |||
} | |||
.infoMessage a:hover { | |||
background-color: #447ff5 !important; | |||
border-color: #447ff5 !important; | |||
} | |||
.infoMessage a:active { | |||
background-color: #2a4b8d !important; | |||
border-color: #2a4b8d !important; | |||
box-shadow: none !important; | |||
} | |||
.infoMessage a:focus { | |||
box-shadow: inset 0 0 0 1px #3366cc,inset 0 0 0 2px #ffffff !important; | |||
} | |||
/* 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; | |||
} | |||
} | } | ||
Version vom 6. Juni 2021, 21:48 Uhr
/* CSS placed here will be applied to all skins */
* {
outline: none;
}
#mw-content-container {
background-image: url(/resources/assets/biblewiki.svg);
}
.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(7),
.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(10) {
display: none;
}
.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;
}
.usermessage {
background-color: #ffb952;
border-left: 10px solid rgba(0,0,0,.2);
border-radius: 2px;
padding: 20px;
margin: 10px 0 30px 0;
}
.usermessage a {
color: rgba(0,0,0,.6);
background-position: center right;
background-repeat: no-repeat;
background-image: url(/resources/src/mediawiki.skinning/images/external-ltr.png?bbaf6);
background-image: linear-gradient(transparent,transparent),url(/resources/src/mediawiki.skinning/images/external-ltr.svg?59558);
padding-right: 13px;
}
.infoMessage {
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Safari */
-khtml-user-select: none; /* Konqueror HTML */
-moz-user-select: none; /* Old versions of Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently
supported by Chrome, Edge, Opera and Firefox */
background: none !important;
color: transparent !important;
border: none !important;
margin: 0 !important;
padding: 0 !important;
}
.infoMessage a {
display: block;
border-radius: 2px;
padding: 6px !important;
background-color: #3366cc !important;
color: #fff !important;
border: 1px solid #3366cc !important;
box-sizing: border-box;
min-width: 4em;
max-width: 28.75em;
cursor: pointer;
vertical-align: middle;
font-family: inherit;
font-weight: bold;
line-height: 1.28571429em;
text-align: center;
}
.infoMessage a:hover {
background-color: #447ff5 !important;
border-color: #447ff5 !important;
}
.infoMessage a:active {
background-color: #2a4b8d !important;
border-color: #2a4b8d !important;
box-shadow: none !important;
}
.infoMessage a:focus {
box-shadow: inset 0 0 0 1px #3366cc,inset 0 0 0 2px #ffffff !important;
}
/* 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;
}