Only add vertical padding for the top of the first blog post and use the same background color throughout.
This commit is contained in:
parent
339bd433f6
commit
1c356737c1
@ -1,6 +1,6 @@
|
||||
:root {
|
||||
--main-max-width: 800px;
|
||||
--site-background-color: #1f1f1f;
|
||||
--site-background-color: #0a0a0a;
|
||||
--site-text-color: #fffffc;
|
||||
--header-divider-color: #6a687a;
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
--site-background-color: #e0e0e0;
|
||||
--site-background-color: #f5f5f5;
|
||||
--site-text-color: #000003;
|
||||
--header-divider-color: #959785;
|
||||
|
||||
@ -127,7 +127,15 @@ body {
|
||||
/* A blog post in a blog stream (for example, the homepage). */
|
||||
.blog_stream_post {
|
||||
background: var(--stream-post-background-color);
|
||||
padding: 1rem 0.2rem 0 0.2rem;
|
||||
padding: 0 0.2rem;
|
||||
}
|
||||
|
||||
.blog_stream_post {
|
||||
background: var(--stream-post-background-color);
|
||||
}
|
||||
|
||||
.blog_stream_post:nth-child(1) {
|
||||
padding-top: 1rem;
|
||||
}
|
||||
|
||||
.blog_post_title {
|
||||
|
Loading…
x
Reference in New Issue
Block a user