mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 23:52:06 +00:00
9a0fc57724
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com> Co-authored-by: pooya parsa <pyapar@gmail.com>
31 lines
718 B
CSS
31 lines
718 B
CSS
:root {
|
|
--header-height: theme('spacing.14');
|
|
--docs-scroll-margin-block: calc(var(--header-height) + 4rem);
|
|
--blogpost-scroll-margin-block: calc(var(--header-height));
|
|
}
|
|
|
|
@screen md {
|
|
:root {
|
|
--header-height: theme('spacing.18');
|
|
--blogpost-scroll-margin-block: calc(var(--header-height) - 0.5rem);
|
|
}
|
|
}
|
|
|
|
@screen xl {
|
|
:root {
|
|
--docs-scroll-margin-block: calc(var(--header-height) + 1rem);
|
|
}
|
|
}
|
|
|
|
button:focus-visible, div:focus-visible, a:focus-visible {
|
|
/* remove default focus style */
|
|
outline: none;
|
|
/* custom focus style */
|
|
border-radius: 2px;
|
|
box-shadow: 0 0 0 2px #00DC82;
|
|
}
|
|
|
|
h1 > code, h2 > code, h3 > code, h4 > code, h5 > code, h6 > code {
|
|
font-size: inherit !important;
|
|
}
|