BigW Consortium Gitlab

wiki.scss 2.25 KB
Newer Older
1 2 3 4 5 6 7 8
.new-wiki-page {
  .new-wiki-page-slug-tip {
    display: inline-block;
    max-width: 100%;
    margin-top: 5px;
  }
}

9
.title .edit-wiki-header {
10 11 12 13 14
  width: 780px;
  margin-left: auto;
  margin-right: auto;
  padding-right: 7px;
}
15

16 17
.wiki-page-header {
  @extend .top-area;
18 19
  position: relative;

20 21 22 23 24
  .wiki-breadcrumb {
    border-bottom: 1px solid $white-normal;
    padding: 11px 0;
  }

25 26 27
  .wiki-page-title {
    margin: 0;
    font-size: 22px;
28 29
  }

30
  .wiki-last-edit-by {
31
    display: block;
32
    color: $gl-text-color-secondary;
33

34 35
    strong {
      color: $gl-text-color;
36 37 38
    }
  }

39 40
  .light {
    font-weight: normal;
41
    color: $gl-text-color-secondary;
42
  }
43 44

  .git-access-header {
45
    padding: 16px 40px 11px 0;
46 47 48 49 50
    line-height: 28px;
    font-size: 18px;
  }

  .git-clone-holder {
51
    width: 100%;
52 53 54
    padding-bottom: 40px;
  }

55 56 57 58 59 60 61 62
  button.sidebar-toggle {
    position: absolute;
    right: 0;
    top: 11px;
    display: block;
  }

  @media (min-width: $screen-sm-min) {
63 64 65
    &.has-sidebar-toggle {
      padding-right: 40px;
    }
66

67
    .git-clone-holder {
68 69
      width: 480px;
    }
70 71 72 73 74

    .nav-controls {
      width: auto;
      min-width: 50%;
    }
75 76 77
  }

  @media (min-width: $screen-md-min) {
78 79 80
    &.has-sidebar-toggle {
      padding-right: 0;
    }
81 82 83

    button.sidebar-toggle {
      display: none;
84 85 86 87 88 89 90 91 92 93 94 95 96 97
    }
  }
}

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

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

98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121
.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;
    }
  }

122 123 124 125
  .active > a {
    color: $black;
  }

126 127 128 129 130 131 132
  ul.wiki-pages,
  ul.wiki-pages li {
    list-style: none;
    padding: 0;
    margin: 0;
  }

133 134 135 136
  ul.wiki-pages li {
    margin: 5px 0 10px;
  }

137 138 139 140
  ul.wiki-pages ul {
    padding-left: 15px;
  }

141 142 143 144 145 146 147 148
  .wiki-sidebar-header {
    padding: 0 $gl-padding $gl-padding;

    .gutter-toggle {
      margin-top: 0;
    }
  }
}
149 150 151 152 153 154 155 156 157 158 159 160

ul.wiki-pages-list.content-list {
  & ul {
    list-style: none;
    margin-left: 0;
    padding-left: 15px;
  }

  & ul li {
    padding: 5px 0;
  }
}
161 162 163 164 165 166

.wiki {
  table {
    @include markdown-table;
  }
}