MediaWiki:Common.css: Difference between revisions
Increase header bar padding and fix overlapping |
Add centered text under the logo |
||
| Line 554: | Line 554: | ||
padding-left: 14px !important; | padding-left: 14px !important; | ||
padding-right: 14px !important; | padding-right: 14px !important; | ||
} | |||
/* --- 14. Logo Subtext --- */ | |||
/* Inject text under the logo */ | |||
#p-logo::after { | |||
content: "The Winds of Valen Wiki"; | |||
display: block; | |||
text-align: center; | |||
font-family: 'Kingthings Petrock', 'PT Serif', Georgia, serif; /* Using the custom OSRS font! */ | |||
font-size: 1.3em; | |||
font-weight: normal; | |||
color: #f1e7d3; /* Parchment color */ | |||
text-shadow: 2px 2px 3px #000000, -1px -1px 2px #000000; /* Strong dark outline to make it readable over backgrounds */ | |||
position: relative; | |||
top: -35px; /* Pull it up into the logo bounding box so it sits right under the image */ | |||
line-height: 1.2; | |||
z-index: 10; | |||
} | |||
/* Push the sidebar navigation down slightly to make room for the new text */ | |||
#p-navigation { | |||
margin-top: 10px !important; | |||
} | } | ||