wiki.scss 2.18 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
.wiki-page-header {
9 10
  position: relative;

11 12 13 14 15
  .wiki-breadcrumb {
    border-bottom: 1px solid $white-normal;
    padding: 11px 0;
  }

16 17 18
  .wiki-page-title {
    margin: 0;
    font-size: 22px;
19 20
  }

21
  .wiki-last-edit-by {
22
    display: block;
23
    color: $gl-text-color-secondary;
24

25 26
    strong {
      color: $gl-text-color;
27 28 29
    }
  }

30
  .light {
31
    font-weight: $gl-font-weight-normal;
32
    color: $gl-text-color-secondary;
33
  }
34 35

  .git-clone-holder {
36 37 38 39
    .input-group-prepend,
    .input-group-append {
      background-color: transparent;
    }
40 41
  }

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

49 50
  &.has-sidebar-toggle .git-access-header {
    padding-right: $sidebar-toggle-width;
51 52
  }

Clement Ho's avatar
Clement Ho committed
53
  @include media-breakpoint-up(md) {
54 55 56
    &.has-sidebar-toggle {
      padding-right: 0;
    }
57 58 59

    button.sidebar-toggle {
      display: none;
60 61 62 63 64 65 66 67
    }
  }
}

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

  h3 {
Phil Hughes's avatar
Phil Hughes committed
68
    font-size: 19px;
69
    font-weight: $gl-font-weight-normal;
Phil Hughes's avatar
Phil Hughes committed
70
    margin: $gl-padding 0;
71 72 73
  }
}

74
.right-sidebar.wiki-sidebar {
75
  padding: 0;
76 77 78 79 80

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

81 82 83 84 85 86 87 88 89 90
  .sidebar-container {
    padding: $gl-padding 0;
    width: calc(100% + 100px);
    padding-right: 100px;
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

91 92 93 94 95 96 97 98 99
  .blocks-container {
    padding: 0 $gl-padding;
  }

  a {
    color: $layout-link-gray;

    &:hover,
    &.active {
100 101 102 103 104
      text-decoration: none;

      span {
        text-decoration: underline;
      }
105 106 107
    }
  }

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

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

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

123 124 125 126
  ul.wiki-pages ul {
    padding-left: 15px;
  }

127 128 129 130 131 132 133 134
  .wiki-sidebar-header {
    padding: 0 $gl-padding $gl-padding;

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

ul.wiki-pages-list.content-list {
137 138 139 140
  a {
    color: $blue-600;
  }

141
  ul {
142 143 144 145
    list-style: none;
    margin-left: 0;
    padding-left: 15px;

146 147 148
    li {
      padding: 5px 0;
    }
149 150
  }
}