From: Vladimír Vondruš Date: Sat, 3 Aug 2019 10:53:41 +0000 (+0200) Subject: css: make .m-diary left padding large enough to fit a short date as well. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=b265fdf5a313a5957ac6fd040365d7474012f412;p=blog.git 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. --- 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;