Difference between revisions of "MediaWiki:Timeless.css"

From Drawn to Life Wiki
(There were two copies?)
(organizing)
Line 12: Line 12:
 
     background-position: bottom;
 
     background-position: bottom;
 
}
 
}
 +
/* Footer color */
 
body {
 
body {
 
     background: #353c49;
 
     background: #353c49;
Line 32: Line 33:
 
*/
 
*/
  
−
 
+
/* Toc */
−
/* TOC Highlight */
+
/* Left borders */
 +
.mw-content-ltr .toc ul ul, .mw-content-rtl .mw-content-ltr .toc ul ul {
 +
    border-left: 2px solid #c8ccd1;
 +
    padding-left: 0.5em;
 +
}
 +
.tocnumber {
 +
    display: none;
 +
}
 +
/* Highlight */
 
.mw-headline:target {
 
.mw-headline:target {
 
     background-color: #ffef008a;
 
     background-color: #ffef008a;
Line 40: Line 49:
 
     padding: 0 3px 0 3px;
 
     padding: 0 3px 0 3px;
 
}
 
}
−
 
−
/* Page Background */
 
  
  
−
/* H3 */
+
/* Header H3 */
 
.mw-body h3 {
 
.mw-body h3 {
 
border-bottom: solid 2px #c8ccd1;
 
border-bottom: solid 2px #c8ccd1;
Line 55: Line 62:
 
  width: 1px;
 
  width: 1px;
 
  display: inline-flex;
 
  display: inline-flex;
−
}
 
−
 
−
/* This works but uses a placeholder
 
−
.mw-wiki-logo:hover {
 
−
background-image: url("https://i.imgur.com/1zYUCcH.gif");
 
−
}
 
−
*/
 
−
 
−
/* Toc */
 
−
 
−
.mw-content-ltr .toc ul ul, .mw-content-rtl .mw-content-ltr .toc ul ul {
 
−
    border-left: 2px solid #c8ccd1;
 
−
    padding-left: 0.5em;
 
−
}
 
−
.tocnumber {
 
−
    display: none;
 
 
}
 
}

Revision as of 17:55, 28 May 2021

/* All CSS here will be loaded for users of the Timeless skin */
/* https://www.mediawiki.org/wiki/Skin:Timeless */

  /********/
 /* Body */
/********/
#mw-content-container {
    background: #71bdf7;
    background-image: url("https://drawntolife.wiki/w/images/0/0b/WikiBackground.png");
    background-attachment: fixed;
    background-size: cover;
    background-position: bottom;
}
/* Footer color */
body {
    background: #353c49;
}

/* Logo */
.mw-wiki-logo {
    background-image: url(https://drawntolife.wiki/w/images/0/0b/DTLWIKIBig.png);
    background-size: 100%;
}
.mw-wiki-logo:hover {
    background-image: url(https://drawntolife.wiki/w/images/1/1d/DTLWikiAnimated.png);
    background-size: 100%;
}

/* Content width 
.ts-inner {
    max-width: 145em;
}
*/

/* Toc */
/* Left borders */
.mw-content-ltr .toc ul ul, .mw-content-rtl .mw-content-ltr .toc ul ul {
    border-left: 2px solid #c8ccd1;
    padding-left: 0.5em;
}
.tocnumber {
    display: none;
}
/* Highlight */
.mw-headline:target {
    background-color: #ffef008a;
    transition: 0.8s;
    border-radius: 10px;
    padding: 0 3px 0 3px;
}


/* Header H3 */
.mw-body h3 {
border-bottom: solid 2px #c8ccd1;
font-size: 1.4em;
}

/* Experimental and inefficient edit button text remover */
span.mw-editsection a {
 color: transparent;
 width: 1px;
 display: inline-flex;
}