Skip to content

Commit 391e73a

Browse files
committed
feat: landing style tweaks
1 parent e908c9c commit 391e73a

2 files changed

Lines changed: 18 additions & 8 deletions

File tree

‎content/_index.md‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ title: Apollo
33
---
44

55
{% index_section(id="welcome") %}
6-
<picture>
7-
<source srcset="/images/logomark_dark.svg" media="(prefers-color-scheme: light)">
8-
<img id="welcome-logo" src="/images/logomark.svg" alt="Apollo">
9-
</picture>
6+
<div id="landing-start">
7+
<picture>
8+
<source srcset="/images/logomark_dark.svg" media="(prefers-color-scheme: light)">
9+
<img id="welcome-logo" src="/images/logomark.svg" alt="Apollo">
10+
</picture>
1011

11-
<p>An up to date, easy to use and privacy respecting operating system for your computer.</p>
12+
<p>An up to date, easy to use and privacy respecting operating system for your computer.</p>
13+
</div>
1214

1315
<img id="landing-screenshot" src="/images/screenshots/landing_screenshot.png" alt="An Apollo desktop with the terminal open">
1416
{% end %}

‎sass/_index.scss‎

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
background: linear-gradient(
99
180deg,
1010
$light-background-colour,
11-
hsl(270, 36%, 85%) 100%
11+
hsl(270, 39%, 69%) 100%
1212
);
1313
}
1414
}
@@ -20,7 +20,7 @@
2020
background: linear-gradient(
2121
180deg,
2222
$dark-background-colour,
23-
hsl(270, 21%, 13%) 100%
23+
hsl(270, 26%, 18%) 100%
2424
);
2525
}
2626
}
@@ -49,6 +49,14 @@ body {
4949
}
5050

5151
div.content {
52+
display: flex;
53+
flex-direction: column;
54+
justify-content: center;
55+
text-align: center;
56+
gap: 2.5em;
57+
}
58+
59+
div#landing-start {
5260
display: flex;
5361
flex-direction: column;
5462
justify-content: center;
@@ -60,7 +68,7 @@ body {
6068
max-height: 80px;
6169
}
6270

63-
$landing-screenshot-shadow: 0px 0px 15px 2px;
71+
$landing-screenshot-shadow: 0px 0px 9px 3px;
6472

6573
img#landing-screenshot {
6674
width: 90%;

0 commit comments

Comments
 (0)