MediaWiki:Common.css: Difference between revisions

From AI Wiki
No edit summary
No edit summary
 
(60 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 */
/* Old Infobox template style */
.infobox {
  border: 1px solid #020202;
  background-color: #f9f9f9;
  color: black;
  margin-bottom: 0.5em;
  margin-left: 1em;
  padding: 0.2em;
  float: right;
  clear: right;
}
.infobox td,
.infobox th {
  vertical-align: top;
}
.infobox caption {
  font-size: larger;
  margin-left: inherit;
}
.infobox.bordered {
  border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
  border: 1px solid #020202;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
  border: 0;
}
/* model infobox */
.model-infobox{
    float: right;
    position: relative;
    width: 300px;
    background: #fff;
    font-size: 0.923em;
    border: 1px solid #aaa;
    margin: 0 0 1em 1em;
    padding: 0;
}
.model-infobox p {
    padding: 5px 5px 5px 5px;
}
.model-infobox .heading {
    background-color: #878eb5 !important;
    font-family: EasonPro,"Times New Roman",serif !important;
    font-size: 1.417em !important;
    color: #fff !important;
    background-color: #444;
    text-shadow: rgba(0,0,0,0.75) 0 0 0.25em;
    line-height: 1.176em;
    font-size-adjust: 0.43;
    padding: 0.5em !important;
    font-weight: 700;
    background-image: url(/images/b/b3/Box_overlay.png) !important;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.25);
    border-bottom-width: 0;
    position: relative;
    z-index: 1;
    font-size-adjust: 0.52;
    margin: -1px -1px 5px !important;
}
.model-infobox .heading a {
    font-family: EasonPro,"Times New Roman",serif !important; 
    color: #fff !important;
}


.model-infobox-row {
.model-infobox-row {
Line 8: Line 83:


.model-infobox-cell {
.model-infobox-cell {
  padding-left:10px;
   width: 50%;  
   width: 50%;  
  word-break: break-all;
}
/* frontpage styles */
.frontpage.table {
  margin-bottom: 0.8rem;
}
/* make the header text in each frontpage section larger */
.frontpage .head {
  font-size: 16px
}
/* control the position of text in the body of the welcome message on the frontpage */
.frontpage.welcome .body {
  padding-left:2rem;
  padding-right:2rem;
  text-align: left;
}
}






/*Do Not display elements with .nodesktop class on Desktop*/
/* .table styles */
.nodesktop {
.table {
   display:none!important;
   border:1px solid #313235;
}
}




/* remove header on main page (AI ML Wiki) */
/* remove header on main page (AI ML Wiki) */
  body.page-AI_ML_Wiki h1.firstHeading { display:none; }
body.page-AI_ML_Wiki header.mw-body-header {
  display: none;
}
 
/* remove the empty space below the search bar and above the content */
div.vector-sitenotice-container {
  display: none;
}
 
 
.action-view .mw-body-subheader {
    display:none!important;
}

Latest revision as of 21:28, 14 June 2023

/* CSS placed here will be applied to all skins */


/* Old Infobox template style */
.infobox {
   border: 1px solid #020202;
   background-color: #f9f9f9;
   color: black;
   margin-bottom: 0.5em;
   margin-left: 1em;
   padding: 0.2em;
   float: right;
   clear: right;
}
.infobox td,
.infobox th {
   vertical-align: top;
}
.infobox caption {
   font-size: larger;
   margin-left: inherit;
}
.infobox.bordered {
   border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
   border: 1px solid #020202;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
   border: 0;
}

/* model infobox */
.model-infobox{
    float: right;
    position: relative;
    width: 300px;
    background: #fff;
    font-size: 0.923em;
    border: 1px solid #aaa;
    margin: 0 0 1em 1em;
    padding: 0;

}

.model-infobox p {
    padding: 5px 5px 5px 5px;
}

.model-infobox .heading {
    background-color: #878eb5 !important;
    font-family: EasonPro,"Times New Roman",serif !important;
    font-size: 1.417em !important;
    color: #fff !important;
    background-color: #444;
    text-shadow: rgba(0,0,0,0.75) 0 0 0.25em;
    line-height: 1.176em;
    font-size-adjust: 0.43;
    padding: 0.5em !important;
    font-weight: 700;
    background-image: url(/images/b/b3/Box_overlay.png) !important;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.25);
    border-bottom-width: 0;
    position: relative;
    z-index: 1;
    font-size-adjust: 0.52;
    margin: -1px -1px 5px !important;
}

.model-infobox .heading a {
    font-family: EasonPro,"Times New Roman",serif !important;   
    color: #fff !important;
}

.model-infobox-row {
   width: 100%; 
   display: flex; 
   flex-direction: row; 
}

.model-infobox-cell {
   padding-left:10px;
   width: 50%; 
   word-break: break-all;
}

/* frontpage styles */
.frontpage.table {
  margin-bottom: 0.8rem;
}

/* make the header text in each frontpage section larger */
.frontpage .head {
  font-size: 16px
}

/* control the position of text in the body of the welcome message on the frontpage */
.frontpage.welcome .body {
  padding-left:2rem;
  padding-right:2rem;
  text-align: left;
}



/* .table styles */
.table {
  border:1px solid #313235;
}



/* remove header on main page (AI ML Wiki) */
body.page-AI_ML_Wiki header.mw-body-header { 
  display: none;
}

/* remove the empty space below the search bar and above the content */
div.vector-sitenotice-container { 
  display: none;
}


.action-view .mw-body-subheader {
    display:none!important;
}