diff options
author | Dillon <dillonzq@outlook.com> | 2020-03-19 07:35:37 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-19 07:35:37 +0300 |
commit | 774e831a210e44aeca9848eb0d636aae5af009dd (patch) | |
tree | 317e02755f373860127d0aa783f84d1b0f0c16da /assets | |
parent | 84d48f37dcf35e9f414445e1eed3489c674fe1af (diff) |
feat(shortcode): refactor and improve image shortcode (#187)
Diffstat (limited to 'assets')
-rw-r--r-- | assets/css/_page/_single.scss | 32 | ||||
-rw-r--r-- | assets/svg/loading.small.svg | 8 |
2 files changed, 36 insertions, 4 deletions
diff --git a/assets/css/_page/_single.scss b/assets/css/_page/_single.scss index dec3d75..fa25f94 100644 --- a/assets/css/_page/_single.scss +++ b/assets/css/_page/_single.scss @@ -48,6 +48,38 @@ @import "../_partial/_single/toc"; .content { + > h2 { + font-size: 1.5rem; + + & code { + font-size: 1.25rem; + } + } + + > h3 { + font-size: 1.375rem; + + & code { + font-size: 1.125rem; + } + } + + > h4 { + font-size: 1.25rem; + + & code { + font-size: 1rem; + } + } + + > h5 { + font-size: 1.125rem; + } + + > h6 { + font-size: 1rem; + } + h2, h3, h4, diff --git a/assets/svg/loading.small.svg b/assets/svg/loading.small.svg index ef1694d..f406250 100644 --- a/assets/svg/loading.small.svg +++ b/assets/svg/loading.small.svg @@ -2,9 +2,9 @@ <svg width="69" height="69" viewBox="-31 -31 100 100" xmlns="http://www.w3.org/2000/svg"> <defs> <linearGradient x1="8.042%" y1="0%" x2="65.682%" y2="23.865%" id="a"> - <stop stop-color="#fff" stop-opacity="0" offset="0%"/> - <stop stop-color="#fff" stop-opacity=".631" offset="63.146%"/> - <stop stop-color="#fff" offset="100%"/> + <stop stop-color="#a5a5a5" stop-opacity="0" offset="0%"/> + <stop stop-color="#a5a5a5" stop-opacity=".631" offset="63.146%"/> + <stop stop-color="#a5a5a5" offset="100%"/> </linearGradient> </defs> <g fill="none" fill-rule="evenodd"> @@ -18,7 +18,7 @@ dur="0.9s" repeatCount="indefinite" /> </path> - <circle fill="#fff" cx="36" cy="18" r="1"> + <circle fill="#a5a5a5" cx="36" cy="18" r="1"> <animateTransform attributeName="transform" type="rotate" |