Last edited 2 years ago
by WikiSysop

MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 14: Line 14:
article .mediawiki [class^="bi-"]::before,article .mediawiki [class*=" bi-"]::before {
article .mediawiki [class^="bi-"]::before,article .mediawiki [class*=" bi-"]::before {
     vertical-align: -0.125em;
     vertical-align: -0.125em;
}
#bs-es-tools-tools .mediawiki [class^="bi-"]::before,#bs-es-tools-tools .mediawiki [class*=" bi-"]::before {
    vertical-align: 0;
}
}



Latest revision as of 09:55, 2 November 2022

/* CSS placed here will be applied to all skins */

/*homepage welcome*/
#mpbanner {background:#fff url(/w/nsfr_img_auth.php/f/fa/BlueSpice-Demo_Header.jpg) -90px no-repeat; padding-bottom: 20px; background-size: 1000px 122px;}
#mpbanner-byline {font-size:1.5em; color:#0d6efd;line-height: 0.8rem; padding-top: 20px;}
h1#mpbanner-title {font-size:2.4em; color:#041E49; line-height:1.2em; font-weight: 900;letter-spacing: -1px; font-family:Lato}

/*overrides */
.page-Special_UserLogout .navbar-nav .dropdown.mx-2, .page-Special_UserLogin .navbar-nav .dropdown.mx-2 {display:none}
main li {margin-bottom: 0.8em;}
article .mediawiki [class*=" bi-"]::before {vertical-align: -0.125em;}
.thumb.tnone {margin-top:1em}
#toc li {margin-bottom: 0.1em;}
article .mediawiki [class^="bi-"]::before,article .mediawiki [class*=" bi-"]::before {
    vertical-align: -0.125em;
}
#bs-es-tools-tools .mediawiki [class^="bi-"]::before,#bs-es-tools-tools .mediawiki [class*=" bi-"]::before {
    vertical-align: 0;
}

/*Compact Book navigation -mlr */
h4.book-title {margin: 1em 0 0 0}
.bs-treenode-value {line-height:1.6em; margin-left:0px;padding-top:6px; padding-bottom:6px; padding-left:16px; text-indent:-16px; width: 230px;}
.bs-treenodeitem > div {line-height:1.2em}
.bs-treenodeitem > div span.bs-icon {width:28px;padding-left: 10px;display: inline-block;margin-top: 0.6em;}
/* #n-book-panel .bookshelfui-chapterpager {display:none} hide chapter pager */

/* Styles for section cards */
.sectionflex {display: flex; flex-wrap: wrap; justify-content:space-between;}
.sectionflex.col1 > div {flex-basis:100%; padding:10px 20px 20px 20px; margin:10px 0;}
.sectionflex.col2 > div {flex-basis:49%; padding:10px 20px 20px 20px; margin:10px 0;}
.sectionflex.col3 > div {flex-basis:32%; padding:10px 20px 20px 20px; margin:10px 0;}
.sectionflex > div h2 {margin:0 0 1em 0; font-size:1.3em}
.sectionflex.frame > div {border: 1px solid #e7e7e7}
.sectionflex.background> div {background: #f1f3f9}
.sectionflex .ve-ce-branchNode-slug, .sectionflex  span.mw-editsection {display:none}
@media (max-width: 767px) {.sectionflex.col2 > div, .sectionflex.col3 > div {flex-basis:100%; margin-top:2em}}

/*Related links */
h2#relatedinfo
{border-left: solid 4px #d8d8d9;
background:#f1f3f9;
color: #868585;
margin-top: 3rem;
margin-bottom:0 !important;
padding: 20px 10px 2px 30px;
}
.relatedtopics {
display:flex;
flex-wrap: wrap;
border-left: solid 4px #d8d8d9;
background:#f1f3f9;
padding: 2em !important;
margin:0  !important;
}
.relatedtopics .col{flex-basis: 50%; flex-grow: 1; flex-shrink: 1;}


/*Kompakte Buchnavigation -mlr */
h4.book-title {margin: 1em 0 0 0}
.bs-treenode-value {line-height:1.6em; margin-left:0px;padding-top:6px; padding-bottom:6px; padding-left:16px; text-indent:-16px; width: 230px;}
.bs-treenodeitem > div {line-height:1.2em}
.bs-treenodeitem > div span.bs-icon {width:28px;padding-left: 10px;display: inline-block;margin-top: 0.6em;}
#n-book-panel .bookshelfui-chapterpager {display:none} /*hide chapter nav */

div.gallerytext {font-size:0.8em; background:#FAFAFC;}

/*links on category pages*/
.mw-normal-catlinks {
column-count:3; -moz-column-count:3; -webkit-column-count:3;
}
.mw-category-group ul a {
  width: 92%;
  padding: 8px 4%;
  background: #eff2f5;
  color: #33445C !important;
  border-radius: 5px;
  border: 0 !important;
  margin: 0 0 2px 0;
  display: block;
  text-decoration: none;
}
.mw-category-generated ul {
  list-style: none;
}
.mw-category .mw-category-group {
  width:100%
}
.mw-category  .mw-category-group ul {
  margin-top: 0;
  margin-bottom: 0;
}
#mw-subcategories h2, #mw-pages h2 {margin-bottom:0.5rem;}