-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
156 lines (127 loc) · 2.18 KB
/
style.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
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
@font-face{
font-family: 'Gotham';
src: url('font/gotham.otf');
}
html{
background-color: #202020;
}
header{
font-family: Gotham;
max-height: 10%;
}
h4{
text-align: justify;
}
* {
box-sizing: border-box;
}
/* The actual timeline (the vertical ruler) */
.timeline {
position: relative;
max-width: 1200px;
margin: 0 auto;
color: black;
}
/* The actual timeline (the vertical ruler) */
.timeline::after {
content: '';
position: absolute;
width: 10px;
background-color: black;
top: 0;
bottom: 0;
left: 50%;
margin-left: -3px;
}
/* Container around content */
.container {
padding: 10px 40px;
position: relative;
background-color: inherit;
width: 50%;
}
/* The circles on the timeline */
.container::after {
content: '';
position: absolute;
width: 20px;
height: 6px;
right: 3px;
background-color: black;
top: 10px;
z-index: 1;
}
/* Place the container to the left */
.left {
left: 0;
}
/* Place the container to the right */
.right {
left: 50%;
}
/* Fix the circle for containers on the right side */
.right::after {
left: 6px;
}
/* The actual content */
.content {
padding: 20px 20px;
background-color: #ffff;
position: relative;
border-width: 6px;
border-style: solid;
border-color: black;
border-radius: 10px;
}
/* Media queries - Responsive timeline on screens less than 1000px wide */
@media screen and (max-width: 1000px) {
/* Place the timelime to the right */
.timeline::after {
left: 50px;
}
/* Full-width containers */
.container {
width: 100%;
padding-left: 70px;
padding-right: 25px;
}
/* Make sure all circles are at the same spot */
.left::after, .right::after {
left: 0px;
}
/* Make all right containers behave like the left ones */
.right {
left: 0%;
}
}
.gotham{
font-family: Gotham;
}
#hamburger{
padding-top: 0.5%;
}
#sidenav{
padding-bottom: 5%;
}
#logo{
width: 80%;
max-width: 400px;
}
#timeline_logo{
width: 80%;
max-width: 175px;
}
hr{
border-top: 6px solid;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
svg {
animation: fadeIn 1s ease-in infinite alternate;
}