From 798c3b924beee2f340f43008ab3a00089d0321be Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Fri, 27 Jul 2018 22:22:16 -0700 Subject: [PATCH] More adjustments --- .vuepress/theme/styles/home.css | 4 ++++ .vuepress/theme/styles/text.css | 8 +++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.vuepress/theme/styles/home.css b/.vuepress/theme/styles/home.css index a0a788ee..9d7119c5 100644 --- a/.vuepress/theme/styles/home.css +++ b/.vuepress/theme/styles/home.css @@ -2,6 +2,10 @@ @apply .mx-auto; max-width: 960px; + @screen md { + @apply .px-8; + } + .hero { @apply .text-center .mx-auto; padding-top: 58px; diff --git a/.vuepress/theme/styles/text.css b/.vuepress/theme/styles/text.css index a752089d..b27ec0e1 100644 --- a/.vuepress/theme/styles/text.css +++ b/.vuepress/theme/styles/text.css @@ -49,11 +49,9 @@ a.header-anchor { h1, h2, h3, h4, h5, h6 { @apply .mb-4 .font-semibold; - &:hover .header-anchor { - @apply .visible; - - @screen smx { - margin-left: 0 !important; + @screen md { + &:hover .header-anchor { + @apply .visible; } } }