-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
89 lines (76 loc) · 1.56 KB
/
style.css
File metadata and controls
89 lines (76 loc) · 1.56 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
body {
margin: 0;
padding: 0;
}
header {
display: flex;
align-items: center;
justify-content: center;
height: 400px;
background: url(https://images.unsplash.com/photo-1609860127264-c478a1aa409c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=870&q=80) bottom no-repeat;
background-size: cover;
}
h1 {
color:khaki;
font-size: 4rem;
font-family: 'Times New Roman', Times, serif;
}
.news {
background-color: #fff;
padding: 50px 0 32px;
}
article {
width: 768px;
margin: 0 auto 32px;
padding: 6px 15px;
border-bottom: 1px solid rgb(128, 128, 128);
}
article:nth-child(even) {
background: khaki;}
article a {
color: rgb(33, 37, 41);
text-decoration: none;
}
article a:hover {
color: #0085a1;
}
article h2 {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin-bottom: 5px;
}
.newads::before {
content: "New ";
font-style: italic;
color: red;
font-size: 30px;
}
.article-meta {
color: rgb(134, 142, 150);
margin-bottom: 5px;
}
article img {
width: 100%;
height: 300px;
object-fit: cover;
}
footer {
padding-top: 20px;
padding-bottom: 60px;
text-align: center;
}
footer .link {
margin-bottom: 50px;
}
footer .link > a {
color: #636b6f;
padding: 0 25px;
font-size: 13px;
font-weight: 600;
letter-spacing: .1rem;
text-decoration: none;
text-transform: uppercase;
}
.copyright {
color: rgb(108, 117, 125);
font-family: 'Times New Roman', Times, serif;
}