Skip to content

Instantly share code, notes, and snippets.

@vanderlin
Created December 28, 2018 02:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vanderlin/2e7aff8f4937ed4fe2d2ae3405474f5d to your computer and use it in GitHub Desktop.
Save vanderlin/2e7aff8f4937ed4fe2d2ae3405474f5d to your computer and use it in GitHub Desktop.
@import url(./reset.css);
@import url(./fonts.css);
@import './colors.scss';
@import './typography.scss';
/* apply a natural box layout model to all elements, but allowing components to change */
html {
box-sizing: border-box;
user-select: none;
-webkit-tap-highlight-color: transparent;
font-family: 'SegoeUI';
height: 100%;
position: fixed;
overflow: hidden;
}
body {
position: relative;
height: 100%;
width: 100vw;
overflow-y: scroll;
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
}
*, *:before, *:after {
box-sizing: inherit;
}
/*
Generic Vue transitions to use through app
*/
.fade-enter-active, .fade-leave-active {
transition: opacity 500ms;
}
.fade-enter, .fade-leave-to {
opacity: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment