-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.scss
More file actions
94 lines (94 loc) · 1.51 KB
/
example.scss
File metadata and controls
94 lines (94 loc) · 1.51 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
*::before, *::after {
box-sizing: border-box;
}
a {
text-decoration: none;
color: inherit;
}
h1, h2, h3 {
font-weight: normal;
}
ul, ol {
list-style: none;
}
.page {
min-height: 100vh;
&-header {
background: #f0f0f0;
margin-bottom: 8px;
height: 50px;
& .wrapped {
height: 100%;
& span {
display: inline-flex;
vertical-align: middle;
align-items: center;
}
display: flex;
align-items: center;
}
& .header-logo {
margin-right: 0.4em;
outline: 1px solid #ccc;
}
}
&-aside {
min-width: 12em;
border-right: 1px solid #ccc;
margin-right: 8px;
& h2 {
padding: 0 16px;
margin-bottom: 16px;
}
& > ul {
& a {
display: block;
padding: 8px 16px;
&:hover {
color: rgba(234, 67, 53, 0.8);
}
&.active {
color: #fff;
background: rgba(234, 67, 53, 0.8);
}
}
}
}
&-content {
flex-grow: 1;
padding: 16px 24px;
& h3 {
margin: 16px auto;
}
& pre {
margin-top: 16px;
}
& .middleware > .xrui-button {
margin-top: 16px;
}
}
&-footer {
padding: 8px;
margin-top: 8px;
background: #f0f0f0;
text-align: center;
}
}
.wrapped {
width: 100%;
max-width: 1200px;
margin: 0 auto;
}
.prism-code.language-jsx {
padding: 16px;
}
.box {
margin: 20px;
padding: 20px;
border: 1px solid #f0f0f0;
}