_base.scss 3.31 KB
Newer Older
Matthew Mongeau committed
1
html, body {
2
  background: rgb(250,250,250);
3 4
  font-family: $sans-serif;
  font-size: 1em;
5
  font-style: normal;
6
  line-height: 1em;
7
  //-webkit-font-smoothing: antialiased;
Matthew Mongeau committed
8 9 10 11
}

h1, h2, h3, h4, h5, h6 {
  color: $base-font-color;
12
  font: normal 1.2em/1.2em $serif;
Matthew Mongeau committed
13 14 15
  margin: 0px;
}

16
h1 {
17
  color: $base-font-color;
18
  font: normal 2em/1.4em $sans-serif;
19
  letter-spacing: 1px;
20
  margin-bottom: 30px;
21
  text-align: center;
22
  //text-transform: uppercase;
23 24 25 26
}

h2 {
  color: $lighter-base-font-color;
27
  font: normal 1.2em/1.2em $serif;
28
  letter-spacing: 1px;
29 30
  margin-bottom: 15px;
  text-transform: uppercase;
31
  -webkit-font-smoothing: antialiased;
32 33
}

34 35 36 37
p + h2, ul + h2, ol + h2 {
  margin-top: 40px;
}

Matthew Mongeau committed
38 39
p {
  color: $base-font-color;
40
  font: normal 1em/1.6em $serif;
Matthew Mongeau committed
41 42 43
  margin: 0px;
}

44 45
span {
  font: normal 1em/1.6em $sans-serif;
46
  color: $base-font-color;
47
}
48

49 50 51 52
/* Fix for CodeMirror: prevent top-level span from affecting deeply-embedded span in CodeMirror */
.CodeMirror span {
  font: inherit;
}
53

54
p + p, ul + p, ol + p {
Matthew Mongeau committed
55 56 57
  margin-top: 20px;
}

58 59 60
p {
  a:link, a:visited {
    color: $blue;
61
    font: normal 1em/1em $serif;
62 63 64 65 66 67 68 69 70 71
    text-decoration: none;
    @include transition(all, 0.1s, linear);

    &:hover {
      color: $blue;
      text-decoration: underline;
    }
  }
}

Matthew Mongeau committed
72 73
a:link, a:visited {
  color: $blue;
74
  font: normal 1em/1em $sans-serif;
Matthew Mongeau committed
75
  text-decoration: none;
76
  @include transition(all, 0.1s, linear);
Matthew Mongeau committed
77 78

  &:hover {
79
    text-decoration: underline;
Matthew Mongeau committed
80 81 82
  }
}

83
.content-wrapper {
84
  background: rgb(255,255,255);
85 86 87 88
  margin: 0 auto 0;
  width: flex-grid(12);
}

Matthew Mongeau committed
89 90 91
.container {
  @include clearfix;
  margin: 0 auto 0;
92
  padding: 0px 30px;
93
  max-width: grid-width(12);
94
  min-width: 760px;
Matthew Mongeau committed
95
}
96

97 98 99 100 101
span.edx {
  text-transform: none;
  font: inherit;
}

102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118
.static-container {
  @include clearfix;
  margin: 0 auto 0;
  max-width: 1200px;
  padding: 60px 0px 120px;
  width: flex-grid(12);

  .inner-wrapper {
    margin: 0 auto 0;
    width: flex-grid(10);
  }

  ol, ul {
    list-style: disc;

    li {
      color: $base-font-color;
119
      font: normal 1em/1.4em $serif;
120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139
      margin: 0px;
    }
  }

  h1 {
    margin-bottom: 30px;
  }

  h1 + hr {
    margin-bottom: 60px;
  }

  p + h2, ul + h2, ol + h2 {
    margin-top: 40px;
  }

  ul + p, ol + p {
    margin-top: 20px;
  }
}
Tom Giannattasio committed
140 141

.loading-animation {
142 143
  position: absolute;
  left: 50%;
Tom Giannattasio committed
144 145
  width: 20px;
  height: 20px;
146
  margin-left: -10px;
Tom Giannattasio committed
147 148 149
  background: url(../images/spinner.gif) no-repeat;
}

Tom Giannattasio committed
150 151 152 153 154 155 156
mark {
  padding: 0 3px;
  border-radius: 2px;
  background-color: #f7e9a8;
  color: #333;
}

157 158 159
.site-status {
  display: none;
  padding: 10px;
Tom Giannattasio committed
160 161
  @include linear-gradient(top, rgba(0, 0, 0, .1), rgba(0, 0, 0, .0));
  background-color: $pink;
162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186
  box-shadow: 0 -1px 0 rgba(0, 0, 0, .3) inset;
  font-size: 14px;

  .white-error-icon {
    position: relative;
    top: -4px;
    float: left;
    display: block;
    width: 27px;
    height: 24px;
    margin-right: 15px;
    background: url(../images/large-white-error-icon.png) no-repeat;
  }

  .inner-wrapper {
    margin: auto;
    max-width: 1180px;
    min-width: 760px;
  }

  p {
    line-height: 1.3;
    color: #fff;
  }
}
Tom Giannattasio committed
187

188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204
.ie-banner {
  display: none;
  max-width: 1140px;
  min-width: 720px;
  margin: auto;
  @include border-radius(0 0 3px 3px);
  background: #f4f4e0;
  color: #3c3c3c;
  padding: 5px 20px 8px;
  font-size: 13px;
  text-align: center;

  strong {
    font-weight: 700;
  }
}

Tom Giannattasio committed
205 206