User:FlamingMojo/vector.css: Difference between revisions

From Dune: Awakening Community Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 26: Line 26:
.mw-body,
.mw-body,
.wikitable,
.wikitable,
.editOptions {
.editOptions,
.mw-footer * {
   color: var(--color-text-main);
   color: var(--color-text-main);
}
}

Revision as of 19:45, 10 April 2024

/** ResourceLoaderSkinModule: normalize,elements,content-tables,content-links,content-media,interface-message-box,interface-category,toc */

:root {
    --color-background-base: #23201D;
    --color-background-main: rgb(26,7,0);
    --color-text-main: #F4CF8B;
    --color-text-dark: #E39B16;
}


body {
    background: var(--color-background-base);
    color: var(--color-text-main);
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
li,
text,
span,
.mw-body,
.wikitable,
.editOptions,
.mw-footer * {
  color: var(--color-text-main);
}

.mw-body {
  border: 1px solid var(--color-text-main);
}

a, a * {
  color: var(--color-text-dark) !important;
  &:visited {
    color: var(--color-text-dark) !important;
  }
}

.vector-menu-tabs-legacy li {
  background: var(--color-background-main);
  &.selected { 
    background: var(--color-background-main);
  }
}


#mw-head {
  background: var(--color-background-base);
}

#content, .editOptions, .wikitable, .wikitable > * > tr > th {
  background: var(--color-backgroun1d-main);
}

/* Diamond Box for Headers */
.mw-first-heading {
  height: 1.5rem;
  line-height: 1.5rem !important;
  border-top: 2px solid #F4CF8B;
  border-bottom: 2px solid #F4CF8B;
  width: fit-content;
  padding: 0.2rem 0 !important;
  text-align: center;
  display: flex;
  text-transform: uppercase;
  font-family: sans-serif !important;
  color: #F4CF8B;
  margin-bottom: 0.5em;
}

.mw-first-heading::before {
  content: '';
  display: inline-block;
  left: -0.75rem;
  rotate: -45deg;
  border-top: 2px solid #F4CF8B;
  border-left: 2px solid #F4CF8B;
  position: relative;
  width: 1.37rem;
  height: 1.38rem;
}

.mw-first-heading::after {
  content: '';
  display: inline-block;
  right: -0.75rem;
  rotate: 135deg;
  border-top: 2px solid #F4CF8B;
  border-left: 2px solid #F4CF8B;
  position: relative;
  width: 1.37rem;
  height: 1.38rem;
}