-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 (windi) switch back to main.css as latest Windi fixed it :)
- Loading branch information
Showing
3 changed files
with
39 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
: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); | ||
} | ||
} | ||
|
||
.fade-enter-active, | ||
.fade-leave-active { | ||
transition: opacity 200ms linear; | ||
} | ||
.fade-enter, | ||
.fade-leave-to { | ||
opacity: 0; | ||
} | ||
|
||
.slide-from-left-to-left-enter-active, | ||
.slide-from-left-to-left-leave-active { | ||
transition: transform 200ms ease-out, opacity 200ms linear; | ||
} | ||
.slide-from-left-to-left-enter, | ||
.slide-from-left-to-left-leave-to { | ||
opacity: 0; | ||
transform: translate3d(-50px, 0, 0); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1b940aa
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
nuxtjs-with-docus – ./
nuxtjs-with-docus.vercel.app
nuxtjs-with-docus-nuxtlabs.vercel.app
nuxtjs-with-docus-git-dev-nuxtlabs.vercel.app
nuxtjs.docus.com