forked from ttrmw/contrast
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.sass
64 lines (52 loc) · 1.05 KB
/
index.sass
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
---
---
$body: {{ site.style.body }}
$nav: {{ site.style.nav }}
$margin: {{ site.style.margin }}
$padding: {{ site.style.padding }}
body
display: flex
background-color: $body
color: if(lightness($body) > 50%, black, white)
font-size: calc(.6vw + .8em)
margin: 0 $margin
min-height: 100vh
h1, h2, h3, h4, h5, h6
font-family: "Gentium Basic"
margin: 0.4em 0
{% if site.style.uppercase %}
letter-spacing: 2px
text-transform: uppercase
{% endif %}
nav
margin: 1em 0
li
display: inline-block
list-style-type: none
margin-right: 2em
a
font: inherit
article
border-top: 1px solid rgba(140, 140, 140, .1)
header
text-align: center
span
color: #949494
footer
padding-left: 0
table
width: 100%
footer a
font-weight: 300
article, body > header, body > footer
padding: 1em $padding
body > header, body > footer
background-color: $nav
color: if(lightness($nav) > 50%, black, white)
body > footer
display: flex
justify-content: space-between
.ghost
padding: .4em .8em
.fa
margin: 0 0.25em