YEAH WE ARE BACK NIGGA, NIGGA SOYCHECKMARK TRIED TO DDOS OUR SERVER HOST NIGGA
MediaWiki:Monobook.css: Difference between revisions
From Soypaper wiki
Jump to navigationJump to search
NuAngeleno (talk | contribs) Created page with "→========================================================== Custom look for the Monobook skin. Paste this into MediaWiki:Monobook.css (site-wide, needs sysop rights) or User:YourName/monobook.css (personal only). ==========================================================: →---------- Palette / typography ----------: body { background-color: #f5f7f4; color: #202122; } #content { background: #fff; border-color: #a7c6d9; line-height: 1.55; } h1,..." |
NuAngeleno (talk | contribs) Lol |
||
| Line 117: | Line 117: | ||
font-size: 0.8em; | font-size: 0.8em; | ||
color: #555; | color: #555; | ||
} | |||
/* ========================================================== | |||
Images: logo, background, icons. | |||
Replace every /images/.../yourfile.png below with the real | |||
URL of a file you've uploaded via Special:Upload (open the | |||
file's page and copy its "Actual file" link), or a full | |||
https:// URL if the image is hosted elsewhere. | |||
========================================================== */ | |||
/* Site logo — only needed here if you can't set $wgLogo in | |||
LocalSettings.php. If you can, use that instead; it's the | |||
normal way and also affects other skins. */ | |||
#p-logo a { | |||
background-image: url( /images/a/a1/yourlogo.png ); | |||
background-repeat: no-repeat; | |||
background-position: 35% 50%; | |||
} | |||
/* Page background image. object-fit isn't available for CSS | |||
backgrounds, so pick repeat/position/size to suit your image: | |||
a small tiled texture wants "repeat", a full photo usually | |||
wants "no-repeat" + "cover". */ | |||
body { | |||
background-image: url( /images/b/b2/yourbackground.png ); | |||
background-repeat: repeat; /* or: no-repeat */ | |||
background-attachment: fixed; /* stays put while scrolling; drop this line if you don't want that */ | |||
} | |||
/* External link icon (the little arrow after outbound links) */ | |||
a.external, | |||
.external { | |||
background-image: url( /images/c/c3/external-link-icon.png ); | |||
background-repeat: no-repeat; | |||
background-position: right center; | |||
padding-right: 13px; | |||
} | |||
/* Redlink ("page doesn't exist yet") icon/color */ | |||
a.new, | |||
#p-personal a.new { | |||
color: #ba0000; | |||
background-image: none; /* Monobook doesn't icon these by default; set a url() here if you want one */ | |||
} | |||
/* RSS/Atom feed icon in the sidebar, if your wiki shows one */ | |||
#p-tb li.feed-icon a, | |||
.feedlink { | |||
background-image: url( /images/d/d4/feed-icon.png ); | |||
background-repeat: no-repeat; | |||
background-position: left center; | |||
padding-left: 16px; | |||
} | } | ||
Revision as of 12:20, 13 September 2026
/* ==========================================================
Custom look for the Monobook skin.
Paste this into MediaWiki:Monobook.css (site-wide, needs
sysop rights) or User:YourName/monobook.css (personal only).
========================================================== */
/* ---------- Palette / typography ---------- */
body {
background-color: #f5f7f4;
color: #202122;
}
#content {
background: #fff;
border-color: #a7c6d9;
line-height: 1.55;
}
h1, h2, h3, h4, h5, h6 {
font-family: Georgia, 'Times New Roman', serif;
font-weight: normal;
color: #000;
}
#firstHeading {
font-size: 1.9em;
border-bottom: 1px solid #a7c6d9;
padding-bottom: 0.2em;
}
h2 {
border-bottom: 1px solid #a7c6d9;
padding-bottom: 0.2em;
}
a {
color: #002bb8;
}
a:visited {
color: #5a3696;
}
a.new,
#p-personal a.new {
color: #ba0000;
}
/* ---------- Sidebar portlets ---------- */
.portlet h5,
.portlet h3 {
font-size: 0.85em;
font-weight: normal;
text-transform: lowercase;
font-variant: small-caps;
color: #444;
border-bottom: 1px solid #a7c6d9;
background: none;
padding-left: 1.25em;
}
.portlet .pBody {
border: none;
background: none;
}
.portlet a {
color: #002bb8;
}
/* ---------- Top tabs (views / cactions) ---------- */
#p-cactions li a {
background-color: #efefef;
border-color: #a7c6d9;
color: #333;
}
#p-cactions li.selected a {
background-color: #fff;
font-weight: bold;
color: #000;
}
/* ---------- Search box ---------- */
#p-search input#searchInput {
border: 1px solid #a7c6d9;
border-radius: 0.2em;
padding: 0.2em 0.3em;
}
/* ---------- Tables ---------- */
table.wikitable {
border: 1px solid #a2a9b1;
background: #f8f9fa;
}
table.wikitable th {
background: #eaecf0;
}
/* ---------- Category links ---------- */
#catlinks {
background: #f4f9fc;
border: 1px solid #a7c6d9;
padding: 0.4em 0.6em;
}
/* ---------- Footer ---------- */
#footer {
font-size: 0.8em;
color: #555;
}
/* ==========================================================
Images: logo, background, icons.
Replace every /images/.../yourfile.png below with the real
URL of a file you've uploaded via Special:Upload (open the
file's page and copy its "Actual file" link), or a full
https:// URL if the image is hosted elsewhere.
========================================================== */
/* Site logo — only needed here if you can't set $wgLogo in
LocalSettings.php. If you can, use that instead; it's the
normal way and also affects other skins. */
#p-logo a {
background-image: url( /images/a/a1/yourlogo.png );
background-repeat: no-repeat;
background-position: 35% 50%;
}
/* Page background image. object-fit isn't available for CSS
backgrounds, so pick repeat/position/size to suit your image:
a small tiled texture wants "repeat", a full photo usually
wants "no-repeat" + "cover". */
body {
background-image: url( /images/b/b2/yourbackground.png );
background-repeat: repeat; /* or: no-repeat */
background-attachment: fixed; /* stays put while scrolling; drop this line if you don't want that */
}
/* External link icon (the little arrow after outbound links) */
a.external,
.external {
background-image: url( /images/c/c3/external-link-icon.png );
background-repeat: no-repeat;
background-position: right center;
padding-right: 13px;
}
/* Redlink ("page doesn't exist yet") icon/color */
a.new,
#p-personal a.new {
color: #ba0000;
background-image: none; /* Monobook doesn't icon these by default; set a url() here if you want one */
}
/* RSS/Atom feed icon in the sidebar, if your wiki shows one */
#p-tb li.feed-icon a,
.feedlink {
background-image: url( /images/d/d4/feed-icon.png );
background-repeat: no-repeat;
background-position: left center;
padding-left: 16px;
}