Skip to content

Commit e235590

Browse files
committed
fix: misc scaling issues especially on chrome
1 parent 1fe7364 commit e235590

File tree

4 files changed

+33
-27
lines changed

4 files changed

+33
-27
lines changed

_sass/elements.scss

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
html {
22
background: #2b2b40;
3+
min-width: 300px;
34
}
45

56
html, body {
@@ -12,14 +13,27 @@ body {
1213
}
1314

1415
a {
15-
color: #00a4ca;
16+
color: inherit;
1617
text-decoration: none;
1718
}
1819

1920
a:hover {
2021
text-decoration: underline;
2122
}
2223

24+
div.text a {
25+
font-weight: bold;
26+
}
27+
28+
div.button a div {
29+
word-break:break-all;
30+
margin: 2%;
31+
span {
32+
white-space: nowrap;
33+
display: inline-block;
34+
}
35+
}
36+
2337
img {
2438
width: 100%;
2539
}

_sass/footer.scss

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@
1717
}
1818
a {
1919

20-
&:hover {
21-
text-decoration: none;
22-
}
2320
svg {
2421
fill: #999;
2522
margin-right: 10px;
@@ -82,11 +79,6 @@ footer {
8279
}
8380

8481
}
85-
86-
&,
87-
a {
88-
color: #999;
89-
}
9082

9183
h2 {
9284
font-size: 1.4em;
@@ -100,11 +92,6 @@ footer {
10092
margin: -10px -10px 10px -10px;
10193
}
10294

103-
a {
104-
text-decoration: none;
105-
color: #fff;
106-
}
107-
10895
.legal-line {
10996
width: 100%;
11097
padding: 30px 0;

_sass/landing-page.scss

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,21 +29,16 @@
2929
.cta.button.alt a {
3030
margin: 0 auto;
3131
display: flex;
32-
max-width: 40%;
32+
width: fit-content;
3333
justify-content: center;
3434
align-items: center;
3535

3636
.social-icon {
37-
margin-right: 16px;
38-
max-width: 80px;
37+
margin: 2%;
38+
width: 80px;
3939
}
4040
}
4141

42-
.releases {
43-
color: inherit;
44-
text-decoration: underline;
45-
}
46-
4742
.bottom-cta {
4843
background: linear-gradient(to bottom, $brand-color 0%, $middle-gradient-color 100%);
4944
color: #fff;

index.html

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,15 @@ <h2 class="app-subtitle">A powerful build planner for Path of Exile</h2>
1414
<div class="cta button alt">
1515
<a href="https://github.com/PathOfBuildingCommunity/PathOfBuilding-PoE2/releases/latest/download/PathOfBuildingCommunity-PoE2-Setup.exe ">
1616
<img class="social-icon" src="{{ site.baseurl }}/images/poe2_icon.png" alt="Path of Exile 1 logo"/>
17-
Download POB2 for POE2!
17+
<div>
18+
<span>Download</span>
19+
<span>Path of Building 2</span>
20+
<span>for</span>
21+
<span>Path of Exile 2!</span>
22+
</div>
1823
</a>
1924
</div>
20-
<a href="https://github.com/PathOfBuildingCommunity/PathOfBuilding-PoE2/releases" class="releases">
25+
<a href="https://github.com/PathOfBuildingCommunity/PathOfBuilding-PoE2/releases">
2126
See all releases
2227
</a>
2328
</div>
@@ -28,10 +33,15 @@ <h2 class="app-subtitle">A powerful build planner for Path of Exile</h2>
2833
<div class="cta button alt">
2934
<a href="https://github.com/PathOfBuildingCommunity/PathOfBuilding/releases/latest/download/PathOfBuildingCommunity-Setup.exe">
3035
<img class="social-icon" src="{{ site.baseurl }}/images/poe1_icon.png" alt="Path of Exile 2 logo"/>
31-
Download POB for POE!
36+
<div>
37+
<span>Download</span>
38+
<span>Path of Building</span>
39+
<span>for</span>
40+
<span>Path of Exile!</span>
41+
</div>
3242
</a>
3343
</div>
34-
<a href="https://github.com/PathOfBuildingCommunity/PathOfBuilding/releases" class="releases">
44+
<a href="https://github.com/PathOfBuildingCommunity/PathOfBuilding/releases">
3545
See all releases
3646
</a>
3747
</div>
@@ -40,7 +50,7 @@ <h2 class="app-subtitle">A powerful build planner for Path of Exile</h2>
4050
</section>
4151

4252
<section class="what-is-this">
43-
<div class="text-container">
53+
<div class="text text-container">
4454
This project is open source and needs your skills!
4555
Take a look <a href="https://github.com/PathOfBuildingCommunity/PathOfBuilding/blob/master/CONTRIBUTING.md">here</a> to see how you can help out.
4656
<br>

0 commit comments

Comments
 (0)