Difference between revisions of "MediaWiki:Faraway.css"

From OMORI Wiki
Jump to navigation Jump to search
Line 1: Line 1:
html, body {
/* ========= */
  height:100% !important;
/* SKINNING */
}
/* ========= */
 
/* fonts */
div#mw-panel {
@font-face {
  min-height: 100% !important;
font-family: 'OMORI_GAME';
  border-right: 1px solid #7F7F7F !important;
font-style: normal;
font-weight: 600;
font-display: swap;
src: url(/static/OMORI_GAME.woff2) format('woff2');
}
}


/* FONTS */
@font-face {
@font-face {
  font-family: 'OMORI_GAME';
font-family: 'OMORI_GAME2';
  font-style: normal;
font-style: normal;
  font-weight: 600;
font-weight: 600;
  font-display: swap;
font-display: swap;
  src: url(/static/OMORI_GAME.woff2) format('woff2');
src: url(/static/OMORI_GAME2.woff2) format('woff2');
}
}


@font-face {
@keyframes slide {
  font-family: 'OMORI_GAME2';
0%{
  font-style: normal;
background-position: 0px 0px;
  font-weight: 600;
}
  font-display: swap;
100%{
  src: url(/static/OMORI_GAME2.woff2) format('woff2');
background-position: -1023px 0px;
}
}
}


/* PAGE CONTENT */
/* replace logo with hq logo because we're epic */
/* replace logo with hq logo because we're epic */
.mw-wiki-logo {
.mw-wiki-logo {
  background-image: url(images/0/0d/SkinDefault_Logo.png) !important;
background-image: url(images/0/0d/SkinDefault_Logo.png) !important;
  background-size: 135px 135px;
}
}


Line 35: Line 36:
#p-logo
#p-logo
{
{
  background: url(images/5/59/SkinDefault_SidebarTop.png) repeat-y #f1f0ef !important;
background: url(images/5/59/SkinDefault_SidebarTop.png) repeat-y #f1f0ef !important;
  border-right: 1px solid #7F7F7F !important;
}
}


/* scrolling top bg */
/* scrolling top bg */
#mw-page-base {
#mw-page-base {
  background: url(images/8/82/SkinFA_Background.png) 0% 0% repeat;
background: url(images/8/82/SkinFA_Background.png) 0% 0% repeat;
  image-rendering: crisp-edges;
image-rendering: crisp-edges;
  width: 100%;
animation: slide 100s linear infinite;
  animation: slide 100s linear infinite;
}
}
@keyframes slide {
  0%{
    background-position: 0px 0px;
  }
  100%{
    background-position: -1023px 0px;
  }
}
/* personal link colors */
#p-personal li * {
  color: #ffffff !important;
  text-shadow: 0 0 2px #000000, 0 0 2px #000000, 0 0 2px #000000, 0 0 2px #000000, 0 0 2px #000000;
}
/* slightly smaller page heading */
/* #firstHeading {
  font-size: 1.7em !important;
} */


/* main content bg and borders */
/* main content bg and borders */
#content {
#content {
  background: url(images/5/59/SkinDefault_Content.png) repeat-x #fdfdfd !important;
background: url(images/5/59/SkinDefault_Content.png) repeat-x #fdfdfd !important;
  border-left: 1px solid #7F7F7F !important;
  border-top: 1px solid #7F7F7F !important;
  border-bottom: 1px solid #7F7F7F !important;
}
}


/* sidebar background */
/* sidebar background */
body {
body {
  overflow-x: hidden;
background: url(images/5/5a/SkinDefault_Sidebar.png) repeat-y #f1f0ef !important;
  background: url(images/5/5a/SkinDefault_Sidebar.png) repeat-y #f1f0ef !important;
}
 
/* fix for top section of sidebar */
div.body.vector-menu-content {
  margin-left: 0.5em !important;
}
}


/* sidebar custom color */
/* sidebar custom color */
ul.vector-menu-content-list li a {
ul.vector-menu-content-list li a {
  margin-right:4px;
color: #27211c !important;
  color: #27211c !important;
}
}


/* sidebar separator */
/* sidebar separator */
h3#p-tb-label {
h3#p-tb-label {
  background-image: url(images/0/04/SkinDefault_Separator.png) !important;
background-image: url(images/0/04/SkinDefault_Separator.png) !important;
  background-position: left bottom;
  background-size: 122px 1px;
}
}


/* footer */
/* footer */
footer#footer.mw-footer {
footer#footer.mw-footer {
  margin-left: 10em;
margin-left: 10em;
  border-left: 1px solid #7F7F7F !important;
border-left: 1px solid #7F7F7F !important;
}
 
/* make font generally smaller */
/* #bodyContent, .mw-body-content {
  font-size: 0.8em;
} */
 
/* force bullet lists to not use img */
ul {
  list-style-image: none !important;
}
 
/* fix for 982px screen discrimination code */
@media screen and (min-width:982px) {
  div#content {
    margin-left: 10em !important;
    padding: 1em 1em 1em 1em !important;
  }
  #mw-panel {
    padding-left: 0em !important;
  }
  #p-search {
    margin-right: 0.5em !important;
  }
  #p-personal {
    right: 0.75em !important;
  }
}
 
/* keeping for now, account for additions to shared.css */
table.wikitable {
  border-collapse: separate;
}
 
/* keeping for now, for site notice */
#siteNotice div, #siteNotice p {
  margin: -0.5em 0em 1.5em 0em
}
 
/* TABS */
/* make tabs use relative so center section works */
nav.vectorTabs ul li {
  position: relative;
}
 
/* get rid of default tab separators */
nav.vectorTabs, nav.vectorTabs ul, nav.vectorMenu h5 a {
  background: none !important;
}
 
/* position text correctly */
nav.vectorTabs ul li, nav.vectorTabs ul li * {
  margin: 0px !important;
  padding: 0px !important;
  background: none !important;
}
}


/* font and whatnot */
/* font and whatnot */
nav.vectorTabs ul li * {
nav.vectorTabs ul li * {
  color: #EDECEB !important;
color: #EDECEB !important;
  font-family: "OMORI_GAME2" !important;
font-family: "OMORI_GAME2" !important;
  font-size: 140% !important;
}
}


/* bright on hover */
/* bright on hover */
nav.vectorTabs ul li:hover * {
nav.vectorTabs ul li:hover * {
  color: #ffffff !important;
color: #ffffff !important;
}
}


Line 175: Line 86:
/* tab positioning and left */
/* tab positioning and left */
nav.vectorTabs ul li {
nav.vectorTabs ul li {
  background: url(images/5/5a/SkinDefault_TabOffLeft.png) bottom left no-repeat !important;
background-image: url(images/5/5a/SkinDefault_TabOffLeft.png) !important;
  padding-left: 10px !important;
background-position: bottom left !important;
  height: 24px !important;
background-repeat: no-repeat !important;
  margin-top: 16px !important;
  margin-right: 4px !important;
  background-size: 20px 24px !important;
}
}


/* center */
/* center */
nav.vectorTabs ul li:before {
nav.vectorTabs ul li:before {
  background: url(images/0/04/SkinDefault_TabOffCenter.png) !important;
background-image: url(images/0/04/SkinDefault_TabOffCenter.png) !important;
  content: "";
  width: calc(100% - 12px);
  position: absolute;
  top: 0;
  left: 8px;
  height: 24px;
  background-size: 10px 24px !important;
}
}


/* tab positioning and right */
/* tab positioning and right */
nav.vectorTabs ul li a {
nav.vectorTabs ul li a {
  background: url(images/3/31/SkinDefault_TabOffRight.png) bottom right no-repeat !important;
background-image: url(images/3/31/SkinDefault_TabOffRight.png) !important;
  padding-right: 10px !important;
background-position: bottom right !important;
  padding-left: 10px !important;
background-repeat: no-repeat !important;
  margin-left: -10px !important;
  padding-bottom: 0px !important;
  line-height: 24px !important;
  height: 24px !important;
  display: block !important;
  position: relative !important;
  background-size: 20px 24px !important;
}
}


Line 212: Line 106:
/* left */
/* left */
nav.vectorTabs ul li.new {
nav.vectorTabs ul li.new {
  background-image: url(images/8/82/SkinDefault_TabNewLeft.png) !important;
background-image: url(images/8/82/SkinDefault_TabNewLeft.png) !important;
  background-size: 20px 24px !important;
}
}


/* center */
/* center */
nav.vectorTabs ul li.new:before {
nav.vectorTabs ul li.new:before {
  background-image: url(images/3/3a/SkinDefault_TabNewCenter.png) !important;
background-image: url(images/3/3a/SkinDefault_TabNewCenter.png) !important;
  content: "";
  width: calc(100% - 12px);
  position: absolute;
  top: 0;
  left: 8px;
  height: 24px;
  background-size: 10px 24px !important;
}
}


/* right */
/* right */
nav.vectorTabs ul li.new a {
nav.vectorTabs ul li.new a {
  background-image: url(images/d/de/SkinDefault_TabNewRight.png) !important;
background-image: url(images/d/de/SkinDefault_TabNewRight.png) !important;
  background-size: 20px 24px !important;
}
}


Line 237: Line 122:
/* left */
/* left */
nav.vectorTabs ul li.selected {
nav.vectorTabs ul li.selected {
  background: url(images/7/76/SkinDefault_TabOnLeft.png) bottom left no-repeat !important;
background-image: url(images/7/76/SkinDefault_TabOnLeft.png) !important;
  background-size: 20px 24px !important;
background-position: bottom left !important;
background-repeat: no-repeat !important;
}
}


/* center */
/* center */
nav.vectorTabs ul li.selected:before {
nav.vectorTabs ul li.selected:before {
  background-image: url(images/c/c8/SkinDefault_TabOnCenter.png) !important;
background-image: url(images/c/c8/SkinDefault_TabOnCenter.png) !important;
  content: "";
  width: calc(100% - 12px);
  position: absolute;
  top: 0;
  left: 8px;
  height: 24px;
  background-size: 10px 24px !important;
}
}


/* right */
/* right */
nav.vectorTabs ul li.selected a {
nav.vectorTabs ul li.selected a {
  background: url(images/c/c0/SkinDefault_TabOnRight.png) bottom right no-repeat !important;
background-image: url(images/c/c0/SkinDefault_TabOnRight.png) !important;
  background-size: 20px 24px !important;
background-position: bottom right !important;
background-repeat: no-repeat !important;
}
}


/* disable text coloring for selected tabs */
/* disable text coloring for selected tabs */
nav.vectorTabs ul li.selected * {
nav.vectorTabs ul li.selected * {
  color: #4d4743 !important;
color: #4d4743 !important;
  cursor: default !important;
}
}


/* force text coloring for uncreated tabs */
/* force text coloring for uncreated tabs */
nav.vectorTabs ul li.selected.new * {
nav.vectorTabs ul li.selected.new * {
  color: #733c17 !important;
color: #733c17 !important;
}
}


Line 273: Line 152:
/* more tab bg and fixing */
/* more tab bg and fixing */
nav.vectorMenu {
nav.vectorMenu {
  background: url(images/6/6b/SkinDefault_TabMore.png) no-repeat !important;
background-image: url(images/6/6b/SkinDefault_TabMore.png) !important;
  width: 66px !important;
background-repeat: no-repeat !important;
  top: 16px !important;
  transition: none !important;
  height: 24px;
  background-size: 66px 24px !important;
}
}
/* more tab text fixing, get rid of default separator */
div#mw-head nav.vectorMenu h3 {
  padding: 3px 0px 3px 0px;
  background-image: none;
  height: 24px;
}
/* hide default more tab down arrow */
h3#p-cactions-label:after {
  background-image: none;
}
/* margin between tabs and more tab */
/* ul.vector-menu-content-list {
  margin-right:4px;
} */


/* more tab font */
/* more tab font */
nav.vectorMenu h3 span {
nav.vectorMenu h3 span {
  padding: 3px 0px 3px 25px;
color: #EDECEB;
  color: #EDECEB;
font-family: 'OMORI_GAME2';
  font-size: 20px;
  font-family: 'OMORI_GAME2';
}
 
/* more dropdown menu */
nav.vectorMenu .menu {
  top: 1.5em !important;
  left: 0px !important;
}
}


/* more dropdown menu bg */
/* more dropdown menu bg */
nav.vectorMenu ul {
nav.vectorMenu ul {
  background: #676562 url(images/3/33/SkinDefault_MoreDropdown.png) top repeat-x !important;
background-image: url(images/3/33/SkinDefault_MoreDropdown.png) !important;
  border-left: 1px solid #7F7F7F !important;
background-color: #676562 !important;
  border-right: 1px solid #7F7F7F !important;
background-position: top !important;
  border-bottom: 1px solid #7F7F7F !important;
background-repeat: repeat-x !important;
  margin-left: 0px !important;
}
}


/* more dropdown color forcing */
/* more dropdown color forcing */
nav#p-cactions.vector-menu.vector-menu-dropdown.vectorMenu ul li a {
nav#p-cactions.vector-menu.vector-menu-dropdown.vectorMenu ul li a {
  color: #EDECEB !important;
color: #EDECEB !important;
}
 
ul.menu.vector-menu-content-list {
  min-width: 64px;
}
}


Line 333: Line 178:
/* search bg */
/* search bg */
#p-search {
#p-search {
  background: url(images/c/c4/SkinDefault_TabSearch.png) bottom no-repeat !important;
background-image: url(images/c/c4/SkinDefault_TabSearch.png) !important;
  width: 280px !important;
background-position: bottom !important;
  max-width: 280px !important;
background-repeat: no-repeat !important;
  height: 24px !important;
  margin-top: 16px !important;
  margin-left: 4px !important;
  background-size: 280px 24px !important;
}
 
/* fix search content being super low */
#p-search form, #p-search input {
  margin-top: 0px !important;
}
 
/* fix search button being at an offset */
#simpleSearch {
  background: none !important;
  border: none !important;
  width: 280px !important;
  bottom: 7px !important;
  top: 1px !important;
}
}


/* search input */
/* search input */
#searchInput {
#searchInput {
  border: none !important;
background: #666361 !important;
  margin: 0px !important;
color: #FFFFFF !important;
  background: #666361 !important;
  padding: 4px !important;
  height: 18px !important;
  color: #FFFFFF !important;
  font-size: 11px !important;
  border-radius: 2px !important;
  -moz-border-radius: 2px !important;
  margin-left: 4px !important;
  width: 186px !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}
}


/* search input placeholder color */
/* search input placeholder color */
#searchInput::placeholder {
#searchInput::placeholder {
  color: #C7C6C5 !important;
color: #C7C6C5 !important;
}
}


/* search button */
/* search button */
#searchButton {
#searchButton {
  background: url(images/1/17/SkinDefault_ButtonSearch.png) top no-repeat !important;
background-image: url(images/1/17/SkinDefault_ButtonSearch.png) !important;
  border: 0px !important;
background-position: top !important;
  padding: 0px !important;
background-repeat: no-repeat !important;
  width: 81px !important;
  height: 18px !important;
  cursor: pointer !important;
  text-indent: -5000px !important;
  position: relative !important;
  top: 2px !important;
  right: 4px !important;
  float: right !important;
  background-size: 81px 36px !important;
}
}


/* search button hover */
/* search button hover */
#searchButton:hover {
#searchButton:hover {
  background-position: 0px -18px !important;
background-position: 0px -18px !important;
}
}


/* main page styling */
/* main page styling */
.mp-content-table {
.mp-content-table {
  width: 100%;
background: #FEFBF6;
  background: #FEFBF6;
border: 1px solid #7F5334;
  border: 1px solid #7F5334;
}
}


.mp-content-header {
.mp-content-header {
  font-size: 140%;
background: #FFD4B5;
  background: #FFD4B5;
border-bottom: 1px solid #7F5334;
  border: none;
color: #000000;
  border-bottom: 1px solid #7F5334;
  padding-top:10px;
  padding-bottom:10px;
  margin:-3px;
  padding:10px;
  color: #000000;
}
}


div.mp-content-header-alt {
div.mp-content-header-alt {
  background: #FFD4B5;
background: #FFD4B5;
  font-size: 140%;
border-bottom: 1px solid #7F5334;
  font-weight: bold;
color: #000000;
  border: none;
  border-bottom: 1px solid #7F5334;
  text-align: left;
  padding-top:10px;
  padding-bottom:10px;
  margin:-3px;
  padding:10px;
  color: #000000;
}
}


.mp-content-spacer {
.mp-content-spacer {
  background: #7F5334;
background: #7F5334;
  margin-left: 3px;
  margin-right: 3px;
  margin-bottom: 3px;
  color: none;
  border: none;
  text-align: center;
}
}

Revision as of 04:04, 21 February 2022

/* ========= */
/* SKINNING */
/* ========= */
/* fonts */
@font-face {
	font-family: 'OMORI_GAME';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url(/static/OMORI_GAME.woff2) format('woff2');
}

@font-face {
	font-family: 'OMORI_GAME2';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url(/static/OMORI_GAME2.woff2) format('woff2');
}

@keyframes slide {
	0%{
		background-position: 0px 0px;
	}
	100%{
		background-position: -1023px 0px;
	}
}

/* replace logo with hq logo because we're epic */
.mw-wiki-logo {
	background-image: url(images/0/0d/SkinDefault_Logo.png) !important;
}

/* logo bg */
#p-logo
{
	background: url(images/5/59/SkinDefault_SidebarTop.png) repeat-y #f1f0ef !important;
}

/* scrolling top bg */
#mw-page-base {
	background: url(images/8/82/SkinFA_Background.png) 0% 0% repeat;
	image-rendering: crisp-edges;
	animation: slide 100s linear infinite;
}

/* main content bg and borders */
#content {
	background: url(images/5/59/SkinDefault_Content.png) repeat-x #fdfdfd !important;
}

/* sidebar background */
body {
	background: url(images/5/5a/SkinDefault_Sidebar.png) repeat-y #f1f0ef !important;
}

/* sidebar custom color */
ul.vector-menu-content-list li a {
	color: #27211c !important;
}

/* sidebar separator */
h3#p-tb-label {
	background-image: url(images/0/04/SkinDefault_Separator.png) !important;
}

/* footer */
footer#footer.mw-footer {
	margin-left: 10em;
	border-left: 1px solid #7F7F7F !important;
}

/* font and whatnot */
nav.vectorTabs ul li * {
	color: #EDECEB !important;
	font-family: "OMORI_GAME2" !important;
}

/* bright on hover */
nav.vectorTabs ul li:hover * {
	color: #ffffff !important;
}

/* UNSELECTED TAB */
/* tab positioning and left */
nav.vectorTabs ul li {
	background-image: url(images/5/5a/SkinDefault_TabOffLeft.png) !important;
	background-position: bottom left !important;
	background-repeat: no-repeat !important;
}

/* center */
nav.vectorTabs ul li:before {
	background-image: url(images/0/04/SkinDefault_TabOffCenter.png) !important;
}

/* tab positioning and right */
nav.vectorTabs ul li a {
	background-image: url(images/3/31/SkinDefault_TabOffRight.png) !important;
	background-position: bottom right !important;
	background-repeat: no-repeat !important;
}

/* UNCREATED TAB */
/* left */
nav.vectorTabs ul li.new {
	background-image: url(images/8/82/SkinDefault_TabNewLeft.png) !important;
}

/* center */
nav.vectorTabs ul li.new:before {
	background-image: url(images/3/3a/SkinDefault_TabNewCenter.png) !important;
}

/* right */
nav.vectorTabs ul li.new a {
	background-image: url(images/d/de/SkinDefault_TabNewRight.png) !important;
}

/* SELECTED TAB */
/* left */
nav.vectorTabs ul li.selected {
	background-image: url(images/7/76/SkinDefault_TabOnLeft.png) !important;
	background-position: bottom left !important;
	background-repeat: no-repeat !important;
}

/* center */
nav.vectorTabs ul li.selected:before {
	background-image: url(images/c/c8/SkinDefault_TabOnCenter.png) !important;
}

/* right */
nav.vectorTabs ul li.selected a {
	background-image: url(images/c/c0/SkinDefault_TabOnRight.png) !important;
	background-position: bottom right !important;
	background-repeat: no-repeat !important;
}

/* disable text coloring for selected tabs */
nav.vectorTabs ul li.selected * {
	color: #4d4743 !important;
}

/* force text coloring for uncreated tabs */
nav.vectorTabs ul li.selected.new * {
	color: #733c17 !important;
}

/* MORE TAB */
/* more tab bg and fixing */
nav.vectorMenu {
	background-image: url(images/6/6b/SkinDefault_TabMore.png) !important;
	background-repeat: no-repeat !important;
}

/* more tab font */
nav.vectorMenu h3 span {
	color: #EDECEB;
	font-family: 'OMORI_GAME2';
}

/* more dropdown menu bg */
nav.vectorMenu ul {
	background-image: url(images/3/33/SkinDefault_MoreDropdown.png) !important;
	background-color: #676562 !important;
	background-position: top !important;
	background-repeat: repeat-x !important;
}

/* more dropdown color forcing */
nav#p-cactions.vector-menu.vector-menu-dropdown.vectorMenu ul li a {
	color: #EDECEB !important;
}

/* SEARCH TAB */
/* search bg */
#p-search {
	background-image: url(images/c/c4/SkinDefault_TabSearch.png) !important;
	background-position: bottom !important;
	background-repeat: no-repeat !important;
}

/* search input */
#searchInput {
	background: #666361 !important;
	color: #FFFFFF !important;
}

/* search input placeholder color */
#searchInput::placeholder {
	color: #C7C6C5 !important;
}

/* search button */
#searchButton {
	background-image: url(images/1/17/SkinDefault_ButtonSearch.png) !important;
	background-position: top !important;
	background-repeat: no-repeat !important;
}

/* search button hover */
#searchButton:hover {
	background-position: 0px -18px !important;
}

/* main page styling */
.mp-content-table {
	background: #FEFBF6;
	border: 1px solid #7F5334;
}

.mp-content-header {
	background: #FFD4B5;
	border-bottom: 1px solid #7F5334;
	color: #000000;
}

div.mp-content-header-alt {
	background: #FFD4B5;
	border-bottom: 1px solid #7F5334;
	color: #000000;
}

.mp-content-spacer {
	background: #7F5334;
}