-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.scss
70 lines (70 loc) · 1.31 KB
/
example.scss
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
@import "assets/styles/reset.scss";
$padding: 20px 20px;
$border-color: #eee;
$main-color: #1890ff;
$shadow: 0 2px 8px #f0f1f2;
.site-page {
background: #fff;
min-height: 100vh;
}
.site-header {
box-shadow: $shadow;
min-height: 60px;
width: 100%;
.vui-logo {
display: flex;
justify-content: left;
align-items: center;
min-height: 60px;
padding: 10px 20px;
img {width: 100px;}
h1 {color: #314659; margin-left: 10px; }
&::after {
width: 1px;
height: 26px;
background-color: #ccc;
position: absolute;
right: 0;
top: 50%;
transform: translateY(50%);
}
}
}
.site-sider {
//border-right: 1px solid $border-color;
padding: 60px 0;
h2 {
margin: $padding;
font-size: 18px;
border-bottom: 1px solid $border-color;
}
ul {
min-width: 12em;
li {
> a {
display: block;
padding: 8px 20px;
color: #314659;
&:hover { color: #314659; }
&.active {
background-color: #e6f7ff;
color: darken(#8eb6c0, 20%);
}
}
}
}
}
.site-content {
padding: $padding;
}
.site-footer {
text-align: center;
font-size: 12px;
color: #666;
padding: 16px 0;
box-shadow: $shadow;
}
pre {
font-family: "Fira Code Medium", Consolas, monospace;
font-size: 14px;
}