MediaWiki:Timeless.css: Difference between revisions

From Sherlock Holmes Encyclopaedia
Content deleted Content added
No edit summary
No edit summary
(159 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* All CSS here will be loaded for users of the Timeless skin */
/* All CSS here will be loaded for users of the Timeless skin */


/** General styling **/
body {background:#f6f6f6; background: url(https://static.wikitide.net/sherlockwiki/d/d8/Depositphotos_16015837-stock-photo-grunge-purple-flower-pattern-background.png) no-repeat center fixed;background-size: 100% 100%;border:none}
body {
color: #000000;
background: #800649; } /* affects vertical scrolbar and footer background */


/* Backdrop */
#mw-content-container {
#mw-content-container {
background : #fcc8a9 !important;
background-color:#fcc8a9 !important;
background-image : none !important;
background-size: cover !important;
width : 60% !important;
background-attachment: fixed !important; }

margin : 3.475em auto 0 auto !important;
/* Content */
border-bottom : 0 !important;
#mw-content-container {
}
background: #170926; /* This also hides black block on backdrop? */
#mw-content-block {background:#917660 !important;}
border-bottom: solid 2px #826249; }
#mw-content {
#mw-content {
background : #917660 !important;
background: #ffe1cf;
border : 0 !important;
border: 2px solid #826249;
border-top: none;
padding-bottom : 0 !important;
box-shadow: none; }
/** Changes for smaller screens **/
@media only screen and (max-width: 1100px) {
#mw-content { /* Content area */
border-right: none;
border-left: none; }
#mw-content-block {
background: #1D0832 }
/* #content-bottom-stuff - category block */
}
}
#mw-footer-container {border-top : solid 1px #999999 !important;}


/* ToC */
#p-logo {padding-top : 1em !important; opacity:0.8 !important;}
#toc {
background: #dbab88;
border: 1px solid #826249 !important;
border-width: 1px;
padding: 1em 1.3em; }
.toctitle {
border-color: #826249 !important; }
.toctogglelabel {
color: #79DEFF !important; }
.tocnumber {
color: #E9E6E8 !important; }


/** Image thumbnail (|thumb|) **/
.color-left {background-color : #610908 !important; height: 0.35em !important;}
.thumbinner {
.color-middle {background-color : #610908 !important; height: 0.25em !important;}
background: transparent;
.color-right {background-color : #610908 !important; height: 0.35em !important;}
border: none;
box-shadow: none; }
.thumbinner .thumbimage {
border: none; }
div.magnify a { /* Icon */
filter: invert(1); }


/* Sidebars */
#site-navigation {
/** Desktop styling **/
background : #fad4b6 !important;
@media only screen and (min-width: 1100px) {
font-size : 0.7em !important;
#mw-site-navigation .sidebar-chunk, #mw-related-navigation .sidebar-chunk {
line-height : 1em !important;
background: #dec4af;
border : 0 !important;
border: 2px solid #826249; }
}
#site-navigation h3 {padding-bottom : 0.25em !important;}
#mw-related-navigation {
width: 14em;
flex: 0 0 14em; }
#site-tools {
background : #fad4b6 !important;
border : 0 !important;
padding : 0 1em !important;
box-shadow : none !important;
margin-top : 4em !important;
margin-bottom : 0 !important;
}
#site-tools ul {
line-height : 0.7em !important;
}
#site-tools li {
font-size : 0.7em !important;
margin : 0 !important;
}
#site-tools #p-tb-label {
font-family : Arial !important;
font-size : 0.7em !important;
text-transform : uppercase !important;}
#site-tools .mw-portlet-body {margin-bottom:0 !important;}
#page-tools {
background : #fad4b6 !important;
border : 0 !important;
padding : 0 1em !important;
margin-top : 0 !important;
}
#page-tools ul {
line-height : 0.7em !important;
}
#ca-delete, #ca-move, #ca-protect, #t-whatlinkshere, #t-recentchangeslinked, #t-print, #t-permalink, #t-info, #t-pagelog {
font-size : 0.7em !important;
margin : 0 !important;
}
#page-tools .mw-portlet-body {margin-bottom:0 !important;}

#p-His_Works ul li:nth-child(3),
#p-His_Works ul li:nth-child(4),
#p-His_Works ul li:nth-child(5),
#p-His_Works ul li:nth-child(6),
#p-His_Works ul li:nth-child(7),
#p-His_Works ul li:nth-child(8),
#p-His_Works ul li:nth-child(16),
#p-His_Works ul li:nth-child(17),
#p-His_Works ul li:nth-child(18),
#p-His_Works ul li:nth-child(19)
{padding-left:20px !important;}

#p-His_Works ul li:nth-child(19)
{
padding-bottom:6px !important;
}

#p-His_Works ul li:nth-child(20)
{
border-top:1px dashed #c8ccd1 !important;
padding-top:6px !important;
}

.thumbcaption {font-size:75% !important; padding:0.5em 0 0 0.5em !important;}

a.long {
font-size : 1.2em !important;
padding : 0 0.75em 0 0 !important;
line-height : 0.8em !important;
}
h1 {
font-family : firstheading !important;
font-size : 2em !important;
color : #333333 !important;
padding-bottom : 8px !important;
border-bottom : 4px solid #333333 !important;
}
h3 {
font-family : firstheading !important;
font-size : 22px !important;
}

h4 {
font-family : firstheading !important;
font-size : 20px !important;
}

.mw-portlet-body li {
font-family : Arial !important;
font-size : 15px !important;
padding : 0.10em 0 !important;
}

#toc li {
line-height : 1.2em !important;
font-size : 95% !important;
}

ul.gallery {margin:2em 0 2em 0 !important;}
div.gallerytext {font-size : 80% !important;}
li.gallerycaption {text-align: left !important; padding-bottom: 10px !important;}

.mw-body dd {margin-bottom: 0.1em !important;}


/* mobile */
@media (max-width: 500px) {
#mw-content-container {
background : #fad4b6 !important;
width : 95% !important;
margin : 3.475em auto !important;
}
}

/* One-sided navigation menu */
@media (min-width: 1340px) {
#mw-content-block {
display: block;
}
#mw-content,
#content-bottom-stuff {
margin-left: 14em;
background:#fad4b6 !important;
}
#mw-content-wrapper {
float: right;
margin-left: -14em;
width: 100%;
}
#mw-related-navigation {
width: 14em;
padding: 0 1em 0 0;
}
div.color-middle {
margin-right: 0;
}
.mw-wiki-logo {
xdisplay: none !important;
}
}

/* Align top colour bar with page columns */
.ts-inner {
padding: 0 0 0 1em;
}
}


#mw-header-hack {
ol.references {margin: 0.3em 0 0 1.5em !important;}
box-shadow: none; }
.color-left, .color-middle, .color-right {
background: #826249; }


#catlinks-sidebar {display: none !important;}
#catlinks-sidebar {display: none !important;}
Line 179: Line 74:
#mw-normal-catlinks {
#mw-normal-catlinks {
border : 1px dashed #aaaaaa !important;
border : 1px dashed #aaaaaa !important;
background : #e1dac8 !important;
background : #f0b599 !important;
width : 83% !important;
width : 98% !important;
margin : 0 auto !important;
margin : 0 auto !important;
padding : 10px !important;
padding : 10px !important;
}
}


a.new:hover, .new a:hover, a.new:visited, .new a:visited {
#footer-list {text-align:center;}
#footer-list a {color:#999999;}
color: #7d593c;

@media screen and (min-width: 851px) and (max-width: 1099px)
{
#mw-site-navigation {display: none !important;}
#mw-related-navigation {display: none !important;}
}
}
.mw-plusminus-neg {

color: #FF0000;
/********* Portable infobox theme *********/
.portable-infobox {
--pi-border-color: #754836;
border: 2px solid #754836;
border-radius: 8px;
padding: 6px;
font-size: 12px;
background-color: #cfa07c;
line-height: 1.5;
width: 21.9em;
}
}
#searchButton, #mw-searchButton {

border: 0 !important;
.portable-infobox .pi-data,
left: 38vw;
.portable-infobox .pi-group {
border: "333333;
right: 0;
margin-left: auto;
margin-right: auto;
}
}


#mw-footer-container a:hover {
.portable-infobox .pi-header {
color: #ffff33;
opacity:0.8;
background-color: #754836;
color:black;
text-align: center;
}
}
#mw-footer-container a:visited {
.portable-infobox .pi-navigation {
background-color: #cfa07c;
color: #A1805F;
font-size: 12px;
text-align: center;
}
}


/* unvisited link */
.portable-infobox .pi-title {
a:link {
opacity:0.9;
color: #874118;
background: #754836;
color:black;
border: 1px solid;
border-color: var(--theme-box-border-color-inner);
border-radius: var(--theme-box-border-radius-inner);
text-align: center;
}
}


/* visited link */
.portable-infobox .pi-title {
a:visited {
opacity:0.9;
color: #a1562a;
font-weight: bold;
color:black;
font-size: 15px;
padding: 6px 3px;
line-height: 1.2;
text-align: center;
}
}


/* mouse over link */
/********* Portable infobox theme *********/
a:hover {
.portable-infobox {
--pi-border-color: #754836;
color: hotpink;
border: 2px solid #754836;
border-radius: 8px;
padding: 6px;
font-size: 12px;
background-color: #cfa07c;
line-height: 1.5;
width: 20em;
}
}


/* selected link */
.portable-infobox .pi-data,
a:active {
.portable-infobox .pi-group {
color: blue;
border: "333333;
}
}


/** Banner (search and user toolbar) **/
.portable-infobox .pi-header {
#mw-header-container:before {
background-color: #754836;
opacity:0.9;
content:"";
position:absolute;
color:black;
text-align: center;
width: 100%;
height:100%;
text-color:darkred;
top:0;
}
pointer-events:none;
.portable-infobox .pi-navigation {
z-index:-1;
background-color: #cfa07c;
filter: blur(1px);
color:black;
background:#232741;
font-size: 12px;
background-image: url(https://static.miraheze.org/sherlockholmeswiki/8/8a/Art-crew-london-mood-wallpaper-preview.jpg);
text-align: center;
opacity: 0.7;
background-repeat:no-repeat;
background-attachment: fixed !important;
}
}


/* [[Category:Styling pages]] */
.portable-infobox .pi-title {
opacity:0.9;
background: #754836;
color:black;
border: 1px solid;
border-color: var(--theme-box-border-color-inner);
border-radius: var(--theme-box-border-radius-inner);
text-align: center;
text-color:darkred;
}

.portable-infobox .pi-title {
font-weight: bold;
color:black;
font-size: 15px;
padding: 6px 3px;
line-height: 1.2;
text-align: center;
}

h1 {
font-family : firstheading !important;
font-size : 2em !important;
color : #333333 !important;
padding-bottom : 8px !important;
border-bottom : 4px solid #333333 !important;
}

Revision as of 15:28, 21 June 2024

/* All CSS here will be loaded for users of the Timeless skin */

/** General styling **/
body {
	color: #000000; 
	background: #800649; } /* affects vertical scrolbar and footer background */

/* Backdrop */
#mw-content-container {
    background-color:#fcc8a9 !important;
    background-size: cover !important;
    background-attachment: fixed !important; }

/* Content */	
#mw-content-container {
	background: #170926; /* This also hides black block on backdrop? */
	border-bottom: solid 2px #826249; }	
#mw-content {
	background: #ffe1cf;
	border: 2px solid #826249;
	border-top: none;
	box-shadow: none; }
/** Changes for smaller screens **/
@media only screen and (max-width: 1100px) { 
  #mw-content { /* Content area */
    border-right: none;
    border-left: none; }
  #mw-content-block {
    background: #1D0832 }
  /* #content-bottom-stuff - category block */
}

/* ToC */	
#toc {
	background: #dbab88;
	border: 1px solid #826249 !important;
	border-width: 1px;
	padding: 1em 1.3em; }
.toctitle {
	border-color: #826249 !important; }
.toctogglelabel {
	color: #79DEFF !important; }
.tocnumber {
	color: #E9E6E8 !important; }

/** Image thumbnail (|thumb|) **/
.thumbinner {
	background: transparent;
	border: none;
	box-shadow: none; }
.thumbinner .thumbimage {
	border: none; }
div.magnify a { /* Icon */
	filter: invert(1); }

/* Sidebars */
/** Desktop styling **/
@media only screen and (min-width: 1100px) {
#mw-site-navigation .sidebar-chunk, #mw-related-navigation .sidebar-chunk {
	background: #dec4af;
	border: 2px solid #826249; }
#mw-related-navigation {
	width: 14em;
	flex: 0 0 14em; }
}

#mw-header-hack {
	box-shadow: none; }
.color-left, .color-middle, .color-right {
  background: #826249; }

#catlinks-sidebar {display: none !important;}
#catlinks {display: block !important;}
#mw-normal-catlinks {
	border     : 1px dashed #aaaaaa !important;
	background : #f0b599 !important;
	width      : 98% !important;
	margin     : 0 auto !important;
	padding    : 10px !important;
}

a.new:hover, .new a:hover, a.new:visited, .new a:visited {
	color: #7d593c;
}
.mw-plusminus-neg {
	color: #FF0000;
}
#searchButton, #mw-searchButton {
	border: 0 !important;
	left: 38vw;
	right: 0;
	margin-left: auto;
	margin-right: auto;
}

#mw-footer-container a:hover {
	color: #ffff33;
}
#mw-footer-container a:visited {
	color: #A1805F;
}

/* unvisited link */
a:link {
  color: #874118;
}

/* visited link */
a:visited {
  color: #a1562a;
}

/* mouse over link */
a:hover {
  color: hotpink;
}

/* selected link */
a:active {
  color: blue;
}

/** Banner (search and user toolbar) **/
 #mw-header-container:before {
  content:"";
  position:absolute;
  width: 100%;
  height:100%;
  top:0;
  pointer-events:none;
  z-index:-1;
  filter: blur(1px);
  background:#232741;
  background-image: url(https://static.miraheze.org/sherlockholmeswiki/8/8a/Art-crew-london-mood-wallpaper-preview.jpg);
  opacity: 0.7;
  background-repeat:no-repeat;
  background-attachment: fixed !important;
}

/* [[Category:Styling pages]] */