-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.styl
189 lines (160 loc) · 3.53 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
color-primary-blue = rgba(0, 40, 89, 1)
color-bg-black = lighten(black, 30%)
box-shadow-var = 0px 0px 20px 0px rgba(0,0,0,0.5)
body
background-image url('img/background-2.jpg')
background-repeat no-repeat
background-size cover
height 100vh
header
width 100%
display block
min-width 320px
position relative
z-index 99
top 0
box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.5);
p
margin-bottom 1rem
a
color inherit
&:hover
cursor pointer
.topHeader
background-color color-primary-blue
width 100%
.logo
img
height: 100px
.burger-icon
right 20px
bottom 50%
transform translateY(50%)
position absolute
display inline-block
&:hover
cursor pointer
span
box-shadow 0px 0px 20px 0px rgba(0,0,0,0.8)
span
background-color white
width 40px
height 3px
margin 10px
border-radius 10px
display block
.sidebar
display block
position absolute
height 100vh
z-index 100
margin-left -100%
background-color lighten(color-bg-black, 60%)
transition margin-left 0.5s ease
text-align center
box-shadow 0px 0px 20px 0px rgba(0,0,0,0.5)
li:hover
background-color lighten(color-primary-blue, 40%)
border-radius 5px
box-shadow 0px 0px 20px 0px rgba(0,0,0,0.5)
a
font-weight bold
.sb-header
width 100%
background-color color-primary-blue
display block
img
height 100px
ul
margin 5px
li
list-style-type none
padding 10px
display block
border-radius 5px
a
color black
display block
&.active
margin-left 0
.dimmer
z-index 100
&.active
z-index 99
position fixed
background-color lighten(color-primary-blue, 20%)
width 100vw
height 100vh
opacity 0.8
/* Widgets */
.bluf, .widget-contact
background-color lighten(black, 60%)
color color-primary-blue
border-radius 5px
margin 20px
padding 20px
box-shadow 0px 0px 20px 0px rgba(0,0,0,0.5)
h2
font-weight bold
text-align center
p
font-size 24px
.crisis
background-color white
border-radius 5px
padding 5px
box-shadow 0px 0px 20px 0px rgba(0,0,0,0.5)
.twitter-widget
height 75vh
overflow scroll
width 100%
margin-top 20px
padding: 1px
background lighten(color-bg-black, 40%)
border-radius 5px
.twitter-feed
border solid 2px lighten(color-bg-black, 20%)
.tweetCont
margin 10px
display block
background-color white
padding 5px
border-radius 5px
box-shadow 0px 0px 20px 0px rgba(0,0,0,0.5)
img
float left
width 20%
border-radius 50%
box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.5);
@media (min-width: 1000px)
img
float none
p:first-child
display inline-block
font-size 24px
font-weight bold
padding 10px
p:last-child
padding 5px
display inline-block
.widget-employment
border-radius 5px
padding 20px
background-color lighten(color-bg-black, 40%)
margin 40px
form
input
display block
img
width 100%
border-radius 5px
.widget-contact
background-color lighten(color-bg-black, 40%)
text-align center
padding 20px
margin-top 200px
.widget-colab
img
width 100%
margin 20px
border-radius 5px