MediaWiki:Common.css: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
mNo edit summary
(Show three lines on category links)
 
(135 intermediate revisions by 3 users not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
body.page-Main_Page h1.firstHeading,
body {
body.page-Medieval_Engineers_Wiki_News h1.firstHeading,
background-image: URL("http://test.medievalengineers.com/wp-content/uploads/2016/12/Website-Background9.jpg");
body.page-Medieval_Engineers_Wiki_News_Archive h1.firstHeading,
color: white;
body.page-Main_Page div#contentSub,
font-size:18px;
body.page-Main_Page div#jump-to-nav
}
  { display:none; }
#mw-head{
 
background-color:rgba(80,60,30,0.8);
/*///////////////////////////
border-bottom: 2px solid rgba(183,143,81,0.8);
  Namespace modifications
}
///////////////////////////*/
#mw-panel, .mw-body, h1, h2, h3, h4, h5, #mw-page-base, #mw-head-base,div#mw-panel div.portal h3, div.vectorMenu h3 span{
.ns-3012 .mw-body { border-color: rgb(141,37,37,0.8); }
color:white;
.ns-8 .mw-body { border-color: red; }
background:none;
.ns-10 .mw-body { border-color: rgba(183,143,81,0.8); }
}
 
a{
/*///////////////////////////
color:rgb(183, 143, 81) !important;
          Editor
}
///////////////////////////*/
a:visited{
.wikiEditor-ui-buttons {
color:rgb(137,97,35) !important;
  display: none !important;
}
div.vectorTabs li a{
color:white !important;
}
a.new, #p-personal a.new{
color:#ba0000 !important;
}
a.new:visited, #p-personal a.new:visited, li.new a{
color:#a55858 !important;
}
#p-logo{
margin-top:55px;
}
div.vectorTabs ul li{
color:white !important;
background-color:#3b2f26;
background-image:none;
}
}
div.vectorTabs ul li.selected{
 
color:white !important;
/*///////////////////////////
background-color:#b78f51;
        General Use
background-image:none;
///////////////////////////*/
font-weight: bold;
.hoverzoom {
  -webkit-transition: all 100ms ease;
  -moz-transition: all 100ms ease;
  -ms-transition: all 100ms ease;
  -o-transition: all 100ms ease;
  transition: all 100ms ease;
}
}
.mw-body{
 
border: 1px solid #222;
.hoverzoom:hover {
background-color:rgba(0,0,0,0.5);
  transform: scale(1.05);
font-size:16px;
}
}
div#footer ul li{
 
color:rgb(123,123,123);
/*///////////////////////////
        Templates
///////////////////////////*/
.small-box {
  border-style: solid;
  border-width: 1px;
  padding: 0px 4px;
}
}
div.vectorTabs span, div.vectorTabs, div#mw-head div.vectorMenu h3{
.notification-box {
background-image:none;
  border-style: solid;
  border-width: 1px;
  width: 40%;
  margin: auto;
  text-align: center;
  padding: 10px 10px 10px 10px;
}
}
div.vectorTabs span a{
.text-box {
padding-top:14px;
  margin: 0% 15%;
  border-style: solid;
  border-width: 1px;
  text-align: center;
  padding: 40px 40px 40px 40px;
}
}
pre, .mw-code{
.medium-box {
background-color:rgba(80,60,30,0.8);
  border-style: solid;
color:#CCC
  border-width: 1px;
  margin: 0% 20%;
  text-align: left;
  font-size: 18px;  
  padding: 10px 40px 10px 40px;
}
}
.menu ul li{
.large-box {
background-color:#3B2F26;
  border-style: solid;
  border-width: 1px;
  margin: 0% 5%;
  text-align: left;
  font-size: 18px;
  padding: 10px 40px 10px 40px;
}
}
.menu ul li:hover, .vectorTabs ul li:hover{
.header {
background-color:#B78F51;
  border-style: solid;
  border-width: 1px;
  text-align: center;
  font-size: 150%;
  padding: 5px 5px 5px 5px;
}
}
.menu ul li:hover a,.vectorTabs ul li:hover a{
.cat-text {
text-decoration:none;
  width: 128px;
  height: 4.8em;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  white-space: break-spaces;
}
}
.menu ul{
/* Infoboxes */
border-top:2px solid #B78F51;
.ib-main {
  width: 300px !important;
  padding: 0px !important;
  float: right;
  clear: right;
  margin: 0px 0px 10px 12px !important;
  font-size: 88%;
  border-style: solid;
  border-width: 1px;
}
}
.menu ul li a{
.ib-start {
color:white !important;
  padding: 5px 2.5px 5px 2.5px !important;
  margin: 0px !important;
  font-size: 120%;
  font-weight: bold;
}
}
#pagehistory .selected{
.ib-standard {
background-color:#3B2F26 !important;
  font-size: 88%;
  margin: 0em 0px 0px 0px !important;
}
}
div.thumbinner {
.ib-padding {
    background-color: transparent;
  padding: 0px 5px 2.5px 5px !important;
    /*border-style: none !important;*/
}
}
html .thumbimage {
.ib-padding-short {
    border-style: none !important;
  padding: 0px 5px 0px 5px !important;
}
}
table.wikitable > tr > th, table.wikitable > * > tr > th, table.mw_metadata, table.mw_metadata th, table.mw_metadata td, table.wikitable, th, td {
.ib-border-top {
    background-color: transparent;
  border-top-width: 1px;
    color: white;
  border-top-style: solid;
}
}
ul#filetoc {
.ib-cat-text {
    border: 1px solid #222;
  font-size: 88%;
    background-color: #3B2F26;
  margin: -0.5em 0px 2.5px 0px !important;  
  font-weight: bold;
}
}
.editOptions {
.ib-table {
    background-color:rgba(80,60,30,0.8);
  width:100%;
    border: 1px solid #222;
  font-size: 88%;
}
textarea {
    background-color:rgba(80,60,30,0.8);
    color: white;
    border: 1px solid #222;
}
textarea:focus {
    border: 1px solid #B78F51 !important;
    outline: none;
}
input:focus {
    outline: none;
}
.mw-warning {
    border: 1px solid #222;
    background-color: #3B2F26;
}
.wikiEditor-ui {
    background-color: transparent;
}
.wikiEditor-ui .wikiEditor-ui-view {
    border: none;
}
.wikiEditor-ui a{
    color: white !important;
}
.wikiEditor-ui-controls {
    background-color: rgba(80,60,30,0.8);
}
.wikiEditor-ui-tabs{
    border: none;
}
.wikiEditor-ui-tabs div.current {
    border: none;
    background-color: #b78f51;
}
.wikiEditor-ui-tabs div {
    float: left;
    height: 2.5em;
    background-color: #3b2f26;
    border: none;
}
.wikiEditor-ui-buttons {
    background-color: #3b2f26;
    border: none;
}
}

Latest revision as of 22:59, 12 August 2023

body.page-Main_Page h1.firstHeading,
body.page-Medieval_Engineers_Wiki_News h1.firstHeading, 
body.page-Medieval_Engineers_Wiki_News_Archive h1.firstHeading,
body.page-Main_Page div#contentSub,
body.page-Main_Page div#jump-to-nav
  { display:none; }

/*///////////////////////////
   Namespace modifications
///////////////////////////*/
.ns-3012 .mw-body { border-color: rgb(141,37,37,0.8); }
.ns-8 .mw-body { border-color: red; }
.ns-10 .mw-body { border-color: rgba(183,143,81,0.8); }

/*///////////////////////////
          Editor
///////////////////////////*/
.wikiEditor-ui-buttons {
  display: none !important;
}

/*///////////////////////////
        General Use
///////////////////////////*/
.hoverzoom {
  -webkit-transition: all 100ms ease;
  -moz-transition: all 100ms ease;
  -ms-transition: all 100ms ease;
  -o-transition: all 100ms ease;
  transition: all 100ms ease;
}

.hoverzoom:hover {
  transform: scale(1.05);
}

/*///////////////////////////
         Templates
///////////////////////////*/
.small-box {
  border-style: solid;
  border-width: 1px;
  padding: 0px 4px;
}
.notification-box {
  border-style: solid;
  border-width: 1px;
  width: 40%; 
  margin: auto; 
  text-align: center; 
  padding: 10px 10px 10px 10px;
}
.text-box {
  margin: 0% 15%;
  border-style: solid;
  border-width: 1px;
  text-align: center;
  padding: 40px 40px 40px 40px;
}
.medium-box {
  border-style: solid;
  border-width: 1px;
  margin: 0% 20%; 
  text-align: left; 
  font-size: 18px; 
  padding: 10px 40px 10px 40px;
}
.large-box {
  border-style: solid;
  border-width: 1px;
  margin: 0% 5%; 
  text-align: left; 
  font-size: 18px; 
  padding: 10px 40px 10px 40px;
}
.header {
  border-style: solid;
  border-width: 1px;
  text-align: center;
  font-size: 150%;
  padding: 5px 5px 5px 5px;
}
.cat-text {
  width: 128px;
  height: 4.8em;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  white-space: break-spaces;
}
/* Infoboxes */
.ib-main {
  width: 300px !important; 
  padding: 0px !important; 
  float: right; 
  clear: right; 
  margin: 0px 0px 10px 12px !important; 
  font-size: 88%; 
  border-style: solid;
  border-width: 1px;
}
.ib-start {
  padding: 5px 2.5px 5px 2.5px !important; 
  margin: 0px !important; 
  font-size: 120%; 
  font-weight: bold;
}
.ib-standard {
  font-size: 88%;
  margin: 0em 0px 0px 0px !important;
}
.ib-padding {
  padding: 0px 5px 2.5px 5px !important;
}
.ib-padding-short {
  padding: 0px 5px 0px 5px !important;
}
.ib-border-top {
  border-top-width: 1px;
  border-top-style: solid;
}
.ib-cat-text {
  font-size: 88%;
  margin: -0.5em 0px 2.5px 0px !important; 
  font-weight: bold;
}
.ib-table {
  width:100%;
  font-size: 88%;
}