base.scss 1.6 KB
Newer Older
1 2 3
html {
  box-sizing: border-box;
  font-family: $core-font-standard;
4
  height: 100%;
5 6 7 8 9 10 11 12 13
}
*, *:before, *:after {
  box-sizing: inherit;
}

[v-cloak], .is-hidden {
  display: none;
}

14 15 16 17 18 19
#root {
  padding-bottom: 67px;
  position: relative;
  min-height: 100%;
}

20
body {
21 22
	background-color: lighten(mc('blue-grey','50'), 5%);
  height: 100%;
23 24 25
}

main {
26
	background-color: lighten(mc('blue-grey','50'), 5%);
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
}

a {
	color: mc('indigo', '600');
	text-decoration: none;

	&:hover {
		color: mc('indigo', '700');
		text-decoration: underline;
	}
}

// Container

.has-stickynav {
	padding-top: 50px;
}

.container {
  position: relative;

  @include desktop {
    margin: 0 auto;
    max-width: 960px;

    // Modifiers
    &.is-fluid {
      margin: 0;
      max-width: none;
    }
  }


  @include widescreen {
    max-width: 1200px;
  }
}

.content {
	padding: 20px;
}

// Visibility

.is-hidden {
  display: none !important;
}

75 76 77 78 79 80 81 82 83
.is-hidden-until-scroll {
  max-height: 0;
  overflow: hidden;
  transition: all .6s ease;
}
.is-sticky .is-hidden-until-scroll {
  max-height: 30px;
}

84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124
.is-hidden-mobile {
  @include mobile {
    display: none !important;
  }
}

.is-hidden-tablet {
  @include tablet {
    display: none !important;
  }
}

.is-hidden-tablet-only {
  @include tablet-only {
    display: none !important;
  }
}

.is-hidden-touch {
  @include touch {
    display: none !important;
  }
}

.is-hidden-desktop {
  @include desktop {
    display: none !important;
  }
}

.is-hidden-desktop-only {
  @include desktop-only {
    display: none !important;
  }
}

.is-hidden-widescreen {
  @include widescreen {
    display: none !important;
  }
}