Home
Random
Log in
Settings
About Chabadpedia
Chabadpedia
Search
Editing
Module:Sidebar games events/styles.css
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!
/* {{pp|small=y}} */ .sidebar-games-events { /* @noflip */ float: right; /* @noflip */ clear: right; /* @noflip */ margin: 0.5em 0 1em 1em; background: #f8f9fa; border: 1px solid #aaa; padding: 0.2em; border-spacing: 0.4em 0; text-align: center; line-height: 1.4em; font-size: 88%; /* Timeless has display: none on .nomobile at mobile resolutions, so we * unhide it with display: table and let precedence and proximity win. */ display: table; } /* have to override later sidebar use */ .sidebar-games-events.sidebar { width: auto; /* differs from sidebar */ max-width: 25em; /* differs from sidebar */ } /* See comment in [[Module:Sidebar/styles.css]] */ body.skin-minerva .sidebar-games-events { display: table !important; /* also, minerva is way too aggressive about other stylings on tables. * TODO remove when this template gets moved to a div. plans on talk page. * We always float right on Minerva because that's a lot of extra CSS * otherwise. */ float: right !important; margin: 0.5em 0 1em 1em !important; } .sidebar-games-events a { white-space: nowrap; } /* have to override later sidebar use */ .sidebar-games-events-left.sidebar { /* @noflip */ margin: 0 1em 1em 0; /* @noflip */ float: left; /* @noflip */ clear: left; } /* have to override later sidebar use */ .sidebar-games-events-none.sidebar { /* @noflip */ margin: 0 1em 1em 0; float: none; clear: both; } .sidebar-games-events-image { padding: 0 0 0.2em; background: #cedff2; } .sidebar-games-events-caption { padding-top: 0.2em; line-height: 1.2em; } .sidebar-games-events-title { padding: 0.2em 0.4em; font-size: 100%; line-height: 1.5em; background: #cedff2; } .sidebar-games-events-ir-cont { display: table; width: 100%; } .sidebar-games-events-ir-title { display: table-cell; width: 95%; } .sidebar-games-events-ir { display: table-cell; width: 5%; } .sidebar-games-events .event-title { padding: 0.1em; background: #99badd; border-top: 1px solid #f5faff } .sidebar-games-events-heading { padding: 0.1em; background: #deeaf6; border-top: 1px solid #f5faff; } .sidebar-games-events .no-event { display: none; } .sidebar-games-events .type-let { font-weight: normal; border-top: 1px solid #f5faff; background: #deeaf6; } .sidebar-games-events .event { text-align: left; line-height: 1.4em; padding: 0.1em 0.4em 0.2em 0.1em; font-weight: normal } .sidebar-games-events .event-r { text-align: right; } .sidebar-games-events .erl-border { border-bottom: 1px solid #aaa; } .sidebar-games-events .result-r { text-align: right; padding-right: 1.5em; } .sidebar-games-events .result-l { text-align: left; } .sidebar-games-events-prevnext { border-top: solid 1px #deeaf6; } .sidebar-games-events-prev { float: left; text-align: left; padding-right: 0.5em; } .sidebar-games-events-next { float: right; text-align: right; padding-left: 0.5em; } .sidebar-games-events-prev::before { content: "β\00a0"; /* nbsp */ } .sidebar-games-events-next::after { content: "\00a0β"; /* nbsp */ } .sidebar-games-events-navbar { text-align: right; font-size: 115%; padding-top: 0; border-top: solid 1px #deeaf6; } @media (max-width: 720px) { /* users have wide latitude to set arbitrary width and margin :( "Super-specific" selector to prevent overriding this appearance by lower level sidebars too */ body.mediawiki .sidebar { width: 100% !important; clear: both; float: none !important; /* Remove when we div based; Minerva is dumb */ margin-left: 0 !important; margin-right: 0 !important; } /* TODO: We might consider making all links wrap at small resolutions and then * only introduce nowrap at higher resolutions. Do when we invert the media * query. */ } @media screen { html.skin-theme-clientpref-night .sidebar-games-events { background: black; color: white; } html.skin-theme-clientpref-night .sidebar-games-events-heading, html.skin-theme-clientpref-night .sidebar-games-events-title { color: black; } } @media screen and (prefers-color-scheme: dark) { html.skin-theme-clientpref-os .sidebar-games-events { background: black; color: white; } html.skin-theme-clientpref-os .sidebar-games-events-heading, html.skin-theme-clientpref-os .sidebar-games-events-title { color: black; } }
Edit summary
(Briefly describe your changes)
Please note that all contributions to Chabadpedia are considered to be released under the GNU Free Documentation License 1.3 or later (see
Chabadpedia:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Pp
(
edit
)
Template:Protection padlock
(
edit
)
Module:Arguments
(
edit
)
Module:Effective protection expiry
(
edit
)
Module:Effective protection level
(
edit
)
Module:File link
(
edit
)
Module:Protection banner
(
edit
)
Module:Protection banner/config
(
edit
)
Module:Yesno
(
edit
)
This page is a member of a hidden category:
Category:Chabadpedia pages with incorrect protection templates