File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,5 +12,10 @@ title: Apollo
1212 <p>An up to date, easy to use and privacy respecting operating system for your computer.</p>
1313</div >
1414
15+ <div id =" landing-buttons " >
16+ {{ button(id="download-button", href="/downloads", label="Download Apollo") }}
17+ {{ button(href="#", label="Learn more") }}
18+ </div >
19+
1520<img id =" landing-screenshot " src =" /images/screenshots/landing_screenshot.png " alt =" An Apollo desktop with the terminal open " >
1621{% end %}
Original file line number Diff line number Diff line change 2323 80%
2424 )
2525 }
26+
27+ a .button {
28+ background-color : color .adjust (
29+ hsl (240 , 10% , 26% ),
30+ $alpha : -0.5 ,
31+ );
32+ color : white ;
33+ }
34+
35+ a .button :hover {
36+ background-color : color .adjust (
37+ hsl (240 , 11% , 22% ),
38+ $alpha : -0.5 ,
39+ );
40+ }
2641 }
2742}
2843@media (prefers-color-scheme : light ) {
4661 90%
4762 )
4863 }
64+
65+ a .button {
66+ background-color : color .adjust (
67+ hsl (240 , 4% , 72% ),
68+ $alpha : -0.5 ,
69+ );
70+ color : black ;
71+ }
72+
73+ a .button :hover {
74+ background-color : color .adjust (
75+ hsl (240 , 4% , 67% ),
76+ $alpha : -0.5 ,
77+ );
78+ }
4979 }
5080}
5181
@@ -80,4 +110,12 @@ body {
80110 margin-inline : auto ;
81111 padding-inline : 2em ;
82112 }
113+
114+ a .button {
115+ border-radius : 24px ;
116+ padding : 16px 32px ;
117+ transition : 0.2s background-color ;
118+ font-weight : 800 ;
119+ text-decoration : none ;
120+ }
83121}
Original file line number Diff line number Diff line change 5353 flex-direction : column ;
5454 justify-content : center ;
5555 text-align : center ;
56- gap : 2.5 em ;
56+ gap : 2 em ;
5757 }
5858
5959 div #landing-start {
@@ -70,6 +70,32 @@ body {
7070
7171 $landing-screenshot-shadow : 0px 0px 9px 3px ;
7272
73+ div #landing-buttons {
74+ display : flex ;
75+ flex-wrap : wrap ;
76+ justify-content : center ;
77+ margin-block : 0 ;
78+ gap : 16px ;
79+
80+ a .button #download-button {
81+ background-color : color .adjust (
82+ $apollo-theme-colour ,
83+ $saturation : -5% ,
84+ $lightness : -5% ,
85+ );
86+ color : white ;
87+ }
88+
89+ a .button #download-button :hover {
90+ background-color : color .adjust (
91+ $apollo-theme-colour ,
92+ $saturation : -5% ,
93+ $lightness : -10% ,
94+ );
95+ color : white ;
96+ }
97+ }
98+
7399 img #landing-screenshot {
74100 width : 90% ;
75101 max-width : 750px ;
Original file line number Diff line number Diff line change 1+ < a href ="{{href}} " {% if id %} id ="{{id}} " {% endif %} class ="button ">
2+ {{label}}
3+ </ a >
Original file line number Diff line number Diff line change 11< section >
2- < div {% if id %} id ="{{id}} " {% endif %}class ="index-section ">
2+ < div {% if id %} id ="{{id}} " {% endif %} class ="index-section ">
33 < div class ="content ">
44 {{ body | safe }}
55 </ div >
You can’t perform that action at this time.
0 commit comments