summaryrefslogtreecommitdiff
path: root/sass/demo.scss
blob: e2e345ab2315aea6ca5fdd7a861d5e2509c7bdb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#container {
  margin: 50px auto 100px;
  padding: 0 20px;
  text-align: center;
  width: 700px;

  img {
    border: .625em solid rgba(255, 255, 255, .5);
    // border-color: #eee;

    -moz-box-shadow: 0 0 .313em rgba(0, 0, 0, .05);
    -webkit-box-shadow: 0 0 .313em rgba(0, 0, 0, .05);
    box-shadow: 0 0 .313em rgba(0, 0, 0, .05);
    height: 8.75em;

    -moz-transition: -moz-box-shadow .3s ease, border-color .3s ease;
    -ms-transition: -ms-box-shadow .3s ease, border-color .3s ease;
    -o-transition: -o-box-shadow .3s ease, border-color .3s ease;
    -webkit-transition: -webkit-box-shadow .3s ease, border-color .3s ease;
    transition: box-shadow .3s ease, border-color .3s ease;
    width: 8.75em;

    &:hover {
      border-color: #fff;

      -moz-box-shadow: 0 0 .938em rgba(0, 0, 0, .25);
      -webkit-box-shadow: 0 0 .938em rgba(0, 0, 0, .25);
      box-shadow: 0 0 .938em rgba(0, 0, 0, .25);
    }
  }
}

h1 {
  font-size: 37px;
  line-height: .882em;
  text-transform: uppercase;

  span {
    color: #aaa;
    display: block;
    font-size: .588em;
    line-height: 1em;
  }

  &:hover {
    color: #666;

    span {
      color: #666;
    }
  }
}

h2 {
  border-top: 1px solid #ddd;
  margin-bottom: 15px;
  margin-top: 45px;
  padding-top: 45px;

  span {
    color: #666;
  }
}

li {
  display: inline-block;
  margin: .625em;
}

footer {
  border-top: 1px solid #ddd;
  color: #aaa;
  font-size: .875em;
  margin-top: 2.143em;
  padding-top: 2.143em;

  a {
    color: #666;
  }
}


#fork-button {
  display: none;
}

@media only screen and (max-width: 660px) {
  #container {
    width: 90%;

    &:before,
    &:after {
      content: ' ';
      display: table;
    }
  }

  #fork-ribbon {
    display: none;
  }

  #fork-button {
    display: inline-block;
  }

  h1 {
    margin-bottom: 5px;
  }

  h2:first-of-type {
    margin-top: 30px;
  }
}

ul {
  padding: 0;
}