User:Razfahd/timeless.css

From Idlescape Wiki
(Redirected from User:Razfahd/Timeless.css)
Jump to navigation Jump to 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: 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.
@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');
@import url('https://www.play.idlescape.com/static/css/components/game/Inventory/Item.css');
@import url('https://static2.sharepointonline.com/files/fabric/office-ui-fabric-core/11.0.0/css/fabric.min.css');

body {
  font: 16px/21px "Exo 2";
  --accent-color: #f6d87b;
}

/* ------------ */
/*  HEADER BAR  */
/* ------------ */

#mw-header-container {
  background: linear-gradient(180deg,rgba(50,50,70,0.3) 0,rgba(50,50,70,0.3) 90%,#00000080),url(https://res.cloudinary.com/dxwkhyrde/image/upload/f_auto/@idlescape-ui/stone_ui_tile_rn6lta);
  color: #fff;
  height: 50px;
  min-height: 50px;
  padding: 0;
}
#mw-header {
  height: 46px;
}
#p-search, #p-logo-text, #user-tools {
  align-self: center;
}
#personal h2 {
  background: none;
  padding: 0;
}
#personal h2:before {
  background-color: #5b5e6d;
  border-radius: 50%;
  color: #fff;
  content: '\e77b';
  display:inline-block;
  font-family: 'FabricMDL2Icons';
  height:30px;
  line-height: 30px;
  margin-right: 6px;
  text-align: center;
  width: 30px;
}
#personal h2:after {
  background: none;
  content: '\e96e';
  font: 12px/16px 'FabricMDL2Icons';
  padding-left: 6px;
}
#mw-header-hack {
  display: none;
}
#mw-content-container {
  background: url(https://cdn.sanity.io/images/c6yjo9gn/production/1b251b3173af5f9f5b388189106ce31de4fbe74c-1024x1024.png?w=3840&q=75&fit=clip&auto=format) fixed no-repeat;
  border: none;
  margin-top: 50px;
  padding-bottom: 0;
}

/* WIKI NAME */

#p-logo-text a.long {
  color: #fff;
  font: 600 25px/25px 'Exo 2';
}

/* SEARCH */

div#simpleSearch {
  background: rgba(20,20,20,0.7);
  border: none;
  border-radius: 4px;
}
div#simpleSearch #searchInput {
  color: #fff;
  height: auto;
  padding: 6px 30px;
}
#searchInput:active,
#searchInput:focus,
#searchInput:hover {
  background-color: rgba(20,20,30,0.2);
  color: #fff;
  outline: none;
}
.suggestions {
  background-color: #20242c;
  color: #fff;
}
.suggestions .suggestions-special {
  background-color: #1a1d23;
  border-color: #1a1d23;
}
.suggestions .suggestions-results {
  background-color: inherit;
  border-color: #1a1d23;
}
.suggestions .suggestions-result {
  background-color: inherit;
  color: #fff;
}
.suggestions .suggestions-result-current {
  background-color: var(--accent-color);
  color: #222;
}

/* PERSONAL TOOLS */

#personal h2 {
  color: #fff;
  font: 600 18px/20px 'Exo 2';
}
#personal .dropdown {
  background: transparent;
  border: none;
}
#p-personal {
  background: #20242c;
  border: 2px solid #4D5056;
  border-radius: 4px;
  box-shadow: 1px 1px 8px #000d;
  min-width: 250px;
  padding: 5px 15px;
}
#personal .dropdown::before,
#personal .dropdown::after {
  border-bottom-color: #4D5056;
  z-index: 200;
}
#personal .dropdown h3 {
  border: none;
  color: #fff;
}
#personal .dropdown .mw-portlet-body {
  margin: 0;
}
#personal .dropdown li {
  padding: 6px 0;
}

/* ----------------------------- */
/*  NAVIGATION (LEFT AND RIGHT)  */
/* ----------------------------- */

#mw-site-navigation,
#mw-related-navigation {
  background-color: #20242c;
  flex-basis: 230px;
  padding: 0;
  width: 230px;
}
.mw-wiki-logo {
  margin: 0 auto;
}
#mw-site-navigation .sidebar-chunk,
#mw-related-navigation .sidebar-chunk {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0 22px;
}
#mw-site-navigation .sidebar-chunk h3,
#mw-related-navigation .sidebar-chunk h3 {
  border: none;
  color: var(--accent-color);
  font-size: 1.3em;
  font-variant: all-small-caps;
  font-weight: 600;
  margin-bottom: 5px;
}
#mw-site-navigation a,
#mw-related-navigation a {
  color: #fff;
}
#mw-site-navigation a:hover,
#mw-related-navigation a:hover {
  color: var(--accent-color);
}
#p-cactions:hover #p-cactions-label {
  background: none;
}

/* ---------------- */
/*  ARTICLE LAYOUT  */
/* ---------------- */

#mw-content {
  background: #1a1d23;
  border: none;
  box-shadow: none;
  color: #fff;
  min-height: 100vh;
  padding: 15px 25px 25px 25px;
  position: relative;
  transform: rotate(0deg);
}
.mw-body {
  color: inherit;
  background: transparent;
  border: none;
}
.mw-body * {
  color: inherit;
}

.mw-body h1.firstHeading {
  color: var(--accent-color);
  border: none;
  font: 600 36px/45px 'Exo 2';
  margin-top: 30px;
}

/* Page tools */

#mw-page-header-links {
  background: #2c323e;
  box-sizing: border-box;
  height: 35px;
  margin-left: -25px;
  padding: 0;
  position: fixed;
  top: 0;
  width: 100%;
}
#p-views {
  float:left;
}
.tools-inline li {
  border: none;
  color: #fff;
  margin: 0 !important;
  padding: 0;
}
.tools-inline li.selected {
  background: #1a1d23;
}
.tools-inline li a {
  background: none !important;
  display: flex !important;
  margin: 0 !important;
  padding: 8px !important;
}
.tools-inline li:not(.new) a {
  color: #eee;
}
.tools-inline li.selected a {
  color: #fff;
}
.tools-inline li:hover {
  background: #1a1d23;
}
.tools-inline li a:before,
#page-tools li a:before {
  color: var(--accent-color);
  font-family: 'FabricMDL2Icons';
  padding-right: 6px;
}
.tools-inline li[id^="ca-nstab-"] a:before {
  content: '\e7c3';
}
#ca-view a:before { content: '\e890'; }
#ca-viewsource a:before { content: '\f30e'; }
#ca-edit a:before,
#ca-ve-edit a:before { content: '\e70f'; }
#ca-history a:before { content: '\e81c'; }
#ca-delete a:before { content: '\e74d'; }
#ca-move a:before { content: '\e7c2'; }
#ca-protect a:before { content: '\e72e'; }
#ca-unprotect a:before { content: '\e785'; }
#ca-watch a:before { content: '\e734'; }
#ca-unwatch a:before { content: '\e735'; }
#ca-purge a:before { content: '\e81c'; }
#ca-addsection a:before { content: '\f2b3'; }
#ca-nstab-main a:before { content: '\f000'; }
#ca-nstab-user a:before { content: '\f02d'; }
#ca-nstab-image a:before { content: '\f311'; }
#ca-nstab-template a:before { content: '\f2e6'; }
#ca-nstab-category a:before { content: '\e48c'; }
#ca-nstab-special a:before { content: '\f30d'; }
#ca-talk a:before { content: '\e901'; }
#t-contributions a:before { content: '\ea86'; }
#t-print a:before { content: '\e749'; }

/* Watch/Unwatch star at the left */

#p-namespaces ul {
  display: flex;
}
#ca-watch, #ca-unwatch {
  order: -1;
}
#ca-watch a,
#ca-unwatch a {
  color: transparent;
  max-height: 37px;
  padding: 8px 0!important;
  text-align: center;
  text-indent: 5px;
  width: 25px;
}
#ca-watch a:before,
#ca-unwatch a:before {
  display: inline-block !important;
  padding: 0;
  width: 25px;
}
.tools-inline #ca-watch li:hover,
.tools-inline #ca-unwatch li:hover {
  background: inherit;
}

/* -------- */
/*  FOOTER  */
/* -------- */

#mw-footer-container {
  background: linear-gradient(180deg,#0003 0,#0003 90%,#00000080),url(https://res.cloudinary.com/dxwkhyrde/image/upload/f_auto/@idlescape-ui/stone_ui_tile_rn6lta);
  border-top: solid 2px var(--accent-color);
  box-shadow: none;
  color: #fff;
}
#mw-footer {
  padding: 8px 16px 16px 256px;
}
#mw-footer .footer-icons {
  padding-right: 16em;
}

/* --------- */
/*  ARTICLE  */
/* --------- */

#bodyContent {
  color: #efefef;
  font-size: 18px;
  line-height: 1.3;
}
#bodyContent a {
  color: #83b5ff;
}
#bodyContent a.new {
  color: #f07474;
}
#bodyContent a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  border-color: #4d4f54 !important;
  color: #fff;
  font-family: inherit!imporant;
}