-
Notifications
You must be signed in to change notification settings - Fork 60
Expand file tree
/
Copy pathstyle.css
More file actions
125 lines (105 loc) · 1.72 KB
/
style.css
File metadata and controls
125 lines (105 loc) · 1.72 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
body {
font-family: 'Open Sans', Arial, sans-serif;
background-color: #f4f4f4;
color: #333;
margin: 0;
padding: 0;
font-size: 18px;
}
header {
background: #333;
color: #fff;
padding: 16px;
text-align: center;
font-family: 'Exo 2', sans-serif;
}
h1, h2, h3 {
font-family: 'Exo 2', sans-serif;
}
h1 {
margin: 0;
font-size: 32px;
}
main {
padding: 16px;
}
section {
background-color: #fff;
margin-bottom: 16px;
padding: 16px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
#featured-article {
background: linear-gradient(
rgba(0, 0, 0, 0.65),
rgba(0, 0, 0, 0.8)
),
url('img/featured-bg.png') no-repeat center center;
background-size: cover;
background-blend-mode: multiply;
color: #fff;
padding: 48px;
text-align: left;
}
#featured-article h2 {
font-size: 42px;
}
#featured-article .metadata {
color: #fff;
}
#featured-article a {
background-color: #fff;
color: #333;
font-weight: bold;
padding: 8px 16px;
border-radius: 20px;
display: inline-block;
margin-top: 16px;
}
#featured-article a:hover {
text-decoration: none;
background-color: #eee;
color: #333;
}
h2 {
margin-bottom: 8px;
font-size: 28px;
}
h2, h3 {
margin-top: 0;
}
.metadata {
list-style: none;
padding: 0;
margin: 0;
font-size: 16px;
color: #777;
}
.metadata li {
margin-right: 4px;
display: inline-block;
}
a {
color: #007acc;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
#more-articles ul {
list-style: none;
padding: 0;
}
#more-articles li {
margin-bottom: 8px;
}
.author-img {
border-radius: 50%;
vertical-align: middle;
margin-right: 8px;
}
.article img {
margin-bottom: 20px;
border-radius: 5px;
}