File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ .hero {
2+ align-items : stretch;
3+ display : flex;
4+ flex-direction : column;
5+ justify-content : space-between;
6+ }
7+
8+ .hero ul {
9+ border-bottom : none;
10+ }
11+
12+ .hero-container {
13+ width : 100vw ;
14+ }
15+
16+ .hero-content {
17+ display : flex;
18+ flex-direction : column;
19+ }
20+
21+ .hero-title-content {
22+ align-items : center;
23+ display : flex;
24+ flex-direction : row;
25+ justify-content : center;
26+ width : 100% ;
27+ line-height : 1.5 ;
28+ }
29+
30+ .hero-title {
31+ align-items : center;
32+ display : flex;
33+ flex-direction : row;
34+ font-family : var (--fontFamily ), sans-serif;
35+ font-weight : 900 ;
36+ font-size : 6em ;
37+ color : var (--pst-color-text-base );
38+ justify-content : center;
39+ margin-left : 1em ;
40+ margin-bottom : 0.2em ;
41+ margin-right : 0.5em ;
42+ text-align : right;
43+ }
44+
45+ .hero-logo {
46+ align-self : start;
47+ margin : 0.1em ;
48+ margin-left : 0.25em ;
49+ max-height : 0.8em ;
50+ }
51+
52+ .hero-subtitle {
53+ color : var (--pst-color-text-base );
54+ font-size : 1em ;
55+ max-width : 550px ;
56+ }
57+
58+ .hero-cta {
59+ padding : 15px 0 ;
60+ display : flex;
61+ flex-wrap : wrap;
62+ align-self : center;
63+ }
64+
65+ .cta-button {
66+ margin-right : 1em ;
67+ min-width : 15rem ;
68+ padding-left : 1.5rem ;
69+ padding-right : 1.5rem ;
70+ width : auto;
71+ height : 3rem ;
72+ text-transform : uppercase;
73+ letter-spacing : 1.5px ;
74+ font-weight : 500 ;
75+ color : var (--colorSecondaryLight );
76+ background-color : var (--colorPrimaryDark );
77+ border : none;
78+ border-radius : 25px ;
79+ outline : none;
80+ cursor : pointer;
81+ }
82+
83+ .cta-button : hover {
84+ color : var (--colorPrimaryLight );
85+ }
86+
87+ @media only screen and (max-width : 1090px ) {
88+ .hero-content {
89+ flex-direction : column;
90+ padding : 0 ;
91+ align-items : center;
92+ }
93+
94+ .hero-title-content {
95+ flex-direction : column;
96+ align-items : center;
97+ }
98+ }
99+
100+ @media only screen and (max-width : 600px ) {
101+ .flex-column {
102+ margin : 0 30px ;
103+ }
104+
105+ .hero-title {
106+ font-size : 4em ;
107+ }
108+ }
109+
110+ @media only screen and (max-width : 400px ) {
111+ .hero-title {
112+ flex-direction : column;
113+ }
114+ }
Original file line number Diff line number Diff line change @@ -96,122 +96,14 @@ a > code {
9696 margin-left : 0.5em ;
9797}
9898
99- .hero {
100- align-items : stretch;
101- display : flex;
102- flex-direction : column;
103- justify-content : space-between;
104- }
105-
106- .hero ul {
107- border-bottom : none;
108- }
109-
110- .hero-container {
111- width : 100vw ;
112- }
113-
114- .hero-content {
115- display : flex;
116- flex-direction : column;
117- }
118-
119- .hero-title-content {
120- align-items : center;
121- display : flex;
122- flex-direction : row;
123- justify-content : center;
124- width : 100% ;
125- line-height : 1.5 ;
126- }
127-
128- .hero-title {
129- align-items : center;
130- display : flex;
131- flex-direction : row;
132- font-family : var (--fontFamily ), sans-serif;
133- font-weight : 900 ;
134- font-size : 6em ;
135- color : var (--pst-color-text-base );
136- justify-content : center;
137- margin-left : 1em ;
138- margin-bottom : 0.2em ;
139- margin-right : 0.5em ;
140- text-align : right;
141- }
142-
143- .hero-logo {
144- align-self : start;
145- margin : 0.1em ;
146- margin-left : 0.25em ;
147- max-height : 0.8em ;
148- }
149-
150- .hero-subtitle {
151- color : var (--pst-color-text-base );
152- font-size : 1em ;
153- max-width : 550px ;
154- }
155-
156- .hero-cta {
157- padding : 15px 0 ;
158- display : flex;
159- flex-wrap : wrap;
160- align-self : center;
161- }
162-
163- .cta-button {
164- margin-right : 1em ;
165- min-width : 15rem ;
166- padding-left : 1.5rem ;
167- padding-right : 1.5rem ;
168- width : auto;
169- height : 3rem ;
170- text-transform : uppercase;
171- letter-spacing : 1.5px ;
172- font-weight : 500 ;
173- color : var (--colorSecondaryLight );
174- background-color : var (--colorPrimaryDark );
175- border : none;
176- border-radius : 25px ;
177- outline : none;
178- cursor : pointer;
179- }
180-
181- .cta-button : hover {
182- color : var (--colorPrimaryLight );
183- }
18499# backtotop .visible # backtotop-color : hover {
185100 background : var (--colorYellow );
186101}
187102
188- @media only screen and (max-width : 1090px ) {
189- .hero-content {
190- flex-direction : column;
191- padding : 0 ;
192- align-items : center;
193- }
194-
195- .hero-title-content {
196- flex-direction : column;
197- align-items : center;
198- }
199- }
200-
201103@media only screen and (max-width : 600px ) {
202104 .flex-column {
203105 margin : 0 30px ;
204106 }
205-
206- .hero-title {
207- font-size : 4em ;
208- }
209- }
210-
211- @media only screen and (max-width : 400px ) {
212- .hero-title {
213- flex-direction : column;
214- }
215107}
216108
217109figcaption {
You can’t perform that action at this time.
0 commit comments