-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
Copy pathindex.scss
89 lines (71 loc) · 1.4 KB
/
index.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
/**
* Styling
*
* This file contains the base styling for the site.
*
*/
@import 'vars';
@import 'fonts';
@import 'functions';
@import 'mixins';
@import './reset';
* {
box-sizing: inherit;
}
html {
box-sizing: border-box;
}
body {
font: 400 getFontSize(0) $font-stack-body;
color: getColor(elephant);
}
a {
color: $text-color-highlight;
text-decoration: none;
transition: color 250ms;
&.icon-link {
display: inline-block;
font-size: 0.7em;
margin-left: 16px;
transform: rotate(-45deg);
color:lighten(getColor(dusty-grey), 10%);
&:hover {
color: $text-color-highlight;
}
}
&:hover {
color: darken(getColor(denim), 5%);
}
}
details:focus, summary:focus{
outline: none;
background: rgba(255,255,255,0.03);
border-radius: 2px;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
/* Style details arrow if on webkit */
details summary::-webkit-details-marker {
color: getColor(malibu);
}
summary::-webkit-details-marker {
display: none
}
summary:after {
content: "\F103";
float: left;
position: relative;
left: -2px;
text-align: center;
font-family: icons;
color: lighten(getColor(denim), 10%)
}
details[open] summary:after {
content: "\F101";
font-family: icons;
}
}
::selection {
background: transparentize(getColor(malibu), 0.65);
}
@import './markdown';
@import './homepage';