This repository has been archived by the owner on Jun 3, 2020. It is now read-only.
forked from g0v/grants-landing-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index-zh.styl
152 lines (125 loc) · 2.43 KB
/
index-zh.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
@import vars
@import basic
html,body
width: 100%
height: 100%
margin: 0
padding: 0
font-size: 22px
font-family: wt011, Helvetica, Arial, sans-serif
h1,h2,h3,h4,h5
font-weight: 900
nav
text-shadow: 0 0 2px rgba(0,0,0,.3)
font-size: 0.9em
.jumbotron
height: 100%
max-height: 640px
margin-bottom: 0
position: relative
background: url(img/jumbotron.jpg) center center no-repeat #222
background-size: cover
border-radius: 0
.text-center
position: absolute
top: 0
left: 0
right: 0
bottom: 0
margin: auto
height: 210px
.emphasis
font-style: normal
color: #ffc107
.section
padding: 80px 20px
.inner
margin: 0 auto;
max-width: 1024px
h2
margin-bottom: 50px
.huge
font-size: 3em
font-weight: 900
.section-line
padding: 0 40px
.inner
display: flex
flex-flow: wrap
justify-content: center
align-items: flex-end
.content
padding: 40px 0
min-width: 50%
flex: 1
.phone-container
margin: 0 20px
max-width: 100%
width: 360px
overflow: hidden
.phone-img
width: 100%
padding-bottom: 150% // of width
background: url(img/phone.png) top left
background-size: cover
position: relative // For video
video
position: absolute
// try-and-error values
width: 78%
left: 11%
top 14%
.section-why
background: #fff url(img/cofacts-db-bg.jpg) bottom left no-repeat
p
background: rgba(255, 255, 255, .6);
.section-photos
padding: 0
.section-photos .inner
display: flex
flex-wrap(wrap)
width: 100%
max-width:100%
.section-photos .photo
flex(1 1 auto)
width: 33%
height: 270px
background-color: #000
background-position: center center
background-size: cover
box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2)
.mask
content: " "
width: 100%
height: 100%
display: block
background: #000
opacity: 0.5
&:hover .mask
opacity: 0
.section-features
padding-top: 90px
.icon
font-size: 90px
margin-bottom: 40px
p
font-size: 0.9em
color: #555
.section-contribute
background: #fff url(img/giraffe.jpg) bottom right no-repeat
background-size: 150px auto
.section-footer
a
color: #9be
.sep.gap-sm
margin: 15px 0
.sep.gap
margin: 30px 0
.sep.gap-lg
margin: 60px 0
.sep.light
border-bottom: 1px solid rgba(255,255,255,0.5)
.sep.dark
border-bottom: 1px solid rgba(0,0,0,0.5)
.sep.light-dark
border-bottom: 1px solid rgba(0,0,0,0.1)