BigW Consortium Gitlab

wiki.scss 1.8 KB
Newer Older
1
.title .edit-wiki-header {
2 3 4 5 6
  width: 780px;
  margin-left: auto;
  margin-right: auto;
  padding-right: 7px;
}
7

8 9
.wiki-page-header {
  @extend .top-area;
10 11
  position: relative;

12 13 14
  .wiki-page-title {
    margin: 0;
    font-size: 22px;
15 16
  }

17
  .wiki-last-edit-by {
18
    color: $gl-text-color-secondary;
19

20 21
    strong {
      color: $gl-text-color;
22 23 24
    }
  }

25 26
  .light {
    font-weight: normal;
27
    color: $gl-text-color-secondary;
28
  }
29 30

  .git-access-header {
31
    padding: 16px 40px 11px 0;
32 33 34 35 36
    line-height: 28px;
    font-size: 18px;
  }

  .git-clone-holder {
37
    width: 100%;
38 39 40
    padding-bottom: 40px;
  }

41 42 43 44 45 46 47 48
  button.sidebar-toggle {
    position: absolute;
    right: 0;
    top: 11px;
    display: block;
  }

  @media (min-width: $screen-sm-min) {
49 50 51
    &.has-sidebar-toggle {
      padding-right: 40px;
    }
52

53
    .git-clone-holder {
54 55
      width: 480px;
    }
56 57 58 59 60 61

    .nav-controls {
      width: auto;
      min-width: 50%;
      white-space: nowrap;
    }
62 63 64
  }

  @media (min-width: $screen-md-min) {
65 66 67
    &.has-sidebar-toggle {
      padding-right: 0;
    }
68 69 70

    button.sidebar-toggle {
      display: none;
71 72 73 74 75 76 77 78 79 80 81 82 83 84
    }
  }
}

.wiki-git-access {
  margin: $gl-padding 0;

  h3 {
    font-size: 22px;
    font-weight: normal;
    margin-top: 1.4em;
  }
}

85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
.right-sidebar.wiki-sidebar {
  padding: $gl-padding 0;

  &.right-sidebar-collapsed {
    display: none;
  }

  .blocks-container {
    padding: 0 $gl-padding;
  }

  .block {
    width: 100%;
  }

  a {
    color: $layout-link-gray;

    &:hover,
    &.active {
      color: $black;
    }
  }

109 110 111 112
  .active > a {
    color: $black;
  }

113 114 115 116 117 118 119
  ul.wiki-pages,
  ul.wiki-pages li {
    list-style: none;
    padding: 0;
    margin: 0;
  }

120 121 122 123
  ul.wiki-pages li {
    margin: 5px 0 10px;
  }

124 125 126 127 128 129 130 131
  .wiki-sidebar-header {
    padding: 0 $gl-padding $gl-padding;

    .gutter-toggle {
      margin-top: 0;
    }
  }
}