Star Wars: The Old Republic Wiki
Advertisement

In other languages: DeutschРусский


CSS and Javascript changes must comply with the wiki design rules.


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.
body.skin-fandomdesktop {
	font-family: Lato, sans-serif;
}

.page {
	border: 0.5px solid var(--theme-link-color);
}

/******************************
/* FRONT PAGE STYLING
/******************************/
.fpmain {
    width: 100%;
    overflow: hidden;
}

.fpbox {
    margin: 5px;
    padding: 5px;
    overflow: auto;
}

.fpbox.plain {
    background: transparent;
    border: none;
    box-shadow: none;
}

.fpbox .heading,
.fpbox .mainheading,
.fpbox .welcome {
    margin: 0 0 10px;
    padding: 0 0 5px;
    overflow: auto;
}

.fpbox .mainheading,
.fpbox .welcome {
    font-size: 150%;
    font-weight: bold;
}

.fpbox .heading {
    text-align: center;
    font-size: 132%;
}

.linkslabel {
    margin: 15px 5px 5px;
    padding: 0 0 5px;
}

/******************************
/* FRONT PAGE LINK STYLING
/******************************/
.fplinks {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: stretch;
    text-align: center;
}

.fplink-outer {
    padding: 5px;
    flex-basis: calc(25% - 10px);
    width: calc(25% - 15px);
    min-width: 115px;
    display: inline-block;
    vertical-align: middle;
}

.fplink-wide {
    flex-basis: calc(33% - 10px);
    width: calc(33% - 15px);
}

.fplink-fullwidth {
    flex-basis: 100%;
    width: calc(100% - 15px);
    font-weight: bold;
}

.fplink {
    padding: 0.5em;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    display: table;
}

.fplink-plain {
    background: transparent;
    border-radius: 0;
    border: 0;
    box-shadow: none;
}

.fplink-inner {
    display: table-row;
}

.fplink a {
    display: table-cell;
    vertical-align: middle;
}

.fplink img {
    max-width: 150px;
    width: 100%;
    height: auto;
}
/* Auto-resize front page video to fit smaller columns */
.fpbox .embedvideowrap {
    width: 100%!important;
    max-width: 480px;
    margin: 0 auto;
}

.fpbox .embedvideowrap iframe {
    width: 100%!important;
}

/* Front page appearance styles */
.fpbox .heading,
.fpbox .mainheading {
    border: 0;
    border-bottom: 1px solid #505050;
}

.fpbox {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid #505050;
    box-shadow: 0 2px 5px #505050;
}

.fplink {
    background: rgba(0,0,0,0.3);
    border: 1px solid #505050;
}

.fplink-fullwidth .fplink {
    background: rgba(0,0,0,0.4);
}

.linkslabel {
    border-bottom: 2px solid #505050;
}

/* this CSS governs the responsive 2 column main page layout */
.fpmaybecols {
    overflow: hidden;
    margin: -5px 0;
}

.fpmaybecols + .fpmaybecols {
    margin: 0 0 -5px;
}

.fpbox .heading .smalllink {
    color: #e0e0e0;
    font-size: 75%;
    font-weight: bold;
}

.fpbox hr {
    border: none;
    border-bottom: 2px solid #505050;
}

@media (min-width: 990px) {
    .fpmain {
        padding-right: 520px;
        width: auto;
    }

    #fpbottomsection,
    #fptopsection {
        float: left;
        width: 100%;
    }

    #fpflexsection {
        float: right;
        width: 520px;
        margin-right: -520px;
    }

    #fpbottomsection {
        margin-top: -5px;
    }
}

/******************************
/* INFOBOX STYLING - SWTOR UI inspired.
/******************************/
.infobox {
    background-color: #00090F;
    border: 1px solid #104BA9;
    border-collapse: unset;
    border-spacing: unset;
    border-radius: 5px;
    box-shadow: 0px 0px 5.4px 0.6px rgba(0,0,0,1),0px 0px 5px 0px rgba(85,127,191,0.6) inset;
    float: right;
    font-size: 90%; 
    margin-bottom: 10px; 
    margin-left: 10px; 
    padding: 5px; 
    width: 300px;
}

.infobox td,
.infobox th {
    vertical-align: top;
}

.infobox td > div {
    font-weight: bold;
    padding: 0.5px 7px;
    text-align: right;
}

.infoboxtable td > div {
    border: 2px solid inherit; 
    border-radius: 5px; 
    font-weight: bold;
    padding: 0.5px 7px;
    text-align: right;
}

.infoboxname {
	background-color: var(--theme-accent-color);
    font-size: 125%; 
    font-weight: bold;
    padding: 10px;
    text-align: center;
}

.infoboxname th {
    padding: 1px;
}

.infoboxdetails {
    font-weight: bold;
    padding: 0.5px 7px;
    text-align: right;
}

.mw-echo-ui-notificationsInboxWidget-toolbarWrapper {
    background: inherit;
}

/* Wikitables */
table.wikitable {
    background-color: #00090F;
    border: 1px solid #104BA9;
    border-collapse: collapse;
    border-radius: 5px;
    box-shadow: 0px 0px 5.4px 0.6px rgba(0,0,0,1),0px 0px 5px 0px rgba(85,127,191,0.6) inset;
}

table.wikitable th {
    background-color: var(--theme-accent-color);
    border: 1px solid #104BA9;
    padding: 0.2em 0.4em;
    text-align: center;
}
table.wikitable td {
    border: 1px solid #104BA9;
    padding: 0.2em;
    text-align: inherit;
}

.ambox {
    background-color: #282828;
    border-bottom-color: #383838;
    border-right-color: #383838;
    border-top-color: #383838;
    border-collapse: collapse;
    font-size: 95%;
    margin: 0 auto 2px auto;
    width: 80%;
}

.ambox-gray {
    border-left-color: #383838;
}

.ambox.ambox-tiny {
    font-size: 90%;
    margin: 2px 0;
    width: auto;
}

.ambox + .ambox {
     margin-top: -2px;
}

.ambox-text {
     padding: 0.25em 0.5em;
}

.ambox-image {
     padding: 2px 0px 2px 0.5em;
     text-align: center;
     width: 60px;
}

.ambox-tiny .ambox-image {
     padding: 2px 0.5em;
     text-align: left;
     width: auto;
}

/* Ambox colors */
.ambox-blue {
     border-left: 10px solid #1e90ff;
}

.ambox-red {
     border-left: 10px solid #b22222;
}

.ambox-orange {
     border-left: 10px solid #f28500;
}

.ambox-yellow {
     border-left: 10px solid #f4c430;
}

.ambox-purple {
     border-left: 10px solid #9932cc;
}

.ambox-gray {
     border-left: 10px solid #bba;
}

.ambox-green {
     border-left: 10px solid #228b22;
}

/* Ambox small text */
.amsmalltext {
     font-size: smaller;
     margin-left: 0.8em;
     margin-top: 0.5em;
}

/* Navbox template style - SWTOR UI inspired. */
.navbox {
    background-color: #00090F;
    border: 1px solid #104BA9;
    border-collapse: unset;
    border-radius: 5px;
    box-shadow: 0px 0px 5.4px 0.6px rgba(0, 0, 0, 1), 0px 0px 5px 0px rgba(85, 126, 191, 0.6) inset;
    font-size: 90%;
    margin-top: 15px;
    padding: 1px; 
    text-align: center;
    width: 100%;
}

.navbox-inner,
.navbox-subgroup {
    width: 100%;
}

/* Title, group and above/below styles */
.navbox-group,
.navbox-title,
.navbox-abovebelow {
    padding: 0.25em 1em;
    line-height: 1.5em;
    text-align: center;
}

/* Group style */
th.navbox-group {
    white-space: nowrap;
    /* @noflip */
    text-align: right;
}

.navbox,
.navbox-subgroup {
    background-color: #00090F;
}

.navbox-list {
    line-height: 1.8em;
    border-color: #00090F;	/* Must match background color */
}

/* Level 1 color */
.navbox-title {
    background-color: #000421;
    border-bottom: 1px solid #104BA9;
    color: #FFFFFF;
}

/* Level 2 color */
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
    background: #000421;
}

/* Level 3 color */
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
    background: #000421;
}

/* Odd row striping */
.navbox-odd {
    background: transparent;
}

/* Even row striping */
.navbox-even {
    background-color: rgba(85, 126, 191, 0.1);
}

/* Single pixel border between adjacent navboxes */
table.navbox + table.navbox {
    margin-top: -1px;
}

/* Default styling for Navbar template */
.navbar {
    font-size: 88%;
    font-weight: normal;
}

/* Navbar styling when nested in infobox and navbox */
.navbox .navbar {
    display: block;
    font-size: 100%;
}

.navbox-title .navbar {
    float: left;
    text-align: left;
    margin-right: 0.5em;
    width: 6em;
}

/* Styling for JQuery makeCollapsible, matching that of collapseButton */
.mw-collapsible-toggle {
    font-weight: normal;
    /* @noflip */
    text-align: right;
}

.navbox .mw-collapsible-toggle {
    width: 6em;
}

.navbox .mw-collapsible-toggle a,
.wikitable .mw-collapsible-toggle a {
    color: #FFCC00;
}

/* End of new Navbox styling */

/* Remove funky <p> spacing */
.page-content p,
.page-content section {
    margin: 0;
}
Advertisement