-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
134 lines (120 loc) · 2.13 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
body{
font-family: 'DM Serif Text', serif;
text-align: center;
}
h1,h2,h3{
font-family: 'DM Serif Text', serif;
font-weight: 900;
}
p{
color: #8f8f8f;
}
/* Navbar */
.container-fluid{
padding: 7% 15%;
}
.navbar-brand{
font-family: 'Passions Conflict', cursive;
font-size: 3rem;
font-weight: bold;
margin-left: 10px;
}
.nav-item{
padding: 0 18px;
}
.nav-link{
font-size: 1.2rem;
font-family: 'Quicksand', sans-serif;
font-weight:bold;
}
/* Home */
.home{
display: flex;
}
.image{
margin: 100px;
height: 300px;
width: 300px;
border-radius: 50%;
}
.describe{
padding-top: 70px;
padding-left: 30px;
color: black;
font-family: 'Satisfy', cursive;
font-size: 30px;
text-align: center;
}
/* Journey */
.journey{
padding: 50px;
}
.main-container{
position: relative;
width: 500px;
left: 30%;
}
/*creating line for timeline*/
.main-container::after{
content: '';
position: absolute;
width: 10px;
background-color: #454545;
top:0;
bottom: 0;
left: 50%;
margin-left: -10px;
}
/*Adjusting box of all content*/
.text-wrapper{
padding: 10px 40px;
position: relative;
width:51%;
box-sizing: border-box;
margin: 50px 0;
}
.text-wrapper::after{
content: '';
position: absolute;
width: 30px;
height: 25px;
right: -10px;
background-color:#4f4f4f;
top:15px;
border-radius: 50%;
z-index: 1;
}
/*for left events*/
.left{
left: 0;
}
/*for right events*/
.right{
left:50%;
}
.right::after{
left:-10px;
}
/*content box colour padding and radius for circular corner*/
.content{
padding: 15px 15px 15px 17px;
background-color: #bbbbbb;
border-radius: 4px;
text-align: center;
}
/*setting text property of event heading*/
.content h3{
text-transform: uppercase;
font-size: 14px;
color: #212121;
letter-spacing:1px;
text-align: center;
}
/*setting text property of event content*/
.content p{
color: #616161;
font-weight: 300;
font-size: 18px;
margin-top: 2px;
text-align: center;
}