MediaWiki: Common.css

From The Lost Media Wiki
Revision as of 00:04, 17 December 2017 by Anton (talk | contribs)
Jump to: navigation, search

Note: After saving, 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: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will be applied to all skins */

/* css overrides for skin metrolook */
/*

body {
  background-color: white !important;
}

@font-face {
    font-family: lvnm;
    src: url(/skins/common/fonts/lvnm.ttf);
}

*{
  font-family:lvnm;
}

div#mw-head, div.vectorMenu{
background:#127A23 !important; 
}

body{
background: url(http://lostmediawiki.com/skins/Metrolook/images/Wiki-background_v2.png) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}

#right-navigation {
  left: 0;
  position: absolute;
  top: 40px;
}

div#simpleSearch{
  width:10em;
}

div#content{
  width:70%;
  margin: 0 auto;
}

div.vectorMenu h5 > a {
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #fff;
  height: 0;
  margin-top: 15px;
  width: 0;
  padding: 5px 0px;
}

.lighthover > img, .lighthover > :nth-child(3){
  display:none;
}

#contentSub{
  display:none;
}

.onhoverbg:hover {
  background: none repeat scroll 0 0 #194517 !important;
}

div.vectorTabs a:hover {
  background: none repeat scroll 0 0 #194517;
}

#right-navigation{
  width:180px;
}

div.vectorMenu li.selected a, div.vectorMenu li.selected a:visited {
  color: #000 !important;
}

div.vectorMenu ul {
  border-color: #194517 !important;
  border-right: 2px solid #194517 !important;
}

#mw-panel .portal .body a {
  color: #fff !important;
}

#mw-panel .portal .body a:hover {
  color: #cccccc !important;
}

#mw-panel .portal h5 a {
  color: #50a84d !important;
  font-size: large;
  font-weight: 600;
}

#mw-panel .portal h5 a:hover {
  color:#cccccc !important;
}

#mw-panel{
  top:75px !important;
}
*/
/* CSS overrides for the skin metrolook ends here*/

/*
Infobox related style
*/
.wikia-infobox td, .wikia-infobox th {
  overflow: hidden;
  padding: 2px 3px 7px;
  vertical-align: top;
}

.wikia-infobox {
  border: 1px solid #cccccc;
  float: right;
  line-height: 15px;
  margin: 0 0 16px 16px;
  padding: 15px 8px 8px;
  width: 247px;
}

.wikia-infobox th {
  font-weight: bold;
  text-align: left;
  width: 20%;
}

.wikia-infobox th.wikia-infobox-header {
  font-size: 17px;
  font-weight: bold;
  margin-top: 20px;
  padding: 5px 3px 8px;
  text-align: left;
}

.wikia-infobox th .wikia-infobox-section-header {
  border-top: 1px solid #cccccc;
  margin-top: 7px;
  padding-top: 20px;
}

.wikia-infobox .wikia-infobox-image {
  overflow: hidden;
  padding: 0;
  text-align: center;
  width: 225px;
}

.wikia-infobox .wikia-infobox-caption {
  font-size: 12px;
  text-align: center;
}

.wikia-infobox-image img {
  margin: 0 auto;
  text-align: center;
}
/*
*Infobox related css
*/

#ca-talk { display:none!important; }

#ca-view { display:none!important; }

.form-control, .form-group { width: 100% !important; }

ul.sub-side-menu { padding-top:8px }