Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
m **tooltip in development
No edit summary
 
(86 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 8: Line 18:
}
}


/* CSS placed below this line will be applied only for the UniWiki Tools Template:Tooltip */
li.gallerybox {
.uwiki-tooltip
/*border:1px solid #582806; */
{
border:1px solid;
position: relative;
    /*background-color:#080808; */
}
}


.uwiki-tooltip .frame
li.gallerybox div.thumb {  
{
/*background-color:#080808; */
display: block;
    border:none;  
position: absolute;
}
}


.uwiki-tooltip .frame .top
/* CSS placed below this line will be applied only for the UniWiki Tools Template:Tooltip */
.uniwiki-tooltip
{
{
background: url("http://wiki.eveuniversity.org/w/images/a/ab/Bgr_tooltip.png") no-repeat scroll 0 0 transparent;
position: relative;
    display: block;
display: inline;
    height: 20px;
    width: 100%;
}
}
 
.uniwiki-tooltip-frame
.uwiki-tooltip .frame .content
{
{
background: url("http://wiki.eveuniversity.org/w/images/e/e9/Bgr_tooltip_y.png") repeat-y scroll 0 0 transparent;
background-color: var(--background-color-base);
     display: block;
     /*border: 1px solid #111111;*/
     padding: 20px;
     /*border: 1px solid;*/
}
    border: 1px solid var(--border-color-base)
 
     display: none;
.uwiki-tooltip .frame .bottom
min-width: 270px;
{
     padding: 5px;
background: url("http://wiki.eveuniversity.org/w/images/a/ab/Bgr_tooltip.png") no-repeat scroll 0 -70px transparent;
z-index: 100;
     display: block;
     height: 20px;
    width: 100%;
}
}


Line 46: Line 50:
#ship-article
#ship-article
{
{
overflow: auto;
/*background-color: #111111;*/
    /*color: #CCCCCC;*/
    font-family: sans-serif;
    font-size: 12.8px;
}
}


Line 52: Line 60:
{
{
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 62: Line 70:
#ship-article h2 .mw-headline
#ship-article h2 .mw-headline
{
{
color: #656565;
/*color: #656565;*/
display: inline-block;
display: inline-block;
font-size: 16px;
font-size: 16px;
Line 90: Line 98:
#ship-article .header .dbtitle
#ship-article .header .dbtitle
{
{
color: #C1B193;
/*color: #C1B193;*/
font-family: trebuchet MS;
font-family: trebuchet MS;
font-size: 11px;
font-size: 11px;
Line 113: Line 121:
#ship-article .toc, #ship-article #toc
#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;
Line 129: Line 138:
#ship-article .toc a
#ship-article .toc a
{
{
color: #B89964;
/*color: #B89964;*/
font-size: 11px;
font-size: 11px;
line-height: 15px;
line-height: 15px;
Line 136: Line 145:
{
{
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;
Line 148: Line 159:
#ship-article .breadcrumbs a, #ship-article .breadcrumbs strong.selflink
#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 159: Line 170:
#ship-article .breadcrumbs a:hover, #ship-article .breadcrumbs a.hover
#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
#ship-article .breadcrumbs strong.selflink
{
{
color: #CCCCCC;
/*color: #CCCCCC;*/
font-weight: normal;
font-weight: normal;
}
}
Line 174: Line 185:
#ship-article .main .left-col
#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 187: Line 198:
#ship-article .main .box-attributes
#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;
Line 199: Line 211:
#ship-article .main .box-line .att-line
#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;
}
}
Line 217: Line 230:
#ship-article .main .box-line .midinfo small
#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 231: Line 245:
#ship-article .main .box-line .midinfo .title
#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;
Line 248: Line 262:
#ship-article .main .box-line .midinfo .left li
#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 256: Line 270:
#ship-article .main .box-line .midinfo .left .skillstime
#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;
Line 264: Line 279:
#ship-article .main .box-line .midinfo .left .skillstime .value
#ship-article .main .box-line .midinfo .left .skillstime .value
{
{
color: white;
/*color: white;*/
font-size: 11px;
font-size: 11px;
padding: 0 3px 0 2px;
padding: 0 3px 0 2px;
Line 275: Line 290:
#ship-article .main .box-line .midinfo .left .skillstime .desc
#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 300: Line 316:
#ship-article .main .box-bonuses
#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;
Line 308: Line 325:
#ship-article .main .box-bonuses .label
#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;
Line 320: Line 337:
}
}


#ship-article .main .box-info .ecm-info
#ship-article .main .box-info .faction-info
{
{
background-color: transparent;
background-color: transparent;
width: 100%;
width: 100%;
}
}
#ship-article .main .box-info .ecm-info tr,#ship-article .main .box-info .ecm-info td
#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 .ecm-info .faction-img
#ship-article .main .box-info .faction-info .faction-img
{
{
width: 50px;
width: 50px;
}
}
#ship-article .main .box-info .ecm-info .faction
#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 346: Line 363:
vertical-align: bottom;
vertical-align: bottom;
}
}
#ship-article .main .box-info .ecm-info .ecm-priority
{
background-color: #222222;
border: 1px solid #323931;
padding: 2px;
position: relative;
width: 70px;
}
#ship-article .main .box-info .ecm-info .ecm-priority:hover .ecm-desc,
#ship-article .main .box-info .ecm-info .ecm-priority.hover .ecm-desc
{
display: block; z-index: 100;
}
#ship-article .main .box-info .ecm-info .ecm-priority .ecm-desc
{
background-color: black;
border: 2px dashed #582806;
display: none;
font-size: 11px;
left: 75px;
padding: 5px;
position: absolute;
top: -1px;
width: 300px;
z-index: 100;
}
#ship-article .main .box-info .ecm-info .ecm-priority .ecm-desc p
{
font-family: arial;
line-height: 120%;
margin: 0;
padding: 0;
text-align: justify;
}
#ship-article .main .box-info .ecm-info .ecm-priority .ecm-desc .innervalue
{
font-weight: bold;
}
#ship-article .main .box-info .ecm-info .ecm-priority .label
{
font-family: trebuchet MS;
font-size: 10px;
font-variant: small-caps;
line-height: 100%;
padding: 3px;
text-align: center;
}
#ship-article .main .box-info .ecm-info .ecm-priority .label2
{
background-color: black;
font-family: trebuchet MS;
font-size: 10px;
margin-bottom: 2px;
padding-bottom: 3px;
text-align: center;
text-transform: uppercase;
}
#ship-article .main .box-info .ecm-info .ecm-priority .value
{
background-color: black;
font-family: trebuchet MS;
font-size: 16px;
font-weight: bold;
line-height: 15px;
overflow: hidden;
padding: 3px 0 0;
text-align: center;
}
#ship-article .main .box-info .ecm-info .ecm-priority .snip
{
color: #656565;
font-size: 70%;
line-height: 100%;
text-align: right;
}
#ship-article .main .box-info .ecm-info .ecm-priority .none { color:gray; }
#ship-article .main .box-info .ecm-info .ecm-priority .low { color:#9C6825; }
#ship-article .main .box-info .ecm-info .ecm-priority .normal { color:#CCCCCC; }
#ship-article .main .box-info .ecm-info .ecm-priority .high { color:yellow; }
#ship-article .main .box-info .ecm-info .ecm-priority .veryhigh { color:red; }


#ship-article .main .box-info .ecm-info .hull-type
#ship-article .main .box-info .faction-info .hull-type
{
{
height: 20px;
height: 20px;
Line 433: Line 370:
text-align: center;
text-align: center;
}
}
#ship-article .main .box-info .ecm-info .hull-type a
#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 .ecm-info .hull-title
#ship-article .main .box-info .faction-info .hull-title
{
{
font-family: trebuchet MS;
font-family: trebuchet MS;
Line 447: Line 384:
vertical-align: top;
vertical-align: top;
}
}
#ship-article .main .box-info .ecm-info .type-gravimetric { color: #B2C4DA; }
#ship-article .main .box-info .ecm-info .type-magnetometric { color: #5AD3C9; }
#ship-article .main .box-info .ecm-info .type-ladar { color: #CD5B56; }
#ship-article .main .box-info .ecm-info .type-radar { color: #DCC69B; }


#ship-article .main .box-awards
#ship-article .main .box-awards
Line 461: Line 394:
#ship-article .main .box-awards .award
#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 486: Line 419:
#ship-article .main .box-awards .award .award-label
#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 500: Line 433:
#ship-article .main .box-awards .award .award-bgr
#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 512: Line 445:
#ship-article .main .box-discussion
#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 523: Line 456:
#ship-article .main .box-discussion .discussion-bgr
#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%;
Line 532: Line 465:
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;
}