Last edited 4 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
 
(28 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 */
/*IMS color*/
/* WCAG links */
 
/*Discernable links*/
.IMScolor,
.mw-body-content a:not([class*='oo-ui-']),
.IMScolor i,
[class^='mw-content-'] a:not([class*='oo-ui-']) {
i.bi.bi-card-text.prefix {
    text-decoration: underline dotted;
     color: #5FAE56!important
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
     text-decoration-color: grey
}
}


 
.mw-body-content a:visited:not([class*='oo-ui-']),
.ext-neowiki-infobox__header {
[class^='mw-content-'] a:visited:not([class*='oo-ui-']),
     padding: 8px 12px 0px;
.mw-body-content a:not([class*='oo-ui-']),
[class^='mw-content-'] a:not([class*='oo-ui-']) {
     color: #36c;
}
}


.ext-neowiki-infobox__title {
.mw-body-content .navbar a {
     font-size: 1em;
     text-decoration: none!important;
    font-weight: 700;
    display: none;
}
}


.ext-neowiki-infobox__schema {
/*column layout overwrites */
     font-size: 1em;
.pl-container {
    font-weight: bold;
     gap: 2em;
}
}


/*Wikitable neutral */
.pl-col .ext-standardtags-card {
.wikitable td {
     height: stretch;
     background:white
}
}


.jumbotron {
.pl-col {
    background-image: url('/w/img_auth.php/d/dc/BlueSpice_Gitex-1024x410.jpg');
     padding: 0!important
    background-size: cover;
    background-position: center;
     padding: 1em;
    color: white;
    position: relative;
    text-align: center;
    border-radius: 6px;
    margin-bottom: 1.5em
}
}


 
.pl-container {
.jumbotron-content {
     margin-bottom: 0
     position: relative;
    max-width: 800px;
    margin: 0 auto;
}
}


.jumbotron h1 {
.pl-col.frame,
    font-size: 2.5em;
.frame .pl-col {
    margin-bottom: 0.5em;
     border: 1px solid #e3e3e3;
     color: white;
     border-radius: 6px;
     font-weight: bold
}
}


.jumbotron p {
/*align AI-Disclaimer in footer */
     font-size: 1.2em;
ul#footer-links li:nth-child(6) {
     color: white;
     width: 100%;
     font-weight: bold;
     text-align: center;
     margin-top: 0.5em
}
}


.pl-container {margin-bottom:20px}
/*
 
.ext-neowiki-infobox__header {
.pl-col {
     padding: 8px 12px 0px;
  /*border: 1px solid #e3e3e3;
    border-radius: 6px;*/
     padding:20px;
}
}


.pl-col h2 {
.ext-neowiki-infobox__title {
font-size:1.1em;
    font-size: 1em;
margin:0 0 1.2em 0;
    font-weight: 700;
    display: none;
}
}


.HRcolor,
.ext-neowiki-infobox__schema {
.HRcolor {
    font-size: 1em;
     color: a#4b6f9f!important
    font-weight: bold;
}*/
/*Wikitable neutral */
.wikitable td {
     background: white
}
}


/*Recent changes*/
/*Discernable links*/
/* Hide EVERYTHING by default inside each entry */
.mw-body-content a:not([class*='oo-ui-']),
.mw-changeslist li > * {
[class^='mw-content-'] a:not([class*='oo-ui-']) {
  display: none;
    text-decoration: underline dotted;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    text-decoration-color: grey
}
}


/* Show page title */
.mw-body-content .navbar a {
.mw-changeslist-title {
    text-decoration: none!important;
  display: inline !important;
}
}


/* Show user name */
/*nav-bar overwrite conflict w/Discovery */
.mw-userlink {
@media (max-width: 767px) {
  display: inline !important;
    .navbar-nav {
        height: auto!important;
    }
}
}


/* Keep separators readable */
/*ISO Chapter Query display for grid until list works */
.mw-changeslist li {
.portalpage .oojsplus-data-toolbar,
  display: block;
.portalpage .oojsplus-data-gridWidget-caption,
  margin-bottom: 4px;
.portalpage .oojsplus-data-gridWidget-header,
.portalpage .oojsplus-data-gridWidget-column-header,
.portalpage .oojsplus-widget-no-content-placeholder {
    display: none
}
}


/*box swoosh*/
.portalpage .oojsplus-data-gridWidget {
.swoosh-subtle {
    background: transparent
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  position: relative;
  overflow: hidden;
}
}


/* wavy mist swoosh */
.portalpage .oojsplus-data-gridWidget .grid-container {
.swoosh-subtle::after {
     padding: 0
  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%;
}
}


 
/* user profile tag font size */
.pl-col.frame {
.user-profile-panel .user-profile-data-cnt .user-profile-name-header .user-profile-name {
     border: 1px solid #e3e3e3;
     font-size: 1.1em;
    border-radius: 6px;
}
}


/* Sitenotice usecase nav */


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


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


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


.byline.prefixicon {
.navbar-sitenotice .bi::before {
margin-left:1.8em
    font-size:1.2em;
    vertical-align:-0.2em
}
}


.byline a, .byline {
.navbar-sitenotice .bi-person-fill {
color:#747474!important;
    color: #3c72a0;
}
}


.recentitem .at-mention    {background-color: none!important;
.navbar-sitenotice  .bi-gear-fill {
     border: none!important;
     color: #366f3c
    padding: none!important;
    border-radius: none!important;
}
}


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


/*Discernable links*/
.navbar-sitenotice  .nav-link {
.mw-body-content a:not([class*='oo-ui-']),
    margin: 0.5em!important;
[class^='mw-content-'] a:not([class*='oo-ui-']) {
    display: inline;
text-decoration: underline dotted;
    background: white;
text-underline-offset: 4px;
    border-color: #5470b3;
text-decoration-thickness: 1px;
    border-color: rgb(210 210 210);
text-decoration-color: grey
    border-radius: 10px;
    user-select: auto;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}
}


.mw-body-content .navbar a {
.navbar-sitenotice  .nav-link:hover {
text-decoration: none!important;
    background: white;
    outline: 1px solid #3e5389;
    border-color: var(--wiki-color, #e3e3e3);
}
}


/*nav-bar overwrite conflict w/Discovery */
.navbar-sitenotice  .nav-link a:hover {
@media (max-width: 767px) {
     text-decoration: none!important;
     .navbar-nav {
        height: auto!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;
}