diff --git a/src/css/global.sass b/src/css/global.sass index 496c4dd..2c4cb58 100644 --- a/src/css/global.sass +++ b/src/css/global.sass @@ -165,3 +165,34 @@ html overflow-x: hidden box-sizing: border-box box-shadow: 0 4px 6px -1px rgb(0 0 0 / 10%), 0 2px 4px -1px rgb(0 0 0 / 6%) + +// Markdown style +.markdown-content + text-align: justify + text-justify: inter-word + + a + color: $color-text-special + text-decoration: none + + h1, h2 + border-bottom: 1px solid $color-text-special + font-size: 1.5em + margin-top: 1em + + h1, h2 + line-height: 1.3 + margin-bottom: 0.25em + padding: 0 + + h3 + font-size: 1.2em + + p + font-size: 0.9em + margin: 0.5em 0 + line-height: 1.6 + + li + font-size: 0.9em + margin-bottom: 0.25em diff --git a/src/views/About.vue b/src/views/About.vue index be5af73..1a03d73 100644 --- a/src/views/About.vue +++ b/src/views/About.vue @@ -66,35 +66,4 @@ export default class About extends Vue .emoji font-weight: normal -// Markdown style -.markdown-content - text-align: justify - text-justify: inter-word - - a - color: $color-text-special - text-decoration: none - - h1, h2 - border-bottom: 1px solid $color-text-special - font-size: 1.5em - margin-top: 1em - - h1, h2 - line-height: 1.3 - margin-bottom: 0.25em - padding: 0 - - h3 - font-size: 1.2em - - p - font-size: 0.9em - margin: 0.5em 0 - line-height: 1.6 - - li - font-size: 0.9em - margin-bottom: 0.25em -