MediaWiki:Common.css
From EVE University Wiki
Revision as of 13:06, 2 August 2023 by Arin Mara (talk | contribs) (User:Evon R'al found nowrap and wrap were missing - added to make Navigational Template links look nice)
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 / Edge: 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 be applied to all skins */ /* this will 'replace' the login text with the Eve SSO Login Image */ li#pt-anon_oauth_login > a { background-image: url(https://web.ccpgamescdn.com/eveonlineassets/developers/eve-sso-login-black-small.png); display: block; margin: -10px auto; text-indent: -9999px; width: 195px; height: 30px; } .collapseButton { /* 'show'/'hide' buttons created dynamically by the */ float: right; /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */ font-weight: normal; /* are styled here so they can be customised. */ text-align: right; width: auto; } li.gallerybox { border:1px solid #582806; background-color:#080808; } li.gallerybox div.thumb { background-color:#080808; border:none; } /* CSS placed below this line will be applied only for the UniWiki Tools Template:Tooltip */ .uniwiki-tooltip { position: relative; display: inline; } .uniwiki-tooltip-frame { background-color: black; border: 1px solid #111111; display: none; min-width: 270px; padding: 5px; z-index: 100; } /* CSS placed below this line will be applied only for the UniWiki Ship Database articles */ #ship-article { background-color: #111111; color: #CCCCCC; font-family: sans-serif; font-size: 12.8px; } #ship-article h2 { border: medium none; color: #555555; font-family: trebuchet MS; font-size: 14px; font-variant: small-caps; margin-bottom: 5px; padding: 0; text-align: left; } #ship-article h2 .mw-headline { color: #656565; display: inline-block; font-size: 16px; padding: 0 5px; } #ship-article .header { height: 50px; padding: 0 10px; position: relative; } #ship-article .header .mask { background-color: transparent; height: 50px; left: 0; position: absolute; top: 0; width: 605px; } #ship-article .header .headerbg { margin-left: -10px; text-align: left; width: 605px; } #ship-article .header .dbtitle { color: #C1B193; font-family: trebuchet MS; font-size: 11px; font-variant: small-caps; font-weight: normal; line-height: 15px; margin-left: -3px; position: absolute; top: 0; } #ship-article .header .shipname { font-family: trebuchet MS; font-size: 30px; font-variant: small-caps; font-weight: bold; line-height: 30px; margin-left: -5px; position: absolute; top: 17px; } #ship-article .toc, #ship-article #toc { border: 1px solid #272727; float: right; margin: 0 0 5px 10px; width: 200px; } #ship-article .toc ul { } #ship-article .toc li { line-height: 15px; margin-bottom: 0; } #ship-article .toc a { color: #B89964; font-size: 11px; line-height: 15px; } #ship-article .breadcrumbs { background-color: black; border-bottom: 1px solid #2D2413; border-top: 1px solid #2D2413; height: 20px; margin: 0 0 15px; padding-left: 3px; } #ship-article .breadcrumbs .separator { margin: 0 3px; } #ship-article .breadcrumbs a, #ship-article .breadcrumbs strong.selflink { color: #B89964; display: inline-block; font-family: trebuchet MS; font-size: 100%; font-variant: small-caps; height: 20px; line-height: 20px; padding: 0 3px; } #ship-article .breadcrumbs a:hover, #ship-article .breadcrumbs a.hover { background-color: #2D2413; color: white; text-decoration:none; } #ship-article .breadcrumbs strong.selflink { color: #CCCCCC; font-weight: normal; } #ship-article .main { } #ship-article .main .left-col { background-color: #222222; border-color: #272727 #151515 #151515 #272727; border-style: solid; border-width: 2px; padding: 5px; width: 256px; } #ship-article .main .box-line { padding: 0 10px; } #ship-article .main .box-attributes { background-color: black; border: 1px solid #272727; display: inline-block; margin-left: 10px; padding: 5px; } #ship-article .main .box-line p { text-align: justify; } #ship-article .main .box-line .att-line { border-bottom: 1px solid #2C2B2B; padding: 3px 3px 0; } #ship-article .main .box-line .midinfo { margin: 10px 0; width: 510px; } #ship-article .main .box-line .midinfo tr, #ship-article .main .box-line .midinfo td { margin: 0; padding: 0; vertical-align: top; } #ship-article .main .box-line .midinfo small { background-color: black; border: 1px solid #272727; color: #CCCCCC; height: 15px; line-height: 15px; overflow: hidden; padding: 0 2px; position: absolute; right: 0; text-align: right; width: 60px; } #ship-article .main .box-line .midinfo .title { color: #656565; font-family: trebuchet MS; font-size: 14px; font-variant: small-caps; } #ship-article .main .box-line .midinfo .left { padding: 0 5px 5px 10px; width: 280px; } #ship-article .main .box-line .midinfo .left ul { line-height: 120%; margin: 5px 0 0 1.5em; } #ship-article .main .box-line .midinfo .left li { color: #9E8F75; font-family: arial; font-size: 12px; margin-bottom: 5px; position: relative; } #ship-article .main .box-line .midinfo .left .skillstime { border: 1px solid #272727; color: #656565; font-family: trebuchet MS; padding-left: 20px; position: relative; } #ship-article .main .box-line .midinfo .left .skillstime .value { color: white; font-size: 11px; padding: 0 3px 0 2px; position: absolute; right: 0; text-align: right; top: 0; width: 100px; } #ship-article .main .box-line .midinfo .left .skillstime .desc { background-color: black; border: 2px dashed #582806; color: #CCCCCC; display: none; font-size: 11px; left: 150px; line-height: 120%; padding: 5px; position: absolute; text-align: justify; width: 200px; } #ship-article .main .box-line .midinfo .left .skillstime:hover .desc, #ship-article .main .box-line .midinfo .left .skillstime.hover .desc { display: block; z-index: 100; } #ship-article .main .box-line .midinfo .right { padding: 0 5px; } #ship-article .main .box-bonuses { border: 1px solid #272727; color: white; font-size: 95%; margin: 0 10px; width: 490px; } #ship-article .main .box-bonuses .label { background-color: #1A1A1A; color: #656565; font-family: trebuchet MS; margin: 2px -8px; padding: 0 5px; } #ship-article .main .box-info { margin-top: 5px; padding: 0; } #ship-article .main .box-info .faction-info { background-color: transparent; width: 100%; } #ship-article .main .box-info .faction-info tr,#ship-article .main .box-info .faction-info td { line-height: 110%; vertical-align: middle; } #ship-article .main .box-info .faction-info .faction-img { width: 50px; } #ship-article .main .box-info .faction-info .faction { color: white; font-family: helvetica; font-size: 100%; font-variant: small-caps; font-weight: bold; height: 25px; padding-bottom: 2px; text-align: center; vertical-align: bottom; } #ship-article .main .box-info .faction-info .hull-type { height: 20px; padding: 0 5px; text-align: center; } #ship-article .main .box-info .faction-info .hull-type a { color: orange; font-family: trebuchet MS; font-size: 120%; text-transform: uppercase; } #ship-article .main .box-info .faction-info .hull-title { font-family: trebuchet MS; text-align: center; text-transform: uppercase; vertical-align: top; } #ship-article .main .box-awards { margin-left: -6px; margin-right: -6px; padding: 10px 0 5px; position: relative; } #ship-article .main .box-awards .award { background-color: #1A1A1A; border-color: #393734 black; border-style: solid; border-width: 1px; margin-bottom: 2px; padding: 2px 5px; position: relative; } #ship-article .main .box-awards .award .award-img { display: inline-block; } #ship-article .main .box-awards .award .award-img a { display: block; height: 19px; line-height: 19px; } #ship-article .main .box-awards .award .award-img img { line-height: 19px; margin-top: -2px; } #ship-article .main .box-awards .award .award-label { color: #B89964; display: inline-block; font-family: arial; font-size: 12px; font-variant: small-caps; height: 19px; left: 25px; line-height: 19px; position: absolute; top: 2px; z-index: 20; } #ship-article .main .box-awards .award .award-bgr { color: #4C4C4C; float: right; font-family: trebuchet MS; font-size: 80%; position: absolute; right: 2px; top: 2px; z-index: 10; } #ship-article .main .box-discussion { background-color: #1A1A1A; border-color: #393734 black; border-style: solid; border-width: 1px; margin-left: -6px; margin-right: -6px; margin-top: 5px; padding: 5px; } #ship-article .main .box-discussion .discussion-bgr { color: #4C4C4C; font-family: trebuchet MS; font-size: 90%; } #ship-article .main .box-discussion .linkname { font-size: 11px; line-height: 120%; padding: 0 5px; } /** * Style for horizontal lists (separator following item). * @source https://www.mediawiki.org/wiki/Snippets/Horizontal_lists * @revision 9 (2016-08-10) * @author [[User:Edokter]] */ .hlist dl, .hlist ol, .hlist ul { margin: 0; padding: 0; } /* Display list items inline */ .hlist dd, .hlist dt, .hlist li { /* don't trust the note that says margin doesn't work with inline * removing margin: 0 makes dds have margins again */ margin: 0; display: inline; } /* Display nested lists inline */ .hlist.inline, .hlist.inline dl, .hlist.inline ol, .hlist.inline ul, .hlist dl dl, .hlist dl ol, .hlist dl ul, .hlist ol dl, .hlist ol ol, .hlist ol ul, .hlist ul dl, .hlist ul ol, .hlist ul ul { display: inline; } /* Hide empty list items */ .hlist .mw-empty-li, .hlist .mw-empty-elt { display: none; } /* Generate interpuncts */ .hlist dt:after { content: ": "; } /* [[User:Arin Mara]] replaced 'content: " · ";' with 'content: "\00A0\25CB";' on [[User:Evon R'al]] advice in '.hlist li:after' */ .hlist dd:after, .hlist li:after { content: "\00A0\25CB"; font-weight: bold; } .hlist dd:last-child:after, .hlist dt:last-child:after, .hlist li:last-child:after { content: none; } /* Add parentheses around nested lists */ .hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before, .hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before, .hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before { content: " ("; font-weight: normal; } .hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after, .hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after, .hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after { content: ")"; font-weight: normal; } /* Put ordinals in front of ordered list items */ .hlist ol { counter-reset: listitem; } .hlist ol > li { counter-increment: listitem; } .hlist ol > li:before { content: " " counter(listitem) "\a0"; } .hlist dd ol > li:first-child:before, .hlist dt ol > li:first-child:before, .hlist li ol > li:first-child:before { content: " (" counter(listitem) "\a0"; } /** * Style for vertical plain unbulleted lists. * [[User:Arin Mara]] */ .plainlist ol, .plainlist ul { line-height: inherit; list-style: none; margin: 0; } .plainlist ol li, .plainlist ul li { margin-bottom: 0; } /** * Style for Navigational Templates, both Navboxes and Sidebars. * [[User:Arin Mara]] */ /* Prevent line breaks in silly places where desired (nowrap) and links when we don't want them to (nowraplinks a) */ .nowrap, .nowraplinks a { white-space: nowrap; } /* But allow wrapping where desired: */ .wrap, .wraplinks a { white-space: normal; } /* Used by the [[Template:TOC]] to limit the heading levels show in the table of contents. */ .toclimit-2 .toclevel-1 ul, .toclimit-3 .toclevel-2 ul, .toclimit-4 .toclevel-3 ul, .toclimit-5 .toclevel-4 ul, .toclimit-6 .toclevel-5 ul, .toclimit-7 .toclevel-6 ul { display: none; } /* [[User:Arin Mara]] testing @media */ @media screen and (min-width: 45em) { .o-flex-grid--c2\@sm > .o-flex-grid__item { width: 50%; } } @media screen and (min-width: 60em) { .o-flex-grid--c2\@md > .o-flex-grid__item { width: 50%; } .o-flex-grid--c3\@md > .o-flex-grid__item { width: 33.3%; } .o-flex-grid--c4\@md > .o-flex-grid__item { width: 25%; } } @media screen and (min-width: 80em) { .o-flex-grid--c3\@lg > .o-flex-grid__item { width: 33.3%; } } @media screen and (min-width: 100em) { .o-flex-grid--c2\@lg > .o-flex-grid__item { width: 50%; } .o-flex-grid--c4\@lg > .o-flex-grid__item { width: 25%; } }