summaryrefslogtreecommitdiffstats
path: root/docs/_static/css/ribbon.css
blob: ec55dc7b602b2c70f352ad11db54244b4635dd18 (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
.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;
}


/* override table width restrictions */
@media screen and (min-width: 767px) {

   .wy-table-responsive table td, .wy-table-responsive table th {
      /* !important prevents the common CSS stylesheets from overriding
         this as on RTD they are loaded after this stylesheet */
      white-space: normal !important;
   }

   .wy-table-responsive {
      overflow: visible !important;
   }
}

@media screen and (max-width: 767px) {
    .wy-table-responsive table td {
        white-space: nowrap;
    }
}

/* fix width of the screen */

.wy-nav-content {
    max-width: 800px;
}