-
Notifications
You must be signed in to change notification settings - Fork 3
/
style.css
106 lines (90 loc) · 1.53 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
@import url('https://fonts.googleapis.com/css?family=Poppins:300,500&display=swap');
* {
box-sizing: border-box;
}
body {
background: #fefefe;
font-family: 'Poppins', sans-serif;
margin-bottom: 50px;
}
.container {
width: 1200px;
margin: auto;
max-width: 100%;
}
h1 {
text-align: center;
}
h2 {
position: relative;
display: inline-block;
cursor: pointer;
}
h2::after {
content: "";
background-color: #000;
border-radius: 10px;
position: absolute;
bottom: -5px;
left: 0;
height: 4px;
width: 40px;
transition: all 0.4s ease;
}
h2:hover::after {
width: 100px;
}
ul {
display: flex;
flex-wrap: wrap;
justify-content: center;
list-style-type: none;
padding: 0;
}
ul li {
background-color: #fff;
box-shadow: 0px 4px 40px 0px rgba(0, 0, 0, 0.15);
margin: 20px;
width: 350px;
}
ul li a {
color: #000;
text-decoration: none;
}
ul li img {
display: block;
object-fit: cover;
margin-bottom: 15px;
transition: transform 0.3s ease;
height: 200px;
width: 350px;
}
ul li p {
font-weight: bold;
padding: 0 15px;
}
.links-container {
padding: 15px;
margin-top: 40px;
}
.links-container a:hover {
transform: scale(1.2);
}
.time {
padding-left: 50px;
text-color: red;
}
footer {
background-color: #222;
color: #fff;
font-size: 18px;
position: fixed;
bottom: 0;
left: 0;
padding: 10px;
width: 100%;
text-align: center;
}
footer a {
color: #fff;
}