-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
220 lines (203 loc) · 4.63 KB
/
style.css
File metadata and controls
220 lines (203 loc) · 4.63 KB
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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap');
:root{
--primary: #0e3547;
--light: #fff;
--warning: rgb(164, 98, 98)f;
}
/****************
#Custom CSS
*******************/
*{
margin: 0;
padding: 0;
}
body{
font-family: 'Poppins', sans-serif;
}
a{
text-decoration: none!important;
}
.container{
max-width: 1200px;
margin: auto;
overflow: auto;
}
.sports{
margin: 5px;
border: 1px solid #ccc;
float: left;
width: 340px
}
.sports img{
width: 100%;
height: 360px;
}
.special_event{
margin: 5px;
border: 1px solid #ccc;
float: left;
width: 340px
}
.special_event img{
width: 100%;
height: 360px;
}
.sports_section{
padding-top: 100px;
}
.special_event_section{
padding-top: 100px;
}
.desc{
padding: 15px;
text-align: center;
height: 80px;
}
/**********************
#Header CSS
*********************/
header{
position: absolute;
z-index: 99999;
width: 100%;
}
header .nav-item .nav-link{
font-size: 14px;
color: var(--light);
font-weight: 600;
margin-left: 20px
}
.navbar-toggler{
outline: none!important;
border: none!important;
color: var(--warning);
box-shadow: none!important;
border-radius: none!important;
}
.input{
display: none;
}
/*****************************
#Clock
*****************************/
.clock {
margin: 60px auto;
text-align: center;
cursor: default;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.clock-block {
display: inline-block;
vertical-align: top;
position: relative;
width: 100px;
height: 98px;
margin: 0 8px;
padding-top: 16px;
line-height: 1;
font-family: Helvetica, Arial, sans-serif;
text-align: center;
text-shadow: 0 1px rgba(255, 255, 255, 0.3);
background: #e5e7eb;
border: 1px solid #9fa2ad;
border-radius: 3px 3px 2px 2px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
background-image: -webkit-linear-gradient(top, #f1f2f5, #e5e7eb 20%, #c2c5d1 50%, #e5e7eb 80%, #e4e5eb);
background-image: -moz-linear-gradient(top, #f1f2f5, #e5e7eb 20%, #c2c5d1 50%, #e5e7eb 80%, #e4e5eb);
background-image: -o-linear-gradient(top, #f1f2f5, #e5e7eb 20%, #c2c5d1 50%, #e5e7eb 80%, #e4e5eb);
background-image: linear-gradient(to bottom, #f1f2f5, #e5e7eb 20%, #c2c5d1 50%, #e5e7eb 80%, #e4e5eb);
-webkit-box-shadow: inset 0 1px rgba(255, 255, 255, 0.5), 0 1px 2px rgba(0, 0, 0, 0.1);
box-shadow: inset 0 1px rgba(255, 255, 255, 0.5), 0 1px 2px rgba(0, 0, 0, 0.1);
}
.clock-val {
display: block;
position: relative;
z-index: 1;
font-size: 64px;
font-weight: bold;
color: #4f5258;
}
.clock-unit {
display: block;
margin-top: -2px;
font-size: 13px;
font-weight: 200;
color: black;
text-transform: capitalize;
}
/*****************************
#Hero Section
*******************************/
.hero{
width: 100%;
}
.hero .carousel-item img{
height: 100vh;
width: 100%;
object-fit: fill;
background-size: cover!important;
background-position: center;
background-repeat: no-repeat;
}
.hero .carousel-item::before{
content: '';
background-color: black;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
opacity: .8;
}
.hero .carousel-container{
display: flex;
justify-content: center;
align-items: center;
top: 0;
bottom: 0;
left: 0;
right: 0;
position: absolute;
}
.hero .carousel-content-container{
text-align: center;
color: var(--light);
}
.hero .carousel-content-container h2{
font-family: 'Abril Fatface', cursive;
font-size: 50px;
}
.hero .carousel-content-container {
width: 70%;
text-transform: capitalize;
font-size: 14px;
margin: 0 auto 30px auto;
}
.buttons .button1{
font-weight: 600;
font-size: 14px;
letter-spacing: 1px;
text-transform: capitalize;
display: inline-block;
padding: 12px 30px;
line-height: 1px;
margin: 10px 10px;
color: var(--light);
border: 1px solid var(--light);
border-radius: 50px;
}
@media(max-width:768px)
{
.hero .carousel-content-container h2{
font-size: 35px;
}
.hero .carousel-content-container {
font-size: 13px;
}
}