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
 
(47 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 */
.ext-neowiki-infobox__header {
/* WCAG links */
     padding: 8px 12px 0px;
/*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
}
}


.ext-neowiki-infobox__title {
.mw-body-content a:visited:not([class*='oo-ui-']),
    font-size: 1em;
[class^='mw-content-'] a:visited:not([class*='oo-ui-']),
    font-weight: 700;
.mw-body-content a:not([class*='oo-ui-']),
     display: none;
[class^='mw-content-'] a:not([class*='oo-ui-']) {
     color: #36c;
}
}


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


/*Wikitable neutral */
/*column layout overwrites */
.wikitable td {
.pl-container {
     background: white
     gap: 2em;
}
}


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


 
.pl-col {
.jumbotron-content {
     padding: 0!important
    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 {
.pl-container {
     margin-bottom: 20px
     margin-bottom: 0
}
}


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


.pl-col h2 {
/*align AI-Disclaimer in footer */
     font-size: 1.3em;
ul#footer-links li:nth-child(6) {
     margin: 0 0 1em 0
     width: 100%;
    text-align: center;
     margin-top: 0.5em
}
}


 
/*
 
.ext-neowiki-infobox__header {
.IMScolor,
     padding: 8px 12px 0px;
.IMScolor i {
    color: #5FAE56!important
}
.HRcolor,
.HRcolor {
     color: a#4b6f9f!important
}
}


/*Recent changes*/
.ext-neowiki-infobox__title {
/* Hide EVERYTHING by default inside each entry */
    font-size: 1em;
.mw-changeslist li > * {
    font-weight: 700;
     display: none;
     display: none;
}
}


/* Show page title */
.ext-neowiki-infobox__schema {
.mw-changeslist-title {
    font-size: 1em;
     display: inline !important;
    font-weight: bold;
}*/
/*Wikitable neutral */
.wikitable td {
     background: white
}
}


/* Show user name */
/*Discernable links*/
.mw-userlink {
.mw-body-content a:not([class*='oo-ui-']),
     display: inline !important;
[class^='mw-content-'] a:not([class*='oo-ui-']) {
     text-decoration: underline dotted;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    text-decoration-color: grey
}
}


/* Keep separators readable */
.mw-body-content .navbar a {
.mw-changeslist li {
     text-decoration: none!important;
     display: block;
    margin-bottom: 4px;
}
}


/* Optional: add spacing between title and user */
/*nav-bar overwrite conflict w/Discovery */
.mw-changeslist-title::after {
@media (max-width: 767px) {
    content: " — ";
     .navbar-nav {
    color: #888;
        height: auto!important;
}
    }
/* Hide EVERYTHING by default inside each entry */
.mw-changeslist li > * {
     display: none;
}
 
/* Show page title */
.mw-changeslist-title {
    display: inline !important;
}
}


/* Show user name */
/*ISO Chapter Query display for grid until list works */
.mw-userlink {
.portalpage .oojsplus-data-toolbar,
     display: inline !important;
.portalpage .oojsplus-data-gridWidget-caption,
.portalpage .oojsplus-data-gridWidget-header,
.portalpage .oojsplus-data-gridWidget-column-header,
.portalpage .oojsplus-widget-no-content-placeholder {
     display: none
}
}


/* Keep separators readable */
.portalpage .oojsplus-data-gridWidget {
.mw-changeslist li {
     background: transparent
     display: block;
    margin-bottom: 4px;
}
}


/* Optional: add spacing between title and user */
.portalpage .oojsplus-data-gridWidget .grid-container {
.mw-changeslist-title::after {
     padding: 0
     content: " — ";
    color: #888;
}
}


/* Hide EVERYTHING by default inside each entry */
/* user profile tag font size */
.mw-changeslist li > * {
.user-profile-panel .user-profile-data-cnt .user-profile-name-header .user-profile-name {
     display: none;
     font-size: 1.1em;
}
}


/* Show page title */
/* Sitenotice usecase nav */
.mw-changeslist-title {
    display: inline !important;
}


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


/* Keep separators readable */
.page-Main_Page .navbar-sitenotice {display:none}
.mw-changeslist li {
    display: block;
    margin-bottom: 4px;
}


/* Optional: add spacing between title and user */
.navbar-sitenotice  .navbar-brand {
.mw-changeslist-title::after {
font-size: 1.1em;
     content: " — ";
    color: #6b6d6b;
     color: #888;
     margin-top: 0.7em;
     margin-left: 1.5em;
}
}


/*Recent changes on HP */
.navbar-sitenotice .bi::before {
/* Hide EVERYTHING by default inside each entry */
     font-size:1.2em;
.recentchanges-compact .mw-changeslist-legend,
     vertical-align:-0.2em
.recentchanges-compact .mw-changeslist-line-prefix,
.recentchanges-compact .mw-changeslist-links,
.recentchanges-compact .mw-changeslist-separator,
.recentchanges-compact .mw-diff-bytes,
.recentchanges-compact .mw-changeslist .comment,
.recentchanges-compact .mw-changeslist .newpage,
.recentchanges-compact .mw-rcfilters-ui-highlights-enhanced-nested,
.recentchanges-compact .mw-enhancedchanges-arrow,
.recentchanges-compact .mw-enhancedchanges-arrow-space {
     display: none!important
}
.recentchanges-compact .mw-enhanced-rc {
     margin-left: -3.2em
}
}


.recentchanges-compact .mw-changeslist h4 {
.navbar-sitenotice .bi-person-fill {
     margin: 0;
     color: #3c72a0;
    font-size: 1em
}
}


.rootpage-Main-Page .sectionanchors-button {
.navbar-sitenotice  .bi-gear-fill {
     display: none!important
     color: #366f3c
}
}


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


/*nav-bar overwrite conflict w/Discovery */
.navbar-sitenotice  .nav-link {
@media (max-width: 767px) {
    margin: 0.5em!important;
     .navbar-nav {
    display: inline;
        height: auto!important;
    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;
}
}


.mw-body-content .navbar {
.navbar-sitenotice  .nav-link:hover {
     margin: 1em 0;
     background: white;
     border-radius: 6px
    outline: 1px solid #3e5389;
     border-color: var(--wiki-color, #e3e3e3);
}
}


 
.navbar-sitenotice  .nav-link a:hover {
.navbar-nav .nav-link {
     text-decoration: none!important;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 6px
}
.navbar-nav .nav-link:hover {
     background-color: rgba(0, 0, 0, 0.05);
}
}

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