Skip to content

Commit d808e3e

Browse files
committed
Misc tweaks and fixes
1 parent 7f95162 commit d808e3e

File tree

3 files changed

+45
-29
lines changed

3 files changed

+45
-29
lines changed

sass/homeassistant/_overrides.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -899,6 +899,13 @@ a.material-card:hover {
899899
text-transform: uppercase;
900900
}
901901

902+
.getting-started-grid {
903+
display: flex;
904+
padding: 48px 0 48px 24px;
905+
align-items: flex-start;
906+
gap: 24px;
907+
}
908+
902909
.getting-started-device {
903910
.content {
904911
display: flex;
@@ -952,12 +959,17 @@ a.material-card:hover {
952959
}
953960

954961
@media only screen and (max-width: $palm-end) {
962+
.getting-started-grid {
963+
flex-direction: column;
964+
}
965+
955966
.getting-started-device {
956967
padding-bottom: 64px;
957968
}
958969

959970
#HA_Yellow, #Raspberry_Pi {
960971
padding-top: 0;
972+
order: 2;
961973
}
962974
}
963975
}

sass/homeassistant/homepage/_hero_unit.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
.hero {
55
position: relative;
66
background: rgb(24,188,242);
7-
background: linear-gradient(0deg, hsl(195, 89%, 52%) 0%, hsla(195, 89%, 52%, 0.8) 100%);
7+
background: linear-gradient(340deg, hsl(200deg, 100%, 50%) 0%, hsl(195deg, 100%, 50%) 50%, hsl(185deg, 100%, 50%) 100%);
88
padding-bottom: 0;
99
margin-top: -88px;
1010
margin-bottom: 48px;
@@ -57,7 +57,7 @@
5757
display: flex;
5858
margin: 8px 0px 24px 0px;
5959
align-items: center;
60-
gap: 24px;
60+
gap: 12px;
6161

6262
a {
6363
font-size: 1.1rem;
@@ -66,7 +66,7 @@
6666
display: inline-block;
6767
font-weight: 600;
6868
padding: 8px 0 8px 0;
69-
margin: 0 24px 0 4px;
69+
margin: 0 12px 0 12px;
7070
border-radius: 32px;
7171

7272
&.primary {

source/_includes/custom/getting-started.html

Lines changed: 30 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -4,40 +4,44 @@ <h2 class="sub-title">Let's get started.</h2>
44
<p class="lead">A variety of options for pragmatists and tinkerers alike.</p>
55
</div>
66

7-
<div class="getting-started-device grid__item one-third palm-one-whole" id="HA_Yellow">
8-
<div class="content">
9-
<div class="badge">Intermediate</div>
10-
<img src="/images/frontpage/ha-yellow.png" alt="Home Assistant Yellow"/>
11-
<div>
12-
<h3>Home Assistant Yellow</h3>
13-
<p>The powerful way to run and customize Home Assistant to your needs</p>
7+
<div class="getting-started-grid grid__item one-whole">
8+
9+
<div class="getting-started-device" id="HA_Yellow">
10+
<div class="content">
11+
<div class="badge">Intermediate</div>
12+
<img src="/images/frontpage/ha-yellow.png" alt="Home Assistant Yellow"/>
13+
<div>
14+
<h3>Home Assistant Yellow</h3>
15+
<p>The powerful way to run and customize Home Assistant to your needs</p>
16+
</div>
17+
<a class="button" aria-label="Learn more about Home Assistant Yellow" href="/yellow">Learn more</a>
1418
</div>
15-
<a class="button" aria-label="Learn more about Home Assistant Yellow" href="/yellow">Learn more</a>
1619
</div>
17-
</div>
1820

19-
<div class="getting-started-device grid__item one-third palm-one-whole" id="HA_Green">
20-
<div class="content">
21-
<div class="badge">Easiest</div>
22-
<img src="/images/frontpage/ha-green.png" alt="Home Assistant Green"/>
23-
<div>
24-
<h3>Home Assistant Green</h3>
25-
<p>The easiest way to get started with Home Assistant</p>
21+
<div class="getting-started-device" id="HA_Green">
22+
<div class="content">
23+
<div class="badge">Easiest</div>
24+
<img src="/images/frontpage/ha-green.png" alt="Home Assistant Green"/>
25+
<div>
26+
<h3>Home Assistant Green</h3>
27+
<p>The easiest way to get started with Home Assistant</p>
28+
</div>
29+
<a class="button" aria-label="Learn more about Home Assistant Green" href="/green">Learn more</a>
2630
</div>
27-
<a class="button" aria-label="Learn more about Home Assistant Green" href="/green">Learn more</a>
2831
</div>
29-
</div>
3032

31-
<div class="getting-started-device grid__item one-third palm-one-whole" id="Raspberry_Pi">
32-
<div class="content">
33-
<div class="badge">Advanced</div>
34-
<img src="/images/frontpage/raspberry-pi.png" alt="Raspberry Pi"/>
35-
<div>
36-
<h3>Raspberry Pi</h3>
37-
<p>A low-cost DIY solution to get started with Home Assistant</p>
33+
<div class="getting-started-device" id="Raspberry_Pi">
34+
<div class="content">
35+
<div class="badge">Advanced</div>
36+
<img src="/images/frontpage/raspberry-pi.png" alt="Raspberry Pi"/>
37+
<div>
38+
<h3>Raspberry Pi</h3>
39+
<p>A low-cost DIY solution to get started with Home Assistant</p>
40+
</div>
41+
<a class="button" aria-label="Learn more about installing Home Assistant on Raspberry Pi" href="/installation/raspberrypi">Learn more</a>
3842
</div>
39-
<a class="button" aria-label="Learn more about installing Home Assistant on Raspberry Pi" href="/installation/raspberrypi">Learn more</a>
4043
</div>
44+
4145
</div>
4246

4347
<div class="grid__item one-half palm-one-whole">

0 commit comments

Comments
 (0)