MediaWiki:Common.css: Difference between revisions
From Little Tail Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(12 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 */ | ||
/* DEFAULT SKIN BG */ | |||
body { | |||
min-height: 100vh; | |||
display: flex; | |||
flex-direction: column; | |||
background-image: linear-gradient(to bottom, transparent, #ffff), url("https://littletail.wiki/images/8/8a/MonoBook-BG.jpg"); | |||
background-repeat: inherit; | |||
} | |||
} | |||
.mw-footer { | |||
margin-top: auto; | |||
} | |||
/* Interwiki SVG Formatting*/ | /* Interwiki SVG Formatting*/ | ||
Line 13: | Line 27: | ||
margin-right: -0.2em; | margin-right: -0.2em; | ||
padding-left: 0.05em; | padding-left: 0.05em; | ||
} | |||
/* Fonts */ | |||
/* Cantarell */ | |||
@font-face { | |||
font-display: swap; | |||
font-family: 'Cantarell'; | |||
font-style: bold; | |||
font-weight: 500; | |||
src: url('/fonts/cantarell-regular-webfont.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ | |||
} | } | ||
Line 26: | Line 51: | ||
.gradient { | .gradient { | ||
background: rgb( | background: rgb(255,255,255); background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(94,177,246,1) 15%, rgba(77,160,237,1) 25%, rgba(43,131,218,1) 50%, rgba(77,160,237,1) 75%, rgba(94,177,246,1) 85%, rgba(255,255,255,0) 100%); | ||
.jcarousel-item:not(:first-child) { | |||
display:none; | |||
} | } |
Latest revision as of 21:40, 15 February 2025
/* CSS placed here will be applied to all skins */ /* DEFAULT SKIN BG */ body { min-height: 100vh; display: flex; flex-direction: column; background-image: linear-gradient(to bottom, transparent, #ffff), url("https://littletail.wiki/images/8/8a/MonoBook-BG.jpg"); background-repeat: inherit; } } .mw-footer { margin-top: auto; } /* Interwiki SVG Formatting*/ .wikipedia:after { content:""; background: url(https://littletail.wiki/images/5/5a/Wikipedia%27s_W.svg) no-repeat; background-size: contain; background-repeat: no-repeat; background-position: center center; padding-right: 0.55em; /* sizing */ padding-top: 1.2em; margin-left: -0.4em; margin-right: -0.2em; padding-left: 0.05em; } /* Fonts */ /* Cantarell */ @font-face { font-display: swap; font-family: 'Cantarell'; font-style: bold; font-weight: 500; src: url('/fonts/cantarell-regular-webfont.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ } /* Tabs Content */ .bullet-0 .jw-tabs-content > ul > li:first-child::marker { content: ""; } /* Misc */ .excerpt-block .noexcerpt { display: none; } .gradient { background: rgb(255,255,255); background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(94,177,246,1) 15%, rgba(77,160,237,1) 25%, rgba(43,131,218,1) 50%, rgba(77,160,237,1) 75%, rgba(94,177,246,1) 85%, rgba(255,255,255,0) 100%); .jcarousel-item:not(:first-child) { display:none; }