diff --git a/source/css/_common/title.styl b/source/css/_common/title.styl index 054edfb..32108f9 100644 --- a/source/css/_common/title.styl +++ b/source/css/_common/title.styl @@ -1,6 +1,8 @@ h1,.h1 font-size: $fs-h1 - font-weight: 500 + font-weight: 700 + @media screen and (max-width: $device-mobile) + font-size: $fs-h1 h2,.h2 font-size: $fs-h2 h3,.h3 diff --git a/source/css/_layout/list.styl b/source/css/_layout/list.styl index eaf1236..345ebec 100644 --- a/source/css/_layout/list.styl +++ b/source/css/_layout/list.styl @@ -86,6 +86,8 @@ display: flex width: 200px margin: 1rem .5rem + @media screen and (min-width: 950px) + margin: 1rem align-items: center img object-fit: contain @@ -93,7 +95,9 @@ trans1: transform 0.75s .post-list .post-card.wiki article .excerpt margin: 1rem .5rem - min-width: 220px + @media screen and (min-width: 950px) + margin-right: 2rem + min-width: 280px flex: 1 overflow: hidden word-wrap: break-word diff --git a/source/css/_layout/md.styl b/source/css/_layout/md.styl index fc1bb9a..70598fb 100644 --- a/source/css/_layout/md.styl +++ b/source/css/_layout/md.styl @@ -16,9 +16,12 @@ article.md.content >:first-child margin-top: 0 h1.article-title - margin-top: 0.5rem + margin-top: .5em + margin-bottom: 1em line-height: 1.2 color: var(--text-p0) + h1:not(:first-child) + margin-top: 2em h2:first-child margin-top: 0 h2,h3,h4,h5,h6