AquaDX/AquaNet/src/app.sass

138 lines
2.2 KiB
Sass
Raw Normal View History

2024-02-10 13:40:56 +08:00
@import "vars"
@import url('https://fonts.googleapis.com/css2?family=Quicksand&display=swap')
2024-02-12 14:48:08 +08:00
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@500&display=swap')
2024-02-10 13:40:56 +08:00
2024-02-10 14:20:10 +08:00
html
height: 100%
2024-02-08 09:13:53 +08:00
body
2024-02-10 13:40:56 +08:00
font-family: $font
2024-02-08 09:13:53 +08:00
line-height: 1.5
font-weight: 400
2024-02-10 14:20:10 +08:00
width: 100%
height: 100%
margin: 0
overflow-x: hidden
2024-02-08 09:13:53 +08:00
2024-02-10 14:30:19 +08:00
color-scheme: dark
2024-02-08 09:13:53 +08:00
color: rgba(255, 255, 255, 0.87)
2024-02-10 13:40:56 +08:00
background-color: $c-bg
2024-02-08 09:13:53 +08:00
font-synthesis: none
text-rendering: optimizeLegibility
-webkit-font-smoothing: antialiased
-moz-osx-font-smoothing: grayscale
a
font-weight: 500
2024-02-22 02:37:01 +08:00
color: $c-main
2024-02-08 09:13:53 +08:00
text-decoration: inherit
a:hover
2024-02-10 13:40:56 +08:00
color: $c-main
2024-02-08 09:13:53 +08:00
h1
font-size: 3.2em
line-height: 1.1
.card
padding: 2em
#app
2024-02-10 14:20:10 +08:00
width: 100%
height: 100%
main:not(.no-margin)
2024-02-08 09:13:53 +08:00
max-width: 1280px
2024-02-10 16:10:21 +08:00
margin: 0 auto
padding-bottom: 100px
2024-02-08 09:13:53 +08:00
button
border-radius: 8px
border: 1px solid transparent
padding: 0.6em 1.2em
font-size: 1em
font-weight: 500
font-family: inherit
2024-02-22 02:37:01 +08:00
background-color: rgba(white, 0.08)
2024-02-10 14:20:10 +08:00
opacity: 0.9
2024-02-08 09:13:53 +08:00
cursor: pointer
2024-02-10 14:30:19 +08:00
transition: all 0.25s
2024-02-08 09:13:53 +08:00
button:hover
2024-02-10 14:30:19 +08:00
border: 1px solid $c-main
2024-02-08 09:13:53 +08:00
button:focus, button:focus-visible
2024-02-10 14:30:19 +08:00
color: $c-main
outline: none
2024-02-21 07:32:25 +08:00
.level-0
--lv-color: $c-lv0
.level-1
--lv-color: $c-lv1
.level-2
--lv-color: $c-lv2
.level-3
--lv-color: $c-lv3
.error
color: $c-error
2024-02-21 07:43:56 +08:00
input
border-radius: 8px
border: 1px solid transparent
padding: 0.6em 1.2em
font-size: 1em
font-weight: 500
font-family: inherit
2024-02-22 02:37:01 +08:00
background-color: rgba(white, 0.08)
2024-02-21 07:43:56 +08:00
transition: all 0.25s
2024-02-22 02:37:01 +08:00
box-sizing: border-box
2024-02-21 07:43:56 +08:00
input:focus, input:focus-visible
border: 1px solid $c-main
outline: none
2024-02-22 02:37:01 +08:00
input.error
border: 1px solid $c-error
2024-02-21 07:43:56 +08:00
.flex-center
display: flex
justify-content: center
align-items: center
.clickable
cursor: pointer
2024-02-21 13:15:31 +08:00
user-select: none
main.content
display: flex
flex-direction: column
gap: 20px
margin: 100px auto 0
padding: 0 32px 32px
min-height: 100%
max-width: $w-max
background-color: rgba(black, 0.2)
border-radius: 16px 16px 0 0
@media (max-width: #{$w-max + (64px) * 2})
margin: 100px 32px 0
padding: 0 32px 16px
@media (max-width: $w-mobile)
margin: 100px 0 0
padding: 0 32px 16px