Difference between revisions of "MediaWiki:Vector.css"

From Drawn to Life Wiki
 
(186 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* All CSS here will be loaded for users of the Vector skin */
+
/* Fixes logo */
  
  /**********************/
+
.mw-wiki-logo {
/* Custom Font Import */
+
     background-image: url(/w/images/0/0b/DTLWIKIBig.png) !important;
/**********************/
+
     background-size: 100%;
+
     margin-top: 15px;
/*Arco is the main h1 font*/
 
@font-face {
 
     font-family: 'ARCO';
 
    src:url('ARCO.ttf.woff') format('woff'),
 
        url('ARCO.ttf.svg#ARCO') format('svg'),
 
        url('ARCO.ttf.eot'),
 
        url('ARCO.ttf.eot?#iefix') format('embedded-opentype');  
 
     font-weight: normal;
 
     font-style: normal;
 
 
}
 
}
 
+
.Page_SubTitle {
/*
+
position: absolute;
@font-face {
+
top: -3.4em;
  font-family: "ArtBrush";
+
right: 0em;
  font-style: normal;
+
font-family: 'Linux Libertine','Georgia','Times',serif;
  font-weight: normal;
 
  src: url("https://vignette.wikia.nocookie.net/drawntolife/images/f/fc/Artbrush.ttf") format("truetype");
 
}
 
 
@font-face {
 
  font-family: "Raposa";
 
  font-style: normal;
 
  font-weight: normal;
 
  src: url("https://vignette.wikia.nocookie.net/drawntolife/images/c/c3/Raposa.ttf") format("truetype");
 
}
 
*/
 
 
 
/* Article Heading */
 
.mw-body .firstHeading {
 
  font-family: 'ARCO';
 
}
 
 
 
 
 
 
 
  /********/
 
/* Logo */
 
/********/
 
/*Shifts logo to center*/
 
/*Left and right positions*/
 
#p-logo {
 
    top: -25em;
 
    left: 49vw;
 
    margin-left: -9.5em;
 
    position: absolute;
 
}
 
/*Image size*/
 
#p-logo a {
 
    width: 23em;
 
    height: 20em;
 
    transition: filter 0.3s, height 0.2s;
 
}
 
#p-logo a:hover {
 
  filter: brightness(1.2);
 
}
 
#p-logo a:active {
 
  height: 20.2em !important;
 
}
 
 
 
 
 
 
 
  /****************/
 
/* Page Content */
 
/****************/
 
/*Main Background*/
 
body {
 
    background: #79c1f7; 
 
    background-image: url('/w/images/0/0b/WikiBackground.png') ;
 
    background-attachment: fixed;
 
    background-size: cover;
 
 
 
}
 
/*Article background*/
 
.mw-body, .parsoid-body {
 
    background-color: rgba(255, 255, 255, 0.95);
 
}
 
/*Postion of main page content*/
 
#mw-head-base {
 
    /*margin-top: 16em;*/
 
    height: 26em;
 
}
 
/*Position of top page controls*/
 
#mw-head {
 
    top: 19em;
 
}
 
/*Moves edit buttons, etc, down*/
 
.mw-body {
 
    padding: 4.25em 1.5em 1.5em 1.5em;
 
}
 
.mw-body .firstHeading {
 
    border-top: 1px solid #a2a9b1;
 
}
 
 
 
 
 
 
 
  /***************/
 
/* Top Nav Bar */
 
/***************/
 
/*Widens top bar*/
 
#p-personal {
 
    right: 0;
 
    top: 0;
 
    position: fixed;
 
    width: 100%;
 
    background-color: #071e49;
 
    height: 23px;
 
    box-shadow: #000c 0px 0px 5px;
 
}
 
/*Text in top bar*/
 
#p-personal ul {
 
    float: right;
 
    padding-right: 10px;
 
}
 
/*Removes white bar under top bar*/
 
#mw-page-base {
 
    display: none;
 
}
 
/*Colors various links white*/
 
#pt-userpage a {
 
    color: #73e4fb;
 
}
 
#pt-mytalk a {
 
    color: #73e4fb;
 
}
 
#pt-logout a {
 
    color: #f49f0b;
 
}
 
#pt-login a {
 
    color: #80f139;
 
}
 
.vector-menu-content-list a {
 
    color: #73e4fb;
 
}
 
#pt-anonuserpage {
 
    color: #f49f0b;
 
}
 
  /****************/
 
/* Side Nav Bar */
 
/****************/
 
#mw-panel {
 
    top: 25em;
 
}
 
 
 
 
 
 
 
  /*********************************/
 
/* Styling of buttons and links. */
 
/*********************************/
 
/*Shifts page and discussions right*/
 
.vector-menu-tabs ul {
 
    margin-left: 20px;
 
}
 
 
 
 
 
/*Active*/
 
.vector-menu-tabs .selected {
 
    background-image: none;
 
    background: #72b531;
 
    border: none;
 
    margin: 5px 2px 0px 2px;
 
    border-radius: 5px;
 
    border-bottom: 0.3rem solid #3b7e0e;
 
    height: 2em;
 
    transition: 0.3s;
 
}
 
.vector-menu-tabs .selected:hover {
 
    margin: 5px 2px 0px 2px;
 
    background: #94c231;
 
    border-bottom: 0.3rem solid #6a9c0c;
 
}
 
.vector-menu-tabs .selected:active {
 
    margin: 5px 2px 0px 2px;
 
    background: #72b531;
 
    border-bottom: 0.3rem solid #3b7e0e;
 
}
 
.vector-menu-tabs .selected a, .vector-menu-tabs .selected a:visited {
 
    color: #fff;
 
    font-weight: bold;
 
}
 
.vector-menu-tabs li a {
 
    padding-top: 0.5em;
 
}
 
.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown h3 {
 
    background-image: none;
 
}
 
 
 
 
 
/*Inactive*/
 
.vector-menu-tabs li {
 
    background-image: none;
 
    background: #5aa7e2;
 
    border-bottom: 0.3rem solid #254a8f;
 
    margin: 5px 2px 0px 2px;
 
    border-radius: 5px;
 
    height: 2em;
 
    transition: background 0.3s, border-bottom 0.3s, margin 0.1s;
 
}
 
.vector-menu-tabs li:hover {
 
    /*margin: 8px 2px 0px 2px;*/
 
    background: #5cbee8;
 
    border-bottom: 0.3rem solid #2972a3;
 
}
 
.vector-menu-tabs li:active {
 
    margin: 7px 2px 0px 2px;
 
    background: #5aa7e2;
 
    border-bottom: 0.3rem solid #254a8f;
 
}
 
.vector-menu-tabs li a:hover {
 
    text-decoration: none;
 
}
 
.vector-menu-tabs li a:focus {
 
    text-decoration: none;
 
}
 
.vector-menu-tabs .new a, .vector-menu-tabs .new a:visited {
 
    color: white;
 
    font-weight: bold;
 
}
 
.vector-menu-tabs li a {
 
    color: white;
 
    font-weight: bold;
 
}
 
 
 
 
 
/*More Dropdown*/
 
/*Text*/
 
.vector-menu-dropdown h3 {
 
    color: white;
 
    font-weight: bold;
 
}
 
.vector-menu-dropdown h3:hover, .vector-menu-dropdown h3:focus {
 
    color: white;
 
}
 
/*Actual button*/
 
.vector-menu-dropdown {
 
    line-height: 0.125em;
 
    background: #e49202;
 
    margin: 5px 2px 0px 2px;
 
    border-radius: 5px;
 
    border-bottom: 0.3rem solid #b24408;
 
    height: 2em;
 
    transition: 0.3s;
 
}
 
.vector-menu-dropdown:hover {
 
    background: #f1ad00;
 
    border-bottom: 0.3rem solid #c36f08;
 
}
 
.vector-menu-dropdown:active {
 
    background: #f1ad00;
 
    border-bottom: 0.3rem solid #c36f08;
 
}
 
 
 
 
 
/*Button Icons*/
 
/*ArrowSVG*/
 
.vector-menu-dropdown h3::after {
 
    background-image: url(/w/images/e/e5/Arrow-down-white.png);
 
    background-image: linear-gradient(transparent,transparent),url(/w/images/5/53/Arrow-down-white.svg);
 
    top: -0.231em;
 
}
 
/*StarUnwatchSVG*/
 
.vector-menu-tabs #ca-unwatch.icon a::before {
 
    background-image: linear-gradient(transparent,transparent),url(/w/skins/Vector/resources/skins.vector.styles/images/watch-icon.svg?257a2);
 
}
 
/*StarWatchSVG*/
 
.vector-menu-tabs #ca-watch.icon a::before {
 
 
 
    background-image: linear-gradient(transparent,transparent),url(/w/images/f/f7/Unwatch-icon-mono.svg);
 
 
 
}
 
/*Moves watch star to button cetner*/
 
.vector-menu-tabs .mw-watchlink.icon a::before {
 
    top: 0.6em;
 
    left: 0.45em;
 
}
 
 
 
 
 
/*Red Page*/
 
a.new:visited, #p-personal a.new:visited {
 
    color: #bd2020;
 
}
 
 
 
/*External Link*/
 
.mw-parser-output a.extiw, .mw-parser-output a.external {
 
    color: #2eafe9;
 
}
 
a {
 
    color: #2eafe9;
 
}
 
a:visited {
 
    color: #2eafe9;
 
}
 
.portal .body li a:visited, .vector-menu-portal .body li a:visited {
 
    color: #2eafe9;
 
}
 
.portal .body li a, .vector-menu-portal .body li a {
 
    color: #2eafe9;
 
}
 
  /**************/
 
/* Searchbar  */
 
/**************/
 
#searchInput {
 
    border-radius: 5px;
 
    height: 2.6em;
 
}
 
a.new {
 
    color: #bd2020;
 
 
}
 
}

Latest revision as of 16:42, 17 June 2022

/* Fixes logo */

.mw-wiki-logo {
    background-image: url(/w/images/0/0b/DTLWIKIBig.png) !important;
    background-size: 100%;
    margin-top: 15px;
}
.Page_SubTitle {
position: absolute;
top: -3.4em;
right: 0em;
font-family: 'Linux Libertine','Georgia','Times',serif;
}