Difference between revisions of "User:Razfahd/timeless.css"

From Idlescape Wiki
Jump to navigation Jump to search
Line 172: Line 172:
 
.tools-inline li a {
 
.tools-inline li a {
 
   background: none !important;
 
   background: none !important;
  color: #f3f3f3;
 
 
   display: flex !important;
 
   display: flex !important;
 
   margin: 0 !important;
 
   margin: 0 !important;
 
   padding: 8px !important;
 
   padding: 8px !important;
 +
}
 +
.tools-inline li:not(.new) a {
 +
  color: #eee;
 
}
 
}
 
.tools-inline li.selected a {
 
.tools-inline li.selected a {
 
   color: #fff;
 
   color: #fff;
 +
}
 +
.tools-inline li:hover {
 +
  background: #1a1d23;
 
}
 
}
 
.tools-inline li a:before {
 
.tools-inline li a:before {
 
   color: var(--accent-color);
 
   color: var(--accent-color);
   font: 18px/20px 'FabricMDL2Icons';
+
   font-family: 'FabricMDL2Icons';
   padding-right: 3px;
+
   padding-right: 6px;
 
}
 
}
 
#ca-view a:before { content: '\e890'; }
 
#ca-view a:before { content: '\e890'; }

Revision as of 13:56, 19 December 2023

@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://fonts.googleapis.com/icon?family=Material+Icons');
@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;
}
#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 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: #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;
  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: #2c323e;
  box-sizing: border-box;
  margin-left: -25px;
  padding: 0 25px;
  position: fixed;
  top: 0;
  width: 100%;
}
.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 {
  color: var(--accent-color);
  font-family: 'FabricMDL2Icons';
  padding-right: 6px;
}
#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'; }


/* -------- */
/*  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 15em;
}
#mw-footer .footer-icons {
  padding-right: 16em;
}