diff --git a/assets/css/common/post-entry.css b/assets/css/common/post-entry.css index 17f8712..b23805f 100644 --- a/assets/css/common/post-entry.css +++ b/assets/css/common/post-entry.css @@ -8,14 +8,18 @@ overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; - -webkit-line-clamp: 3; - margin: 1.5em 0; + margin: var(--gap) 0 calc(var(--gap) * 2); } .first-entry .entry-header h1 { font-size: 34px; line-height: 1.3; } +@media screen and (max-width: 400px) { + .first-entry .entry-header h1 { + font-size: 30px; + } +} .first-entry .entry-content { margin: 14px 0; diff --git a/assets/css/common/post-single.css b/assets/css/common/post-single.css index d91e872..e5f85d5 100644 --- a/assets/css/common/post-single.css +++ b/assets/css/common/post-single.css @@ -84,6 +84,7 @@ font-weight: 500; color: var(--primary); box-shadow: var(--link-underline-shadow); + transition: var(--link-transition); } .post-content a:hover { color: var(--link-hover-color); @@ -288,6 +289,10 @@ h6:hover .anchor { margin: 1rem auto; } +.post-content video { + width: 100%; +} + .post-content figure.align-center { text-align: center; } @@ -485,3 +490,13 @@ h6:hover .anchor { [dir="rtl"] .paginav .next { text-align: left; } + +.full-width { + left: 50%; + margin-left: -50vw; + margin-right: -50vw; + max-width: 100vw; + position: relative; + right: 50%; + width: 100vw; + } diff --git a/data/svg.toml b/data/svg.toml index 4eb4c51..f3ffabe 100644 --- a/data/svg.toml +++ b/data/svg.toml @@ -244,7 +244,7 @@ gitlab = ''' ''' gmail = ''' -Gmail +Gmail ''' goodreads = ''' diff --git a/layouts/shortcodes/video.html b/layouts/shortcodes/video.html index 9bb2cbb..0132bb2 100644 --- a/layouts/shortcodes/video.html +++ b/layouts/shortcodes/video.html @@ -1,5 +1,7 @@ +
+