MediaWiki:Timeless.css: Difference between revisions
From Ghost Theory Wiki
No edit summary |
No edit summary Tag: Bots |
||
| (133 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
#ca-talk { display: none !important; } | |||
} | |||
/* | /* Hide the entire Anonymous dropdown menu in Timeless */ | ||
# | #p-personal, | ||
# | #personal, | ||
# | #user-tools { | ||
display: none !important; | |||
} | } | ||
.quote-box { | |||
padding: 1em 1.2em; | |||
margin: 1.5em 0; | |||
background: #f2f2f2; | |||
# | border-left: 4px solid #ccc; | ||
border-radius: 4px; | |||
color: # | color: #222; | ||
} | } | ||
/* | /* Gray background box for FAQ questions */ | ||
.faq-question { | |||
background-color: #f2f3f4; /* light gray that fits your Timeless theme */ | |||
# | padding: .2em; /* space inside the box */ | ||
margin: .5em 0; /* space between boxes */ | |||
border-radius: 2px; /* optional: soft corners */ | |||
} | } | ||
/* | /* Make the heading smaller INSIDE the FAQ box */ | ||
h3 .faq-question { | |||
background-color: #f2f3f4; | |||
background: # | padding: .2em; | ||
border-radius: 2px; | |||
border: | font-size: .8em !important; | ||
} | } | ||
/* | /* Hide all category links on article pages */ | ||
#catlinks { | |||
display: none !important; | |||
} | } | ||
/* Hide empty category page warnings and edit notices */ | |||
body.page-Category .mw-parser-output > p, | |||
body.page-Category .noarticletext, | |||
body.page-Category .mw-empty-elt, | |||
body.page-Category #contentSub, | |||
body.page-Category #contentSub2 { | |||
display: none !important; | |||
} | } | ||
/* | /* Hide the "Category" tab on category pages (optional) */ | ||
. | body.ns-14 #ca-nstab-category { | ||
display: none !important; | |||
} | } | ||
/* | /* Hide all category displays in Timeless */ | ||
#mw- | #catlinks, | ||
.catlinks, | |||
#mw- | .mw-normal-catlinks, | ||
#mw- | .mw-hidden-catlinks, | ||
#mw-normal-catlinks, | |||
#mw-hidden-catlinks { | |||
display: none !important; | |||
} | } | ||
/* | /* Universal kill-switch for Timeless page tools */ | ||
. | #mw-related-navigation, | ||
. | #page-tools, | ||
#page-tools-wrapper, | |||
#mw-panel .page-tools, | |||
.sidebar-chunk.page-tools { | |||
display: none !important; | |||
} | } | ||
@import url('https://fonts.googleapis.com/css2?family=Alegreya:opsz,wght@8..30,400;8..30,600;8..30,700&display=swap'); | |||
/ | |||
/* Force Timeless title span to behave like a real heading */ | |||
color: # | .mw-page-title-main { | ||
display: block !important; | |||
font-family: "Alegreya", serif !important; | |||
font-size: 1.4rem !important; | |||
font-weight: 700 !important; | |||
line-height: 1.2 !important; | |||
margin: 0 0 0.2em 0 !important; | |||
color: #989898 !important; | |||
} | } | ||
