-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
124 lines (104 loc) · 1.85 KB
/
Copy pathstyle.css
File metadata and controls
124 lines (104 loc) · 1.85 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
@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400;1,700&display=swap');
:root {
color: #111111;
background: #ffffff;
font-family: 'Atkinson Hyperlegible', sans-serif;
}
body {
margin: 0 auto;
min-height: 100vh;
max-width: 720px;
padding: 24px 16px 40px;
background: #ffffff;
color: #111111;
}
#new-post-form {
display: grid;
grid-template-columns: auto 1fr;
gap: 12px;
margin-bottom: 24px;
}
label {
display: flex;
align-items: center;
font-size: 0.9rem;
font-weight: 700;
}
input,
button {
width: 100%;
border: 1px solid #111111;
border-radius: 0;
background: #ffffff;
color: inherit;
font: inherit;
}
input {
height: 36px;
padding: 4px 10px;
line-height: 1.2;
}
button {
min-height: 48px;
padding: 12px;
}
input::placeholder {
color: #666666;
}
input:focus,
button:focus {
outline: 2px solid #111111;
outline-offset: 2px;
}
button {
grid-column: 2;
justify-self: center;
width: auto;
min-width: 160px;
font-weight: 700;
cursor: pointer;
}
button:hover {
background: #f2f2f2;
}
#all-posts {
list-style: none;
margin: 0;
padding: 0;
}
#all-posts:empty::before {
content: 'No posts yet. Your next post will appear here.';
display: block;
padding: 16px 0;
color: #666666;
}
.post {
padding: 16px 0;
border-top: 1px solid #cccccc;
}
.post-body,
.post-meta {
margin: 0;
}
.post-body {
font-size: 1.3em;
line-height: 1.5;
word-break: break-word;
}
.post-meta {
margin-top: 6px;
color: #8b8484;
}
.delete-button {
cursor: pointer;
margin-top: 32px;
}
@media (max-width: 560px) {
#new-post-form {
grid-template-columns: 1fr;
}
button {
grid-column: 1;
width: 100%;
}
}