Anonymous
Not logged in
Talk
Contributions
Create account
Log in
Search
Editing
MediaWiki talk:Common.js
(section)
From MEpedia, a crowd-sourced encyclopedia of ME and CFS science and history
Namespaces
Message
Discussion
More
More
Page actions
Read
Edit source
New topic
History
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Category banner layout=== This isn't great on small screens - I think because there is a fixed "20px" size of padding before and after. On small screens the headings wrap over 2 lines, and this creates a blank line before AND after the banner - and does not shrink or enlarge it as the screen changes. I think this might be the issue that [[User:Aletheia2020]] pointed out with the category banner size (also affecting Medical hypotheses and Potential treatments banners). As far as I can see, this is in 6 places (twice per banner, because Pivot needs separate code). Giving an id to each banner would also help any further customizations if we decide on them in future. This might be very handy for the darker Timeless skin since the font color in the banner is a bit dark. Suggested new code below. I have added an id and replaced 20px with 1.25rem (which I hope is about the same on desktops - may need tweaking - I think it's usually 16px equal to 1rem on desktops, hence 1.25rem). We can look at shrinking it further on small screens only later on, possibly in [[MediaWiki:Common.css]]. The id bit is ''' <nowiki >id="category-banner" </nowiki >'''. [[User:Pyrrhus]] can you check this and do the changes if it seems ok? See the top of my personal Pivot.css for my code for small screens. As usual, please copy the source code version without the nowiki. I think I have forgotten how to make the source code look better in the talk pages. ~[[User:Notjusttired|Njt]] ([[User talk:Notjusttired|talk]]) 16:28, February 22, 2020 (EST) ::Second change: fix the color of the text links on the banner since they will always be contrasting against the same background, timeless uses a very dark blue which is not so good. I suggest sticking with the vector shade of blue <nowiki > #0A45AD </nowiki > instead. I have added a color to the href links below for this inside the a href tag. ~[[User:Notjusttired|Njt]] ([[User talk:Notjusttired|talk]]) 16:21, February 23, 2020 (EST) :Now done as part of Sep 2020 request ~[[User:Notjusttired|Njt]] ([[User talk:Notjusttired|talk]]) 23:31, October 1, 2020 (UTC)
Summary:
Please make sure your edits are consistent with
MEpedia's guidelines
.
By saving changes, you agree to the
Terms of use
, and you irrevocably agree to release your contribution under the
CC BY-SA 3.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Navigation
Navigation
Skip to content
Main page
Browse
Become an editor
Random page
Popular pages
Abbreviations
Glossary
About MEpedia
Links for editors
Contents
Guidelines
Recent changes
Pages in need
Search
Help
Wiki tools
Wiki tools
Special pages
Page tools
Page tools
User page tools
More
What links here
Related changes
Page information
Page logs