MediaWiki:Common.css

From APICO Wiki
Jump to navigation Jump to search

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.
/* don't touch this on pain of death by 1000 bees */

body {
  background: #e9e6e2 !important;
  color: #5A5A5A !important;
  font-family: 'Helvetica', 'Arial', sans-serif !important;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, li {
  color: #5A5A5A !important;
  font-family: 'Helvetica', 'Arial', sans-serif !important;
}

.patch-link {
  color: #c9904f !important;
  text-decoration: underline;
  margin-bottom: 10px;
}

.patch-notes b {
  font-size: 14px !important;
}
.patch-notes li {
  font-size: 14px !important;
}
.patch-notes ul {
  list-style: none;
}
.patch-notes li:before {
  content: '- ';
}
.patch-notes ul ~ b {
  padding-top: 20px;
  display: block;
}

a {
  color: #c9904f !important;
}
a.new {
  color: #b9466b !important;
}

#left-navigation {
  display: none;
}

.spoilers {
  background: #cfccca;
  display: inline-block;
  padding: 16px;
  border-radius: 8px;
}
.spoilers b {
  margin-top: 10px;
  float: left;
  color: #b9466b !important
}
.spoilers.full {
  width: 100%;
  text-align: left;
  margin-bottom: 20px;
}
.spoilers.full span {
  display: block;
  text-align: left;
  margin-top: 10px;
}

.mw-body, .parsoid-body,
.editOptions {
  background: none;
  border: none;
  color: #5A5A5A !important;
}

.editOptions {
  padding: 10px 0 0 0;
}


#mw-head {
  background: #564457;
  margin-top: 20px;
}

#p-personal {
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  background: #3e3245;
  padding: 0 10px;
}

#content {
  margin-top: 20px;
}

a.mw-wiki-logo {
  width: inherit !important;
  height: inherit !important;
  background-size: contain !important;
}
#p-logo {
  width: 180px !important;
  margin-top: 40px !important;
  height: 50px !important;
}

#p-views,
#p-cactions,
#p-cactions-label {
  background: none !important;
}

.vector-menu-content-list {
  list-style: none !important;
}

.vector-menu-tabs li,
.vector-menu-tabs a {
  border: none !important;
  background: none;
}
.vector-menu-tabs li.selected,
.vector-menu-tabs li.selected a {
  background-color: #c9904f;
  color: white !important;
}

#p-cactions h3 {
  color: #c9904f !important;
}

#searchInput {
  background: #3e3245;
  border: none;
  color: #c9904f !important;
  padding: 0 10px;
}

.aw * {
  font-size: 16px !important;
  box-sizing: border-box;
}

.aw-panel {
  height: 240px;
}

.aw-panel--left {
  width: calc(100% - 320px);
  float: left;
}
.aw-panel--right {
  width: 300px;
  float: right;
}

.aw-info {
  text-align: center;
}
.aw-info > p:nth-child(1),
.aw-info > p:nth-child(1) i {
  font-size: 18px !important;
  margin: 0px;
}
.aw-info p.sh {
  margin-top: 0px
}
.aw-info > span a img {
  margin: auto;
  display: block;
  width: 144px;
  height: 144px;
}
.aw-info .aw-info--bees {
  width: 154px;
  margin: auto;
}
.aw-info .aw-info--bees img,
.aw-info .aw-info--special img {
  background: #a8a6a5;
  padding: 8px;
  box-sizing: border-box;
  border-radius: 4px;
  width: 64px;
  height: 64px;
}
.aw-info .aw-info--bees span:nth-child(1) img {
  margin-right: 8px;
}
.aw-info .aw-info--bees span:nth-child(2) img {
  margin-left: 8px;
}

.aw-info {
  background: #cfccca;
  padding: 16px;
  border-radius: 8px;
}

div#toc {
  background: none;
  border: 2px solid #cfccca;
  padding: 20px;
  border-radius: 8px;
}
div#toc .tocnumber {
  color: #5A5A5A !important
}

.aw h1,
.aw h1 span {
  font-size: 20px !important;
  margin-top: 64px;
}
.aw h1 {
  border-bottom: 2px solid #cfccca;
}

.aw h1 .mw-headline a img {
  position: absolute;
  left: 0;
}
.aw h1 {
  position: relative;
  height:40px;
  line-height:32px;
  padding: 0 40px;
}

.aw-panel--left > p:nth-child(1) {
  max-width: 600px !important;
  padding-bottom: 8px;
}



.aw-cb--row {
  padding: 10px 0;
}


.aw-cb--row .bee,
.aw-bee {
  position: relative;
  width: 78px;
  height: 78px;
  display: inline-block;
}

.aw-cb--row .bee a,
.aw-bee a {
  background: none;
  padding: 8px;
  box-sizing: border-box;
  border-radius: 4px;
  width: 78px;
  height: 78px;
  position: relative;
}
.aw-cb--row .bee img,
.aw-bee img {
  width: auto;
  height: auto;
  background: none;
  padding: 0px;
}

.aw-cb--row .bee a:nth-child(1),
.aw-bee a:nth-child(1) {
  position: absolute;
  top: 0;
  left: 0;
}
.aw-cb--row .bee a:nth-child(1) img,
.aw-bee a:nth-child(1) img {
  width: 78px !important;
  height: 78px !important;
}

.aw-cb--row .bee a:nth-child(2),
.aw-bee a:nth-child(2) {
  position: absolute;
  top: 15px;
  left: 15px;
}
.aw-cb--row .bee a:nth-child(2) img,
.aw-bee a:nth-child(2) img {
  width: 48px !important;
  height: 48px !important;
}

.aw-cb--row .add img {
  margin: 0px 20px 0 20px !important;
  display: inline-block;
}

.aw-cb--row .condition {
  position: relative;
  margin: 0 20px;
  display: inline-block;
  height: 10px !important;
  width: 300px;
  text-align: center;
}

.aw-cb--row .condition img {
  position: absolute;
  top: 15px;
  left: 80px
}
.aw-cb--row .condition span {
  position: relative;
  z-index: 10;
  top: -10px;
}
.aw-traits {
  margin-top: 16px;
}
.aw-traits--left {
  width: 186px;
  display: inline-block;
  vertical-align: top;
}
.aw-traits--left img {
  width: 186px !important;
  height: auto !important;
}
.aw-traits--left a img {
  width: 186px !important;
  height: auto;
}

.aw-traits--right {
  display: inline-block;
  vertical-align: top;
  width: calc(100% - 268px);
  padding-left: 20px;
}

.aw-traits--right p {
  margin: 0px;
  height: 40px;
  line-height: 40px !important;
  margin-bottom: 2px;
}

.aw-icon {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: inline-block;
  background: #cfccca;
  line-height: 32px;
}
.aw-icon img {
  width: 32px;
  height: 32px;
  margin-top: -2px;
}

.aw-bee ~ .aw-bee {
  margin-left: 10px;
}

#bodyContent {
  max-width: 960px
}

.spoilers img {
  background: #a8a6a5;
  padding: 8px;
  box-sizing: border-box;
  border-radius: 4px;
  width: 64px;
  float: left;
  height: 64px;
  margin-right: 8px;
}

.aw-icon.full {
  width: 64px;
  height: 64px;
  border-radius: 4px;
  display: inline-block;
  background: #cfccca;
  line-height: 64px;
  box-sizing: border-box;
}
.aw-icon.full img {
  border-radius: 4px;
  width: 64px;
  height: 64px;
  padding: 8px;
  box-sizing: border-box;
}
.aw-icon.full ~ .aw-icon.full {
  margin-left: 10px;
  margin-top: 10px;
}

.aw-overview--card {
  background: none;
  padding: 16px;
  border-radius: 8px;
  width: 300px;
  float: left;
  border: 2px solid #cfccca;
  margin: 10px;
  font-size: 13px !important;
}

.aw-overview--card > a {
  font-size: 13px !important;
}

.aw-overview--card h1 {
  margin: 0px;
  position: relative;
  padding-right: 0px;
  margin-bottom: 10px;
}
.aw-overview--card h1 .mw-headline {
  display: block;
  margin-top: 0px;
}
.aw-overview--card h1 .mw-headline span {
  float: right;
  margin-top: 0px;
}
.aw-overview--card h1 span a {
  font-size: 14px !important;
}

div#mw-head {
  background-image: url("https://static.miraheze.org/apicowiki/thumb/b/b2/Banner_Image.png/1600px-Banner_Image.png");
  background-position: left top;
  background-size: 2000px 140px;
  height: 140px;
  background-repeat: no-repeat;
  margin-top: 0;
}
.mw-wiki-logo {
  background: none;

}
#p-logo {
  margin-top: -30px !important;
  height: 100px !important;
}
#content {
  margin-top: 60px;
}
#mw-panel {
  margin-top: 70px;
}

#p-personal {
  z-index: 100000;
  top: 0;
  background: none;
}
#p-personal * {
  color: white !important;
}

#right-navigation {
  margin-top: 100px !important;
}
#right-navigation a {
  color: white !important;
}

.oo-ui-icon-tray, .mw-ui-icon-tray:before {
  fill: #fff;
}

#ca-unwatch {
  display: none;
}

#searchInput {
  background: #e9e6e2;
}
.vector-menu-tabs li a {
  padding-top: 12px;
  padding-left: 10px;
  padding-right: 10px;
}
#pt-anonuserpage, #pt-userpage a {
  background: none;
}
#p-search form {
  margin: 0;
}
.vector-menu-portal .vector-menu-content li a {
  font-size: 14px;
  line-height: 18px;
}

table.wikitable {
   border: 2px solid #cfccca;
}

table.wikitable th {
  background: #cfccca;
  border: none;
  color: #555;
  font-size: 12px !important;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

table.wikitable td {
  background: #e9e6e2 !important;
  color: #5A5A5A !important;
  border: 2px solid #cfccca;
  font-size: 14px !important;
}
table.wikitable td a {
  font-size: 14px !important;
}
table.wikitable td div {
  font-size: 14px !important;
}
table.wikitable td div.spoilers {
  color: #b9466b !important
}

#catlinks {
  background: none;
  border: 2px solid #cfccca;
  font-size: 14px !important;
}

/* mobile test stab 1 */
@media only screen and (max-width: 600px) {
  .aw-overview--card {
    width: calc(100% - 20px);
  }
  #mw-panel {
    position: absolute !important;
    display: none !important;
  }
  #content,
  #footer {
    margin-left: 0;
  }
  #p-views,
  #p-cactions,
  #p-personal {
    display: none;
  }
  #simpleSearch {
    width: 300px !important;
    max-width: 300px;
    height: 40px;
  }
  #searchInput {
    height: 40px;
  }
  #right-navigation {
    margin-top: 55px !important;
  }
}

.aw-break { display: none; }
@media only screen and (max-width: 600px) {
  .aw-break { display: block !important; }
  .aw-panel {
    display: flex; 
    flex-flow: column;
    height: 700px;
  }
  .aw-panel--left {
    order: 2;
    width: 100%;
  }
  .aw-panel--right {
    order: 1;
    width: 100%;
  }
  .aw-traits--left {
    width: 100%;
  }
  .aw-traits--left img {
    margin: auto;
    display: block;
  }
  .aw-traits--right {
    text-align: center;
    margin: auto;
    width: 100%;
  }
  .aw-cb--row .add img {
    margin: 0 2px !important;
  }
  .aw-cb--row .condition {
    width: 160px !important;
    margin: 20px 0 0 0;
  }
  .aw-cb--row .condition span {
    top: 10px;
  }
  .aw-cb--row .condition img {
    left: 10px;
    top: 30px;
  }
}

.aw-code--ref {
  border: none;
  font-size: 14px;
  font-weight: normal;
}
.aw-code {
  white-space: pre-line;
  font-family: monospace;
  background: #242f40;
  color: #88a0ab;
  padding: 5px 10px;
  line-height: 20px;
  font-size: 13px;
  font-weight: normal;
  border-radius: 4px;
}
.aw-inline--code {
  white-space: pre-line;
    font-family: monospace;
    background: #242f40;
    font-size: 13px !important;
    color: #bbd4de;
    padding: 2px 4px 4px 4px;
    border-radius: 2px;
}
.aw-code p {
  white-space: pre-line !important;
  font-family: monospace !important;
  background: #242f40 !important;
  color: #88a0ab !important;
  padding: 0px 20px;
  margin: 0px;
  line-height: 20px;
  font-size: 13px;
  font-weight: normal;
  border-radius: 4px;
}
.aw-code .cf {
  color: #ecb046;
}
.aw-code .cp {
  color: #da8150;
}
.aw-code .ca {
  color: #5188d4;
}
.aw-code .cd {
  color: #bbd4de;
}
.aw-code .ce {
  color: #da536e;
}
.aw-code .cx {
  color: #5a7997;
}
.aw-code .cs {
  color: #4cbca2;
}
.aw-code .cn {
  color: #da8150;
}
.aw-code .cl {
  color: #5188d4;
}
.aw-code .ck {
  color: #da8150;
}


.aw .mw-highlight pre {
  font-family: monospace;
  background: #242f40;
  color: #88a0ab;
  font-size: 13px !important;
  line-height: 17px;
  font-weight: normal;
  border-radius: 4px;
}

.aw .mw-highlight pre * {
  font-size: 13px !important;
  line-height: 17px;
}

/* strings */
.aw .mw-highlight pre .s2 {
  color: #4cbca2;
}

/* keywords (func, end, if then etc) */ 
.aw .mw-highlight pre .kr {
  color: #da8150;
}

/* boolean */
.aw .mw-highlight pre .kc {
  color: #5188d4
}

/* funcs + vars */
.aw .mw-highlight pre .n {
  color: #bbd4de;
}

/* func def */
.aw .mw-highlight pre .nf {
  color: #ecb046;
}

/* builtins */
.aw .mw-highlight pre .nb {
  color: #da8150;
}

/* comments */
.aw .mw-highlight pre .c1 {
  color: #5a7997;
}

/* numbers */
.aw .mw-highlight pre .mi {
  color: #ecb046;
}

/* operators */
.aw .mw-highlight pre .o {
  color: #88a0ab;
}


.aw-api-section {
  position: relative;
}

.aw-api-section .mw-collapsible-toggle  {
  position: absolute;
  top: -5px;
  right: 0;
}

.aw-api-section .mw-collapsible-toggle {
  position: relative;
  background: #cfccca;
  float: none;
  width: 100%;
  display: block;
  color: #5A5A5A !important;
  padding: 10px;
  text-align: center;
  font-size: 12px !important;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: bold;
}
.aw-api-section .mw-collapsible-toggle a {
  color: #5A5A5A !important;
  font-size: 12px !important;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: bold;
}
.aw-api-section .mw-collapsible-toggle a:after {
  content: " Details"
}
.aw-api-section .mw-collapsible-content {
  background: #cfccca;
  padding: 20px;
}

.aw-api-section .mw-collapsible-content table.wikitable th {
  background: #a8a6a5;
  border: 2px solid #a8a6a5;
}

.aw-api-section .mw-collapsible-content table.wikitable td {
  border: 2px solid #a8a6a5;
}

.aw table.wikitable {
  width: 100% !important;
}

.aw-api-section .mw-collapsible-toggle {
  position: absolute;
  left: 0;
  top: 0;
  background: #a8a6a5;
  right: 0px;
  width: 100%;
  min-height: 40px;
  z-index: 100;
}

.mw-collapsible {
  position: relative;
}

.mw-collapsible-content {
  padding-top: 50px !important;
}

.aw-inline--code a {
  font-size: 13px !important;
  background: none !important;
  padding-right: 0px !important;
  color: #ecb046 !important;
}

.aw-cb--row {
  position: relative;
}
.aw-cb--row .aw-icon ~ b {
  position: absolute;
  bottom: -5px;
  margin-left: -5px;
  font-size: 20px !important;
}

p.condition.empty {
  position: relative;
  top: -20px;
}
.wikitable h2,
.wikitable h2 .mw-headline {
    border-bottom: none !important;
    font-size: 14px !important;
}


.aw-info--preview img {
  max-width: 268px;
  height: auto !important;
}

.mw-wikiforum-headerrow {
  margin-bottom: 10px;
}
table.mw-wikiforum-frame {
  background: none; 
  border: none;
  padding: 0px;
  margin: 0 0 0 0;
  border-spacing: 0px;
  border-radius: 8px;
}
.mw-wikiforum-innerframe {
  border: 0px !important;
  padding: 0px;
  margin: 0px;
}
.mw-wikiforum-admin,
.mw-wikiforum-title,
.mw-wikiforum-value,
.mw-wikiforum-lastpost {
  border-top: 0px !important;
  border-bottom: 0px solid #cfccca !important;
  padding: 0 10px;
}
tr.mw-wikiforum-title {
  background: #cfccca;
  border: none !important;
}
.mw-wikiforum-valuetitle,
.mw-wikiforum-descr {
  font-size: 12px !important;
}
table.mw-wikiforum-title {
  border: none !important;
  border-collapse: collapse !important;
  border-spacing: 0px;
}
.mw-wikiforum-value {
  font-size: 11px !important;
}
.mw-wikiforum-thread > img,
.mw-wikiforum-issue > img {
  display: none;
}
.mw-wikiforum-thread,
.mw-wikiforum-issue {
  margin-bottom: 0px !important;
}
.mw-wikiforum-descr {
  margin-top: 0px !important;
}

tr.mw-wikiforum-marked,
tr.mw-wikiforum-title {
  border-bottom: 2px solid #cfccca;
}

tbody tr:nth-last-child(1) {
  border: none !important;
}
.mw-wikiforum-normal {
  background: none !important;
}

.mw-wikiforum-thread-main {
  background:#fff !important;
  border: none !important;
  border-radius: 4px;
  padding: 20px !important;
  display: block !important;
  margin-bottom: 20px;
}
.mw-wikiforum-thread-sub {
  background: #dfdddb !important;
  border: none !important;
  padding: 20px !important;
  border-radius: 4px;
  display: block !important;
  margin-bottom: 20px;
  
}
.mw-wikiforum-thread-top {
  background: none !important;
  border: none !important;
}

.mw-wikiforum-thread-main > p,
.mw-wikiforum-thread-sub > p {
  white-space: pre-line !important;
  font-size: 14px !important;
}
.mw-wikiforum-thread-top {
  display: none;
}

.mw-wikiforum-posted {
  border: none !important;
  margin-bottom: 0px !important;
  font-size: 11px !important;
  color: rgba(90, 90, 90, 0.7) !important;
}

.mw-wikiforum-thread-sub .thumb {
  padding: 10px;
  border: none !important;
  background: #cfccca !important;
  border-radius: 8px;
}
.mw-wikiforum-thread-sub .thumbinner {
  background: none;
  padding: 0px !important;
  border: 0px !important;
}
.mw-wikiforum-thread-sub .thumbcaption {
  display: none;
}
.mw-wikiforum-thread-sub a img { 
  border-radius: 4px;
}

#mw-wikiforum-searchbox-border {
  height: 30px !important;
  width: 250px !important;
  background: #fff;
  border: none;
  border-radius: 4px;
}
#mw-wikiforum-searchbox-border input {
  height: calc(100% - 2px);
  width: calc(100% - 30px);
  border-radius: 4px;
  background: #fff
}

table.mw-wikiforum-title {
  border: 2px solid #cfccca !important;
  border-radius: 8px !important;
}