docs_vue2/assets/styles/global.styl

53 lines
743 B
Stylus
Raw Permalink Normal View History

2021-07-19 17:29:41 +08:00
$primary = #0052cc
2020-08-13 11:47:56 +08:00
// only enable on Retina displays
@media screen and (min-resolution 2dppx)
html
-webkit-font-smoothing antialiased
-moz-osx-font-smoothing grayscale
*
*::before
*::after
box-sizing border-box
2021-07-19 17:29:41 +08:00
:root
--docsearch-primary-color $primary !important
--docsearch-searchbox-shadow inset 0 0 0 2px $primary !important
2020-08-13 11:47:56 +08:00
html
font-weight 400
color #333
scroll-behavior smooth
scroll-padding-top 120px
2020-08-13 11:47:56 +08:00
html
body
#__nuxt
#__layout
height 100%
body
margin-left 280px
2020-08-13 11:47:56 +08:00
button
input
font inherit
color inherit
a
-webkit-tap-highlight-color transparent
&:focus
outline none
2020-08-13 11:47:56 +08:00
main
line-height 1.5
.DocSearch-Container
backdrop-filter blur(4px)
@media (max-width 480px)
body
margin 0