-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.styl
More file actions
155 lines (122 loc) · 1.63 KB
/
index.styl
File metadata and controls
155 lines (122 loc) · 1.63 KB
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
@require "styles/reset"
@require "styles/container"
@require "styles/typo"
@require "Button/"
.test-btn
btn()
*, *:before, *:after
box bdbox
center-container(w)
maw w
mx a
.row:after
content " "
display table
clear both
.grid
float left
.grid-last
float right
a
reset-theme()
text-decoration none
dis ib
/*
* test.
*/
body
reset-box()
reset-font()
reset-theme()
reset-space()
fz 16px
lh 1.5
pc = #0d73da
.navbar-contianer
bg rgba(0, 0, 0, 0) linear-gradient(to bottom, #086ed5, #055db5)
bgc green
c #fff
.navbar
center-container(64rem)
&__logo
py 0.5rem
mr 1rem
&__search
py 0.5rem
&__qa
py 0.5rem
&__user
py 0.5rem
ml 2rem
&__username
py 0.5rem
px 1rem
.logo
fz 2rem
.field
reset-theme()
w 100%
&__label
dis bl
.search
pos rela
&__btn
pos abso
bottom 0
right 0
top 0
bd 1px solid #055db5
bdl 0
bdrzr 4px
pad 0.25rem 1rem
.field-search
bdr 4px
bgc #f5f5f5
pad 0.5rem 0.8rem
bd 1px solid #aaa
.btn
reset-theme()
bgc pc
pad 0.5rem 0.8rem
fz 14px
.menu
list-style-type none
fz 14px
cc #eee
&__item
dis ib
pad 0.25rem 0.8rem
.avatar
size 2rem
bdrz 4px
dis ib
img
w 100%
h a
///
/// Body Left.
///
.main
center-container(64rem)
.main__left
py 1rem
.label
reset-theme()
dis ib
cc #259 #eff6fa
bdrz 0.25rem * 2 + 0.85rem * 1.5
fz 0.85rem
pad 0.25rem 0.8rem
.question-keywords
lity no
reset-space()
.question-keywords__item
dis ib
mx 0.2rem
.question-title
my 1rem
fz 1.2rem
//.question
///
/// Body Right.
///