MediaWiki:Mobile.css
From The Bakugan Wiki
Note: After saving, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will affect users of the mobile site */ @import url('https://fonts.googleapis.com/css?family=Orbitron:400,700'); /* Tooltip */ .tooltip { position: relative; display: inline; border-bottom: 1px dotted black; } .tooltiptext { visibility: hidden; min-width: 250px; padding: 12px 14px; text-align: center; position: absolute; left: 50%; bottom: calc(20px + 100%); z-index: 99999; background: #fff; box-shadow: 0 2px 0 0 rgba(0,0,0,0.15); border: 1px solid #a2a9b1; border-radius: 2px; font-weight: normal; white-space: normal; } .tooltiptext:after, .tooltiptext:before { content: ''; position: absolute; left: 50%; border-style: solid; } .tooltiptext:after { top: 100%; bottom: auto; width: 20px; height: 20px; background: #fff; margin-top: -10px; margin-left: -10px; box-shadow: 1px 1px 0px #a2a9b1; transform: rotate(45deg); border-width: 0; } .tooltiptext:before { top: 100%; bottom: auto; border-width: 18px; margin-left: -18px; border-color: rgba(0,0,0,0.15) transparent transparent transparent; pointer-events: none; } .tooltip .tooltip .tooltiptext { bottom: auto; top: calc(20px + 100%); } .tooltip .tooltip .tooltiptext:after { top: auto; bottom: 100%; border-width: 15px; margin-left: -15px; border-color: transparent transparent white transparent; width: 0; height: 0; box-shadow: none; background: none; transform: none; } .tooltip .tooltip .tooltiptext:before { top: auto; bottom: 100%; border-width: 16px; margin-left: -16px; border-color: transparent transparent #888 transparent; } .tooltiptext hr { margin: 10px 0 12px; position: relative; background: none; } .tooltiptext hr:after { content: ''; display: block; width: 100%; height: 1px !important; position: absolute; left: -14px; background: #a2a9b1; padding: 0 14px; } .tooltip:hover > .tooltiptext, .tooltip.hover > .tooltiptext { visibility: visible; } .tooltiptext { opacity: 0; transition: opacity 200ms ease, visibility 0s ease 200ms, transform 200ms ease; transform: translate(-50%, 8px); } .tooltip .tooltip .tooltiptext { transform: translate(-50%, -8px); } .tooltip:hover > .tooltiptext, .tooltip.hover > .tooltiptext { opacity: 1; transition-delay: 0s; transform: translate(-50%, 0); } .tooltiptext a { color: #0645ad; border-bottom: 0; } .tooltiptext a:visited { color: #0b0080; } .tooltiptext a:active { color: #faa700; } .tooltiptext a:hover, a:focus { text-decoration: underline; } .tooltiptext { color: #252525; } .tooltiptext a.new { color: #ba0000; } /* Remove .mw-body-content stacking context so the tooltip can overlap with elements outside content area and be shown properly */ .mw-body-content { z-index: auto; } .gridrec td { background: white; padding: 4px; } .gridrectoptext td { vertical-align: text-top; } /** Main Page **/ .MainPageHeading { font-family: 'Orbitron', sans-serif; font-weight: 700; font-size:17pt; text-align:center; } .MainPageSpace { border:1px solid black; border-radius:1em; box-shadow:1px 1px 4px black; margin-bottom:15px; padding:10px; } /* For portals, added 2011-12-07 -bv On wide screens, show these as two columns On narrow and mobile screens, let them collapse into a single column */ .portal-column-left { float: left; width: 50%; } .portal-column-right { float: right; width: 49%; } .portal-column-left-wide { float: left; width: 60%; } .portal-column-right-narrow { float: right; width: 39%; } .portal-column-left-extra-wide { float: left; width: 70%; } .portal-column-right-extra-narrow { float: right; width: 29%; } @media only screen and (max-width: 800px) { /* Decouple the columns on narrow screens */ .portal-column-left, .portal-column-right, .portal-column-left-wide, .portal-column-right-narrow, .portal-column-left-extra-wide, .portal-column-right-extra-narrow { float: inherit; width: inherit; } }