forked from statamic/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlayout.css
46 lines (39 loc) · 854 Bytes
/
layout.css
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
html {
height: 100%;
scroll-behavior: smooth;
scroll-padding-top: 6rem;
}
body {
min-height: 100%;
background: url('/img/splatter-tall.jpg') repeat-y;
background-position: right top;
background-size: 200px 6500px;
}
/* Navs */
/* -------------------------------------------------- */
#site-nav {
ul li a {
@apply py-2;
}
ul li a.active {
@apply font-bold;
background: url('/img/ziggy.svg') 0 90% repeat-x;
background-size: auto 4px;
}
}
.side-nav li.active a {
@apply relative font-bold;
&:before {
@apply absolute bg-yellow;
z-index: -1;
height: 9px;
top: 10px;
left: -5%;
width: 110%;
content: '';
}
}
.dark .side-nav li.active a {
@apply text-yellow !important;
&:before { display: none; }
}