forked from FoundKeyGang/FoundKey
wip
This commit is contained in:
parent
7ca5e33a3a
commit
016c7fd2c4
1 changed files with 5 additions and 11 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue