MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m timeless category section js fix? Tag: Reverted |
||
| Line 55: | Line 55: | ||
from { width: 0; } | from { width: 0; } | ||
} | } | ||
$(function () { | |||
var catlinks = document.getElementById('catlinks-sidebar'); | |||
var content = document.getElementById('mw-content'); | |||
if (catlinks && content) { | |||
content.appendChild(catlinks); | |||
} | |||
}); | |||
Revision as of 16:00, 6 October 2026
/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:[email protected]&display=swap');
#toc {
background: none !important;
}
li.gallerybox div.thumb {
background: none;
border: none;
}
figure[typeof~="mw:File/Thumb"],
figure[typeof~="mw:File/Frame"] {
background: none;
border: none;
}
figure[typeof~="mw:File/Thumb"] > figcaption,
figure[typeof~="mw:File/Frame"] > figcaption {
border: 0;
background: none;
}
figure[typeof~="mw:File/Thumb"] > :not(figcaption) .mw-file-element,
figure[typeof~="mw:File/Frame"] > :not(figcaption) .mw-file-element {
border: 0;
}
.main-flex-right {
max-width: 300px;
}
body.page-Main_Page li#ca-talk { display: none !important; }
body.page-Main_Page li#ca-nstab-main { display: none !important; }
body.page-Main_Page li#ca-history { display: none !important; }
body.page-Main_Page li#ca-viewsource { display: none !important; }
/* CSS Typing Text
*
* @author: Unknown
* current version crafted together by [[User:Christharp]].
*/
.typing{
margin: 10px 0 0 10px;
width: 1000px;
white-space:nowrap;
overflow:hidden;
animation: type 10s steps(100, end);
}
@keyframes type{
from { width: 0; }
}
$(function () {
var catlinks = document.getElementById('catlinks-sidebar');
var content = document.getElementById('mw-content');
if (catlinks && content) {
content.appendChild(catlinks);
}
});