Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
22bdddd
commit a5f7f00
Showing
7 changed files
with
88 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
export default (e: { | ||
pcFluidInner: HTMLElement, | ||
pcFixed: HTMLElement, | ||
}) => { | ||
if (e.pcFixed.offsetHeight === 0) { | ||
e.pcFluidInner.style.paddingRight = "0"; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
#content>.outsiderColumn { | ||
>.fluid>.inner { /* Remove rightmost ad to make news pages and forum pages the same width */ | ||
padding-right: 0; | ||
} | ||
>.fixed { | ||
display: none; | ||
} | ||
} | ||
|
||
.container, .minWidth { /* Allow containers to shrink further */ | ||
width: auto !important; | ||
min-width: 940px; | ||
} | ||
|
||
#search { /* Adjust search bar to fit in the thinner layout */ | ||
min-width: 156px; | ||
max-width: 180px; | ||
width: 15vw; | ||
} | ||
|
||
.footer .top .block { /* Make footer fit */ | ||
width: 25%; | ||
box-sizing: border-box; | ||
} | ||
|
||
.newsList .itemBanner img, | ||
.articleHeader .bbImage img, | ||
.articleHeader .tv-frame, | ||
.articleContent .bbImage img { /* Scale up images to fill width in article feed and articles */ | ||
width: 100%; | ||
} | ||
|
||
.articleHeader .tv-frame { /* Frame for article video doesn't want to scale */ | ||
.tvf-top, | ||
.tvf-right, | ||
.tvf-bottom, | ||
.tvf-left { | ||
display: none; | ||
} | ||
} | ||
|
||
.forumPost.isReader .button.reply { /* Sacrifice "Svara" on own posts to make room */ | ||
display: none; | ||
} | ||
|
||
.bbRelatedBox:after { /* Clearfix box in articles that images tend to pop out of */ | ||
content: " "; | ||
clear: both; | ||
display: block; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters