MediaWiki:Anisa.css: Difference between revisions
From Lorhondel World
ArtsyAxolotl (talk | contribs) No edit summary |
ArtsyAxolotl (talk | contribs) No edit summary |
||
(41 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* Change Main Background */ | /* Change Main Background and font sizes*/ | ||
body { | body { | ||
background: | background: | ||
Line 11: | Line 11: | ||
/* bottom, image */ | /* bottom, image */ | ||
url(/skins/Anisa/resources/images/bkgd.gif?97fa7); | url(/skins/Anisa/resources/images/bkgd.gif?97fa7); | ||
line-height: 1.6em; | |||
font-size: 1em; | |||
} | |||
/* Change Paragraph Spacing */ | |||
p { | |||
margin: 1em 0 0.5em 0; | |||
} | } | ||
Line 30: | Line 37: | ||
font-family: sans-serif; | font-family: sans-serif; | ||
font-variant: none; | font-variant: none; | ||
padding-bottom: 10px; | |||
} | } | ||
Line 36: | Line 44: | ||
font-family: sans-serif; | font-family: sans-serif; | ||
font-variant: none; | font-variant: none; | ||
padding-bottom: 5px; | |||
} | } | ||
Line 45: | Line 54: | ||
/* The info blurbs */ | /* The info blurbs */ | ||
.addinfo{ | |||
background-color: #f9f4ea; | background-color: #f9f4ea; | ||
border: 2px solid #523d33; | border: 2px solid #523d33; | ||
border-radius: 5px; | border-radius: 5px; | ||
width: 50%; | |||
margin: auto; | |||
padding: 10px; | |||
} | } | ||
Line 54: | Line 66: | ||
font-size: 1em; | font-size: 1em; | ||
border-radius: 10px; | border-radius: 10px; | ||
border: 3px solid #523d33; | |||
padding: 0 0 10px 0; | |||
} | } | ||
.portable-infobox .pi-header { | .portable-infobox .pi-header { | ||
Line 93: | Line 107: | ||
padding: 15px; | padding: 15px; | ||
border-radius: 5px; | border-radius: 5px; | ||
border: 3px solid #523d33; | |||
} | } | ||
.toc, .toccolours { | .toc, .toccolours { | ||
background-color: | background-color: transparent; | ||
} | } | ||
. | .toc a:hover { | ||
text-decoration: none; | text-decoration: none; | ||
color: #523d33; | |||
} | |||
/* Style Image Thumbnails */ | |||
figure[typeof~='mw:File/Thumb'], figure[typeof~='mw:File/Frame'] { | |||
background-color: transparent; | |||
border:none; | |||
} | |||
figure[typeof~='mw:File/Thumb'] > figcaption, figure[typeof~='mw:File/Frame'] > figcaption { | |||
background-color: transparent; | |||
border:none; | |||
} | |||
figure[typeof~='mw:File/Thumb'] > :not(figcaption) .mw-file-element, figure[typeof~='mw:File/Frame'] > :not(figcaption) .mw-file-element{ | |||
border: none; | |||
} | } |
Latest revision as of 23:52, 22 January 2025
/* CSS placed here will be applied to all skins */
/* Change Main Background and font sizes*/
body {
background:
/* tint */
linear-gradient(
rgba(255, 217, 163, 0.45),
rgba(255, 217, 163, 0.45)
),
/* bottom, image */
url(/skins/Anisa/resources/images/bkgd.gif?97fa7);
line-height: 1.6em;
font-size: 1em;
}
/* Change Paragraph Spacing */
p {
margin: 1em 0 0.5em 0;
}
/* Change Wiki Title */
a#p-banner {
padding: 0;
font-family: sans-serif;
color: #523d33;
}
#header a:visited {
color: #523d33;
}
/*Changes Headers Colors and Fonts*/
.mw-body h1, .mw-body h2 {
color: #b4141e;
font-family: sans-serif;
font-variant: none;
padding-bottom: 10px;
}
.mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6 {
color: #523d33;
font-family: sans-serif;
font-variant: none;
padding-bottom: 5px;
}
/* Change box Background */
:root {
--pi-background:#FBEFD5;
--pi-secondary-background: #f5deb3;
}
/* The info blurbs */
.addinfo{
background-color: #f9f4ea;
border: 2px solid #523d33;
border-radius: 5px;
width: 50%;
margin: auto;
padding: 10px;
}
.portable-infobox {
font-size: 1em;
border-radius: 10px;
border: 3px solid #523d33;
padding: 0 0 10px 0;
}
.portable-infobox .pi-header {
line-height: 2;
}
.row {
display: flex;
}
/* Create two equal columns that sits next to each other */
.column {
flex: 50%;
padding: 10px;
}
/* Three equal columns */
.column3 {
flex: 33%;
padding: 10px;
}
/* Quote Blocks */
.quote {
margin: 12px 0 24px;
width: 60%;
padding: 10px 40px
}
/* Table of Contents Style */
#mw-toc-heading {
color: #523d33;
background: none;
font-weight: bold;
}
.toc {
padding: 15px;
border-radius: 5px;
border: 3px solid #523d33;
}
.toc, .toccolours {
background-color: transparent;
}
.toc a:hover {
text-decoration: none;
color: #523d33;
}
/* Style Image Thumbnails */
figure[typeof~='mw:File/Thumb'], figure[typeof~='mw:File/Frame'] {
background-color: transparent;
border:none;
}
figure[typeof~='mw:File/Thumb'] > figcaption, figure[typeof~='mw:File/Frame'] > figcaption {
background-color: transparent;
border:none;
}
figure[typeof~='mw:File/Thumb'] > :not(figcaption) .mw-file-element, figure[typeof~='mw:File/Frame'] > :not(figcaption) .mw-file-element{
border: none;
}