From afc2a77b87d3c3cd016e3681c258af6f3a375d92 Mon Sep 17 00:00:00 2001 From: Alec Reynolds Date: Tue, 2 Feb 2021 21:03:54 -0800 Subject: [PATCH] Some mobile tweaks. --- site/.vuepress/theme/components/HeroFlex.vue | 4 +++- site/.vuepress/theme/styles/palette.styl | 1 - site/work/common-dreams-discovery.md | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/site/.vuepress/theme/components/HeroFlex.vue b/site/.vuepress/theme/components/HeroFlex.vue index e826e625..292b68df 100644 --- a/site/.vuepress/theme/components/HeroFlex.vue +++ b/site/.vuepress/theme/components/HeroFlex.vue @@ -111,7 +111,7 @@ export default { text-decoration none left 0 bottom 0 - padding 3rem + padding 5rem @media (min-width: $MQMobile) padding 2rem @media (min-width: $MQSmall) @@ -138,6 +138,8 @@ export default { font-size typeScale.i &::after border-left-color rgba(black, 0.3) !important + @media (max-width: $MQMobile) + display none .hero-right-content display none @media (max-width: $MQMobile) diff --git a/site/.vuepress/theme/styles/palette.styl b/site/.vuepress/theme/styles/palette.styl index a184ed15..93af2ce2 100644 --- a/site/.vuepress/theme/styles/palette.styl +++ b/site/.vuepress/theme/styles/palette.styl @@ -121,7 +121,6 @@ workGrid = @block display block @media (max-width: $MQMobile) width 100% - height 500px display inline-flex // diff --git a/site/work/common-dreams-discovery.md b/site/work/common-dreams-discovery.md index 21badd1a..b8d71578 100644 --- a/site/work/common-dreams-discovery.md +++ b/site/work/common-dreams-discovery.md @@ -49,7 +49,7 @@ Common Dreams has been a pioneer in online, reader-supported news since the Clin ::: col-half What's at Stake? :::big -110M+ Pageviews +110M+ Views ::: ::::::