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
 
(17 intermediate revisions by the same user 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
}


/* stabilize entrypoint and action links */
.mw-body-content a:visited:not([class*='oo-ui-']),
#sb-pri .list-group-item a,
[class^='mw-content-'] a:visited:not([class*='oo-ui-']),
#sb-sec .list-group-item a {
.mw-body-content a:not([class*='oo-ui-']),
    margin-left: 0px!important;
[class^='mw-content-'] a:not([class*='oo-ui-']) {
    border-left: 5px solid transparent;
     color: #36c;
     box-sizing: border-box!important;
}
}


 
.mw-body-content .navbar a {
/*stabilize gutter*/
     text-decoration: none!important;
#sb-pri {
     scrollbar-gutter: stable;
    scrollbar-width: auto!important
}
}


/*top-align expand chevron*/
/*column layout overwrites */
#sb-pri .oojsplus-data-tree-items .oojs-ui-data-tree-item .oojsplus-data-tree-expander {
.pl-container {
     vertical-align: top;
     gap: 2em;
    /* margin-top:0.2em /*BS5 only, not Galaxy*/
}
}


/*avoid hover-wiggle in some resolutions*/
.pl-col .ext-standardtags-card {
#sb-pri ul.tree-node-list > li > div,
     height: stretch;
#sb-pri ul.tree-node-list > li > ul.tree-node-list {
    margin-left: 0px!important;
    border-left: 5px solid transparent;
    box-sizing: border-box!important;
}
#sb-pri ul.tree-node-list > li > div:hover {
     margin-left: 0px!important;
    border-left: 5px solid var(--sidebar-primary-marker--hover);
    box-sizing: border-box!important;
}
}


/*make room for plus-icon*/
.pl-col {
#sb-pri ul.tree-node-list a:not(.new),
     padding: 0!important
#sb-pri ul.tree-node-list a:not(.new):visited,
#sb-pri ul.tree-node-list a:not(.new):hover {
     margin-right: 0!important;
}
#sb-pri ul.mws-tree .mws-tree-item a.mws-tree-item-label,
#sb-pri .oojsplus-data-navigation-tree span.oojsplus-data-tree-label {
    padding-right: 8px
}
}


 
.pl-container {
/*Dashboards notice*/
    margin-bottom: 0
.page-Special_Controlled_Documents_Dashboard .oo-ui-flaggedElement-notice {
display:none;
}
}


 
.pl-col.frame,
#sb-pri .list-group-item a.mws-action-link-link#n-simpleblogpage-blog-overview,
.frame .pl-col {
#sb-pri .list-group-item a.mws-action-link-link#n-cpd,
    border: 1px solid #e3e3e3;
#sb-pri .list-group-item a.mws-action-link-link#n-meeting-minutes-overview {
    border-radius: 6px;
display:none;
}
}
/*IMS color*/


.IMScolor,
/*align AI-Disclaimer in footer */
.IMScolor i,
ul#footer-links li:nth-child(6) {
i.bi.bi-card-text.prefix {
    width: 100%;
     color: #5FAE56!important
    text-align: center;
     margin-top: 0.5em
}
}


 
/*
.ext-neowiki-infobox__header {
.ext-neowiki-infobox__header {
     padding: 8px 12px 0px;
     padding: 8px 12px 0px;
Line 80: Line 65:
     font-size: 1em;
     font-size: 1em;
     font-weight: bold;
     font-weight: bold;
}
}*/
 
/*Wikitable neutral */
/*Wikitable neutral */
.wikitable td {
.wikitable td {
     background:white
     background: white
}
}


.jumbotron {
/*Discernable links*/
    background-image: url('/w/img_auth.php/d/dc/BlueSpice_Gitex-1024x410.jpg');
.mw-body-content a:not([class*='oo-ui-']),
    background-size: cover;
[class^='mw-content-'] a:not([class*='oo-ui-']) {
     background-position: center;
     text-decoration: underline dotted;
     padding: 1em;
     text-underline-offset: 4px;
    color: white;
     text-decoration-thickness: 1px;
    position: relative;
     text-decoration-color: grey
     text-align: center;
     border-radius: 6px;
    margin-bottom: 1.5em
}
}


 
.mw-body-content .navbar a {
.jumbotron-content {
     text-decoration: none!important;
     position: relative;
    max-width: 800px;
    margin: 0 auto;
}
}


.jumbotron h1 {
/*nav-bar overwrite conflict w/Discovery */
    font-size: 2.5em;
@media (max-width: 767px) {
     margin-bottom: 0.5em;
     .navbar-nav {
    color: white;
        height: auto!important;
     font-weight: bold
     }
}
}


.jumbotron p {
/*ISO Chapter Query display for grid until list works */
    font-size: 1.2em;
.portalpage .oojsplus-data-toolbar,
    color: white;
.portalpage .oojsplus-data-gridWidget-caption,
     font-weight: bold;
.portalpage .oojsplus-data-gridWidget-header,
.portalpage .oojsplus-data-gridWidget-column-header,
.portalpage .oojsplus-widget-no-content-placeholder {
     display: none
}
}


.pl-container {margin-bottom:20px}
.portalpage .oojsplus-data-gridWidget {
 
     background: transparent
.pl-col {
     padding:10px 20px
}
}


.pl-col h2 {
.portalpage .oojsplus-data-gridWidget .grid-container {
font-size:1.1em;
    padding: 0
margin:0 0 1.2em 0;
}
}


.HRcolor,
/* user profile tag font size */
.HRcolor {
.user-profile-panel .user-profile-data-cnt .user-profile-name-header .user-profile-name {
     color: a#4b6f9f!important
     font-size: 1.1em;
}
}


/*Recent changes*/
/* Sitenotice usecase nav */
/* Hide EVERYTHING by default inside each entry */
.mw-changeslist li > * {
  display: none;
}


/* Show page title */
.navbar-sitenotice {
.mw-changeslist-title {
    padding: 0;
  display: inline !important;
    font-size: 0.7em;
    border-radius: 10px;
}
}


/* Show user name */
.page-Main_Page .navbar-sitenotice {display:none}
.mw-userlink {
  display: inline !important;
}


/* Keep separators readable */
.navbar-sitenotice  .navbar-brand {
.mw-changeslist li {
font-size: 1.1em;
  display: block;
    color: #6b6d6b;
  margin-bottom: 4px;
    margin-top: 0.7em;
    margin-left: 1.5em;
}
}


/*box swoosh*/
.navbar-sitenotice .bi::before {
.swoosh-subtle {
    font-size:1.2em;
  background: #ffffff;
    vertical-align:-0.2em
  border-radius: 20px;
  padding: 30px;
  position: relative;
  overflow: hidden;
}
}


/* wavy mist swoosh */
.navbar-sitenotice .bi-person-fill {
.swoosh-subtle::after {
     color: #3c72a0;
  content: "";
  position: absolute;
  top: -5%;
  left: 50%;
  width: 120%;
  height: 70%;
  transform: translate(-50%, -50%) rotate(-10deg);
 
  background:
    radial-gradient(
      ellipse at 30% 50%,
      rgba(200, 200, 200, 0.35) 10%,
      rgba(200, 200, 200, 0.18) 40%,
      transparent 10%
    ),
    radial-gradient(
      ellipse at 70% 60%,
      rgba(180, 180, 180, 0.30) 0%,
      rgba(200, 200, 200, 0.15) 45%,
      transparent 75%
     );
 
  border-radius: 50%;
}
}


 
.navbar-sitenotice  .bi-gear-fill {
.pl-col.frame, .frame .pl-col {
     color: #366f3c
     border: 1px solid #e3e3e3;
    border-radius: 6px;
}
}


 
.navbar-sitenotice .bi-rocket-takeoff-fill {
/* Optional: add spacing between title and user */
     color: #d96b1f
.mw-changeslist-title::after {
  content: " — ";
  color: #888;
}
/*RecentlyUpdated template */
 
.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 {
margin-left:1.8em
}
 
.byline a, .byline {
color:#747474!important;
}
 
.recentitem .at-mention    {background-color: none!important;
    border: none!important;
    padding: none!important;
    border-radius: none!important;
}
}


/*NeoWiki*/
.navbar-sitenotice  .nav-link {
 
    margin: 0.5em!important;
/*deduplicate document control box*/
    display: inline;
.mw-body-content .ext-neowiki-view {display:none;}
    background: white;
 
    border-color: #5470b3;
 
    border-color: rgb(210 210 210);
.mw-body-content .navbar {
    border-radius: 10px;
margin:20px 0;
    user-select: auto;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}
}


/*Discernable links*/
.navbar-sitenotice  .nav-link:hover {
.mw-body-content a:not([class*='oo-ui-']),
     background: white;
[class^='mw-content-'] a:not([class*='oo-ui-']) {
     outline: 1px solid #3e5389;
text-decoration: underline dotted;
     border-color: var(--wiki-color, #e3e3e3);
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 */
.ISOChapterQuery .oojsplus-data-toolbar,
.ISOChapterQuery .oojsplus-data-gridWidget-caption,
.ISOChapterQuery .oojsplus-data-gridWidget-header ,
.ISOChapterQuery .oojsplus-data-gridWidget-column-header,
.ISOChapterQuery .oojsplus-widget-no-content-placeholder{
     display:none
}
 
.ISOChapterQuery .oojsplus-data-gridWidget {background:transparent}
.ISOChapterQuery .oojsplus-data-gridWidget .grid-container {padding:0}
 
.startpageevents td:first-of-type {
 
    font-family: "Courier New", Courier, "DejaVu Sans Mono", "Liberation Mono", monospace;
     font-size: 0.85em;
     font-weight: bold
}
 
/*Template:Nav/IMS border-radius*/
.navbar.bg-body-tertiary {
    border-radius: 6px !important;
    overflow: hidden !important;
}
 
/* Dashboards */
.cd-dashboard-cnt form.mw-inputbox-form-inline {
justify-content: start;
}
 
.mw-body-content .cd-dashboard-cnt h2 {
margin: 0;
font-size: 1.1rem;
}
 
/* Fix dashboards PL layout */
.pl-container {
display: flex;
gap: 1em;
}
}


.pl-container > .pl-col {
.navbar-sitenotice  .nav-link a:hover {
flex: 1;
    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;
}