forked from jaywcjlove/linux-command
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.styl
More file actions
311 lines (299 loc) · 5.5 KB
/
Copy pathindex.styl
File metadata and controls
311 lines (299 loc) · 5.5 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
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
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
@import('mixins/reset.styl')
@import('mixins/css.styl')
@import('mixins/markdown.styl')
mq-mobile = "screen and (max-width: 479px)"
a.github-corner {
position: fixed
z-index: 9999
top: 0
right: 0
&:hover {
.octo-arm{
animation: octocat-wave 560ms ease-in-out
}
}
svg {
fill #f1f1f1
color #000
position absolute
top 0
border 0
right 0
z-index 99
width 70px
height 70px
}
}
a {
transition: all .2s ease-in
}
@keyframes octocat-wave{
0%,100%{-webkit-transform:rotate(0);transform:rotate(0)}
20%,60%{-webkit-transform:rotate(-25deg);transform:rotate(-25deg)}
40%,80%{-webkit-transform:rotate(10deg);transform:rotate(10deg)}
}
.header {
width 517px
margin 0 auto 0
padding 0 10px
.logo {
text-align center
padding-top 50px
padding-bottom 50px
}
.box{
position relative
}
.search {
min-height 20px
position relative
display table
border-collapse separate
li,ul {
list-style none
}
#result {
.ok {
background:#f4f4f4;
}
}
.search-list {
position absolute
display none
z-index 999
box-shadow 1px 1px 3px #ededed
border 1px solid #d5d5d5
background #fff
min-width 100px
top 39px
width 100%
padding 5px
border-radius 5px 5px 5px 5px
li{
line-height 23px
span{
padding 0 8px
color #b9b9b9
}
}
a {
display block
padding 2px 6px 2px 6px
color #555555
&:hover {
background-color #f2f2f2
}
.kw {
color #f00
font-style inherit
font-weight bold
}
}
}
.query, .enter-input {
display table-cell
transition border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s
}
.query {
resize: none;
position relative
z-index 2
width 100%
height 40px
padding 6px 12px
font-size 14px
font-weight bold
line-height 1.42857143
color #555
background-color #fff
background-image none
border 1px solid $border-color
border-radius 5px 0 0 5px
-webkit-appearance: none;
&:focus {
z-index 99
border-color #66afe9
outline 0
box-shadow inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6)
}
}
.enter-input {
width 1%
white-space nowrap
vertical-align middle
button {
margin 0
left -1px
position relative
z-index 5
display inline-block
padding 9px 23px
font-size 14px
font-weight bold
line-height 1.42857143
text-align center
text-rendering auto
white-space nowrap
vertical-align middle
touch-action manipulation
cursor pointer
user-select none
background-image none
background-color #fff
border 1px solid transparent
border-collapse separate
border-radius 0 5px 5px 0
border-color $border-color
color #333
&:focus,&:active:focus{
outline thin dotted
outline 5px auto -webkit-focus-ring-color
outline-offset -2px
}
&:active{
color #333
background-color #e6e6e6
border-color #b4b4b4
background-image none
box-shadow inset 0 8px 32px -8px rgba(0,0,0,0.3)
}
&:focus{
color #333
background-color #e6e6e6
border-color #999
text-decoration none
}
&:hover{
color #333
background-color #e6e6e6
border-color #b4b4b4
}
}
}
}
}
.footer{
text-align center
padding-top 31px
color #616161
font-size 14px
font-weight 300
border-top: 1px solid #efefef;
padding-bottom: 50px;
&.footer_index {
border-top: 0
}
}
.header.header_list {
width auto
position fixed
width 100%
background #fff
z-index 99
}
.header_list{
padding 10px 10px 10px 13px
border-bottom 1px solid #EEEEEE
.logo{
float left
padding-top 3px
padding-bottom 0
padding-right 24px
text-align left
svg{
height 37px
width 136px
}
}
.search{
max-width 517px
}
.footer{
display none
}
}
.search_list{
padding 79px 27px
a{
font-size 16px
strong{
font-weight bold
}
.kw{
color #f00
font-style inherit
font-weight bold
}
&:hover{
.kw{
color #333
}
}
}
li{
padding 10px 0 10px 0
list-style-type none
p {
padding-top 5px
color #4F4F4F
}
}
}
.hotlist{
padding 79px 27px
a{
font-size 16px
strong{
font-weight bold
}
&:hover{ }
}
li{
padding 5px 0 5px 0
list-style-type none
p{
padding-top 5px
color #4F4F4F
}
}
}
@media mq-mobile{
.header{
width inherit
.search .enter-input {
button{
padding: 9px 14px;
}
}
}
.header_list{
.logo svg{
width 96px
}
.search {
.query{
line-height 31px
}
}
}
.header_list .logo{
float inherit
padding-right 10px
padding-top 8px
padding-bottom 14px
text-align center
}
div.markdown-body{
padding: 140px 10px 10px 13px;
}
div.markdown-body .edit_btn + *{
margin-top: 0 !important;
}
div.markdown-body .edit_btn{
top: 9px;
a{
background #f1f1f1
color #a3a3a3
}
}
}