aboutsummaryrefslogtreecommitdiffstats
path: root/_sass/_special.scss
blob: c64627d53ac775221bde98ae6b1c53e1b3d560c5 (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
.page--calendar.page--calendar {
  width: 100%;
  padding-top: 10px;
  margin-left: 10px;
}
.calendar-item {
  @include breakpoint(0, tablet) {
    width: 46%;
    float: left;
    h2 {
      font-size: 1.1em;
    }
  }
  height: 120px;
  background-color: rgba(250, 250, 250, 0.9);
  margin: 5px;
  text-align: center;
  .calendar-item__cover {
    padding-top: 40px;
  }
  .calendar-item__inside {
    padding-top: 40px;
    display: none;
  }
}

a.released {
  &:nth-of-type(3n) {
    .calendar-item {
      background-color: #CAFFD0;
    }
  }
  &:nth-of-type(3n+1) {
    .calendar-item {
      background-color: #FFF07C;
    }
  }
  &:nth-of-type(3n+2) {
    .calendar-item {
      background-color: #48A9A6;
      color: $white-color;
    }
  }
  .calendar-item {
      &:hover {
        border: 2px solid $brand-color;
        .calendar-item__cover {
          display: none;
        }
        .calendar-item__inside {
          display: block;
        }
      }
  }
}

.teaser--wappu {
  background: url($baseurl + '/static/2017-wappu/korkkihommia.png') repeat-x;
  background-color: $white-color;
  text-align: center;
  padding-top: 180px;
  margin-bottom: $spacing-unit / 2;
  border-top: 5px solid;
  border-bottom: 5px solid;
  animation: border-color 5s infinite;
  -webkit-animation: border-color 5s infinite;
}

.wappu-link {
  @extend %no-link-style;
}

@keyframes bg-color
{
  0%   {background-color: red;}
  25%  {background-color: yellow;}
  50%  {background-color: blue;}
  75%  {background-color: green;}
  100% {background-color: red;}
}

@-webkit-keyframes bg-color
{
  0%   {background-color: red;}
  25%  {background-color: yellow;}
  50%  {background-color: blue;}
  75%  {background-color: green;}
  100% {background-color: red;}
}

@keyframes border-color
{
  0%   {border-color: red;}
  25%  {border-color: yellow;}
  50%  {border-color: blue;}
  75%  {border-color: green;}
  100% {border-color: red;}
}

@-webkit-keyframes border-color
{
  0%   {border-color: red;}
  25%  {border-color: yellow;}
  50%  {border-color: blue;}
  75%  {border-color: green;}
  100% {border-color: red;}
}