diff options
| author | Reorx <novoreorx@gmail.com> | 2022-09-07 01:45:22 +0800 |
|---|---|---|
| committer | Reorx <novoreorx@gmail.com> | 2022-09-07 01:45:22 +0800 |
| commit | cd0381f6d3b86adb02702f1848283d9f19b017b5 (patch) | |
| tree | 07900e3e867daa3a62edafb751fef59048934dc0 /assets/css/common | |
| parent | 3bc70e9a2cdc3dd3185c8b3a9a513e999dbd0023 (diff) | |
move blogroll style to css file
prevent instantclick from ignoring the style
Diffstat (limited to 'assets/css/common')
| -rw-r--r-- | assets/css/common/blogroll.css | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/assets/css/common/blogroll.css b/assets/css/common/blogroll.css new file mode 100644 index 0000000..ec5e946 --- /dev/null +++ b/assets/css/common/blogroll.css @@ -0,0 +1,42 @@ +.links-container { + font-size: 16px; +} +.links-container blockquote { + margin: var(--gap) 0; + padding: 0 14px; + border-inline-start: 3px solid var(--primary); +} +.links .item { + padding: 12px; + background: var(--entry); + border-radius: var(--radius); + margin-bottom: var(--gap); + border: 1px solid var(--border); +} + +.links .favicon { + display: inline-block; + background-size: 16px 16px; + width: 16px; + height: 16px; + image-rendering: -webkit-optimize-contrast; +} +.links .item .title .favicon { + margin-right: calc(var(--gap) / 2); + vertical-align: middle; +} + +.links .item .title a:hover { + text-decoration: underline; +} + +.links .item .description { + margin-left: calc(16px + var(--gap) / 2); + color: var(--secondary); +} + +.links .item .description .delimiter::after { + content: "ยท"; + margin-inline-start: .5em; + margin-inline-end: .5em; +} |
