forked from vuejs/v2.vuejs.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_common.styl
207 lines (193 loc) · 4.4 KB
/
_common.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
@import "_settings"
@import "_syntax"
body
font-family $body-font
font-size $body-font-size
-webkit-font-smoothing antialiased
-moz-osx-font-smoothing grayscale
color $medium
background-color white
margin 0
a
text-decoration none
color $medium
img
border none
h1, h2, h3, h4, strong
font-weight 600
color $dark
code, pre
font-family $code-font
font-size $code-font-size
background-color $codebg
-webkit-font-smoothing initial
-moz-osx-font-smoothing initial
code
color #e96900
padding 3px 5px
margin 0 2px
border-radius 2px
white-space nowrap
em
color $light
p
word-spacing 0.05em
a.button
padding 0.75em 2em
border-radius 2em
display inline-block
color #fff
background-color lighten($green, 8%)
transition all .15s ease
box-sizing border-box
border 1px solid lighten($green, 8%)
&.white
background-color #fff
color $green
.highlight
overflow-x auto
position relative
padding 0
background-color $codebg
padding .8em .8em .4em
line-height 1.1em
border-radius $radius
table, tr, td
width 100%
border-collapse collapse
padding 0
margin 0
.gutter
width 1.5em
.code
$code-line-height = 1.5em
pre
padding 1.2em 1.4em
line-height $code-line-height
margin 0
.line
min-height $code-line-height
&.html, &.js, &.bash, &.css
.code:after
position absolute
top 0
right 0
color #ccc
text-align right
font-size .75em
padding 5px 10px 0
line-height 15px
height 15px
font-weight 600
&.html .code:after
content 'HTML'
&.js .code:after
content 'JS'
&.bash .code:after
content 'Shell'
&.css .code:after
content 'CSS'
#main
position relative
z-index 1
padding 0 60px 30px
overflow-x hidden
#ad
width 125px
position fixed
z-index 99
bottom 10px
right 10px
padding 10px
background-color rgba(255, 255, 255, .65)
border-radius 3px
font-size 13px
a
color $light
font-weight normal
span
display inline-block
margin-bottom 5px
img
width 125px
// .carbon-img, .carbon-text
// display block
// margin-bottom 6px
// font-weight normal
// color $medium
// .carbon-poweredby
// color #aaa
// font-weight normal
#nav
.nav-link
cursor pointer
.nav-dropdown-container
.nav-link
&:hover
border-bottom none
&:hover
.nav-dropdown
display block
.nav-dropdown
display none
position absolute
top 100%
left 0
background-color #fff
padding 10px 0
border 1px solid #ddd
border-bottom-color #ccc
text-align left
border-radius 4px
li
line-height 1.8em
margin 0
display block
a
color $light
font-size .9em
display block
padding 0 30px 0 20px
&:hover
color $green
.arrow
display inline-block
vertical-align middle
margin-top -1px
margin-left 6px
margin-right -14px
width 0
height 0
border-left 4px solid transparent
border-right 4px solid transparent
border-top 5px solid #ccc
#donate
height 24px
.wrapper
vertical-align top
height 20px
border 1px solid #d4d4d4
display inline-block
box-sizing border-box
line-height 16px
border-radius 3px
cursor pointer
background-image linear-gradient(to bottom,#fcfcfc 0,#eee 100%)
position relative
width 72px
&:hover
border-color #ccc
background-image linear-gradient(to bottom,#eee 0,#ddd 100%)
img
width 14px
height 14px
position absolute
top 2px
left 5px
a
font 700 11px/14px 'Helvetica Neue', Helvetica, Arial, sans-serif
color #333333
text-shadow 0 1px 0 #fff
position absolute
top 2px
left 24px