User:Razfahd/timeless.css

From Idlescape Wiki
Revision as of 10:42, 19 December 2023 by Razfahd (talk | contribs)
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');
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;
}
#mw-header-hack {
  display: none;
}
#mw-content-container {
  background: linear-gradient(rgba(50,50,60,0.5),rgba(50,50,60,0.5)), url(https://www.idlescape.com/_next/image?url=%2Flanding_page.png&w=3840&q=75);
  background-size: cover;
  border: none;
  margin-top: 50px;
  padding-bottom: 0;
}

/* Wiki title */

#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;
}
#searchInput {
  height: auto;
  padding: 6px 30px;
}

/* Personal tools */

#personal h2 {
  color: #fff;
  font: 600 18px/20px 'Exo 2';
}
#personal .dropdown {
  background: transparent;
  border: none;
}
#p-personal {
  background: #212125;
  border: 1px solid #151515;
  border-radius: 4px;
  box-shadow: 1px 1px 8px #0007;
  min-width: 250px;
  padding: 5px 15px;
}
#personal .dropdown::before,
#personal .dropdown::after {
  border-bottom-color: #151515;
}
#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;
  padding-right: 0;
}
.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 {
  text-decoration: underline;
}
#p-cactions:hover #p-cactions-label {
  background: none;
}

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

#mw-content {
  background: #1a1d23;
  border: none;
  box-shadow: none;
  color: #fff;
  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: #496899;
  box-sizing: border-box;
  margin-left: -25px;
  padding: 8px 25px;
  position: fixed;
  top: 0;
  width: 100%;
}
.tools-inline li {
  border: none;
  margin: 0;
}