More actions
merged embedded css in ship article to common.css to reduce page load time |
No edit summary |
||
| (90 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* 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 */ | .collapseButton { /* 'show'/'hide' buttons created dynamically by the */ | ||
| Line 6: | Line 16: | ||
text-align: right; | text-align: right; | ||
width: auto; | width: auto; | ||
} | |||
li.gallerybox { | |||
/*border:1px solid #582806; */ | |||
border:1px solid; | |||
/*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: var(--background-color-base); | |||
/*border: 1px solid #111111;*/ | |||
/*border: 1px solid;*/ | |||
border: 1px solid var(--border-color-base) | |||
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 */ | /* CSS placed below this line will be applied only for the UniWiki Ship Database articles */ | ||
# | #ship-article | ||
{ | { | ||
overflow: auto; | |||
/*background-color: #111111;*/ | |||
/*color: #CCCCCC;*/ | |||
font-family: sans-serif; | |||
font-size: 12.8px; | |||
} | } | ||
# | #ship-article h2 | ||
{ | { | ||
border: medium none; | border: medium none; | ||
color: #555555; | /*color: #555555;*/ | ||
font-family: trebuchet MS; | font-family: trebuchet MS; | ||
font-size: 14px; | font-size: 14px; | ||
| Line 25: | Line 68: | ||
text-align: left; | text-align: left; | ||
} | } | ||
# | #ship-article h2 .mw-headline | ||
{ | { | ||
color: #656565; | /*color: #656565;*/ | ||
display: inline-block; | display: inline-block; | ||
font-size: 16px; | font-size: 16px; | ||
padding: 0 5px; | padding: 0 5px; | ||
} | } | ||
# | #ship-article .header | ||
{ | { | ||
height: 50px; | height: 50px; | ||
| Line 38: | Line 81: | ||
position: relative; | position: relative; | ||
} | } | ||
# | #ship-article .header .mask | ||
{ | { | ||
background-color: transparent; | background-color: transparent; | ||
| Line 47: | Line 90: | ||
width: 605px; | width: 605px; | ||
} | } | ||
# | #ship-article .header .headerbg | ||
{ | { | ||
margin-left: -10px; | margin-left: -10px; | ||
| Line 53: | Line 96: | ||
width: 605px; | width: 605px; | ||
} | } | ||
# | #ship-article .header .dbtitle | ||
{ | { | ||
color: #C1B193; | /*color: #C1B193;*/ | ||
font-family: trebuchet MS; | font-family: trebuchet MS; | ||
font-size: 11px; | font-size: 11px; | ||
| Line 65: | Line 108: | ||
top: 0; | top: 0; | ||
} | } | ||
# | #ship-article .header .shipname | ||
{ | { | ||
font-family: trebuchet MS; | font-family: trebuchet MS; | ||
| Line 76: | Line 119: | ||
top: 17px; | top: 17px; | ||
} | } | ||
# | #ship-article .toc, #ship-article #toc | ||
{ | { | ||
border: 1px solid #272727; | /*border: 1px solid #272727;*/ | ||
border: 1px solid; | |||
float: right; | float: right; | ||
margin: 0 0 5px 10px; | margin: 0 0 5px 10px; | ||
width: 200px; | width: 200px; | ||
} | } | ||
# | #ship-article .toc ul | ||
{ | { | ||
} | } | ||
# | #ship-article .toc li | ||
{ | { | ||
line-height: 15px; | line-height: 15px; | ||
margin-bottom: 0; | margin-bottom: 0; | ||
} | } | ||
# | #ship-article .toc a | ||
{ | { | ||
color: #B89964; | /*color: #B89964;*/ | ||
font-size: 11px; | font-size: 11px; | ||
line-height: 15px; | line-height: 15px; | ||
} | } | ||
# | #ship-article .breadcrumbs | ||
{ | { | ||
background-color: black; | background-color: black; | ||
border-bottom: 1px solid #2D2413; | /*border-bottom: 1px solid #2D2413;*/ | ||
border-top: 1px solid #2D2413; | /*border-top: 1px solid #2D2413; */ | ||
border-bottom: 1px solid; | |||
border-top: 1px solid; | |||
height: 20px; | height: 20px; | ||
margin: 0 0 15px; | margin: 0 0 15px; | ||
padding-left: 3px; | padding-left: 3px; | ||
} | } | ||
# | #ship-article .breadcrumbs .separator | ||
{ | { | ||
margin: 0 3px; | margin: 0 3px; | ||
} | } | ||
# | #ship-article .breadcrumbs a, #ship-article .breadcrumbs strong.selflink | ||
{ | { | ||
color: #B89964; | /*color: #B89964;*/ | ||
display: inline-block; | display: inline-block; | ||
font-family: trebuchet MS; | font-family: trebuchet MS; | ||
| Line 122: | Line 168: | ||
padding: 0 3px; | padding: 0 3px; | ||
} | } | ||
# | #ship-article .breadcrumbs a:hover, #ship-article .breadcrumbs a.hover | ||
{ | { | ||
background-color: #2D2413; | /*background-color: #2D2413;*/ | ||
color: white; | /*color: white;*/ | ||
text-decoration:none; | text-decoration:none; | ||
} | } | ||
# | #ship-article .breadcrumbs strong.selflink | ||
{ | { | ||
color: #CCCCCC; | /*color: #CCCCCC;*/ | ||
font-weight: normal; | font-weight: normal; | ||
} | } | ||
# | #ship-article .main | ||
{ | { | ||
} | } | ||
# | #ship-article .main .left-col | ||
{ | { | ||
background-color: #222222; | /*background-color: #222222;*/ | ||
border-color: #272727 #151515 #151515 #272727; | /*border-color: #272727 #151515 #151515 #272727;*/ | ||
border-style: solid; | border-style: solid; | ||
border-width: 2px; | border-width: 2px; | ||
| Line 146: | Line 192: | ||
width: 256px; | width: 256px; | ||
} | } | ||
# | #ship-article .main .box-line | ||
{ | { | ||
padding: 0 10px; | padding: 0 10px; | ||
} | } | ||
# | #ship-article .main .box-attributes | ||
{ | { | ||
background-color: black; | /*background-color: black;*/ | ||
border: 1px solid #272727; | /*border: 1px solid #272727;*/ | ||
border: 1px solid; | |||
display: inline-block; | display: inline-block; | ||
margin-left: 10px; | margin-left: 10px; | ||
padding: 5px; | padding: 5px; | ||
} | } | ||
# | #ship-article .main .box-line p | ||
{ | { | ||
text-align: justify; | text-align: justify; | ||
} | } | ||
# | #ship-article .main .box-line .att-line | ||
{ | { | ||
border-bottom: 1px solid #2C2B2B; | /*border-bottom: 1px solid #2C2B2B;*/ | ||
border-bottom: 1px solid; | |||
padding: 3px 3px 0; | padding: 3px 3px 0; | ||
} | } | ||
# | #ship-article .main .box-line .midinfo | ||
{ | { | ||
margin: 10px 0; | margin: 10px 0; | ||
width: 510px; | width: 510px; | ||
} | } | ||
# | #ship-article .main .box-line .midinfo tr, | ||
# | #ship-article .main .box-line .midinfo td | ||
{ | { | ||
margin: 0; | margin: 0; | ||
| Line 180: | Line 228: | ||
vertical-align: top; | vertical-align: top; | ||
} | } | ||
# | #ship-article .main .box-line .midinfo small | ||
{ | { | ||
background-color: black; | /*background-color: black;*/ | ||
border: 1px solid #272727; | /*border: 1px solid #272727;*/ | ||
color: #CCCCCC; | border: 1px solid; | ||
/*color: #CCCCCC;*/ | |||
height: 15px; | height: 15px; | ||
line-height: 15px; | line-height: 15px; | ||
| Line 194: | Line 243: | ||
width: 60px; | width: 60px; | ||
} | } | ||
# | #ship-article .main .box-line .midinfo .title | ||
{ | { | ||
color: #656565; | /*color: #656565;*/ | ||
font-family: trebuchet MS; | font-family: trebuchet MS; | ||
font-size: 14px; | font-size: 14px; | ||
font-variant: small-caps; | font-variant: small-caps; | ||
} | } | ||
# | #ship-article .main .box-line .midinfo .left | ||
{ | { | ||
padding: 0 5px 5px 10px; | padding: 0 5px 5px 10px; | ||
width: | width: 280px; | ||
} | } | ||
# | #ship-article .main .box-line .midinfo .left ul | ||
{ | { | ||
line-height: 120%; | line-height: 120%; | ||
margin: 5px 0 0 1.5em; | margin: 5px 0 0 1.5em; | ||
} | } | ||
# | #ship-article .main .box-line .midinfo .left li | ||
{ | { | ||
color: #9E8F75; | /*color: #9E8F75;*/ | ||
font-family: arial; | font-family: arial; | ||
font-size: 12px; | font-size: 12px; | ||
| Line 219: | Line 268: | ||
position: relative; | position: relative; | ||
} | } | ||
# | #ship-article .main .box-line .midinfo .left .skillstime | ||
{ | { | ||
border: 1px solid #272727; | /*border: 1px solid #272727;*/ | ||
color: #656565; | border: 1px solid; | ||
/*color: #656565;*/ | |||
font-family: trebuchet MS; | font-family: trebuchet MS; | ||
padding-left: 20px; | padding-left: 20px; | ||
position: relative; | position: relative; | ||
} | } | ||
# | #ship-article .main .box-line .midinfo .left .skillstime .value | ||
{ | { | ||
color: white; | /*color: white;*/ | ||
font-size: 11px; | font-size: 11px; | ||
padding: 0 2px; | padding: 0 3px 0 2px; | ||
position: absolute; | position: absolute; | ||
right: 0; | right: 0; | ||
text-align: | text-align: right; | ||
top: 0; | top: 0; | ||
width: | width: 100px; | ||
} | } | ||
# | #ship-article .main .box-line .midinfo .left .skillstime .desc | ||
{ | { | ||
background-color: black; | /*background-color: black;*/ | ||
border: 2px dashed #582806; | /*border: 2px dashed #582806;*/ | ||
color: #CCCCCC; | border: 2px dashed; | ||
/*color: #CCCCCC;*/ | |||
display: none; | display: none; | ||
font-size: 11px; | font-size: 11px; | ||
| Line 252: | Line 303: | ||
width: 200px; | width: 200px; | ||
} | } | ||
# | #ship-article .main .box-line .midinfo .left .skillstime:hover .desc, | ||
# | #ship-article .main .box-line .midinfo .left .skillstime.hover .desc | ||
{ | { | ||
display: block; | display: block; | ||
z-index: 100; | z-index: 100; | ||
} | } | ||
# | #ship-article .main .box-line .midinfo .right | ||
{ | { | ||
padding: 0 5px; | padding: 0 5px; | ||
} | } | ||
# | #ship-article .main .box-bonuses | ||
{ | { | ||
border: 1px solid #272727; | /*border: 1px solid #272727;*/ | ||
color: white; | border: 1px solid; | ||
/*color: white;*/ | |||
font-size: 95%; | font-size: 95%; | ||
margin: 0 10px; | margin: 0 10px; | ||
width: 490px; | width: 490px; | ||
} | } | ||
# | #ship-article .main .box-bonuses .label | ||
{ | { | ||
background-color: #1A1A1A; | /*background-color: #1A1A1A;*/ | ||
color: #656565; | /*color: #656565;*/ | ||
font-family: trebuchet MS; | font-family: trebuchet MS; | ||
margin: 2px -8px; | margin: 2px -8px; | ||
padding: 0 5px; | padding: 0 5px; | ||
} | } | ||
# | #ship-article .main .box-info | ||
{ | { | ||
margin-top: 5px; | margin-top: 5px; | ||
| Line 285: | Line 337: | ||
} | } | ||
# | #ship-article .main .box-info .faction-info | ||
{ | { | ||
background-color: transparent; | background-color: transparent; | ||
width: 100%; | width: 100%; | ||
} | } | ||
# | #ship-article .main .box-info .faction-info tr,#ship-article .main .box-info .faction-info td | ||
{ | { | ||
line-height: 110%; | line-height: 110%; | ||
vertical-align: middle; | vertical-align: middle; | ||
} | } | ||
# | #ship-article .main .box-info .faction-info .faction-img | ||
{ | { | ||
width: 50px; | width: 50px; | ||
} | } | ||
# | #ship-article .main .box-info .faction-info .faction | ||
{ | { | ||
color: white; | /*color: white;*/ | ||
font-family: helvetica; | font-family: helvetica; | ||
font-size: 100%; | font-size: 100%; | ||
| Line 311: | Line 363: | ||
vertical-align: bottom; | vertical-align: bottom; | ||
} | } | ||
# | #ship-article .main .box-info .faction-info .hull-type | ||
{ | { | ||
height: 20px; | height: 20px; | ||
| Line 398: | Line 370: | ||
text-align: center; | text-align: center; | ||
} | } | ||
# | #ship-article .main .box-info .faction-info .hull-type a | ||
{ | { | ||
color: orange; | /*color: orange;*/ | ||
font-family: trebuchet MS; | font-family: trebuchet MS; | ||
font-size: 120%; | font-size: 120%; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
} | } | ||
# | #ship-article .main .box-info .faction-info .hull-title | ||
{ | { | ||
font-family: trebuchet MS; | font-family: trebuchet MS; | ||
| Line 412: | Line 384: | ||
vertical-align: top; | vertical-align: top; | ||
} | } | ||
# | #ship-article .main .box-awards | ||
{ | { | ||
margin-left: -6px; | margin-left: -6px; | ||
| Line 424: | Line 392: | ||
position: relative; | position: relative; | ||
} | } | ||
# | #ship-article .main .box-awards .award | ||
{ | { | ||
background-color: #1A1A1A; | /*background-color: #1A1A1A;*/ | ||
border-color: #393734 black; | /*border-color: #393734 black;*/ | ||
border-style: solid; | border-style: solid; | ||
border-width: 1px; | border-width: 1px; | ||
| Line 434: | Line 402: | ||
position: relative; | position: relative; | ||
} | } | ||
# | #ship-article .main .box-awards .award .award-img | ||
{ | { | ||
display: inline-block; | display: inline-block; | ||
} | } | ||
# | #ship-article .main .box-awards .award .award-img a | ||
{ | { | ||
display: block; | display: block; | ||
| Line 444: | Line 412: | ||
line-height: 19px; | line-height: 19px; | ||
} | } | ||
# | #ship-article .main .box-awards .award .award-img img | ||
{ | { | ||
line-height: 19px; | line-height: 19px; | ||
margin-top: -2px; | margin-top: -2px; | ||
} | } | ||
# | #ship-article .main .box-awards .award .award-label | ||
{ | { | ||
color: #B89964; | /*color: #B89964;*/ | ||
display: inline-block; | display: inline-block; | ||
font-family: arial; | font-family: arial; | ||
| Line 463: | Line 431: | ||
z-index: 20; | z-index: 20; | ||
} | } | ||
# | #ship-article .main .box-awards .award .award-bgr | ||
{ | { | ||
color: #4C4C4C; | /*color: #4C4C4C;*/ | ||
float: right; | float: right; | ||
font-family: trebuchet MS; | font-family: trebuchet MS; | ||
| Line 475: | Line 443: | ||
} | } | ||
# | #ship-article .main .box-discussion | ||
{ | { | ||
background-color: #1A1A1A; | /*background-color: #1A1A1A;*/ | ||
border-color: #393734 black; | /*border-color: #393734 black;*/ | ||
border-style: solid; | border-style: solid; | ||
border-width: 1px; | border-width: 1px; | ||
| Line 486: | Line 454: | ||
padding: 5px; | padding: 5px; | ||
} | } | ||
# | #ship-article .main .box-discussion .discussion-bgr | ||
{ | { | ||
color: #4C4C4C; | /*color: #4C4C4C;*/ | ||
font-family: trebuchet MS; | font-family: trebuchet MS; | ||
font-size: 90%; | font-size: 90%; | ||
} | } | ||
# | #ship-article .main .box-discussion .linkname | ||
{ | { | ||
font-size: 11px; | font-size: 11px; | ||
line-height: 120%; | line-height: 120%; | ||
padding: 0 5px; | 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%; | |||
} | |||
} | |||
/* Main page CSS */ | |||
/* === Main Page Layout (scoped) === */ | |||
.mainpage-wrapper .main-banner { | |||
text-align: center; | |||
} | |||
.mainpage-wrapper .search-area { | |||
border-radius: var(--border-radius-base); | |||
cursor: pointer; | |||
transition: background 0.2s ease; | |||
text-align: center; | |||
} | |||
.mainpage-wrapper .search-area:hover { | |||
background: var(--color-surface-3); | |||
} | |||
.mainpage-wrapper .intro-text { | |||
text-align: center; | |||
} | |||
.mainpage-wrapper .info-row { | |||
display: flex; | |||
gap: 1em; | |||
margin: 1em; | |||
} | |||
.mainpage-wrapper .info-box { | |||
flex: 1 1 32%; | |||
display: flex; | |||
flex-direction: column; | |||
margin: 0 !important; | |||
} | |||
.mainpage-wrapper pre{ | |||
white-space: pre-wrap; /* wrap long lines */ | |||
word-wrap: break-word; /* break long words if needed */ | |||
min-width:250px; | |||
} | |||
.mainpage-wrapper .info-box,.about-box,.intro-text,.search-area{ | |||
color: var(--color-emphasized); | |||
background-color: var(--color-surface-2); | |||
border: var(--border-width-base) solid var(--border-color-base); | |||
overflow: auto; | |||
border-radius: var(--border-radius-large); | |||
padding: 1em; | |||
margin: 1em; | |||
} | |||
/* The banner box */ | |||
.main-banner { | |||
position: relative; | |||
height: 450px; | |||
max-width: 2440px; /* stop growing beyond image width */ | |||
margin: 1em auto; /* centre the container */ | |||
overflow: hidden; /* crop sides */ | |||
background-color: var(--color-surface-2); | |||
border: var(--border-width-base) solid var(--border-color-base); | |||
border-radius: var(--border-radius-large); | |||
color: var(--color-emphasized); | |||
padding: 0; | |||
} | |||
/* centre ANY img inside (not just mw-file-element) */ | |||
.main-banner img { | |||
position: absolute; | |||
top: 0; | |||
left: 50%; | |||
transform: translateX(-50%); | |||
height: 100%; | |||
width: auto; | |||
max-width: none; | |||
} | |||
.main-banner > a { display:block; height:100%; } | |||
.mainpage-wrapper .lower-row { | |||
display: flex; | |||
gap: 1em; | |||
margin: 1em; | |||
} | |||
.mainpage-wrapper .about-box { | |||
flex: 1 1 31.3%; | |||
margin: 0 !important; | |||
} | |||
.mainpage-wrapper .link-grid { | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 0.5em; | |||
flex: 1 1 65%; | |||
justify-content: center; | |||
} | |||
.mainpage-wrapper .link-tile { | |||
width: 200px; | |||
height: 200px; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
text-align: center; | |||
background-color: var(--color-surface-2); | |||
border: var(--border-width-base) solid var(--border-color-base); | |||
} | |||
.mainpage-wrapper .link-tile { | |||
position: relative; | |||
width: 200px; | |||
height: 200px; | |||
overflow: hidden; | |||
background: var(--color-surface-2); | |||
border: var(--border-width-base) solid var(--border-color-base); | |||
} | |||
.mainpage-wrapper .tile-inner { | |||
width: 100%; | |||
height: 100%; | |||
position: relative; | |||
} | |||
.mainpage-wrapper .tile-inner img { | |||
width: 100%; | |||
height: 100%; | |||
object-fit: cover; | |||
display: block; | |||
} | |||
.mainpage-wrapper .tile-label { | |||
position: absolute; | |||
bottom: 0; | |||
left: 0; | |||
right: 0; | |||
background: rgba(0, 0, 0, 0.6); | |||
text-align: center; | |||
padding: 0.3em; | |||
font-weight: bold; | |||
font-size: 1em; | |||
} | |||
.mainpage-wrapper .tile-label a { | |||
color: white; | |||
text-decoration: none; | |||
} | |||
.mainpage-wrapper .tile-label a:hover { | |||
text-decoration: underline; | |||
} | |||
/* === Mobile responsiveness === */ | |||
@media (max-width: 1200px) { | |||
.mainpage-wrapper .info-row { | |||
flex-direction: column; | |||
} | |||
.mainpage-wrapper .info-box { | |||
flex: 1 1 auto; | |||
} | |||
.mainpage-wrapper .lower-row { | |||
flex-direction: column; | |||
} | |||
} | |||
.github-badge-row { | |||
display: flex; | |||
flex-direction: row; | |||
align-items: center; | |||
gap: 1em; | |||
} | |||
.github-badge-title { | |||
white-space: nowrap; | |||
} | |||
/* Light mode (default) */ | |||
.patreon-logo-dark { | |||
display: none; | |||
} | |||
.patreon-logo-light { | |||
display: inline; | |||
} | |||
/* Dark mode (activated via root class) */ | |||
:root.skin-theme-clientpref-night .patreon-logo-light { | |||
display: none; | |||
} | |||
:root.skin-theme-clientpref-night .patreon-logo-dark { | |||
display: inline; | |||
} | } | ||
Latest revision as of 15:46, 13 August 2025
/* 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; */
border:1px solid;
/*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: var(--background-color-base);
/*border: 1px solid #111111;*/
/*border: 1px solid;*/
border: 1px solid var(--border-color-base)
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
{
overflow: auto;
/*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;*/
border: 1px solid;
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; */
border-bottom: 1px solid;
border-top: 1px solid;
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;*/
border: 1px solid;
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;*/
border-bottom: 1px solid;
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;*/
border: 1px solid;
/*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;*/
border: 1px solid;
/*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;*/
border: 2px dashed;
/*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;*/
border: 1px solid;
/*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%;
}
}
/* Main page CSS */
/* === Main Page Layout (scoped) === */
.mainpage-wrapper .main-banner {
text-align: center;
}
.mainpage-wrapper .search-area {
border-radius: var(--border-radius-base);
cursor: pointer;
transition: background 0.2s ease;
text-align: center;
}
.mainpage-wrapper .search-area:hover {
background: var(--color-surface-3);
}
.mainpage-wrapper .intro-text {
text-align: center;
}
.mainpage-wrapper .info-row {
display: flex;
gap: 1em;
margin: 1em;
}
.mainpage-wrapper .info-box {
flex: 1 1 32%;
display: flex;
flex-direction: column;
margin: 0 !important;
}
.mainpage-wrapper pre{
white-space: pre-wrap; /* wrap long lines */
word-wrap: break-word; /* break long words if needed */
min-width:250px;
}
.mainpage-wrapper .info-box,.about-box,.intro-text,.search-area{
color: var(--color-emphasized);
background-color: var(--color-surface-2);
border: var(--border-width-base) solid var(--border-color-base);
overflow: auto;
border-radius: var(--border-radius-large);
padding: 1em;
margin: 1em;
}
/* The banner box */
.main-banner {
position: relative;
height: 450px;
max-width: 2440px; /* stop growing beyond image width */
margin: 1em auto; /* centre the container */
overflow: hidden; /* crop sides */
background-color: var(--color-surface-2);
border: var(--border-width-base) solid var(--border-color-base);
border-radius: var(--border-radius-large);
color: var(--color-emphasized);
padding: 0;
}
/* centre ANY img inside (not just mw-file-element) */
.main-banner img {
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
height: 100%;
width: auto;
max-width: none;
}
.main-banner > a { display:block; height:100%; }
.mainpage-wrapper .lower-row {
display: flex;
gap: 1em;
margin: 1em;
}
.mainpage-wrapper .about-box {
flex: 1 1 31.3%;
margin: 0 !important;
}
.mainpage-wrapper .link-grid {
display: flex;
flex-wrap: wrap;
gap: 0.5em;
flex: 1 1 65%;
justify-content: center;
}
.mainpage-wrapper .link-tile {
width: 200px;
height: 200px;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
background-color: var(--color-surface-2);
border: var(--border-width-base) solid var(--border-color-base);
}
.mainpage-wrapper .link-tile {
position: relative;
width: 200px;
height: 200px;
overflow: hidden;
background: var(--color-surface-2);
border: var(--border-width-base) solid var(--border-color-base);
}
.mainpage-wrapper .tile-inner {
width: 100%;
height: 100%;
position: relative;
}
.mainpage-wrapper .tile-inner img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.mainpage-wrapper .tile-label {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: rgba(0, 0, 0, 0.6);
text-align: center;
padding: 0.3em;
font-weight: bold;
font-size: 1em;
}
.mainpage-wrapper .tile-label a {
color: white;
text-decoration: none;
}
.mainpage-wrapper .tile-label a:hover {
text-decoration: underline;
}
/* === Mobile responsiveness === */
@media (max-width: 1200px) {
.mainpage-wrapper .info-row {
flex-direction: column;
}
.mainpage-wrapper .info-box {
flex: 1 1 auto;
}
.mainpage-wrapper .lower-row {
flex-direction: column;
}
}
.github-badge-row {
display: flex;
flex-direction: row;
align-items: center;
gap: 1em;
}
.github-badge-title {
white-space: nowrap;
}
/* Light mode (default) */
.patreon-logo-dark {
display: none;
}
.patreon-logo-light {
display: inline;
}
/* Dark mode (activated via root class) */
:root.skin-theme-clientpref-night .patreon-logo-light {
display: none;
}
:root.skin-theme-clientpref-night .patreon-logo-dark {
display: inline;
}