MediaWiki:Common.css: Difference between revisions

From The Birdhouse
Jump to navigationJump to search
No edit summary
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 62: Line 62:
.book {
.book {
box-sizing: border-box;
box-sizing: border-box;
width: 432px;
max-width: 432px;
height: 534px;
width: 90vw;
background: url("/images/f/f3/Book.png") no-repeat;
padding: 37px 45px 65px 43px;
}
}
 
.bookbtnleft {
box-sizing: border-box;
display: inline-block;
max-width: 216px;
width: 45vw;
height: 74px;
background: url("/images/2/20/Bookleft.png") no-repeat;
background-size: contain;
}
.bookbtnleft:hover { cursor: pointer; background: url("/images/c/c6/Bookleftred.png") no-repeat; background-size: contain; }
.bookbtnright {
box-sizing: border-box;
display: inline-block;
max-width: 216px;
width: 45vw;
height: 74px;
background: url("/images/1/1f/Bookright.png") no-repeat;
background-size: contain;
}
.bookbtnright:hover { cursor: pointer; background: url("/images/b/be/Bookrightred.png") no-repeat; background-size: contain; }
.writing {
.writing {
width: 344px;
background: url("/images/a/ae/Booktop.png") no-repeat;
height: 426px;
background-size: contain;
overflow-y: scroll;
box-sizing: border-box;
max-width: 432px;
width: 90vw;
max-height: 460px;
font-family: Minecraft;
font-family: Minecraft;
color: #000000;
color: #000000;
font-size: 29px;
padding: 7% 11% 0px 11%;
line-height: 30px;
padding: 0;
margin: 0;
margin: 0;
overflow: hidden;
font-size: 180%;
line-height: 100%;
}
}


.writing p {
.book p { display: none; }
font-size: 29px;
.book p#pg1 { display: block; }
line-height: 30px;
margin: 0;
}


/* SPECIAL FORMATTING CLASSES */
/* SPECIAL FORMATTING CLASSES */

Latest revision as of 21:08, 28 September 2025

/*
CSS placed here will be applied to all skins.
DON'T EDIT THIS unless you know for sure what you're doing,
because changing certain variables might break the wiki or make it look weird!
*/

/* MINECRAFT FONTS */

@font-face {
  font-family: Minecraft;
  src: url(/resources/assets/fonts/MinecraftRegular.otf);
}
@font-face {
  font-family: Minecraft;
  src: url(/resources/assets/fonts/MinecraftItalic.otf);
  font-style: italic;
}
@font-face {
  font-family: Minecraft;
  src: url(/resources/assets/fonts/MinecraftBold.otf);
  font-weight: bold;
}
@font-face {
  font-family: Minecraft;
  src: url(/resources/assets/fonts/MinecraftBoldItalic.otf);
  font-weight: bold;
  font-style: italic;
}

/* CODEBLOCKS */

pre {
	color: blue;
	background: lightgray;
	font-size: 12px;
	line-height: 13px;
	padding: 10px;
	max-height: 200px;
	margin-bottom: 1em;
/*	user-select: all; */
}

/* CHAT LOGS */

.chatlog {
	color: white;
	background: #545454;
	font-size: 1rem;
	line-height: 1rem;
	font-family: Minecraft;
	padding: 10px;
	margin-bottom: 1em;
}

.chatlog p {
	line-height: 1rem;
	margin-bottom: 0;
}

/* BOOKS */

.book {
	box-sizing: border-box;
	max-width: 432px;
	width: 90vw;
}
.bookbtnleft {
	box-sizing: border-box;
	display: inline-block;
	max-width: 216px;
	width: 45vw;
	height: 74px;
	background: url("/images/2/20/Bookleft.png") no-repeat;
	background-size: contain;
}
.bookbtnleft:hover { cursor: pointer; background: url("/images/c/c6/Bookleftred.png") no-repeat; background-size: contain; }
.bookbtnright {
	box-sizing: border-box;
	display: inline-block;
	max-width: 216px;
	width: 45vw;
	height: 74px;
	background: url("/images/1/1f/Bookright.png") no-repeat;
	background-size: contain;
}
.bookbtnright:hover { cursor: pointer; background: url("/images/b/be/Bookrightred.png") no-repeat; background-size: contain; }
.writing {
	background: url("/images/a/ae/Booktop.png") no-repeat;
	background-size: contain;
	box-sizing: border-box;
	max-width: 432px;
	width: 90vw;
	max-height: 460px;
	font-family: Minecraft;
	color: #000000;
	padding: 7% 11% 0px 11%;
	margin: 0;
	overflow: hidden;
	font-size: 180%;
	line-height: 100%;
}

.book p { display: none; }
.book p#pg1 { display: block; }

/* SPECIAL FORMATTING CLASSES */

.minecraft { font-family: Minecraft; }
.bold { font-weight: bold; }
.italic { font-style: italic; }
.underline { text-decoration: underline; }
.darkbg { background-color: #23303E; }
.center { text-align: center; margin-bottom: 1em; }

.darkblue { color: #0000AA; }
.darkgreen { color: #00AA00; }
.darkaqua { color: #00AAAA; }
.darkred { color: #AA0000; }
.darkpurple { color: #AA00AA; }
.gold { color: #FFAA00; }
.gray { color: #AAAAAA; }
.darkgray { color: #555555; }
.blue { color: #5555FF; }
.green { color: #55FF55; }
.aqua { color: #55FFFF; }
.red { color: #FF5555; }
.lightpurple { color: #FF55FF; }
.yellow { color: #FFFF55; }
.white { color: #FFFFFF; }
.black { color: #000000; }

/* AO3 TAGS */

.ao3 {
	background: #EDEDED;
	padding: 15px;
	margin-bottom: 1em;
}
.tag {
	line-height: 1.5;
	text-decoration: none;
	padding: 0;
	border-bottom: 1px dotted;
}
.tag:hover {
	color: white;
	background: #900000;
	cursor: pointer;
}

/* WARNINGS */

.warning {
	font-size: 1rem;
	color: #222222;
	box-sizing: border-box;
	margin-bottom: 1em;
	padding: 15px;
}
.maturecontent {
	background-color: #fee7e6;
	border: 1px #d33 solid;
}
.caution {
	background-color: #fef8e6;
	border: 1px #ddc233 solid;
}

/* ADVANCEMENTS */

.advhover {
	position: relative;
	color: #55FF55;
	cursor: default;
}

.advhover:before {
	content: attr(data-hover);
	visibility: hidden;
	opacity: 0;
	position: absolute;
	z-index: 1;
	left: 0;
	top: 110%;
	width: 200px;
	background-color: #110311;
	color: #55FF55;
	text-shadow: 2px 2px #153e15;
	font-family: Minecraft;
	border: 3px solid #26045c;
	padding: 10px;
}

.advhover:hover:before {
  opacity: 1;
  visibility: visible;
}

#mw-normal-catlinks a.new {
	color: #ba0000;
}