aboutsummaryrefslogtreecommitdiffstats
path: root/scss/pysite/pages/wiki/_common.scss
blob: ac062b59db9312ef4f650e48377583c6c01f3c66 (plain) (blame)
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
@import "variables";

$quote_colour: #99AAB5;
$sidebar_button_border_colour: rgba(0, 0, 0, .11);

$page_classes: (
  blueprint-wiki,  // All wiki pages
);

@each $class in $page_classes {
  .#{$class} {
    .quote {
      border-left: 3px solid $primary_background;
      color: $quote_colour;
      margin-bottom: 1rem;
      padding-left: 20px;
    }

    #wiki-nav .uk-nav-divider {
      min-width: 8rem;
    }

    #wiki-sidebar {
      transition: width ease 1s;
    }

    #wiki-page {
      overflow-x: hidden;
    }

    #wiki-sidebar-button {
      align-items: center;
      border: 1px solid $sidebar_button_border_colour;
      color: $white;
      height: 3rem;
      justify-content: center;
      min-height: 3rem;
      min-width: 3rem;
      width: 3rem;
    }

    #doc-view {
      width: calc(100% - 6rem);
    }

    @media (max-width: 639px) {
      #doc-view {
        width: calc(100% - 1rem);
      }
    }

    .sidebar-search-input {
      border-left: 0;
      border-right: 0;
      margin-top: 5px;
      padding-right: 0;
    }

    .search-button {
      border: 0;
      width: 100%;
    }

    .content {
      flex-grow: 1;
      margin: 0 1rem 1rem;
    }

    .location-input {
      margin-left: 15px;
    }

    .preview-title {
      padding: 1rem 1rem .1rem;
    }
  }
}