Last edited 3 days ago
by Meryam Sahin

MediaWiki:Common.css: Difference between revisions

Meryam Sahin (talk | contribs)
No edit summary
Meryam Sahin (talk | contribs)
No edit summary
 
(73 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* WCAG links */
/*Discernable links*/
.mw-body-content a:not([class*='oo-ui-']),
[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 a:visited:not([class*='oo-ui-']),
[class^='mw-content-'] a:visited:not([class*='oo-ui-']),
.mw-body-content a:not([class*='oo-ui-']),
[class^='mw-content-'] a:not([class*='oo-ui-']) {
    color: #36c;
}
.mw-body-content .navbar a {
    text-decoration: none!important;
}
/*column layout overwrites */
.pl-container {
    gap: 2em;
}
.pl-col .ext-standardtags-card {
    height: stretch;
}
.pl-col {
    padding: 0!important
}
.pl-container {
    margin-bottom: 0
}
.pl-col.frame,
.frame .pl-col {
    border: 1px solid #e3e3e3;
    border-radius: 6px;
}
/*align AI-Disclaimer in footer */
ul#footer-links li:nth-child(6) {
    width: 100%;
    text-align: center;
    margin-top: 0.5em
}
/*
.ext-neowiki-infobox__header {
    padding: 8px 12px 0px;
}
.ext-neowiki-infobox__title {
.ext-neowiki-infobox__title {
     font-size: 1.25rem;
     font-size: 1em;
     font-weight: 700;
     font-weight: 700;
     display: none;
     display: none;
Line 7: Line 63:


.ext-neowiki-infobox__schema {
.ext-neowiki-infobox__schema {
     font-size: 1.1rem;
     font-size: 1em;
     font-weight: bold;
     font-weight: bold;
}*/
/*Wikitable neutral */
.wikitable td {
    background: white
}
/*Discernable links*/
.mw-body-content a:not([class*='oo-ui-']),
[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 {
    text-decoration: none!important;
}
/*nav-bar overwrite conflict w/Discovery */
@media (max-width: 767px) {
    .navbar-nav {
        height: auto!important;
    }
}
/*ISO Chapter Query display for grid until list works */
.portalpage .oojsplus-data-toolbar,
.portalpage .oojsplus-data-gridWidget-caption,
.portalpage .oojsplus-data-gridWidget-header,
.portalpage .oojsplus-data-gridWidget-column-header,
.portalpage .oojsplus-widget-no-content-placeholder {
    display: none
}
.portalpage .oojsplus-data-gridWidget {
    background: transparent
}
.portalpage .oojsplus-data-gridWidget .grid-container {
    padding: 0
}
}


/*Wikitable neutral */
/* user profile tag font size */
.wikitable td {
.user-profile-panel .user-profile-data-cnt .user-profile-name-header .user-profile-name {
     background:white
     font-size: 1.1em;
}
}


.jumbotron {
/* Sitenotice usecase nav */
    background-image: url('/w/img_auth.php/d/dc/BlueSpice_Gitex-1024x410.jpg');
 
    background-size: cover;
.navbar-sitenotice {
    background-position: center;
     padding: 0;
     padding: 1em;
     font-size: 0.7em;
    color: white;
     border-radius: 10px;
     position: relative;
    text-align: center;
     border-radius: 6px;
    margin-bottom: 1.5em
}
}


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


.jumbotron-content {
.navbar-sitenotice  .navbar-brand {
     position: relative;
font-size: 1.1em;
     max-width: 800px;
     color: #6b6d6b;
     margin: 0 auto;
     margin-top: 0.7em;
     margin-left: 1.5em;
}
}


.jumbotron h1 {
.navbar-sitenotice .bi::before {
     font-size: 2.5em;
     font-size:1.2em;
     margin-bottom: 0.5em;
     vertical-align:-0.2em
    color: white;
    font-weight: bold
}
}


.jumbotron p {
.navbar-sitenotice .bi-person-fill {
    font-size: 1.2em;
     color: #3c72a0;
     color: white;
    font-weight: bold;
}
}


.pl-col.center {
.navbar-sitenotice  .bi-gear-fill {
     text-align: center
     color: #366f3c
}
}
.pl-col.frame {
 
     border: 1px solid #e3e3e3;
.navbar-sitenotice .bi-rocket-takeoff-fill {
    border-radius: 6px;
     color: #d96b1f
}
}


.pl-col {
.navbar-sitenotice  .nav-link {
     flex: 1;
     margin: 0.5em!important;
     padding: 1.2em
    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;
}
}


.IMScolor,
.navbar-sitenotice  .nav-link:hover {
.IMScolor a {
     background: white;
     color: #5FAE56!important
    outline: 1px solid #3e5389;
    border-color: var(--wiki-color, #e3e3e3);
}
}
.HRcolor,
 
.HRcolor {
.navbar-sitenotice  .nav-link a:hover {
     color: a#4b6f9f!important
     text-decoration: none!important;
}
}

Latest revision as of 07:38, 20 November 2026

/* CSS placed here will be applied to all skins */
/* WCAG links */
/*Discernable links*/
.mw-body-content a:not([class*='oo-ui-']),
[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 a:visited:not([class*='oo-ui-']),
[class^='mw-content-'] a:visited:not([class*='oo-ui-']),
.mw-body-content a:not([class*='oo-ui-']),
[class^='mw-content-'] a:not([class*='oo-ui-']) {
    color: #36c;
}

.mw-body-content .navbar a {
    text-decoration: none!important;
}

/*column layout overwrites */
.pl-container {
    gap: 2em;
}

.pl-col .ext-standardtags-card {
    height: stretch;
}

.pl-col {
    padding: 0!important
}

.pl-container {
    margin-bottom: 0
}

.pl-col.frame,
.frame .pl-col {
    border: 1px solid #e3e3e3;
    border-radius: 6px;
}

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

/*
.ext-neowiki-infobox__header {
    padding: 8px 12px 0px;
}

.ext-neowiki-infobox__title {
    font-size: 1em;
    font-weight: 700;
    display: none;
}

.ext-neowiki-infobox__schema {
    font-size: 1em;
    font-weight: bold;
}*/
/*Wikitable neutral */
.wikitable td {
    background: white
}

/*Discernable links*/
.mw-body-content a:not([class*='oo-ui-']),
[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 {
    text-decoration: none!important;
}

/*nav-bar overwrite conflict w/Discovery */
@media (max-width: 767px) {
    .navbar-nav {
        height: auto!important;
    }
}

/*ISO Chapter Query display for grid until list works */
.portalpage .oojsplus-data-toolbar,
.portalpage .oojsplus-data-gridWidget-caption,
.portalpage .oojsplus-data-gridWidget-header,
.portalpage .oojsplus-data-gridWidget-column-header,
.portalpage .oojsplus-widget-no-content-placeholder {
    display: none
}

.portalpage .oojsplus-data-gridWidget {
    background: transparent
}

.portalpage .oojsplus-data-gridWidget .grid-container {
    padding: 0
}

/* user profile tag font size */
.user-profile-panel .user-profile-data-cnt .user-profile-name-header .user-profile-name {
    font-size: 1.1em;
}

/* 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;
}