forked from vuejs/v2.vuejs.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_vueschool.styl
161 lines (141 loc) Β· 3.68 KB
/
_vueschool.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
@import "_settings"
$mobile-bar-height = 40px
$vs-banner-height-desktop = 80px
$vs-banner-height-mobile = 50px
$menu-height = 63px
body.has-vs-banner
#v3-banner
margin-top: $vs-banner-height-mobile
@media (min-width: 680px)
margin-top: $vs-banner-height-desktop
@media (min-width: 900px)
margin-top: 0
#mobile-bar
top: $vs-banner-height-mobile
@media (min-width: 680px)
top: $vs-banner-height-desktop
.sidebar
top: $vs-banner-height-mobile + $mobile-bar-height
@media (min-width: 680px)
top: $vs-banner-height-desktop + $mobile-bar-height
@media (min-width: 900px)
top: $vs-banner-height-desktop + $menu-height
.content
padding-top: 85px
@media (min-width: 680px)
padding-top: 125px
@media (min-width: 900px)
padding-top: 35px
&.docs
@media (min-width: 900px)
padding-top: 144px
#vs
position: fixed
#header
top: $vs-banner-height-mobile
@media (min-width: 680px)
top: $vs-banner-height-desktop
#sidebar-sponsors-platinum-right
@media (min-width: 900px)
top: 160px
#vs
font-family "Roboto", sans-serif
z-index: 8
box-sizing: border-box
color: #fff
background-size: cover
background-color: #1E204D
background-repeat: no-repeat
background-position: top right
background-image: url(../images/banners/vueschool-banner-bg-mobile.svg)
display: flex
justify-content: center
align-items: center
position: fixed
left: 0
right: 0
padding: 0 10px
min-height: $vs-banner-height-mobile
top: 0
@media (min-width: 680px)
min-height: $vs-banner-height-desktop
background-image: url(../images/banners/vueschool-banner-bg-tablet.svg)
@media (min-width: 900px)
position: static
background-image: url(../images/banners/vueschool-banner-bg-desktop.svg)
&.vs-hidden
display: none
&:hover
.vs-core
.vs-button
.vs-button-inside
background: linear-gradient(#ed81eb, #d457d0)
&.vs-button-alt
.vs-button-inside
background: linear-gradient(#ffea80, #ffba49)
.vs-iso
position: absolute
left: 20px
height: 26px
img
height: 26px
@media (min-width: 680px)
left: 40px
height: 40px
img
height: 40px
@media (min-width: 900px)
display: none
.vs-logo
position: absolute
display: none
left: 40px
@media (min-width: 900px)
display: block
.vs-core
display: flex
align-items: center
.vs-slogan
text-align: center
.vs-slogan-up
color: #47b785
font-size: 14px
font-weight: bold
@media (min-width: 680px)
font-size: 18px
.vs-slogan-down
color: #fff
font-size: 12px
@media (min-width: 680px)
font-size: 16px
strong
color: #48a0ff
.vs-button
margin-left: 43px
color: #fff
background: linear-gradient(to bottom, #b349b0, #dc61da)
padding: 2px
border-radius: 40px
display: none
@media (min-width: 680px)
display: inline-block
.vs-button-inside
border-radius: 40px
background: linear-gradient(#dc61da, #b349b0)
transition: all .25s ease-in
padding: 17px 27px
line-height: 0
@media (min-width: 680px)
padding: 13px 24px
&.vs-button-alt
background: linear-gradient(to bottom, #ffcc38, #ffd13d)
.vs-button-inside
background: linear-gradient(to bottom, #ffe24f, #ffa40e)
.vs-close
right: 10px
position: absolute
padding: 10px
@media (min-width: 680px)
right: 20px
&:hover
color: #56D8FF