Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Liquipedia.net Host Support #5176

Merged
merged 8 commits into from
Mar 21, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Further sccs cleanup
  • Loading branch information
iMarbot committed Dec 26, 2019
commit d57dcbfee4270b542e85dcd727b6d22d9e3000d8
40 changes: 23 additions & 17 deletions lib/css/modules/_showImages.scss
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,8 @@ body:not(.res-showImages-displayImageCaptions) {
}

// Extras for certain text expando's
.res-expando-box[data-host='wikipedia'], .res-expando-box[data-host='liquipedia'] {
.res-expando-box[data-host='wikipedia'],
.res-expando-box[data-host='liquipedia'] {
.md {
padding: 5px;
max-width: none;
Expand Down Expand Up @@ -698,40 +699,45 @@ body:not(.res-showImages-displayImageCaptions) {
width: 46%;
}

> div:nth-child(2n+1) {
.res-nightmode & {
.res-nightmode & {
color: rgb(221, 221, 221);

> div:nth-child(2n) {
background-color: rgb(60, 60, 60);
}

> div:nth-child(2n+1) {
background-color: rgb(57, 57, 57);
color: rgb(221, 221, 221);
}
background-color: #eeeeee
}

> div:nth-child(2n) {
.res-nightmode & {
background-color: rgb(60, 60, 60);
color: rgb(221, 221, 221);
}
background-color: #f5f5f5
background-color: #f5f5f5;
}

> div:nth-child(2n+1) {
background-color: #eeeeee;
}

> div > div.infobox-image:not(.infobox-fixed-size-image) img {
width: 97%;
height: auto
height: auto;
}

> div {
display: table;
width: 100%
width: 100%;
}

> div > div {
width: 100%;
float: left;
height: inherit;
padding: 5px
padding: 5px;
}

.league-icon-small-image img, .icon-small img {
.league-icon-small-image img,
.icon-small img {
max-width: 25px;
max-height: 25px;
}
Expand All @@ -750,12 +756,12 @@ body:not(.res-showImages-displayImageCaptions) {
.infobox-header {
font-weight: 700;
text-align: center;
font-size: 20px
font-size: 20px;
}

.infobox-description {
font-weight: bold;
text-align: right
text-align: right;
}
}
}