The Edge Chronicles wiki
No edit summary
No edit summary
 
Line 109: Line 109:
 
}
 
}
   
  +
.wds-tab__content {
.page-content ul.wds-tabs {
 
margin-bottom: 5px;
+
margin-top: 5px;
 
}
 
}

Latest revision as of 11:59, 7 September 2021

/* Alternating rows in the infobox */

div.pi-item:nth-child(odd) {
    background-color: #EFE6BA;
}
 
div.pi-item:nth-child(even) {
    background-color: #E3DAB0;
}

/* Lighter green for the subheadings of the infobox */
.portable-infobox .pi-header { background-color: #4D9616; 
}

.portable-infobox .pi-navigation:last-child {
/* "Source" at the bottom is centered */
    text-align: center;
/* bottom bar is dark green */
    background-color: #337800;
/* Rounded corners for the bottom green navigation bar */
    border-radius: 0 0 10px 10px;
}
/*white "Source" in green*/
.portable-infobox .pi-navigation:last-child a {
    color: #ffffff;
}

/* making the background of the image in infoboxes transparent*/
.portable-infobox.pi-background {
    background: transparent;
}

/*changing the line height in info boxes so that bullet points are closer together */
.portable-infobox .pi-data-value li { line-height: 1.2em; }

/* Fix alignment of lists in horizontal rows */
.pi-europa .pi-horizontal-group-item.pi-data-value {
    text-align: left;
    background: #EFE6BA;
}
 
.pi-europa .pi-horizontal-group-item:not(:first-child) {
    border-left: #CCC39F 1px solid;
}

/* header styling for community page */
.community-page-header {
    background:url('https://vignette.wikia.nocookie.net/theedgechronicles/images/6/68/Community-Header.jpg/revision/latest/scale-to-width-down/640?cb=20190211083010');
    background-size: cover;
    background-position: right -10px;
}

.community-page-header-content {
    text-shadow: 3px 3px 5px black;
}

/* tabber styling */
.tabberlive > .tabbernav > li > a  {
    background: #E3DAB0;
    display: inline-block;
}
 
.tabberlive > .tabbernav > li > a:link  {
    color: black;
}
 
.tabberlive > .tabbernav > li.tabberactive > a {
    background: #4D9616;
    color: white;
}

/* making headings bold */
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
}

/* removing the underline from links in infobox headings */
.pi-europa .pi-header a, .pi-europa .pi-title a {
    text-decoration: none;
}
 
.pi-europa .pi-header a:hover, .pi-europa .pi-title a:hover {
    text-decoration: underline
}

/* highlight Discord usernames (can be changed later) */
.discord-user, .discord-user a:link { 
    color:blue; display:inline 
}

/* make TDSpoiler template easier to read */
#tdspoilerwarning * {
  text-shadow: 0.5px 0.5px 2px wheat;
}

/*make references appear left of infoboxes on short pages, not after a (large) gap at the bottom of the page. Use 
<div class="references-clear-left-only"> on the reference headings for this to work. */
.references-clear-left-only > .mw-references-wrap {
    clear: left;
}

/* make tabber tabs wrap on narrow screens */
.wds-tabs {
	flex-wrap: wrap;
}

.wds-tab__content {
	margin-top: 5px;
}