MediaWiki:Anisa.css: Difference between revisions
From Lorhondel World
ArtsyAxolotl (talk | contribs) No edit summary |
ArtsyAxolotl (talk | contribs) No edit summary |
||
(112 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 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 */ | /* Change Wiki Title */ | ||
a#p-banner { | a#p-banner { | ||
padding: 0; | padding: 0; | ||
font-family: sans-serif; | font-family: sans-serif; | ||
color: #523d33; | |||
} | |||
#header a:visited { | |||
color: #523d33; | |||
} | } | ||
/* | /*Changes Headers Colors and Fonts*/ | ||
.mw- | |||
.mw-body h1, .mw-body h2 { | |||
color: #b4141e; | |||
font-family: sans-serif; | font-family: sans-serif; | ||
font-variant: none; | 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; | |||
} | } |
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;
}