diff --git a/assets/style.css b/assets/style.css index 38cd229..247d29a 100755 --- a/assets/style.css +++ b/assets/style.css @@ -32,9 +32,12 @@ main li b { padding-right: 2ch } +figure { + position: relative; + margin-block: 10px 0; +} + img { - margin: 10px 0 10px 50%; - transform: translateX(-50%); max-width: 100%; } @@ -60,4 +63,4 @@ footer a { a { color: #ccf } mark { color: #fcc } hr { border-color: #555 } -} \ No newline at end of file +} diff --git a/lib.js b/lib.js index e57980c..2e27f5e 100644 --- a/lib.js +++ b/lib.js @@ -620,7 +620,7 @@ export const renderPostDetail = (name, value) => export const renderImage = href => { return `\ -` +
` } export const renderDate = date =>