mirror of
https://github.com/NohamR/oled-nnw.git
synced 2026-05-25 04:17:19 +00:00
feat: update style
This commit is contained in:
@@ -22,9 +22,6 @@ export default defineConfig({
|
||||
|
||||
shortcuts: [
|
||||
[/^(.*)Text$/, ([,c]) => `text-${ARTICLE_TEXT[c]}`],
|
||||
{
|
||||
link: 'text-dark dark:text-white no-underline border-bottom-',
|
||||
},
|
||||
],
|
||||
|
||||
theme: {
|
||||
@@ -106,6 +103,22 @@ export default defineConfig({
|
||||
':not(pre) > code::before,:not(pre) > code::after': {
|
||||
content: '',
|
||||
},
|
||||
|
||||
'figcaption': {
|
||||
'color': 'var(--c-blockquote)',
|
||||
'font-size': '.875em',
|
||||
'margin-top': '.8em',
|
||||
},
|
||||
|
||||
'img,video': {
|
||||
'max-width': '100%',
|
||||
'border-radius': '.6rem',
|
||||
'height': 'auto',
|
||||
},
|
||||
|
||||
'figure,picture': {
|
||||
margin: '1em 0',
|
||||
},
|
||||
},
|
||||
}),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user