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
 
(9 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
}


/*hide lock banner on Main page */
.mw-body-content a:visited:not([class*='oo-ui-']),
.page-Main_Page div[data-mwstake-alert-id="pagecheckout"] {display:none!important}
[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;
}


/*align AI-Disclaimer in footer */
.mw-body-content .navbar a {
ul#footer-links li:nth-child(6) {width:100%; text-align:center; margin-top:0.5em}
    text-decoration: none!important;
/*Dashboards notice*/
}
.page-Special_Controlled_Documents_Dashboard .oo-ui-flaggedElement-notice {
 
display:none;
/*column layout overwrites */
.pl-container {
    gap: 2em;
}
 
.pl-col .ext-standardtags-card {
    height: stretch;
}
}


.pl-col {
    padding: 0!important
}


#sb-pri .list-group-item a.mws-action-link-link#n-simpleblogpage-blog-overview,
.pl-container {
#sb-pri .list-group-item a.mws-action-link-link#n-cpd,
    margin-bottom: 0
#sb-pri .list-group-item a.mws-action-link-link#n-meeting-minutes-overview {
display:none;
}
}
/*IMS color*/


.IMScolor,
.pl-col.frame,
.IMScolor i,
.frame .pl-col {
i.bi.bi-card-text.prefix {
     border: 1px solid #e3e3e3;
     color: #5FAE56!important
    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 {
.ext-neowiki-infobox__header {
     padding: 8px 12px 0px;
     padding: 8px 12px 0px;
Line 39: 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 {
    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;
    border-radius: 6px;
    margin-bottom: 1.5em
}
 
 
.jumbotron-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
 
.jumbotron h1 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
    color: white;
    font-weight: bold
}
 
.jumbotron p {
    font-size: 1.2em;
    color: white;
    font-weight: bold;
}
 
.pl-container {margin-bottom:20px}
 
.pl-col {
    padding:10px 20px
}
 
.pl-col h2 {
font-size:1.1em;
margin:0 0 1.2em 0;
}
 
.HRcolor,
.HRcolor {
    color: a#4b6f9f!important
}
 
/*Recent changes*/
/* Hide EVERYTHING by default inside each entry */
.mw-changeslist li > * {
  display: none;
}
 
/* Show page title */
.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;
}
 
/*box swoosh*/
.swoosh-subtle {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  position: relative;
  overflow: hidden;
}
 
/* wavy mist swoosh */
.swoosh-subtle::after {
  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%;
}
 
 
.pl-col.frame, .frame .pl-col {
    border: 1px solid #e3e3e3;
    border-radius: 6px;
}
 
 
/* Optional: add spacing between title and user */
.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*/
 
/*deduplicate document control box*/
.mw-body-content .ext-neowiki-view {display:none;}
 
 
.mw-body-content .navbar {
margin:20px 0;
}
}


Line 205: Line 74:
.mw-body-content a:not([class*='oo-ui-']),
.mw-body-content a:not([class*='oo-ui-']),
[class^='mw-content-'] a:not([class*='oo-ui-']) {
[class^='mw-content-'] a:not([class*='oo-ui-']) {
text-decoration: underline dotted;
    text-decoration: underline dotted;
text-underline-offset: 4px;
    text-underline-offset: 4px;
text-decoration-thickness: 1px;
    text-decoration-thickness: 1px;
text-decoration-color: grey
    text-decoration-color: grey
}
}


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


Line 223: Line 92:


/*ISO Chapter Query display for grid until list works */
/*ISO Chapter Query display for grid until list works */
.ISOChapterQuery .oojsplus-data-toolbar,
.portalpage .oojsplus-data-toolbar,
.ISOChapterQuery .oojsplus-data-gridWidget-caption,
.portalpage .oojsplus-data-gridWidget-caption,
.ISOChapterQuery .oojsplus-data-gridWidget-header ,
.portalpage .oojsplus-data-gridWidget-header,
.ISOChapterQuery .oojsplus-data-gridWidget-column-header,
.portalpage .oojsplus-data-gridWidget-column-header,
.ISOChapterQuery .oojsplus-widget-no-content-placeholder{
.portalpage .oojsplus-widget-no-content-placeholder {
     display:none
     display: none
}
 
.ISOChapterQuery .oojsplus-data-gridWidget {background:transparent}
.ISOChapterQuery .oojsplus-data-gridWidget .grid-container {padding:0}
 
 
/*Template:Nav/IMS border-radius*/
.navbar.bg-body-tertiary {
    border-radius: 6px !important;
    overflow: hidden !important;
}
}


/* Dashboards */
.portalpage .oojsplus-data-gridWidget {
.cd-dashboard-cnt form.mw-inputbox-form-inline {
    background: transparent
justify-content: start;
}
}


.mw-body-content .cd-dashboard-cnt h2 {
.portalpage .oojsplus-data-gridWidget .grid-container {
margin: 0;
    padding: 0
font-size: 1.1rem;
}
}


/* Fix dashboards PL layout */
/* user profile tag font size */
.pl-container {
.user-profile-panel .user-profile-data-cnt .user-profile-name-header .user-profile-name {
display: flex;
    font-size: 1.1em;
gap: 1em;
}
}


.pl-container > .pl-col {
/* Sitenotice usecase nav */
flex: 1;
}


/*Hide NeoWiki nav items in main nav*/
.navbar-sitenotice {
#n-links-neowiki-page-tools-label,
    padding: 0;
#n-links-neowiki-page-tools-label-head,
    font-size: 0.7em;
#n-links-neowiki-page-tools-labellist-group-body {
    border-radius: 10px;
display:none;
}
}


/** Custom Mainpage**/
.page-Main_Page .navbar-sitenotice {display:none}
.custom-dashboard .pl-col span.mw-editsection,
.custom-dashboard span.sectionanchors-button {
    display: none!important;
}


.custom-dashboard .pl-container.pl-container-card { gap: 1.5rem;
.navbar-sitenotice  .navbar-brand {
     margin-bottom: 1.5rem
font-size: 1.1em;
    color: #6b6d6b;
    margin-top: 0.7em;
     margin-left: 1.5em;
}
}


.custom-dashboard .pl-container.pl-container-card > .pl-col,
.navbar-sitenotice .bi::before {
.mainpage-custom .pl-container.pl-container-card > .pl-col {
     font-size:1.2em;
     position: relative;
     vertical-align:-0.2em
    padding: 0 1.75rem 1.75rem;
     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;
    word-break: break-word
}
}


.custom-dashboard .pl-container.pl-container-card > .pl-col::before {
.navbar-sitenotice .bi-person-fill {
     content: '';
     color: #3c72a0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #5FAE56;
}
}


.custom-dashboard .pl-container.pl-container-card > .pl-col h2 .icon,
.navbar-sitenotice .bi-gear-fill {
.custom-dashboard .pl-container.pl-container-card > .pl-col h3 .icon {
     color: #366f3c
margin-right:0.4em
}
.custom-dashboard .pl-container.pl-container-card > .pl-col h2,
.custom-dashboard .pl-container.pl-container-card > .pl-col h3 {
     margin: -1rem -1.75rem 1.75rem -1.75rem;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.3;
    /*color: #000;*/
    display: flex;
    gap: 0.9rem;
    padding: 1rem 1.25rem 0.9rem;
    margin-top: 4px;
    background-image: linear-gradient(180deg, rgba(62, 83, 137, 0.09) 0%, rgba(62, 83, 137, 0.02) 100%);
    background-image: linear-gradient(180deg, color-mix(in srgb, var(--wiki-color, #3e5389) 9%, transparent) 0%, color-mix(in srgb, var(--wiki-color, #3e5389) 2%, transparent) 100%);
    border-bottom: 1px solid #ccc;
}
}


#bodyContent .custom-dashboard .pl-container.pl-container-card > .pl-col .sectionanchors-button {
.navbar-sitenotice .bi-rocket-takeoff-fill {
     display: none
     color: #d96b1f
}
}


.custom-dashboard .pl-container-card .badge-list ul {
.navbar-sitenotice  .nav-link {
     margin: 0;
     margin: 0.5em!important;
}
     display: inline;
 
     background: white;
.custom-dashboard .pl-container-card .badge-list li {
     border-color: #5470b3;
     display: inline-block;
     border-color: rgb(210 210 210);
     background: #f7f7f8;
     border: 1px solid #3e5389;
     padding: 0.3rem 0.5rem;
    margin: 0.5rem;
     border-radius: 10px;
     border-radius: 10px;
     box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.06);
     user-select: auto;
    overflow: hidden;
     transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
     transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
     cursor: pointer;
     cursor: pointer;
}
}


.custom-dashboard .pl-container-card .badge-list li:hover {
.navbar-sitenotice  .nav-link:hover {
     background: linear-gradient(180deg, #f7f7f8 0%, #f7f7f8 100%);
     background: white;
     border-color: #5470b3;
     outline: 1px solid #3e5389;
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.08);
     border-color: var(--wiki-color, #e3e3e3);
}
 
.first-steps {
    display: inline-block;
    margin-top: 1.8em
}
 
.custom-dashboard .user-profile-panel {
    text-align: center
}
}


.custom-dashboard .user-profile-panel .user-profile-data-cnt .user-profile-name-header .user-profile-name {
.navbar-sitenotice  .nav-link a:hover {
    font-size: 1.2rem;
     text-decoration: none!important;
    margin: 1rem 0;
    display: inline-block
} 
.custom-dashboard .social {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
    background: #f1f3f9;
    padding: 1.3em 0.8em 0.8em 0.8em;
    border-radius: 10px;
    width: 100%;
    justify-content: center
}
.custom-dashboard .social a:hover {
     text-decoration: none!important
}
 
#mw-content-text .social a.external {
    background: none;
    padding: 0.2em
}
.custom-dashboard .social #newsletter {
    align-self: flex-end;
    width: 100%;
    text-align: center;
    padding-left: 1.4em
}
.custom-dashboard .social #newsletter a:hover {
    text-decoration: underline!important
}
 
.testuserinfo .pl-container.pl-container-card > .pl-col
{
    padding-top: 1em;
    line-height: 2.5em
}
 
 
.testuserinfo .testpagelist
{ margin-top: 0.6em
}
 
.usecase-featured .pl-container.pl-container-card > .pl-col::before
{ background-color: #4b6f9f;
}
 
.usecase-more .pl-container.pl-container-card > .pl-col:nth-of-type(2)::before
{ background-color: #e89a4c;
}
 
.usecase-more .pl-container.pl-container-card > .pl-col:nth-of-type(1)::before
{ background-color: #5fae56;
}
 
.usecase-more .pl-container.pl-container-card > .pl-col:nth-of-type(2)::before
{ background-color: #e89a4c;
}
 
.usecase-featured .pl-col,
.usecase-more .pl-col
{ text-align: center
}
 
 
.custom-dashboard .btnrow {text-align:center}
 
.custom-dashboard .btn
{
    display: inline-block;
    background: #f7f7f8;
    border: 1px solid #3e5389;
    padding: 0.3rem 0.5rem;
    margin:1.4rem;
    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;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    cursor: pointer;
}
 
.custom-dashboard .btn:hover
{
    background: linear-gradient(180deg, #f7f7f8 0%, #f7f7f8 100%);
    border-color: #5470b3;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.08);
}
}

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