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

5 6 7 8 9 10 11
.mediakit {
  @include box-sizing(border-box);
  margin: 0 auto;
  padding: ($baseline*3) 0;
  width: 980px;

  .wrapper-mediakit {
12
    border-radius: 4px;
13
    @include box-sizing(border-box);
14
    box-shadow: 0 1px 10px 0 rgba(0,0,0, 0.1);
15 16 17 18 19 20 21 22 23 24 25 26
    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 {
27

28 29 30 31 32 33
      }
    }
  }

  h1 {
    margin: 0 0 $baseline 0;
34
    position: relative;
35 36
    font-size: 36px;
  }
37

38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
  hr {
    @extend .faded-hr-divider-light;
    border: none;
    margin: 0px;
    position: relative;
    z-index: 2;

    &::after {
      @extend .faded-hr-divider;
      bottom: 0px;
      content: "";
      display: block;
      position: absolute;
      top: -1px;
    }
  }

  // general
  a.action-download {
    position: relative;
    color: $blue;
    font-family: $sans-serif;
    text-decoration: none;
61
    @include transition(all 0.1s linear 0s);
62

63 64 65 66 67 68
    .note {
      position: relative;
      color: $blue;
      font-family: $sans-serif;
      font-size: 13px;
      text-decoration: none;
69
      @include transition(all 0.1s linear 0s);
70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104

      &:before {
        position: relative;
        top: -1px;
        margin: 0 5px 0 0;
        content: "➤";
        font-size: 11px;
      }
    }

    &:hover {

      .note {
        color: shade($blue, 25%);
      }
    }
  }

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

    header {
      margin: 0 0 ($baseline*1.5) 0;

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

        .org-name {
          color: rgb(178, 181, 185);
          font-family: $serif;
          text-transform: none;
        }
105 106 107
      }
    }

108
    article {
109
      @include box-sizing(border-box);
110 111
      width: 500px;
      margin-right: $baseline;
112
      float: left;
113
    }
114

115
    aside {
116
      border-radius: 2px;
117
      @include box-sizing(border-box);
118
      box-shadow: 0 1px 4px 0 rgba(0,0,0, 0.2);
119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144
      width: 330px;
      float: left;
      border: 3px solid tint(rgb(96, 155, 216), 35%);
      background: tint(rgb(96, 155, 216), 35%);

      h3 {
        padding: ($baseline/2) ($baseline*0.75);
        font-family: $sans-serif;
        font-weight: bold;
        font-size: 16px;
        letter-spacing: 0;
        color: $white;
        text-transform: uppercase;

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

      a.action-download {

        .note {
          width: 100%;
          display: inline-block;
145
          text-align: center;
146
        }
147 148
      }

149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167
      figure {
        @include box-sizing(border-box);
        background: $white;
        width: 100%;

        figcaption {
          display: none;
        }

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

        img {
          display: block;
          margin: 0 auto;
          width: 60%;
        }
168 169 170 171
      }
    }
  }

172 173
  // library section
  .library {
174
    border-radius: 2px;
175
    @include box-sizing(border-box);
176
    box-shadow: 0 1px 4px 0 rgba(0,0,0, 0.2);
177 178 179
    border: 3px solid tint($light-gray,50%);
    padding: 0;
    background: tint($light-gray,50%);
180

181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198
    header {
      padding: ($baseline*0.75) $baseline;

      h2 {
        margin: 0;
        padding: 0;
        color: $dark-gray;
        font-size: 16px;
        font-family: $sans-serif;
        font-weight: bold;
        letter-spacing: 0;

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

201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219
    .listing {
      @include clearfix();
      background: $white;
      margin: 0;
      padding: ($baseline*2);
      list-style: none;

      li {
        @include box-sizing(border-box);
        overflow-y: auto;
        float: left;
        width: 350px;
        margin: 0 0 $baseline 0;

        &:nth-child(odd) {
          margin-right: ($baseline*3.5);
        }
      }

220 221
      figure {

222
        a {
223
          border-radius: 2px;
224
          @include box-sizing(border-box);
225
          box-shadow: 0 1px 2px 0 rgba(0,0,0, 0.1);
226
          display: block;
227
          min-height: 380px;
228 229 230 231 232 233 234
          border: 2px solid tint($light-gray,75%);
          padding: $baseline;

          &:hover {
            border-color: $blue;
          }
        }
235 236

        img {
237 238 239
          display: block;
          border: 2px solid tint($light-gray,80%);
          margin: 0 auto ($baseline*0.75) auto;
240 241 242
        }

        figcaption {
243 244 245 246 247 248 249 250
          font-size: 13px;
          line-height: 18px;
          color: $text-color;
        }

        .note {
          display: inline-block;
          margin-top: ($baseline/2);
251 252 253 254
        }
      }
    }
  }
255 256 257 258 259

  // share
  .share {

  }
260
}