-
Notifications
You must be signed in to change notification settings - Fork 0
/
covid.css
110 lines (103 loc) · 1.61 KB
/
covid.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
/* .cont{
text-align: center;
} */
.preloader{
position: absolute;
width: 100%;
height : 100vh;
background: #fff url('preloader.gif') center;
z-index: 99999;
background-repeat: no-repeat;
background-size: contain;
}
h4{
display: inline;
}
h5{
display: inline;
}
.font{
font-weight: bold;
font-size: 20px;
}
h2{
display: block;
}
.green{
color: green;
}
.red{
color: red;
}
.grey{
color:gray;
}
.blue{
color: blue;
}
a{
display: block;
color: black;
}
.dropdown-menu{
max-height:250px;/* you can change as you need it */
overflow:auto;/* to get scroll */
width: 10%;
}
footer{
text-align: center;
background-color: #f8f9fa;
}
body{
background-image: url(bg4.png);
/* background-size: cover; */
background-repeat: repeat-y repeat-x;
/* bac */
scroll-behavior: smooth;
/* background-color: #84a9ac; */
}
em{
color: white;
}
.container {
position: relative;
width: 70%;
}
.newsheadline{
font-size: 20px;
text-align: left;
/* margin-top: 20px; */
}
.image {
opacity: 1;
display: block;
width: 100%;
height: auto;
transition: .5s ease;
backface-visibility: hidden;
}
.middle {
transition: .5s ease;
opacity: 0;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
text-align: center;
}
.container:hover .image {
opacity: 0.3;
}
.container:hover .middle {
opacity: 1;
}
.btn{
margin: 10px;
}
/* .text {
background-color: #4CAF50;
color: white;
font-size: 16px;
padding: 16px 32px;
} */