-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
154 lines (127 loc) · 1.89 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
body {
margin: 0;
display: flex;
flex-direction: column;
min-height: 100vh;
color: #0C0C0C;
background-color: #F6C555;
}
body > header {
color: #BDC0BA;
text-align: center;
background-color: #43341B;
}
h1 {
font-size: large;
}
hr {
border: none;
height: 1px;
background-color: #43341B;
}
a {
text-decoration: none;
color: inherit;
}
article > header {
text-align: center;
}
section {
margin: 0 1em;
}
main {
flex: 1;
max-width: 800px;
margin: 0 auto;
}
main a {
border-bottom: 1px dashed;
padding-bottom: .3em;
}
main ul {
list-style-type: none;
margin: 0;
padding: 0;
}
main li a > time {
float: left;
margin: 0 1em;
}
main li article {
padding: .5em;
margin-bottom: 1em;
}
main li article header img {
width: 300px;
height: 400px;
object-fit: contain;
display: block;
margin: .5em auto;
}
main li article time {
display: block;
}
main li article a {
border-bottom: none;
}
main li article a:not(:first-child) {
display: inline-flex;
float: right;
text-decoration: none;
color: inherit;
border-radius: 50%;
border: 2px solid;
width: 2em;
align-items: center;
justify-content: center;
margin-right: .5em;
}
main li article a:hover {
color: #434343;
}
main li article a img {
height: 31px;
}
main li strong {
display: block;
margin: 1em 0 0 1em;
}
main li strong ~ a {
display: inline-block;
margin-left: 2em;
}
main li strong ~ a + a {
margin-left: 1em;
}
main + footer {
color: #BDC0BA;
padding: .5em;
text-align: center;
background-color: #434343;
}
h2 + a {
float: right;
border: none;
margin-top: -2.7em;
font-weight: bold;
}
#post {
padding: 0 1em;
}
#post img {
display: block;
margin: 0 auto;
}
#post footer {
margin: 0 auto;
display: flex;
padding-top: 1em;
border-top: 1px solid;
}
#post footer figure {
text-align: center;
margin: 0;
}
#post footer p {
margin-left: 1em;
}