Mike Gerwitz

Free Software Hacker+Activist

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <mtg@gnu.org>2019-01-17 23:04:41 -0500
committerMike Gerwitz <mtg@gnu.org>2019-01-17 23:04:41 -0500
commit0745930e55bb0217f7f146d813068d988cdc18fc (patch)
treeed0958bdacd1f908b01559b5ab0a73bccb6ab80b
parentbe20a0eb7d6ead8827a30d678b1a36c0eadfa225 (diff)
downloadthoughts-0745930e55bb0217f7f146d813068d988cdc18fc.tar.gz
thoughts-0745930e55bb0217f7f146d813068d988cdc18fc.tar.bz2
thoughts-0745930e55bb0217f7f146d813068d988cdc18fc.zip
style.css: Correct responsive post header margins
This was missed in an earlier commit.
-rw-r--r--style.css17
1 files changed, 15 insertions, 2 deletions
diff --git a/style.css b/style.css
index 6148d41..6678b69 100644
--- a/style.css
+++ b/style.css
@@ -271,8 +271,10 @@ aside.sm {
}
-h1, h2, h3 {
+h1, h2, h3, h4 {
font-weight: normal;
+ line-height: 1.25em;
+ text-align: left;
}
h1 { font-size: 1.7em; }
@@ -295,7 +297,6 @@ header {
header h1 {
font-size: 2em;
margin: 0px 0px 0.1em 0px;
- text-align: left;
}
.title {
@@ -404,6 +405,18 @@ article:not(.abstract) > h3 {
border-bottom: 1px solid #babdb6;
}
+
+@media ( max-width: 70ch ) {
+ article:not(.abstract) > hgroup {
+ margin: 0;
+ }
+
+ article:not(.abstract) > h1:not(:first-child),
+ article:not(.abstract) > h2 {
+ margin-left: 0;
+ }
+}
+
article .date {
font-size: 0.9em;
color: #666f63;