MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus QBWiki
Zur Navigation springenZur Suche springen
Pascal (Diskussion | Beiträge) |
Pascal (Diskussion | Beiträge) |
||
| (15 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 21: | Zeile 21: | ||
margin: 0 !important; | margin: 0 !important; | ||
padding-top: .1em !important; | padding-top: .1em !important; | ||
| − | |||
} | } | ||
#p-cactions li.selected { | #p-cactions li.selected { | ||
| − | border | + | border: 1px solid #CCC; |
| − | background: # | + | } |
| + | #p-cactions li.selected a { | ||
| + | background: #F0F0F0; | ||
} | } | ||
} | } | ||
| Zeile 141: | Zeile 142: | ||
font-style: italic; | font-style: italic; | ||
font-family: 'Lato'; | font-family: 'Lato'; | ||
| + | } | ||
| + | |||
| + | /* Custom Table designs */ | ||
| + | |||
| + | .syb-table, | ||
| + | .syb-table th, | ||
| + | .syb-table td, | ||
| + | .syb-table tr { | ||
| + | border: none !important; | ||
| + | cellspacing: 0 !important; | ||
| + | cellpadding: 0 !important; | ||
| + | border-collapse: collapse !important; | ||
| + | } | ||
| + | .syb-table th { | ||
| + | background: #2298CC !important; | ||
| + | } | ||
| + | |||
| + | .syb-table th, | ||
| + | .syb-table td { | ||
| + | border: 1px solid #CCC !important; | ||
| + | padding: 10px !important; | ||
| + | } | ||
| + | |||
| + | .syb-table tr { | ||
| + | background: #fbfbfb !important; | ||
| + | } | ||
| + | |||
| + | .syb-table tr:nth-of-type(2n) { | ||
| + | background: #EEE !important; | ||
| + | } | ||
| + | |||
| + | .mainpage-container { | ||
| + | min-width: 200px; | ||
| + | max-width: 800px; | ||
| + | padding: .2rem; | ||
| + | display: flex; | ||
| + | flex-flow: column wrap; | ||
| + | justify-content: space-around; | ||
| + | } | ||
| + | |||
| + | /* | ||
| + | ** Card design | ||
| + | */ | ||
| + | |||
| + | .card { | ||
| + | background: #F9F9F9; | ||
| + | border-radius: 2px; | ||
| + | margin: .1rem; | ||
| + | padding: .2rem .5rem; | ||
| + | display: inline; | ||
| + | border-bottom: 1px solid #EEF; | ||
} | } | ||
Aktuelle Version vom 20. Juli 2019, 20:25 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
@import url("https://fonts.googleapis.com/css?family=Lato:400,700,900|Ubuntu+Mono:400,700|Source+Code+Pro");
h1, h2, h3, h4, h5, h6, a, p, #mw-content-text {
font-family: 'Lato', sans-serif;
line-height: 1.55em;
}
/*
** GENERAL MEDIAWIKI PADDINGS AND MARGINS **
*/
@media screen and (min-width: 551px) {
.mw-body {
margin: 3.2em 0 0 12.2em;
}
#p-cactions {
top:1.5em;
}
#p-cactions li {
margin: 0 !important;
padding-top: .1em !important;
}
#p-cactions li.selected {
border: 1px solid #CCC;
}
#p-cactions li.selected a {
background: #F0F0F0;
}
}
/*
** Page Main Heading **
*/
#firstHeading {
border-bottom: 0;
}
a, a:link { color: #2298cc !important; }
a:visited {color: #106d96 !important;}
a:focus, a:hover { color: #2face2 !important; }
.new a { color: #ea5d5d !important; }
h6, a, pre, p, #mw-content-text {
font-size: 105%;
}
.flex, .flex > p { display: flex; }
.flex-row, .flex-row > p { flex-direction: row; }
.flex-col, .flex-col > p { flex-direction: column; }
.flex-sb, .flex-sb > p { justify-content: space-between; }
.flex-sa, .flex-sa > p { justify-content: space-around; }
.flex-se, .flex-se > p { justify-content: space-evenly; }
.flex-fs, .flex-fs > p { justify-content: flex-start;}
.flex-fe, .flex-fe > p { justify-content: flex-end;}
.flex-wrap, .flex-wrap > p { flex-wrap: wrap; }
.flex-nowrap, .flex-nowrap > p { flex-wrap: nowrap; }
/* Margins and Paddings */
.m-0 { margin: 0; }
.m-5 { margin: 5px; }
.m-10 { margin: 10px; }
.p-0 { padding: 0; }
.p-5 { padding: 5px; }
.p-10 { padding: 10px; }
.category-tag > a {
text-decoration: none;
color: #FFF !important;
}
span.category-tag {
cursor: pointer;
padding: 10px 20px;
border-radius: 20px;
min-width: 100px;
text-align: center;
color: #FFF;
font-weight: 700;
background-size: 300% 100%;
transition: .35s;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
span.category-tag:hover {
background-position: 100% 0;
transition: .35s;
}
.bg-1 { background-image: linear-gradient(to right, #25aae1, #40e495, #30dd8a, #2bb673); }
.bg-2 { background-image: linear-gradient(to right, #f5ce62, #e43603, #fa7199, #e85a19); }
.bg-3 { background-image: linear-gradient(to right, #667eea, #764ba2, #6B8DD6, #8E37D7); }
.bg-4 { background-image: linear-gradient(to right, #fc6076, #ff9a44, #ef9d43, #e75516); }
.bg-5 { background-image: linear-gradient(to right, #0ba360, #3cba92, #30dd8a, #2bb673); }
.bg-6 { background-image: linear-gradient(to right, #009245, #FCEE21, #00A8C5, #D9E021); }
.bg-7 { background-image: linear-gradient(to right, #6253e1, #852D91, #A3A1FF, #F24645); }
.bg-8 { background-image: linear-gradient(to right, #29323c, #485563, #2b5876, #4e4376); }
.bg-9 { background-image: linear-gradient(to right, #25aae1, #4481eb, #04befe, #3f86ed); }
.bg-10 { background-image: linear-gradient(to right, #ed6ea0, #ec8c69, #f7186a, #FBB03B); }
.bg-11 { background-image: linear-gradient(to right, #eb3941, #f15e64, #e14e53, #e2373f); }
.container, .container > p {
width: 100%;
}
.mw-highlight {
font-family: 'Source Code Pro', sans-serif !important;
padding-left: 25px;
border-left: 5px solid #F50;
font-size: 100%;
}
.mw-highlight > pre {
font-family: 'Source Code Pro', sans-serif;
border-left: 1px dotted #999;
border-top: none;
line-height: 1.88em;
}
.mw-highlight > pre > .lineno {
margin-left: -30px;
color: #666;
}
/*
** Breadcrumbs
*/
/* Container */
#contentSub,
#contentSub2 {
font-size: 100% !important;
margin: 0 !important;
padding: 0 0 8px 0;
color: #000;
border-bottom: 1px solid #999;
}
#breadcrumbs a {
font-size: 112.5% !important;
color: #2face2;
font-style: italic;
font-family: 'Lato';
}
/* Custom Table designs */
.syb-table,
.syb-table th,
.syb-table td,
.syb-table tr {
border: none !important;
cellspacing: 0 !important;
cellpadding: 0 !important;
border-collapse: collapse !important;
}
.syb-table th {
background: #2298CC !important;
}
.syb-table th,
.syb-table td {
border: 1px solid #CCC !important;
padding: 10px !important;
}
.syb-table tr {
background: #fbfbfb !important;
}
.syb-table tr:nth-of-type(2n) {
background: #EEE !important;
}
.mainpage-container {
min-width: 200px;
max-width: 800px;
padding: .2rem;
display: flex;
flex-flow: column wrap;
justify-content: space-around;
}
/*
** Card design
*/
.card {
background: #F9F9F9;
border-radius: 2px;
margin: .1rem;
padding: .2rem .5rem;
display: inline;
border-bottom: 1px solid #EEF;
}