@@ -32,6 +32,9 @@ const Home: Component<
32
32
position: relative;
33
33
z-index: 1;
34
34
max-width: 600px;
35
+ display: flex;
36
+ flex-direction: column;
37
+ align-items: center;
35
38
}
36
39
37
40
.hero-text h2 {
@@ -63,23 +66,29 @@ const Home: Component<
63
66
font-weight: normal;
64
67
}
65
68
69
+ .btn-wrap {
70
+ background: linear-gradient(45deg, var(--accent0), var(--accent1));
71
+ width: max-content;
72
+ border-radius: 99px;
73
+ }
74
+
66
75
.more-btn,
67
76
.more-btn:visited {
68
77
display: inline-block;
69
- background: var(--surface1);
70
- border-image: linear-gradient(45deg, var(--accent0), var(--accent1)) 1;
78
+ background: linear-gradient(45deg, var(--surface1), var(--surface1));
71
79
color: var(--accent0);
72
80
padding: 10px 20px;
73
- border-radius: 20px ;
81
+ border-radius: 99px ;
74
82
font-weight: bold;
75
83
text-decoration: none;
76
- transition: background-color 0.3s, color 0.3s;
84
+ transition: background 0.3s, color 0.3s;
77
85
cursor: pointer;
86
+ margin: 2px;
78
87
}
79
88
80
89
.more-btn:hover {
81
90
background: linear-gradient(45deg, var(--accent0), var(--accent1));
82
- transition: background-color 0.3s, color 0.3s;
91
+ transition: background 0.3s, color 0.3s;
83
92
color: #fff;
84
93
}
85
94
@@ -98,7 +107,16 @@ const Home: Component<
98
107
gap: 30px;
99
108
}
100
109
101
- @media (max-width: 768px) {
110
+ @media (orientation: portrait) {
111
+
112
+ .hero-text h1 {
113
+ font-size: 4em;
114
+ }
115
+
116
+ .hero-text p {
117
+ font-size: 1.4em;
118
+ }
119
+
102
120
.benefits-container {
103
121
padding: 0 15px;
104
122
}
@@ -112,15 +130,7 @@ const Home: Component<
112
130
}
113
131
}
114
132
115
- @media (min-width: 1200px) {
116
- /* .hero-text h1 {
117
- font-size: 4em;
118
- }
119
-
120
- .hero-text p {
121
- font-size: 1.4em;
122
- } */
123
-
133
+ @media (orientation: landscape) {
124
134
.benefit-title {
125
135
font-size: 1.75em;
126
136
}
@@ -147,9 +157,11 @@ const Home: Component<
147
157
< h2 > Introducing</ h2 >
148
158
< h1 > QuickSign</ h1 >
149
159
< p > a local development certificate signer for iOS devices.</ p >
160
+ < div class = "btn-wrap" >
150
161
< a href = "https://x.com/QuickSigniOS" class = "more-btn" download >
151
162
eta son™
152
163
</ a >
164
+ </ div >
153
165
</ div >
154
166
</ section >
155
167
0 commit comments