Anonymous
Not logged in
Talk
Contributions
Create account
Log in
Search
Editing
MediaWiki talk:Timeless.css
(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!
===Logo fixes for different screens sizes === {{collapse top}} [[User:Kmdenmark]] Can you replace the code below, which ends in two lines containing only a single "}". This will do some fixes for different screensizes. The most noticeable change is that the transparent website logo is filled in with white on larger screens, which makes it more readable. Thanks ~[[User:Notjusttired|Njt]] ([[User talk:Notjusttired|talk]]) 17:46, October 20, 2020 (UTC) <br /> Old code: <pre> @media screen and (max-width: 1099px) and (min-width: 851px) { #mw-related-navigation .sidebar-chunk { border-color: #333; box-shadow: 2px 2px 1px rgba(0,0,0,0.5); } } </pre> New code: <pre> /* larger screens only white placeholder behind the MEpedia logo */ @media screen and (min-width: 851px) { #p-logo { background-color: #fff; background-size: contain; } } @media screen and (max-width: 1099px) and (min-width: 851px) { #mw-related-navigation .sidebar-chunk { border: 0; } #mw-header { background-color: #000; } .color-bar { border-color: transparent; } #mw-related-navigation, #page-tools, #page-tools h2, #user-tools, #personal h3, .sidebar-chunk, .pokey { background: transparent !important; box-shadow: none; } } </pre> {{collapse bottom}} ====Re: Logo fixes for different screens sizes -- ~~~~==== :: Replace this text with your reply
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