AquaDX/AquaNet/src/app.sass

71 lines
1.1 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-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
color-scheme: light dark
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-10 13:40:56 +08:00
color: $c-darker
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
margin: 0 auto
2024-02-08 16:32:33 +08:00
width: 100%
2024-02-10 14:20:10 +08:00
height: 100%
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
background-color: #1a1a1a
2024-02-10 14:20:10 +08:00
opacity: 0.9
2024-02-08 09:13:53 +08:00
cursor: pointer
transition: border-color 0.25s
button:hover
2024-02-10 13:40:56 +08:00
border-color: $c-main
2024-02-08 09:13:53 +08:00
button:focus, button:focus-visible
outline: 4px auto -webkit-focus-ring-color