BigW Consortium Gitlab

wiki.scss 1.44 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 10 11 12 13 14 15 16 17 18 19 20 21 22

.top-area {
  position: relative;

  button.sidebar-toggle {
    position: absolute;
    right: 0;
    top: 11px;
    display: block;
  }

  @media (min-width: $screen-sm-min) {
    padding-right: 40px;
  }

  @media (min-width: $screen-md-min) {
23
    padding-right: 0;
24 25 26 27 28 29 30

    button.sidebar-toggle {
      display: none;
    }
  }
}

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
.wiki-page-header {
  @extend .top-area;

  .git-access-header {
    padding: 16px 0 11px;
    line-height: 28px;
    font-size: 18px;
  }

  .git-clone-holder {
    width: 480px;
    padding-bottom: 40px;
  }

  @media (max-width: $screen-xs-max) {
    .git-clone-holder {
      width: 100%;
    }
  }
}

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

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

62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
.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;
    }
  }

86 87 88 89
  .active > a {
    color: $black;
  }

90 91 92 93 94 95 96
  ul.wiki-pages,
  ul.wiki-pages li {
    list-style: none;
    padding: 0;
    margin: 0;
  }

97 98 99 100
  ul.wiki-pages li {
    margin: 5px 0 10px;
  }

101 102 103 104 105 106 107 108
  .wiki-sidebar-header {
    padding: 0 $gl-padding $gl-padding;

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