base.scss 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. html {
  2. box-sizing: border-box;
  3. font-family: $core-font-standard;
  4. height: 100%;
  5. }
  6. *, *:before, *:after {
  7. box-sizing: inherit;
  8. }
  9. [v-cloak], .is-hidden {
  10. display: none;
  11. }
  12. #app {
  13. position: relative;
  14. min-height: 100%;
  15. &.is-fullscreen {
  16. //width: 100vw;
  17. height: 100vh;
  18. }
  19. }
  20. body {
  21. background-color: lighten(mc('blue-grey','50'), 5%);
  22. height: 100%;
  23. }
  24. main {
  25. background-color: lighten(mc('blue-grey','50'), 5%);
  26. }
  27. a {
  28. color: mc('indigo', '600');
  29. text-decoration: none;
  30. &:hover {
  31. color: mc('indigo', '700');
  32. text-decoration: underline;
  33. }
  34. }
  35. // Container
  36. .has-stickynav {
  37. padding-top: 50px;
  38. }
  39. .container {
  40. position: relative;
  41. @include desktop {
  42. margin: 0 auto;
  43. max-width: 960px;
  44. // Modifiers
  45. &.is-fluid {
  46. margin: 0;
  47. max-width: none;
  48. }
  49. }
  50. @include widescreen {
  51. max-width: 1200px;
  52. }
  53. }
  54. .content {
  55. padding: 20px;
  56. }
  57. // Visibility
  58. .is-hidden {
  59. display: none !important;
  60. }
  61. .is-hidden-until-scroll {
  62. max-height: 0;
  63. overflow: hidden;
  64. transition: all .6s ease;
  65. }
  66. .is-sticky .is-hidden-until-scroll {
  67. max-height: 30px;
  68. }
  69. .is-hidden-mobile {
  70. @include mobile {
  71. display: none !important;
  72. }
  73. }
  74. .is-hidden-tablet {
  75. @include tablet {
  76. display: none !important;
  77. }
  78. }
  79. .is-hidden-tablet-only {
  80. @include tablet-only {
  81. display: none !important;
  82. }
  83. }
  84. .is-hidden-touch {
  85. @include touch {
  86. display: none !important;
  87. }
  88. }
  89. .is-hidden-desktop {
  90. @include desktop {
  91. display: none !important;
  92. }
  93. }
  94. .is-hidden-desktop-only {
  95. @include desktop-only {
  96. display: none !important;
  97. }
  98. }
  99. .is-hidden-widescreen {
  100. @include widescreen {
  101. display: none !important;
  102. }
  103. }