base.scss 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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. height: 100vh;
  17. }
  18. }
  19. body {
  20. background-color: lighten(mc('blue-grey','50'), 5%);
  21. height: 100%;
  22. }
  23. main {
  24. background-color: mc('blue','500');
  25. background-image: linear-gradient(to bottom, mc('blue', '700') 0%, mc('blue', '500') 100%);
  26. padding: 50px;
  27. min-height: 100vh;
  28. }
  29. a {
  30. color: mc('indigo', '600');
  31. text-decoration: none;
  32. &:hover {
  33. color: mc('indigo', '700');
  34. text-decoration: underline;
  35. }
  36. }
  37. // Container
  38. .container {
  39. position: relative;
  40. }
  41. .content {
  42. padding: 20px;
  43. }
  44. // Visibility
  45. .is-hidden {
  46. display: none !important;
  47. }
  48. .is-hidden-until-scroll {
  49. max-height: 0;
  50. overflow: hidden;
  51. transition: all .6s ease;
  52. }
  53. .is-sticky .is-hidden-until-scroll {
  54. max-height: 30px;
  55. }
  56. .is-hidden-mobile {
  57. @include mobile {
  58. display: none !important;
  59. }
  60. }
  61. .is-hidden-tablet {
  62. @include tablet {
  63. display: none !important;
  64. }
  65. }
  66. .is-hidden-tablet-only {
  67. @include tablet-only {
  68. display: none !important;
  69. }
  70. }
  71. .is-hidden-touch {
  72. @include touch {
  73. display: none !important;
  74. }
  75. }
  76. .is-hidden-desktop {
  77. @include desktop {
  78. display: none !important;
  79. }
  80. }
  81. .is-hidden-desktop-only {
  82. @include desktop-only {
  83. display: none !important;
  84. }
  85. }
  86. .is-hidden-widescreen {
  87. @include widescreen {
  88. display: none !important;
  89. }
  90. }