Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(Created page with "→CSS placed here will be applied to all skins: .infobox { background: #eee; border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 1em;...") |
|||
| (13 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | /* | + | /* ------------------------------------------------- */ |
| + | /* first thing i gotta do is deal with the infoboxes */ | ||
| + | /* ------------------------------------------------- */ | ||
.infobox { | .infobox { | ||
background: #eee; | background: #eee; | ||
| Line 5: | Line 7: | ||
float: right; | float: right; | ||
margin: 0 0 1em 1em; | margin: 0 0 1em 1em; | ||
| − | padding: | + | padding: 0.5em; |
| − | width: | + | width: 320px; |
} | } | ||
.infobox-title { | .infobox-title { | ||
font-size: 2em; | font-size: 2em; | ||
text-align: center; | text-align: center; | ||
| + | background: #aaa; | ||
} | } | ||
| + | |||
| + | /* subtitle is the middle headers, not the image's caption */ | ||
| + | .infobox-subtitle { | ||
| + | text-align: center; | ||
| + | color: #444; | ||
| + | background: #aaa; | ||
| + | font-size: 1.35em; | ||
| + | } | ||
| + | |||
| + | .infobox figure { margin: 1em 0; } | ||
| + | |||
.infobox-image { | .infobox-image { | ||
text-align: center; | text-align: center; | ||
} | } | ||
| + | .infobox-image image { | ||
| + | max-width: 100%; | ||
| + | } | ||
| + | |||
| + | .infobox-caption { | ||
| + | text-size: smaller; | ||
| + | text-align: left; | ||
| + | color: #444; | ||
| + | padding-top: 0.5em; | ||
| + | } | ||
| + | |||
| + | .infobox table { | ||
| + | width: 100%; | ||
| + | border-spacing: 0.2em 0.69em; | ||
| + | } | ||
| + | |||
.infobox th { | .infobox th { | ||
| − | text-align: | + | text-align: left; |
vertical-align: top; | vertical-align: top; | ||
width: 120px; | width: 120px; | ||
} | } | ||
| + | |||
.infobox td { | .infobox td { | ||
vertical-align: top; | vertical-align: top; | ||
| + | padding: 0; | ||
| + | } | ||
| + | |||
| + | .infobox td p { | ||
| + | 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; } | ||
| + | a.new, a.new:visited { color: #BA0000; } | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | /* ---------------------- */ | ||
| + | /* 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; | ||
| + | } | ||
| + | |||
| + | /* side bar for the front page */ | ||
| + | .fp-nav { | ||
| + | float: right; | ||
| + | width: 24%; | ||
| + | top: 0px; | ||
| + | bottom: 0px; | ||
| + | margin: 1%; | ||
| + | padding: 3px; | ||
| + | color: #001433; | ||
| + | overflow: hidden; | ||
| + | } | ||
| + | |||
| + | /* make sure my pudding scales with the nav */ | ||
| + | .fp-nav img { max-width: 100%; } | ||
| + | |||
| + | /* make the category nav on the front page a little bit nicer*/ | ||
| + | .fp-columns ul, .fp-columns_4 ul { | ||
| + | list-style-type: none; | ||
| + | margin: 10px 0; | ||
| + | padding: 0; | ||
| + | } | ||
| + | |||
| + | .fp-columns li { | ||
| + | float: left; | ||
| + | display: block; | ||
| + | text-align: center; | ||
| + | margin: 0; | ||
| + | padding: 0.5%; | ||
| + | width: 32%; | ||
| + | } | ||
| + | |||
| + | .fp-columns_4 li { | ||
| + | float: left; | ||
| + | display: block; | ||
| + | text-align: center; | ||
| + | margin: 0; | ||
| + | padding: 0.5%; | ||
| + | width: 24%; | ||
| + | } | ||
| + | |||
| + | |||
| + | |||
| + | /* 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 */ | ||
| + | /* ---------------- */ | ||
Latest revision as of 05:35, 25 September 2022
/* ------------------------------------------------- */
/* 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: 0.5em;
width: 320px;
}
.infobox-title {
font-size: 2em;
text-align: center;
background: #aaa;
}
/* subtitle is the middle headers, not the image's caption */
.infobox-subtitle {
text-align: center;
color: #444;
background: #aaa;
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;
padding-top: 0.5em;
}
.infobox table {
width: 100%;
border-spacing: 0.2em 0.69em;
}
.infobox th {
text-align: left;
vertical-align: top;
width: 120px;
}
.infobox td {
vertical-align: top;
padding: 0;
}
.infobox td p {
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; }
a.new, a.new:visited { color: #BA0000; }
/* ---------------------- */
/* 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;
}
/* side bar for the front page */
.fp-nav {
float: right;
width: 24%;
top: 0px;
bottom: 0px;
margin: 1%;
padding: 3px;
color: #001433;
overflow: hidden;
}
/* make sure my pudding scales with the nav */
.fp-nav img { max-width: 100%; }
/* make the category nav on the front page a little bit nicer*/
.fp-columns ul, .fp-columns_4 ul {
list-style-type: none;
margin: 10px 0;
padding: 0;
}
.fp-columns li {
float: left;
display: block;
text-align: center;
margin: 0;
padding: 0.5%;
width: 32%;
}
.fp-columns_4 li {
float: left;
display: block;
text-align: center;
margin: 0;
padding: 0.5%;
width: 24%;
}
/* 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 */
/* ---------------- */