-
Notifications
You must be signed in to change notification settings - Fork 4
/
style.scss
133 lines (119 loc) · 2.04 KB
/
style.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
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
121
122
123
124
125
126
127
128
129
130
131
132
133
$gray-light : #ddd;
$gray : #808080;
$gray-dark: #222;
$gray-dark-2: #444;
$white : #fff;
$dim : rgba(0,0,0,0.5);
/************Reset**************/
* {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
html, body, div, object, iframe, fieldset {
margin: 0;
padding: 0;
border: 0;
}
ol, ul {
list-style: none;
margin: 0;
padding: 0;
}
header, footer, nav, section, article, hgroup, figure {
display: block;
}
/************End Reset**************/
/************Global**************/
body {
background: #fff;
color: $gray-dark;
font: 120%/1.4 "HelveticaNeue", "Helvetica", "Arial", sans-serif;
padding: 1em;
-webkit-text-size-adjust: 100%;
@media all and (min-width: 40em) {
padding-left: 2em;
}
}
a {
color: $gray;
text-decoration: none;
}
a:hover, a:focus {
color: $gray-dark;
text-decoration: underline;
}
p {
margin: 0 0 1em;
}
img, object, video {
max-width: 100%;
border: 0;
}
a img {
border: 0;
outline: 0;
}
h1 {
font-size: 2em;
line-height: 1;
letter-spacing: -0.02em;
margin-bottom: 0.8em;
}
h2 {
text-transform: lowercase;
font-size: 3em;
line-height: 1.1;
margin: 0 0 0.4em;
}
h3 {
font-size: 1.8em;
line-height: 1.1;
margin: 0 0 0.2em;
text-transform: lowercase;
}
/************End Global**************/
/************Timeline**************/
/* Timeline Container */
.timeline {
border-left: 5px solid $gray-light;
padding-bottom: 3em;
position: relative;
&:before {
content: "";
position: absolute;
bottom: 0;
left: -1.47em;
width: 40px;
height: 40px;
border-radius: 40px;
background: $gray-light;
border: 5px solid $gray-light;
}
}
/* Individual Timeline Item */
.tl-node {
padding-left: 1em;
margin-bottom: 3em;
position: relative;
a {
display: block;
}
&:before {
content: "";
position: absolute;
top: 0;
left: -0.95em;
width: 20px;
height: 20px;
border-radius: 20px;
background: #fff;
border: 5px solid $gray-light;
}
}
/* Timestamp */
.tl-stamp {
font-size: 0.7em;
color: $gray;
}
/************End Timeline**************/