-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblog.css
77 lines (64 loc) · 1.06 KB
/
blog.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
*::before,
*::after,
* {
box-sizing: border-box;
}
* {
margin: 0;
padding: 0;
}
body {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
h1 {
margin-top: 30px;
margin-bottom: 5px;
font-size: 3rem;
text-align: center;
font-weight: bold;
}
a {
all: unset;
}
.feed {
margin: 0;
width: 50%;
min-width: 375px;
max-width: 800px;
}
.article {
background-color: var(--post-background);
padding: 10px;
border-radius: 15px;
margin: 5px 0;
}
.title {
font-weight: bold;
color: var(--primary-font);
}
.summary {
color: var(--primary-font);
}
.publish-date {
text-align: end;
color: var(--secondary-font);
}
@media only screen and (min-width: 450px) {
h1 {
margin-top: 100px;
}
}
@media(prefers-color-scheme: light) {
.navbar::after {
background-color: rgba(250, 250, 250, 0.5);
}
.navbar li a {
color: black;
}
.navbar a:hover {
background-color: hsl(255, 0%, 90%);
}
}