This commit is contained in:
syuilo 2018-09-28 11:43:15 +09:00
parent ea3b8b156e
commit 3aea57d290

View File

@ -54,7 +54,7 @@ export default Vue.extend({
</script>
<style lang="stylus" scoped>
root(isDark)
.root.home
max-width 600px
margin 0 auto
@ -65,7 +65,7 @@ root(isDark)
margin 0 0 16px 0
> section
background isDark ? #21242f : #eee
background var(--face)
border-radius 8px
box-shadow 0 4px 16px rgba(#000, 0.1)
@ -80,8 +80,8 @@ root(isDark)
padding 8px 10px
font-size 15px
font-weight normal
color isDark ? #b8c5cc : #465258
background var(--face)
color var(--text)
background var(--faceHeader)
border-radius 8px 8px 0 0
@media (min-width 500px)
@ -98,12 +98,6 @@ root(isDark)
display block
margin 16px
text-align center
color isDark ? #cad2da : #929aa0
.root.home[data-darkmode]
root(true)
.root.home:not([data-darkmode])
root(false)
color var(--text)
</style>