MediaWiki:Common.css

From Imperial Minerals Wiki

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */
.homebox-cell .mw-userlink, .homebox-cell  .mw-newpages-length{
display: none;
}
.latestpubs li{
font-size: 12px;
}
.latestpubs li .mw-newpages-pagename{
font-size: 16px;
}
.homebox-cell .mw-newpages-time{
display: none;
    font-weight: 200;
    color: grey;
}
.view-pub-link{
background-color: #DEBE6C;
    padding: 7px 15px;
    color: #223a45 !important;
    border-radius: 3px;
}
.view-pub-link a{
    color: #223a45 !important;
}
#bodyContent p, #bodyContent td, #bodyContent tr{
font-size: 16px;
}
#map.no-data{
display: none !important;
}

.popup span{
background-color: white;
    border-radius: 5px;
    display: block;
    max-width: 360px;
    margin: auto;
    margin-top: 20%;
    padding: 20px;
    text-align: center;
}
.popup span a{
display: block;
    border: 1px solid;
    max-width: min-content;
    margin: 20px auto 5px;
    padding: 6px 20px;
    border-radius: 4px;
}
.popup {
position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999999;
    background: rgb(0,0,0,0.5);
    bottom: 0;
}
.popup h{
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    display: block;
}
.no-data{
display: none;
}
.formtable td input , .formtable td select, .formtable td textarea{
    border: 1px solid #dcd3cb !important;
    background: #FFFDFB;
    outline: none;
    box-shadow: none;
    margin-right: 10px;
    margin-bottom: 5px;
    padding: 6px 8px !important;
}
.formtable td.smaller-inputs input {
    max-width: 140px!important;
}
.smaller-inputs{
display: flex;
}
.vector-feature-zebra-design-disabled .mw-body .firstHeading{
margin-bottom: 20px;
}
.publication .main-details {
width: clamp(300px, 40vw, 670px);
}
.wikitable tr td:first-child{
color: #64757D;
}
.publication th{
font-weight: normal !important;
}
.publication .main-details table{
width: 100%;
text-align: left;
}
h1, h2, h3, h4{
font-family: sans-serif !important;
}
.publication{
width: 100%;
}
.cdx-text-input__input:enabled {
    background-color: #fffaf6;
    color: #204251;
    border-color: #f0eae5;
    box-shadow: none;
    transition-property: 
}
#mw-createaccount-cta {
    width: 20em;
    background: transparent;
    margin: 0 auto;
    padding-top: 20px;
    font-weight: bold;
}
.cdx-checkbox__icon {
    background-color: #fffaf7;
    box-shadow: none;
    border-color: #f0eae5 !important;
}
.cdx-button:enabled, .cdx-button.cdx-button--fake-button--enabled {
    background-color: transparent;
    border-color: #7A898F;
}
.cdx-button:enabled.cdx-button--weight-primary.cdx-button--action-progressive, .cdx-button.cdx-button--fake-button--enabled.cdx-button--weight-primary.cdx-button--action-progressive {
    background-color: #213A45;
    color: #fff;
    border-color: #213A45;
}
.publication{
    margin-top: 0px;
    border-bottom: 0px;
}
.publication h2{
margin-top: 0px;
}
h2{
border-bottom: 0;
}
.publication .side-details{
vertical-align: top
}
.publication .side-details{
width: clamp(280px, 30%, 370px);
}
.publication .side-details table{
width: c100%;
}
.publication .main-details{
padding-right: 20px;
vertical-align: top;
}
.page-Main_Page.rootpage-Main_Page .mw-list-item.selected a{
border: 1px solid #F0EAE5;
border-radius: 10px;
}
.no-data-{
display: none !important;
}
.home-box h1{
border-bottom: 0px;
}
.homebox-cell{
    width: 50%;
}
.homebox-cell h2{
    margin-top: 0px;
    border-bottom: 0px;
    text-align: left;
}
.homebox-cell ul{
    text-align: left;
}
.middle-boxes{
    width: 100%;
}
.page-Main_Page.rootpage-Main_Page #firstHeading{
display: none;
}
.page-Main_Page.rootpage-Main_Page #bodyContent .homebox-cell table{
background: white;
    border: 1px solid #F0EAE5;
    border-radius: 5px;
    width: 100%;
    padding: 15px;
min-height: 300px;
}
.homebox-cell:first-child{
padding-right: 8px;
}
.homebox-cell:last-child{
padding-left: 8px;
}
.page-Main_Page.rootpage-Main_Page #bodyContent .wikitable-header.home-box td:first-child{
padding: 15px;
}
.page-Main_Page.rootpage-Main_Page #bodyContent .cat-class{
font-weight: 600;
    font-size: 16px;
    text-align: left;
    padding-top: 20px;
    padding-bottom: 5px;
}
.page-Main_Page.rootpage-Main_Page #bodyContent .wikitable-categories{
padding: 15px;
}
.page-Main_Page.rootpage-Main_Page #bodyContent .wikitable-categories h2{
border-bottom: 0px;
text-align: left;
margin-top: 0px;
}
.page-Main_Page.rootpage-Main_Page #bodyContent{
background: transparent;
border: none;
padding: 0px;
}
.page-Main_Page.rootpage-Main_Page #bodyContent .home-box{
background: white;
    border: 1px solid #F0EAE5;
    border-radius: 5px;
}
.page-Main_Page.rootpage-Main_Page #bodyContent .home-box td{
width: 50%;
}

.page-Main_Page.rootpage-Main_Page #bodyContent .home-box td img{
    width: 100%;
    height: auto;
}

#p-Categories .mw-list-item{
border-top: 1px solid #F0EAE5;
    padding-top: 3px;
    padding-bottom: 3px;
}
[aria-label="Contents"]{
display: none !important;}
.vector-feature-zebra-design-disabled .vector-header-container {
    max-width: 100%;
}
#p-Categories{
margin-top: 30px;
}
#vector-main-menu .vector-menu-heading{
display: none !important;
}
.vector-feature-zebra-design-disabled .vector-pinnable-element > *:not(:last-child){
border-bottom: none;
}
#p-Main li a,.vector-feature-zebra-design-disabled .vector-pinnable-element .mw-list-item a, .vector-feature-zebra-design-disabled .vector-dropdown-content .mw-list-item a{
color: #365461;
}
.mw-logo-icon{
  width: 190px;
}
.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
    border: 1px solid #F0EAE5;
    padding: 0.3em 0.4em;
}
.vector-header-container{
border-bottom: 1px solid #F0EAE5;
background-color: white;
  position: fixed;
  top: 0px;
  left: 0;
  right: 0;
  z-index: 9999;
}
#bodyContent{
padding: 15px;
}
.vector-feature-zebra-design-disabled body {
  background-color: #F6F6F6;
  color: #213A45;
  padding-top: 100px;
}
.wikitable > tr > th, .wikitable > * > tr > th {
    background-color: inherit;
    text-align: left;
    color: #64757D;
    font-weight: 300;
}
.wikitable tr:nth-child(even){
background-color: #FEFAF5;
}
.wikitable {
    background-color: #FFFFFF;
color: #213A45;
}
#catlinks ul li a, .cat-link a{
background-color:#E9F5FA;
display: inline-block;
    padding: 7px 20px;
    border-radius: 20px;
}
.catlinks {
    background-color: transparent;
    border: none;

}
.cat-link a{
    margin-right: 6px;
    margin-bottom: 8px;
}
.catlinks li{
border-left: none;
}
#catlinks ul li a:visited, .cat-link a:visited{
background-color:#EFEDF5;
}
#catlinks ul li a.new, .cat-link a.new{
background-color: #FFEDED;
}
.wikitable-categories td{
width: 50%;}
.vector-feature-zebra-design-disabled .mw-page-container{
    background: transparent;
}
#p-views li a{
color: #556E79 !important
}
.vector-feature-zebra-design-disabled .mw-page-container-inner{
display: block;
}

.vector-page-titlebar, .vector-page-toolbar-container{
box-shadow: none;
}
#p-associated-pages .mw-list-item.selected a{
    background: white;
    border: 1px solid #F0EAE5;
    border-bottom: 0px;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    padding-left: 10px !important;
    padding-right: 10px !important;
    padding-top: 10px !important;
    padding-bottom: 9px;
}
.vector-page-toolbar{
    z-index: 9;
    margin-bottom: 0px;
}
#bodyContent{
    background: white;
    margin-top: -2px;
    border: 1px solid #F0EAE5;
    border-radius: 4px;
    padding-bottom: 30px;
}
.vector-feature-zebra-design-disabled #vector-main-menu-pinned-container .vector-main-menu{
    padding: 0px 0px;
    background-color: transparent;
}

#p-associated-pages{
}
#searchInput, .cdx-typeahead-search .cdx-text-input--has-start-icon .cdx-text-input__input{
    background-color: #FEFAF5;
    border: 1px solid #F0EAE5;
}
.cdx-typeahead-search .cdx-text-input--has-start-icon .cdx-text-input__input{
padding-left: 10px;
}
.cdx-button.cdx-search-input__end-button, .cdx-search-input--has-end-button{
    background: transparent;
    border: 0;
}
#searchform {

}
.cdx-search-input .cdx-text-input__icon.cdx-text-input__start-icon{
display: none;
}
.cdx-button.cdx-search-input__end-button{
    position: absolute;
    right: 0px;
}
.mw-header .vector-typeahead-search-container{
    max-width: 280px;
position: relative;
}
.cdx-button.cdx-search-input__end-button{
font-size: 0px;
background-image: url('data:image/svg+xml,<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="7.57241" cy="7.19834" r="5.93667" transform="rotate(-90 7.57241 7.19834)" stroke="%23204150" stroke-width="1.86969"/><path d="M11.8608 11.3959L16.9994 16.5345" stroke="%23204150" stroke-width="1.86969"/></svg>');
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

#searchform .cdx-icon cdx-icon--medium.cdx-text-input__icon-vue.cdx-text-input__start-icon{
display: none;
}
.vector-menu-tabs .mw-list-item a, a,#pt-userpage-2 a:not(.mw-selflink), .mw-parser-output a.extiw, .mw-parser-output a.external{
color: #2C80A5;
}
a:visited {
    color: #8A75DE;
}
.side-details table tr td{
border: 0px; 
background:#FEFAF5;
}
.side-details table {
    border: 1px solid #F0EAE5;
    text-align: left;
}
a[href="/index.php?title=Special:Preferences&useskin=vector&wprov=vctw1#mw-prefsection-rendering-skin"]{
display: none !important;}
@media screen and (min-width: 1000px){
.vector-feature-main-menu-pinned-enabled .vector-header-container {
    padding-left: 20px;
    padding-right: 20px;
}
.vector-feature-main-menu-pinned-enabled #mw-navigation{
position: fixed;
    left: 0px;
    top: 0px;
    bottom: 0px;
    padding: 100px 10px 10px 30px;
    background: white;
    border-right: 1px solid #F0EAE5;
    min-width: 160px;
}
.vector-feature-main-menu-pinned-enabled .mw-page-container{
padding-left: 230px;
    background: transparent;
}

}