MediaWiki:Timeless.css: Difference between revisions

From Research Realm
testing
whatever its fine
 
(10 intermediate revisions by the same user not shown)
Line 7: Line 7:
--brand-blu-logo: #007ed9;
--brand-blu-logo: #007ed9;
--brand-grn-logo: #39b54a;
--brand-grn-logo: #39b54a;
--brand-ylw-front: #ebc404;
--brand-teal-front: #3e9781;
--brand-ylw-rr: #f8f400;
--brand-ylw-rr: #f8f400;
Line 15: Line 12:
--brand-silver-base: #c8ccd1; /* Timeless default */
--brand-silver-base: #c8ccd1; /* Timeless default */
--brand-boxwhite: #f8f9fa; /* default for those side boxes */
--shadow-inset: 2px 2px 5px 0 rgb(0, 0, 0, 0.4), 1px -1px 5px 0 rgb(0, 0, 0, 0.2) inset;
--shadow-inset: 2px 2px 5px 0 rgb(0, 0, 0, 0.4), 1px -1px 5px 0 rgb(0, 0, 0, 0.2) inset;
--shadow-inset2: 0 3px 3px 2px rgba(0, 0, 0, 0.075), 0 0 2px rgba(0, 0, 0, 0.2), 1px -1px 5px 0 rgb(0, 0, 0, 0.2) inset;
--shadow-inset2: 0 3px 3px 2px rgba(0, 0, 0, 0.075), 0 0 2px rgba(0, 0, 0, 0.2), 1px -1px 5px 0 rgb(0, 0, 0, 0.2) inset;
--shadow-outset: 2px 2px 5px 0 rgb(0, 0, 0, 0.4);
--shadow-outset: 2px 2px 5px 0 rgb(0, 0, 0, 0.4);
--shadow-outset: 0 2px 5px 0 rgb(0, 0, 0, 0.4);
--shadow-base: 0 3px 3px 2px rgba(0, 0, 0, 0.075), 0 0 2px rgba(0, 0, 0, 0.2); /* Timeless default */
--shadow-base: 0 3px 3px 2px rgba(0, 0, 0, 0.075), 0 0 2px rgba(0, 0, 0, 0.2); /* Timeless default */
}
}
Line 26: Line 25:
border-bottom: solid 4px;
border-bottom: solid 4px;
border-bottom-color: var(--brand-primary);
border-bottom-color: var(--brand-primary);
/* background-image: url(https://ringtailraider.neocities.org/backgrounds/tiled-studs-t.png);
background-image: url(/images/tilestuds-wiki.png);
     background-repeat: repeat; */
     background-repeat: repeat;
}
}


Line 41: Line 40:
background: var(--brand-primary);
background: var(--brand-primary);
}
}
/* #mw-header-container {
background: #ddd;
filter: invert(100%);
} */


#mw-header-hack {
#mw-header-hack {
Line 63: Line 57:


.mw-wiki-logo.timeless-logo img {
.mw-wiki-logo.timeless-logo img {
/*   margin-top: 1.00em;*/
/* does this work on all browsers? */
     margin-left: 10px;
     margin-left: 10px;
}
.mw-body .firstHeading {
/**/
}
}


Line 81: Line 71:


/* SPECIFIC TO DIFFERENT SCREEN WIDTHS */
/* SPECIFIC TO DIFFERENT SCREEN WIDTHS */
@media screen and (min-width: 851px) and (max-width: 1099px) {
#mw-content-block {
background: var(--brand-boxwhite);
box-shadow: var(--shadow-bottom) inset;
}
#mw-content {
box-shadow: var(--shadow-bottom);
}
}


@media screen and (max-width: 1099px) {
@media screen and (max-width: 1099px) {
Line 94: Line 95:
background: var(--brand-teal-rr);
background: var(--brand-teal-rr);
}
}
 
#catlinks {
background: #f8f9fa;
border: solid #eaecf0;
border-top-width: medium;
border-right-width: medium;
border-bottom-width: medium;
border-left-width: medium;
border-width: 1px 1px 0.2em;
padding: 1.5em 1.5em 0;
margin: 1em 0;
line-height: 1.125;
word-wrap: break-word;
font-size: 0.95em;
}
}
}



Latest revision as of 20:43, 15 October 2025

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

:root {
	--brand-primary: #ffe10f;

	--brand-red-logo: #ed1c24;
	--brand-blu-logo: #007ed9;
	--brand-grn-logo: #39b54a;
	
	--brand-ylw-rr: #f8f400;
	--brand-teal-rr: #00a4a8;
	
	--brand-silver-base: #c8ccd1; /* Timeless default */
	--brand-boxwhite: #f8f9fa; /* default for those side boxes */
	
	--shadow-inset: 2px 2px 5px 0 rgb(0, 0, 0, 0.4), 1px -1px 5px 0 rgb(0, 0, 0, 0.2) inset;
	--shadow-inset2: 0 3px 3px 2px rgba(0, 0, 0, 0.075), 0 0 2px rgba(0, 0, 0, 0.2), 1px -1px 5px 0 rgb(0, 0, 0, 0.2) inset;
	--shadow-outset: 2px 2px 5px 0 rgb(0, 0, 0, 0.4);
	--shadow-outset: 0 2px 5px 0 rgb(0, 0, 0, 0.4);
	--shadow-base: 0 3px 3px 2px rgba(0, 0, 0, 0.075), 0 0 2px rgba(0, 0, 0, 0.2); /* Timeless default */
}

#mw-content-container {
	background: var(--brand-teal-rr);
	border-bottom: solid 4px;
	border-bottom-color: var(--brand-primary);
	background-image: url(/images/tilestuds-wiki.png);
    background-repeat: repeat;
}

.color-middle {
	background: var(--brand-primary);
}

.color-left {
	background: var(--brand-primary);
}

.color-right {
	background: var(--brand-primary);
}

#mw-header-hack {
	box-shadow: var(--shadow-outset);
}

.mw-wiki-logo.timeless-logo {
	height: 162px;
	width: 162px;
	background-color: #eee;
	border-radius: 50%;
	border: 3px solid #bbb;
	display: inline-block;
	box-shadow: var(--shadow-inset);
/*	margin-top: 12px;*/
}

.mw-wiki-logo.timeless-logo img {
/* does this work on all browsers? */
    margin-left: 10px;
}

.mw-body h1.firstHeading {
	border-bottom: solid 2px;
	border-bottom-color: var(--brand-silver-base);
}

.tools-inline li.selected {
    border-bottom-color: var(--brand-red-logo);
}

/* SPECIFIC TO DIFFERENT SCREEN WIDTHS */

@media screen and (min-width: 851px) and (max-width: 1099px) {
	#mw-content-block {
		background: var(--brand-boxwhite);
		box-shadow: var(--shadow-bottom) inset;
	}
	
	#mw-content {
		box-shadow: var(--shadow-bottom);
	}
}

@media screen and (max-width: 1099px) {
	.color-middle {
		background: var(--brand-teal-rr);
	}

	.color-left {
		background: var(--brand-teal-rr);
	}

	.color-right {
		background: var(--brand-teal-rr);
	}

}

@media screen and (min-width: 1100px) {
	#mw-site-navigation .sidebar-chunk {
/*  	border-radius: 0.5rem; */
		box-shadow: var(--shadow-outset);
	}

	#mw-related-navigation .sidebar-chunk {
		box-shadow: var(--shadow-outset);
	} /* these shouldn't be separate but it won't work otherwise */
	
	#mw-content {
		box-shadow: var(--shadow-outset);
	}
}