Culdcept Revolt Wiki
Advertisement

CSS and Javascript changes must comply with the wiki design rules.


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: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Clear the cache in Tools → Preferences
/* CSS placed here will affect users of the mobile site */

/* non-content area */
body {
    background: #000000 url("https://culdceptrevolt.gamepedia.com/culdceptrevolt.gamepedia.com/3/3b/Background-image.jpg");
    background-position: center; 
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #D5D4D4;
}

.nomobile {
    display: none;
} 

/* search header */
.pre-content #page-actions {
    background-color: rgba(0, 0, 0, 0.85) !important;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.85);
}

.overlay .overlay-header-container {
    background-color: rgba(0, 0, 0, 0.85) !important;
}

.search-overlay .overlay-header,
.search-overlay .results {
    background-color: rgba(0, 0, 0, 0.85) !important;
    color: #D5D4D4;
}

.search-overlay {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.85) !important; 
}

ul.suggestions-results,
ul.suggestions-results li {
    background-color: rgba(0, 0, 0, 0.85);
    color: #D5D4D4;
}

ul.suggestions-results li.suggestions-result {
    color: #D5D4D4;
}

.client-js .toc-mobile {
    background-color: rgba(0, 0, 0, 0) !important;
    border: 1px solid #404040 !important;
}

.mw-ui-button,
.last-modified-bar #mw-mf-last-modified {
    background-color: rgba(0, 0, 0, 0);
    color: #D5D4D4;
}

/* general header */
#mw-mf-header form,
#mw-mf-sq {
    background-color: rgba(0, 0, 0, 0.85);
}

#footer {
    border-top: 1px solid #394147;
    color: #D5D4D4;
}

#footer a {
    color: #FF5B20;
}

#footer h2 {
    color: #FF5B20;
}

/* content area */
div#content_wrapper {
    background-color: unset;
    border: 1px solid #394147;
    color: #000;
}

body.mediawiki #mw-mf-page-center {
    background: rgba(0, 0, 0, 0.7);
}

a,
a:visited,
a.external {
    color: ##0645ad;
}

h1, 
h2 {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    border-bottom: 1px solid #404040;
    color: #D5D4D4;
}

h3, h4, h5, h6 {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    color: #D5D4D4;
}

.thumb,
#content_wrapper .thumb,
li.gallerybox div.thumb {
    background-color: rgba(0, 0, 0, 0);
    border: 1px solid #394147;
}

.content table th {
    background-color: rgba(0, 0, 0, 0);
}

.content table td,
.content table th {
    border: 1px solid #404040;
    padding: 3px;
}

.content table.wikitable {
    background-color: rgba(0, 0, 0, 0);
    margin: auto;
    margin-bottom: 1em;
}

.content table.wikitable > tr > th,
.content table.wikitable > tr > td,
.content table.wikitable > * > tr > th,
.content table.wikitable > * > tr > td {
    border: 1px solid #404040;
}

.content table.wikitable > tr > th,
.content table.wikitable > * > tr > th {
    background-color: rgba(0, 0, 0, 1);
    padding: 3px;
}

.mwm-notice,
#searchbox {
    background-color: rgba(0, 0, 0, 0);
    border: 2px solid #394147;
    border-radius: 5px 5px 5px 5px;
}

.divclearable,
a.watch-this-article,
.jsEnabled #mw-mf-main-menu-button {
    background-color: rgba(0, 0, 0, 0);
}

a.back_to_top,
a.back_to_top:visited {
    margin-top: 7px;
}

/* INFOBOXES: game or book depended color style */
.infoboxtable {
    background: #000000; 
    background-image: -moz-linear-gradient(center top, #1A1D20 60%, #0A0B0C 100%); 
    background-image: -webkit-gradient(linear, center top, left bottom, color-stop(60%,#1A1D20), color-stop(100%,#0A0B0C)); 
    background-image: -webkit-linear-gradient(top, #1A1D20 60%, #0A0B0C 100%); 
    background-image: -o-linear-gradient(top, #1A1D20 60%, #0A0B0C 100%); 
    background-image: -ms-linear-gradient(top, #1A1D20 60%, #0A0B0C 100%); 
    background-image: linear-gradient(to bottom, #1A1D20 60%, #0A0B0C 100%); 
    border: 1px solid #404040; 
    color: #ffffff;
    float: right;
    font-size: 89%; 
    margin-bottom: 0.5em; 
    margin-left: 1em; 
    padding: 0.2em; 
    width: 300px !important;
}

.infoboxtable td {
    vertical-align: top;
}

.infoboxtable td > div {
    background-color: rgb(41, 43, 46); 
    border: 2px solid inherit; 
    border-radius: 5px; 
    font-weight: bold;
    padding: 0.5px 7px;
    text-align: right;
}

.infoboxtable td > .tabber.tabberlive {
    background-color: rgba(0, 0, 0, 0); 
}

div.infoboxtable td * ul.tabbernav {
    text-align: center;
}

.infoboxtable td > .tabber .tabbertab {
    padding: 0;
}

/* Responsive main page stuff */
/********************
/* Main menu styles *
/********************/
.primary-navigation-enabled {
  border-left: 12px solid #505050 !important;
  background: #101010 !important;
}

#mw-mf-page-left {
  border-left: 12px solid #505050;
  background: transparent;
}

#mw-mf-page-left ul {
  background: transparent;
}

#mw-mf-page-left ul:first-child {
  border-bottom: 12px solid #505050;
}

#mw-mf-page-left ul li {
  border-top: 1px solid #505050;
  border-bottom: 1px solid #505050;
  background: transparent;
  text-shadow: none;
}

#mw-mf-page-left ul li a,
#mw-mf-page-left ul.hlist li a {
  border: none;
  color: #3674b3;
}

#mw-mf-page-left ul li:hover {
  border-left: 12px solid #aaaaaa;
  background: #505050;
}

#mw-mf-page-left ul.hlist li:hover {
  border: none;
}

#mw-mf-page-left ul li:hover a,
#mw-mf-page-left ul.hlist li:hover a {
  color: #ffffff;
}

/*********************
/* Front page styles *
/*********************/
.fpbox {
  border-radius: 5px;
  border: 2px solid #505050;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0) inset;
  background: rgba(255,255,255,.95);
  color: #000;
  margin: 5px;
  padding: 5px;
}

.fpbox .welcome {
  border-bottom: 1px solid #505050;
  background: transparent;
  /* color: #e0e0e0; */
  font-size: 150%;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 10px 0;
  padding: 0 0 5px 0;
}

.fpbox .heading {
  border-bottom: 1px solid #505050;
  background: transparent;
  /* color: #e0e0e0; */
  font-size: 132%;
  font-variant: small-caps;
  margin: 0 0 10px 0;
  padding: 0 0 5px 0;
}

.fpbox .heading .smalllink {
  color: #3674b3;
  font-weight: bold;
  font-size: 75%;
}

.fpbox hr {
  border: none;
  border-bottom: 2px solid #505050;
}

.fpplainbox {
  padding: 5px 8px 10px 8px;
  margin: 0 5px 10px 5px;
  vertical-align: top;
}

.fplinks {
  margin: -2px -3px;
}

.fplinks .linkslabel {
  border-bottom: 2px solid #505050;
  margin: 6px 3px 0 3px;
}

.fplink {
  display: inline-block;
  vertical-align: middle;
  width: 100%;
}

/* Yeah, using display: table makes for a lot of extra markup, but it makes proportionate sizing and vertical centering a lot easier, so going with it */
.fplink .box {
  display: table;
  width: 100%;
  border-spacing: 2px 3px;
  border-collapse: separate;
}

.fplink .box .row {
  display: table-row;
}

.fplink .box .row .cell {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  border: 2px solid #505050;
  border-radius: 2px;
  box-shadow: 0 0 0 2px #505050 inset;
  /* color: #e0e0e0; */
  display: table-cell;
  font-weight: bold;
  position: relative;
  text-align: center;
  text-transform: uppercase;
  vertical-align: middle;
}

.fplink.wide .box .row .cell {
  padding: 0 5px;
}

.fplink.image {
  width: 78px;
  height: 78px;
}

.fplink.image .box .row .cell {
  width: 70px;
  height: 70px;
  vertical-align: bottom;
}

.fplink.image .box .row .cell .image img {
  width: 70px;
  height: 70px;
}

@media (min-width: 188px) {
  .fplink {
    width: 50%;
  }

  .fplink.wide {
    width: 100%;
  }
}

@media (min-width: 294px) {
  .fplink {
    width: 33.333%;
  }

  .fplink.wide {
    width: 66.666%;
  }
}

@media (min-width: 400px) {
  .fplink {
    width: 25%;
  }

  .fplink.wide {
    width: 50%;
  }

  .fplink.image {
    width: 108px;
    height: 108px;
  }

  .fplink.image .box .row .cell {
    width: 100px;
    height: 100px;
  }

  .fplink.image .box .row .cell .image img {
    width: 100px;
    height: 100px;
  }
}

@media (min-width: 506px) {
  .fplink {
    width: 20%;
  }

  .fplink.wide {
    width: 40%;
  }
}

@media (min-width: 612px) {
  .fplink {
    width: 16.666%;
  }

  .fplink.wide {
    width: 33.333%;
  }
}

@media (min-width: 718px) {
  .fplink {
    width: 14.285%;
  }

  .fplink.wide {
    width: 28.571%;
  }
}

@media (min-width: 824px) {
  .fplink {
    width: 12.5%;
  }

  .fplink.wide {
    width: 25%;
  }
}

@media (min-width: 930px) {
  .fplink {
    width: 11.111%;
  }

  .fplink.wide {
    width: 22.222%;
  }
}

@media (min-width: 1036px) {
  .fplink {
    width: 10%;
  }

  .fplink.wide {
    width: 20%;
  }

  .fplink.image {
    width: 128px;
    height: 128px;
  }

  .fplink.image .box .row .cell {
    width: 120px;
    height: 120px;
  }

  .fplink.image .box .row .cell .image img {
    width: 120px;
    height: 120px;
  }
}

.fplink.image .image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  font-size: 75%;
  z-index: 1;
}

.fplink.image a {
  z-index: 2;
}

.fplink a {
  display: block;
  position: relative;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 3px 5px;
}

.fplink.image .image a {
  padding: 0;
}

.fplink.image .link a {
  border-top: 2px solid #505050;
  background: #ddddb7 !important;
}

.fplink.wide a {
  margin: 0 -5px;
}

.fplink.image a {
  top: auto;
}

.fpvideos {
  margin: 0 auto;
  overflow: hidden;
  text-align: center;
  max-width: 480px;
}

.fpvideo {
  position: relative;
  padding-top: 25px;
  padding-bottom: 56.25%;
  height: 0;
}

.fpvideo iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
Advertisement