Last edited 4 days ago
by Meryam Sahin

MediaWiki:Common.css: Difference between revisions

Meryam Sahin (talk | contribs)
No edit summary
Tag: Manual revert
Meryam Sahin (talk | contribs)
No edit summary
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/*align AI-Disclaimer in footer */
body.page-Special_Meeting_Minutes_Dashboard .oo-ui-messageWidget.oo-ui-flaggedElement-notice {
    display: none !important;
}
/*HR color*/
.HRcolor,
.HRcolor i {
    color: #4b6f9f!important
}
/*IMS color*/
.IMScolor,
.IMScolor i,
i.bi.bi-card-text.prefix {
    color: #5FAE56!important
}


.ext-neowiki-infobox__header {
ul#footer-links li:nth-child(6) {width:100%; text-align:center; margin-top:0.5em}
    padding: 8px 12px 0px;
}


.ext-neowiki-infobox__title {
/* Buttons in Karten (.btnrow / .btn) */
    font-size: 1em;
.btnrow {
    font-weight: 700;
    display: none;
}
 
.ext-neowiki-infobox__schema {
    font-size: 1em;
    font-weight: bold;
}
 
/*Wikitable neutral */
.wikitable td {
    background:white
}
 
.jumbotron {
    background-image: url('/w/img_auth.php/d/dc/BlueSpice_Gitex-1024x410.jpg');
    background-size: cover;
    background-position: center;
    padding: 1em;
    color: white;
    position: relative;
     text-align: center;
     text-align: center;
    border-radius: 6px;
    margin-bottom: 1.5em
}
}


.jumbotron-content {
.btnrow .btn,
     position: relative;
.custom-dashboard .btn {
     max-width: 800px;
     display: inline-block;
     margin: 0 auto;
    margin: 1.4rem;
    padding: 0;
    background: #f7f7f8;
     background: color-mix(in srgb, var(--wiki-color, #3e5389) 5%, white);
    border: 1px solid #3e5389;
     border-color: var(--wiki-color, #3e5389);
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    white-space: normal;
    vertical-align: middle;
    user-select: auto;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}
}


.jumbotron h1 {
/* Link fuellt den ganzen Button: auch Klicks auf den Rand funktionieren */
     font-size: 2.5em;
.btnrow .btn a,
     margin-bottom: 0.5em;
.custom-dashboard .btn a {
    color: white;
     display: block;
    font-weight: bold
     padding: 0.3rem 0.5rem;
}
}


.jumbotron p {
.btnrow .btn a:hover,
    font-size: 1.2em;
.custom-dashboard .btn a:hover {
    color: white;
     text-decoration: none;
     font-weight: bold;
}
}


.pl-container {margin-bottom:20px}
.btnrow .btn:hover,
.pl-col {
.btnrow .btn:focus-within,
  /*border: 1px solid #e3e3e3;
.custom-dashboard .btn:hover,
     border-radius: 6px;*/
.custom-dashboard .btn:focus-within {
     padding:20px;
    background: #eef1f8;
    background: color-mix(in srgb, var(--wiki-color, #3e5389) 12%, white);
    border-color: #5470b3;
     border-color: color-mix(in srgb, var(--wiki-color, #3e5389) 80%, white);
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.08);
}
}


.pl-col h2 {
/* Sichtbarer Tastaturfokus */
font-size:1.1em;
.btnrow .btn a:focus-visible,
margin:0 0 1.2em 0;
.custom-dashboard .btn a:focus-visible {
}
    outline: 2px solid #3e5389;
/*Recent changes*/
    outline-color: var(--wiki-color, #3e5389);
/* Hide EVERYTHING by default inside each entry */
    outline-offset: -4px;
.mw-changeslist li > * {
    border-radius: 8px;
  display: none;
}
}


/* Show page title */
/* Sitenotice usecase nav */
.mw-changeslist-title {
  display: inline !important;
}
 
/* Show user name */
.mw-userlink {
  display: inline !important;
}
 
 
/* Keep separators readable */
.mw-changeslist li {
  display: block;
  margin-bottom: 4px;
}


/* Optional: add spacing between title and user */
.navbar-sitenotice {
.mw-changeslist-title::after {
    padding: 0;
  content: " — ";
    font-size: 0.7em;
  color: #888;
    border-radius: 10px;
}
}


/*RecentlyUpdated template */
.page-Main_Page .navbar-sitenotice {display:none}
 
.bi.prefix::before {
content: "\f228";
font-size: 1.2em;
vertical-align: -0.22em!important;
margin-right: 0.2em;
}
 
.byline {
    margin-bottom: 0.8em;
}


.byline.prefixicon {
.navbar-sitenotice  .navbar-brand {
margin-left:1.8em
font-size: 1.1em;
    color: #6b6d6b;
    margin-top: 0.7em;
    margin-left: 1.5em;
}
}


.byline a, .byline {
.navbar-sitenotice .bi::before {
color:#747474!important;
    font-size:1.2em;
    vertical-align:-0.2em
}
}


.recentitem .at-mention    {background-color: none!important;
.navbar-sitenotice .bi-person-fill {
     border: none!important;
     color: #3c72a0;
    padding: none!important;
    border-radius: none!important;
}
}


/*NeoWiki*/
.navbar-sitenotice  .bi-gear-fill {
/*deduplicate document control box*/
    color: #366f3c
.mw-body-content .ext-neowiki-view {display:none;}
.mw-body-content .navbar {
margin:20px 0;
}
}


/*Discernable links*/
.navbar-sitenotice .bi-rocket-takeoff-fill {
.mw-body-content a:not([class*='oo-ui-']),
    color: #d96b1f
[class^='mw-content-'] a:not([class*='oo-ui-']) {
text-decoration: underline dotted;
text-underline-offset: 4px;
text-decoration-thickness: 1px;
text-decoration-color: grey
}
}


.mw-body-content .navbar a {
.navbar-sitenotice  .nav-link {
text-decoration: none!important;
    margin: 0.5em!important;
    display: inline;
    background: white;
    border-color: #5470b3;
    border-color: rgb(210 210 210);
    border-radius: 10px;
    user-select: auto;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}
}


/*nav-bar overwrite conflict w/Discovery */
.navbar-sitenotice  .nav-link:hover {
@media (max-width: 767px) {
     background: white;
     .navbar-nav {
    outline: 1px solid #3e5389;
        height: auto!important;
     border-color: var(--wiki-color, #e3e3e3);
     }
}
}


.navbar.bg-body-tertiary {
.navbar-sitenotice  .nav-link a:hover {
     border-radius: 6px !important;
     text-decoration: none!important;
    overflow: hidden !important;
}
}

Latest revision as of 07:35, 20 November 2026

/*align AI-Disclaimer in footer */

ul#footer-links li:nth-child(6) {width:100%; text-align:center; margin-top:0.5em}

/* Buttons in Karten (.btnrow / .btn) */
.btnrow {
    text-align: center;
}

.btnrow .btn,
.custom-dashboard .btn {
    display: inline-block;
    margin: 1.4rem;
    padding: 0;
    background: #f7f7f8;
    background: color-mix(in srgb, var(--wiki-color, #3e5389) 5%, white);
    border: 1px solid #3e5389;
    border-color: var(--wiki-color, #3e5389);
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    white-space: normal;
    vertical-align: middle;
    user-select: auto;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

/* Link fuellt den ganzen Button: auch Klicks auf den Rand funktionieren */
.btnrow .btn a,
.custom-dashboard .btn a {
    display: block;
    padding: 0.3rem 0.5rem;
}

.btnrow .btn a:hover,
.custom-dashboard .btn a:hover {
    text-decoration: none;
}

.btnrow .btn:hover,
.btnrow .btn:focus-within,
.custom-dashboard .btn:hover,
.custom-dashboard .btn:focus-within {
    background: #eef1f8;
    background: color-mix(in srgb, var(--wiki-color, #3e5389) 12%, white);
    border-color: #5470b3;
    border-color: color-mix(in srgb, var(--wiki-color, #3e5389) 80%, white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Sichtbarer Tastaturfokus */
.btnrow .btn a:focus-visible,
.custom-dashboard .btn a:focus-visible {
    outline: 2px solid #3e5389;
    outline-color: var(--wiki-color, #3e5389);
    outline-offset: -4px;
    border-radius: 8px;
}

/* Sitenotice usecase nav */

.navbar-sitenotice {
    padding: 0;
    font-size: 0.7em;
    border-radius: 10px;
}

.page-Main_Page .navbar-sitenotice {display:none}

.navbar-sitenotice  .navbar-brand {
	font-size: 1.1em;
    color: #6b6d6b;
    margin-top: 0.7em;
    margin-left: 1.5em;
}

.navbar-sitenotice .bi::before {
    font-size:1.2em;
    vertical-align:-0.2em
}

.navbar-sitenotice .bi-person-fill {
    color: #3c72a0;
}

.navbar-sitenotice  .bi-gear-fill {
    color: #366f3c
}

.navbar-sitenotice .bi-rocket-takeoff-fill {
    color: #d96b1f
}

.navbar-sitenotice  .nav-link {
    margin: 0.5em!important;
    display: inline;
    background: white;
    border-color: #5470b3;
    border-color: rgb(210 210 210);
    border-radius: 10px;
    user-select: auto;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.navbar-sitenotice  .nav-link:hover {
    background: white;
    outline: 1px solid #3e5389;
    border-color: var(--wiki-color, #e3e3e3);
}

.navbar-sitenotice  .nav-link a:hover {
    text-decoration: none!important;
}