-
Notifications
You must be signed in to change notification settings - Fork 301
Expand file tree
/
Copy pathdocs.scss
More file actions
120 lines (95 loc) · 1.7 KB
/
docs.scss
File metadata and controls
120 lines (95 loc) · 1.7 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
.section.doc-content {
padding-top: 2%;
}
.post {
max-width: 100%;
ul li {
margin-bottom: .5rem;
}
p > img {
margin-bottom: 0;
}
@media screen and (min-width: 1000px) {
img {
max-width: 110%;
margin-left: -5%;
}
}
h1, h2, h3 {
padding-top: 6rem;
margin-top: -5rem;
a {
float: left;
top: 0.12em;
margin-left: -1.2em;
font-size: 0.85em;
text-align: center;
width: 0.8em;
opacity: 0.0;
color: var(--primary-color-dark);
box-shadow: none;
background: none;
&::before {
content: " ";
position: absolute;
top: 0;
height: 100%;
width: calc(100% + 0.5em);
}
&::after {
display: none;
}
}
&:hover a{
opacity: 1;
}
}
h2 {
&::before {
content: " ";
display: block;
margin-bottom: 1.5rem;
border-top: 1px solid var(--border-color);
transition: border-color .3s;
}
}
h3 { opacity: .9 }
h4, h5, h6 { opacity: .8 }
h1 a, h4 a, h5 a, h6 a {
display: none;
}
p, ul {
position: relative;
z-index: 1;
}
ul > li > p {
font-weight: 400;
}
}
.github-edit-link {
font-size: .9rem;
font-weight: normal;
display: flex;
align-items: center;
padding-top: 1rem;
&:not(:hover) {
color: var(--primary-color-dark);
}
svg {
margin-right: .5rem;
}
}
.docs-nav {
display: flex;
justify-content: space-between;
padding-top: var(--space);
padding-bottom: var(--space);
border-top: 1px solid var(--border-color);
&__title {
margin: 0;
font-size: 0.75em;
}
&__link {
border: 1px solid var(--border-color);
}
}