-
Notifications
You must be signed in to change notification settings - Fork 6
/
timeline.css
117 lines (107 loc) · 1.65 KB
/
timeline.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
#timeline {
font-family: "DM Sans";
color: #ffffff;
background-color: #000615;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
width: 100vw;
}
.timeline-heading {
margin-top: 20px;
font-size: 7rem;
}
.space-box{
height: 7rem;
width: 100%;
background-color: #00061500;
}
.timeline-date {
font-size: 3rem;
font-weight: bold;
margin: 0;
}
.timeline-event {
font-size: 2rem;
width: 400px;
}
.timeline-items {
margin-top: 154em;
position: absolute;
top: 27.5em;
}
.container {
position: relative;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.container-right {
display: flex;
justify-content: flex-end;
transform: translateX(13em);
}
.container-left {
display: flex;
flex-direction: row-reverse;
justify-content: flex-end;
text-align: right;
transform: translateX(-12em);
}
.container-left text h2 {
text-align: right;
}
.logo-item {
margin: 10px;
width: 4rem;
}
.info {
width: 3.5rem;
}
.form {
width: 5rem;
}
.idea {
width: 3rem;
}
/* mobile media query */
@media screen and (max-width: 768px) {
.timeline-items {
top: 14.5rem;
}
.timeline-heading {
font-size: 4em;
margin: 0;
height: auto;
}
.timeline-date {
font-size: 1.25em;
}
.timeline-event {
font-size: 1em;
width: 150px;
}
.line-svg {
width: 18rem;
}
.logo-item {
width: 2rem;
}
.form {
width: 3rem;
}
.idea {
width: 1.5rem;
}
.container {
margin-bottom: 4rem;
}
.container-right {
transform: translateX(5rem);
}
.container-left {
transform: translateX(-5rem);
}
}