Anonymous
Not logged in
Talk
Contributions
Create account
Log in
Search
Editing
MediaWiki talk:Pivot.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!
==Completed request - May 19th== [[User:Kmdenmark]] and [[User:Pyrrhus]]. Could you also add this onto the bottom of the existing code. {{Read more |I've deleted the code already there from this talk page to avoid me getting mixed up or code getting copied in their twice. This should sort an issue with the ''pre'' tag scrolling, white on white for citation date errors, and prevent long links or long words messing up citations or lists on mobiles (example: [[:Category:Potential treatments]] - wanted pages list). Extra code for pivot.css below. [[User:Notjusttired|notjusttired]] ([[User talk:Notjusttired|talk]]) 13:07, 19 May 2019 (EDT) <pre> /* Make Echo extension more mobile friendly on small widths including mobiles in landscape view */ @media only screen and (max-width: 750px) { .oo-ui-popupWidget-popup { width: auto !important; position: relative !important; margin-left: 10rem !important; margin-right: 0!important; left: auto; right: 0.9rem; font-size: 75% !important; } .oo-ui-clippableElement-clippable.oo-ui-popupWidget-body { width: 100% !important; right: 1.5rem; } } /* make donate look like button */ #n-donate { margin-left: 0.25em; } #n-donate a { display:inline-block; } /* pre tag must wrap, also break crazily long words in lists and tables */ pre, td { white-space: pre-wrap; /* css-3 */ white-space: -moz-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word; } /* break long citation urls */ .citation { word-wrap: break-word; } /* mobiles: break crazily long words in lists and tables, using hyphens and keep broken items in same column, put columns closer together */ @media screen and (max-width: 500px) { td, #mw-content-text li { margin-left: 2px; white-space: pre-wrap; /* css-3 */ white-space: -moz-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word; webkit-column-gap: 2em; -moz-column-gap: 2em; column-gap: 2em; -webkit-column-break-inside: avoid; page-break-inside: avoid; break-inside: avoid; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; } } /* Headings centered on other skins eg for home page contents */ table.wikitable > tr > th, table.wikitable > * > tr > th { text-align: left; } #footer-developers, #footer-cookiestatement { padding-right: 2rem; display: inline; text-align: center; } #footer-left, #footer-places, #footer-disclaimers, #footer-privacypolicy, #footer-about { display: inline; text-align: center; } /* removed powered by mediawiki - which has several different names oddly */ #footer-poweredbyico, #footer-poweredby, .poweredby { display:none; } /* center block - won't overlap sidebar */ #footer-left { display: inline-block; width: 100%!important; text-align: center; padding-right:8px; } /* fix footer bleed by fixing negative margin */ footer { margin-left: 0!important; margin-right: 0!important; padding-right: 8px;} /* Color code snippets incl for errors */ code { background: #999; background: rgba(204,204,204,0.9); color: #000; font-weight:bold; } .error code { color: #FF4444 !important; color: #fff !important; } /* allow scroll on tables */ table { max-width: none; overflow-x: auto; display: block; } #p-cactions { max-width: none; } /* end of tested code May 23 2019 */ </pre> :[[User:Notjusttired]] I added this code to the bottom of the existing code on the page. Crossing my fingers that I did it correctly. [[User:Kmdenmark|Kmdenmark]] ([[User talk:Kmdenmark|talk]]) 16:46, June 3, 2019 (EDT) ::That's working great, thanks! With the code changes, once it is saved or previewed you will see it highlights different words or symbols in different colors. Only worry if everything new is in the same color. If you want to see how it looks you can go into your user preferences, and in Appearance pick the Pivot skin. Thanks again. [[User:Notjusttired|notjusttired]] ([[User talk:Notjusttired|talk]]) 17:37, June 3, 2019 (EDT) }} ===Re: Completed request - May 19th -- ~~~~=== : 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