-
Notifications
You must be signed in to change notification settings - Fork 3.4k
/
Copy pathindex.styl
208 lines (195 loc) Β· 3.48 KB
/
index.styl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
@import "_common"
@import "_header"
@import "_sidebar"
@import "_sponsors-index"
@import "_modal"
@import "_themes"
@import "_vueschool.styl"
$width = 900px
$space = 40px
body
background-color: darken($light, 10%)
#logo
span
font-size: 1.2em
img
display: none
.sidebar
display: none
#mobile-bar
&.top
background-color: transparent
box-shadow: none
z-index: ($z-sidebar - 1)
.with-v3-banner
#mobile-bar .logo
display: none !important
#v3-banner
display: block
#hero,
#news
padding: $space 40px 30px
background-color: #fff
.inner
max-width: $width * 1.4
margin: 0 auto
.left, .right
display: inline-block
vertical-align: top
.left
width: 39%
.right
width: 61%
.hero-logo
width: 215px
height: 215px
float: right
margin-right: 60px
h1
font-weight: 300
margin: 0
font-size: 3.2em
h2
font-family: $logo-font
font-weight: 500
font-size: 2.4em
margin: 0 0 10px
display: none
.button
margin: 1em 0
font-size: 1.05em
font-weight: 600
letter-spacing: .1em
min-width: 8em
text-align: center
&:not(:last-child)
margin-right: 1%
.social-buttons
list-style-type: none
padding: 0
li
display: inline-block
vertical-align: middle
margin-right: 15px
#news
padding: $space 20px 70px
text-align: center
p
margin-top: 10px
a
color: $green
.newsletter-form
position: relative
max-width: 550px
margin: 0 auto
box-sizing: border-box
.newsletter-input
width: 100%
box-sizing: border-box
padding: 10px 80px 10px 20px
height: 50px
border-radius: 50px
border: 1px solid #ccc
font-size: 16px
&:focus
outline: none
border-color: #42b983
.newsletter-button.button
position: absolute
padding: 4px 20px
margin: 0
height: calc(100% - 8px)
right: 4px
top: 4px
cursor: pointer
#special
background-color: #fff
text-align: center
padding-bottom: 30px
h3
margin 0
a
color $light
width: 160px
height: 80px
line-height: 80px
a, span, img
display: inline-block
vertical-align: middle
img
margin: 15px 0 0
max-width: 100%
max-height: 100%
#highlights
background-color: #fff
padding-bottom: 70px
.inner
max-width: $width
margin: 0 auto
text-align: center
.point
width: 33%
display: inline-block
vertical-align: top
box-sizing: border-box
padding: 0 2em
h2
color: $green
font-size: 1.5em
font-weight: 400
margin: 0
padding: .5em 0
p
color: $light
#footer
padding: $space 0
color: #fff
text-align: center
.social-icon
margin 0 5px
svg
width 18px
height 18px
a
font-weight: 700
color: #fff
@media screen and (max-width: $width)
body
-webkit-text-size-adjust: none
font-size: 14px
.sidebar
display: block
#header
display: none
#mobile-bar
display: block
#hero
padding: $space 40px 30px
.hero-logo
float: none
margin: 30px 0 15px
width: 140px
height: 140px
.left, .right
text-align: center
width: 100%
h1
font-size: 2em
h2
display: block
.button
font-size: .9em
#special-sponsor
span
display: block
img
width: 125px
#highlights
.point
display: block
margin: 0 auto
width: 300px
padding: 0 40px 30px
&:before
content: "β"
color: $green