summaryrefslogtreecommitdiffstats
path: root/src/rocksdb/docs/_sass/_slideshow.scss
blob: cd98a6cdbaf53a9d29d7d1a07595a3787e0d28be (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
.slideshow {
  position: relative;

  .slide {
    display: none;

    img {
      display: block;
      margin: 0 auto;
    }

    &.slideActive {
      display: block;
    }

    a {
      border: none;
      display: block;
    }
  }

  .pagination {
    display: block;
    margin: -10px;
    padding: 1em 0;
    text-align: center;
    width: 100%;

    .pager {
      background: transparent;
      border: 2px solid rgba(255, 255, 255, 0.5);
      border-radius: 50%;
      cursor: pointer;
      display: inline-block;
      height: 12px;
      margin: 10px;
      transition: background-color 0.3s, border-color 0.3s;
      width: 12px;

      &.pagerActive {
        background: rgba(255, 255, 255, 0.5);
        border-width: 4px;
        height: 8px;
        width: 8px;
      }
    }
  }
}