User:Dat Hack3r/styles.css: Difference between revisions

From Our World of Text Wiki
Jump to navigation Jump to search
(Made it so that certain templates won't be affected by the styles.)
(After trying to get it to work for a long time, I finally realized it would be easier for the link style to only apply to links inside the border box.)
Line 20: Line 20:
}
}


a:link:not(.template) {
.red-border-box a:link {
   color: #00FF00;
   color: #00FF00;
}
}


a:visited:not(.template) {
.red-border-box a:visited {
   color: #FFFF00;
   color: #FFFF00;
}
}

Revision as of 15:54, 15 April 2024

p, .mw-headline {
	color: #FF0000;
	font-family: monospace, monospace;
}

p {
	font-size: 1.1em;
}

.red-border-box {
	border-radius: 100px;
	border: 10px solid #ff0000;
	background-color: #000000;
	padding: 80px;
	width: calc(100% - 2 * 10px - 2 * 80px);
}

.red-border-box .hatnote {
	color: #808080;
}

.red-border-box a:link {
  color: #00FF00;
}

.red-border-box a:visited {
  color: #FFFF00;
}