summaryrefslogtreecommitdiffstats
path: root/docs/_static/css/ribbon.css
blob: b378f432d8aced064039bedde9ffa0bf1ac38b81 (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
.ribbon {
  z-index: 1000;
  background-color: #a00;
  overflow: hidden;
  white-space: nowrap;
  position: fixed;
  top: 25px;
  right: -50px;
  -webkit-transform: rotate(45deg);
     -moz-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
       -o-transform: rotate(45deg);
          transform: rotate(45deg);
  -webkit-box-shadow: 0 0 10px #888;
     -moz-box-shadow: 0 0 10px #888;
          box-shadow: 0 0 10px #888;

}

.ribbon a {
  border: 1px solid #faa;
  color: #fff;
  display: block;
  font: bold 81.25% 'Helvetica Neue', Helvetica, Arial, sans-serif;
  margin: 1px 0;
  padding: 10px 50px;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 0 5px #444;
  transition: 0.5s;
}

.ribbon a:hover {
  background: #c11;
  color: #fff;
}