Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
Line 23: | Line 23: | ||
} | } | ||
− | .infobox figure { margin: 0; } | + | .infobox figure { margin: 1em 0; } |
.infobox-image { | .infobox-image { | ||
Line 44: | Line 44: | ||
width: 120px; | width: 120px; | ||
} | } | ||
+ | |||
+ | .infobox tr { | ||
+ | margin: 0.5em; | ||
+ | } | ||
+ | |||
.infobox td { | .infobox td { | ||
padding: 0; | padding: 0; | ||
Line 50: | Line 55: | ||
.infobox td p { | .infobox td p { | ||
+ | vertical-align: top; | ||
padding: 0; | padding: 0; | ||
margin: 0; | margin: 0; |
Revision as of 08:06, 7 April 2021
/* ------------------------------------------------- */ /* first thing i gotta do is deal with the infoboxes */ /* ------------------------------------------------- */ .infobox { background: #eee; border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 1em; width: 320px; } .infobox-title { font-size: 2em; text-align: center; background: #aaa; } .infobox-subtitle { text-align: center; color: #444; background: #aaa; row-span: 2; font-size: 1.35em; } .infobox figure { margin: 1em 0; } .infobox-image { text-align: center; } .infobox-image image { max-width: 100%; } .infobox-caption { text-size: smaller; text-align: left; color: #444; } .infobox table { width: 100%; } .infobox th { text-align: right; vertical-align: top; width: 120px; } .infobox tr { margin: 0.5em; } .infobox td { padding: 0; white-space: pre-line; } .infobox td p { vertical-align: top; padding: 0; margin: 0; } /* ------------------------------------------------------------------------ */ /* some nice formatting for the headers so that they're beautiful (like me) */ /* ------------------------------------------------------------------------ */ /* make my name fancy because i'm special */ a[href="/wiki/User:Pllut6969"] { font-family: Tahoma, serif; color: #112787 !important; font-weight: bold !important; text-transform: lowercase !important; /* most important part tbh */ } /* ------------------------------------------------ */ /* and here i start making edits to the fucking ids */ /* ------------------------------------------------ */ #bodyContent { font-family: Tahoma, serif; font-size: 11pt; } /* this is for the cute little shoutbox of neptune*/ #nepu { color: #230033; border-radius: 10px; border: 2px solid #451155; background-color: #FDFDFA; padding: 18px 25px 18px; } /* fucking gay fanon insert shit */ #fanon { background: #eee; text-align: center; border: 1px inset #e8eb34; display: block; margin: auto; width: 69%; /* yeah boi */ color: #350201; font-style: italic; background-color: white; } #fanon img { vertical-align: middle; } /* shoulda fuckin used this shit in the first place dude */ #fp-main { width: 70%; } /* link colors */ a:link { color: #b503c9; } a:hover { color: #B2507C; } a:clicked { color: #800033; } /* i don't think this megadark magenta is actually used */ a:visited { color: #5724a8; } /* ---------------------- */ /* custom classes go here */ /* ---------------------- */ /* speech bubble arrow for neptunia sez*/ .arrow-inner { width: 0; height: 0; border-left: 6px solid transparent; border-bottom: 6px solid transparent; border-right: 6px solid #451155; border-top: 6px solid #451155; float: right; position: relative; left: 15px; } .arrow-inner_after { width: 0; height: 0; border-left: 5px solid transparent; border-bottom: 5px solid transparent; border-right: 5px solid #FDFDFA; border-top: 5px solid #FDFDFA; float: right; position: relative; top: -2px; left: 25px; } /* used on the frontpage, this is similar to the neptune says div */ .fp-section { color: #230033; border-radius: 10px; border: 2px solid #451155; background-color: #FDFDFA; padding: 18px 18px; width: 100%; } /* idk */ .fp-header { text-align: center; text-decoration: none !important; border: none !important; } /* ---------------- */ /* land of the FUCK */ /* ---------------- */