_media-kit.scss 4.93 KB
Newer Older
1 2
// vars
$baseline: 20px;
3
$white: rgb(255, 255, 255);
4

5 6
.mediakit {
  @include box-sizing(border-box);
7

8 9 10 11 12
  margin: 0 auto;
  padding: ($baseline*3) 0;
  width: 980px;

  .wrapper-mediakit {
13
    border-radius: 4px;
14

15
    @include box-sizing(border-box);
16

17
    box-shadow: 0 1px 10px 0 $shadow-l1;
18 19 20 21 22 23 24 25 26 27 28 29
    margin: ($baseline*3) 0 0 0;
    border: 1px solid $border-color;
    padding: ($baseline*2) ($baseline*3);

    > section {
      margin: 0 0 ($baseline*2) 0;

      &:last-child {
        margin-bottom: 0;
      }

      header {
30

31 32 33 34 35 36
      }
    }
  }

  h1 {
    margin: 0 0 $baseline 0;
37
    position: relative;
38 39
    font-size: 36px;
  }
40

41
  hr {
42
    @extend %faded-hr-divider-light;
43

44
    border: none;
45
    margin: 0;
46 47 48 49
    position: relative;
    z-index: 2;

    &::after {
50
      @extend %faded-hr-divider;
51 52

      bottom: 0;
53 54 55 56 57 58 59 60 61 62 63
      content: "";
      display: block;
      position: absolute;
      top: -1px;
    }
  }

  // general
  a.action-download {
    position: relative;
    color: $blue;
64
    font-family: $font-family-sans-serif;
65
    text-decoration: none;
66

67
    @include transition(all 0.1s linear 0s);
68

69 70 71
    .note {
      position: relative;
      color: $blue;
72
      font-family: $font-family-sans-serif;
73 74
      font-size: 13px;
      text-decoration: none;
75

76
      @include transition(all 0.1s linear 0s);
77

78
      &::before {
79 80
        position: relative;
        top: -1px;
81

82
        @include margin(0, 5px, 0, 0);
83

84 85 86 87 88
        content: "➤";
        font-size: 11px;
      }
    }

89
    &:hover, &:focus {
90 91 92 93 94 95 96 97 98 99 100
      .note {
        color: shade($blue, 25%);
      }
    }
  }

  // introduction section
  .introduction {
    @include clearfix();

    header {
101
      @include margin(0, 0, ($baseline*1.5), 0);
102 103 104 105 106 107 108 109 110 111 112

      h2 {
        margin: 0;
        color: rgb(178, 181, 185);
        font-size: 32px;

        .org-name {
          color: rgb(178, 181, 185);
          font-family: $serif;
          text-transform: none;
        }
113 114 115
      }
    }

116
    article {
117
      @include box-sizing(border-box);
118

119
      width: 500px;
120

121 122
      @include margin-right($baseline);
      @include float(left);
123
    }
124

125
    aside {
126
      border-radius: 2px;
127

128
      @include box-sizing(border-box);
129

130
      box-shadow: 0 1px 4px 0 $shadow;
131
      width: 330px;
132

133
      @include float(left);
134

135 136 137 138 139
      border: 3px solid tint(rgb(96, 155, 216), 35%);
      background: tint(rgb(96, 155, 216), 35%);

      h3 {
        padding: ($baseline/2) ($baseline*0.75);
140
        font-family: $font-family-sans-serif;
141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156
        font-weight: bold;
        font-size: 16px;
        letter-spacing: 0;
        color: $white;

        .org-name {
          color: $white !important;
          font-weight: bold;
          text-transform: none;
        }
      }

      a.action-download {
        .note {
          width: 100%;
          display: inline-block;
157
          text-align: center;
158
        }
159 160
      }

161 162
      figure {
        @include box-sizing(border-box);
163

164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180
        background: $white;
        width: 100%;

        figcaption {
          display: none;
        }

        a {
          display: block;
          padding: ($baseline/2);
        }

        img {
          display: block;
          margin: 0 auto;
          width: 60%;
        }
181 182 183 184
      }
    }
  }

185 186
  // library section
  .library {
187
    border-radius: 2px;
188

189
    @include box-sizing(border-box);
190

191
    box-shadow: 0 1px 4px 0 $shadow;
192 193 194
    border: 3px solid tint($light-gray,50%);
    padding: 0;
    background: tint($light-gray,50%);
195

196 197 198 199 200 201 202 203
    header {
      padding: ($baseline*0.75) $baseline;

      h2 {
        margin: 0;
        padding: 0;
        color: $dark-gray;
        font-size: 16px;
204
        font-family: $font-family-sans-serif;
205 206 207 208 209 210 211 212 213
        font-weight: bold;
        letter-spacing: 0;

        .org-name {
          color: $dark-gray !important;
          font-weight: bold;
          text-transform: none;
        }
      }
214 215
    }

216 217
    .listing {
      @include clearfix();
218

219 220 221 222 223 224 225
      background: $white;
      margin: 0;
      padding: ($baseline*2);
      list-style: none;

      li {
        @include box-sizing(border-box);
226

227
        overflow-y: auto;
228

229
        @include float(left);
230

231
        width: 350px;
232

233
        @include margin(0, 0, $baseline, 0);
234 235

        &:nth-child(odd) {
236
          @include margin-right($baseline*3.5);
237 238 239
        }
      }

240
      figure {
241
        a {
242
          border-radius: 2px;
243

244
          @include box-sizing(border-box);
245

246
          box-shadow: 0 1px 2px 0 $shadow-l1;
247
          display: block;
248
          min-height: 380px;
249 250 251
          border: 2px solid tint($light-gray,75%);
          padding: $baseline;

252
          &:hover, &:focus {
253 254 255
            border-color: $blue;
          }
        }
256 257

        img {
258 259
          display: block;
          border: 2px solid tint($light-gray,80%);
260
          margin: 0 auto ($baseline*0.75);
261 262 263
        }

        figcaption {
264 265 266 267 268 269 270 271
          font-size: 13px;
          line-height: 18px;
          color: $text-color;
        }

        .note {
          display: inline-block;
          margin-top: ($baseline/2);
272 273 274 275
        }
      }
    }
  }
276 277 278 279 280

  // share
  .share {

  }
281
}