From b265fdf5a313a5957ac6fd040365d7474012f412 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 3 Aug 2019 12:53:41 +0200 Subject: [PATCH] css: make .m-diary left padding large enough to fit a short date as well. And remove the extraneous margin -- which basically makes it look roughly the same as before, but without uglily wrapped things. --- css/m-components.css | 5 +++-- css/m-dark+documentation.compiled.css | 5 +++-- css/m-dark.compiled.css | 5 +++-- css/m-light+documentation.compiled.css | 5 +++-- css/m-light.compiled.css | 5 +++-- 5 files changed, 15 insertions(+), 10 deletions(-) diff --git a/css/m-components.css b/css/m-components.css index 24a449ef..ef6956dd 100644 --- a/css/m-components.css +++ b/css/m-components.css @@ -246,14 +246,15 @@ dl.m-diary:last-child { } dl.m-diary dt { font-weight: bold; - width: 3.5rem; + width: 6rem; /* Large enough so it can fit a date (Aug 27, 2019) as well */ float: left; clear: both; padding-top: 0.25rem; } dl.m-diary dd { padding-top: 0.25rem; - padding-left: 3.5rem; + padding-left: 6rem; + margin-left: 0; } /* Footnotes, footnote references */ diff --git a/css/m-dark+documentation.compiled.css b/css/m-dark+documentation.compiled.css index f1f2ebbc..e29e91d7 100644 --- a/css/m-dark+documentation.compiled.css +++ b/css/m-dark+documentation.compiled.css @@ -543,14 +543,15 @@ dl.m-diary:last-child { } dl.m-diary dt { font-weight: bold; - width: 3.5rem; + width: 6rem; float: left; clear: both; padding-top: 0.25rem; } dl.m-diary dd { padding-top: 0.25rem; - padding-left: 3.5rem; + padding-left: 6rem; + margin-left: 0; } a.m-footnote, dl.m-footnote dd span.m-footnote { top: -0.35rem; diff --git a/css/m-dark.compiled.css b/css/m-dark.compiled.css index f1204e93..3a6db9e0 100644 --- a/css/m-dark.compiled.css +++ b/css/m-dark.compiled.css @@ -543,14 +543,15 @@ dl.m-diary:last-child { } dl.m-diary dt { font-weight: bold; - width: 3.5rem; + width: 6rem; float: left; clear: both; padding-top: 0.25rem; } dl.m-diary dd { padding-top: 0.25rem; - padding-left: 3.5rem; + padding-left: 6rem; + margin-left: 0; } a.m-footnote, dl.m-footnote dd span.m-footnote { top: -0.35rem; diff --git a/css/m-light+documentation.compiled.css b/css/m-light+documentation.compiled.css index 17112d37..59719dd2 100644 --- a/css/m-light+documentation.compiled.css +++ b/css/m-light+documentation.compiled.css @@ -543,14 +543,15 @@ dl.m-diary:last-child { } dl.m-diary dt { font-weight: bold; - width: 3.5rem; + width: 6rem; float: left; clear: both; padding-top: 0.25rem; } dl.m-diary dd { padding-top: 0.25rem; - padding-left: 3.5rem; + padding-left: 6rem; + margin-left: 0; } a.m-footnote, dl.m-footnote dd span.m-footnote { top: -0.35rem; diff --git a/css/m-light.compiled.css b/css/m-light.compiled.css index 00959f2f..03292583 100644 --- a/css/m-light.compiled.css +++ b/css/m-light.compiled.css @@ -543,14 +543,15 @@ dl.m-diary:last-child { } dl.m-diary dt { font-weight: bold; - width: 3.5rem; + width: 6rem; float: left; clear: both; padding-top: 0.25rem; } dl.m-diary dd { padding-top: 0.25rem; - padding-left: 3.5rem; + padding-left: 6rem; + margin-left: 0; } a.m-footnote, dl.m-footnote dd span.m-footnote { top: -0.35rem; -- 2.30.2