gitlab-org--gitlab-foss/app/assets/stylesheets/pages/wiki.scss

132 lines
1.8 KiB
SCSS
Raw Normal View History

.title .edit-wiki-header {
width: 780px;
margin-left: auto;
margin-right: auto;
padding-right: 7px;
}
2016-11-15 09:17:44 +00:00
.wiki-page-header {
@extend .top-area;
position: relative;
2016-11-15 09:17:44 +00:00
.wiki-page-title {
margin: 0;
font-size: 22px;
}
2016-11-15 09:17:44 +00:00
.wiki-last-edit-by {
color: $gl-gray-light;
2016-11-15 09:17:44 +00:00
strong {
color: $gl-text-color;
}
}
2016-11-15 09:17:44 +00:00
.light {
font-weight: normal;
color: $gl-gray-light;
}
2016-11-15 07:45:03 +00:00
.git-access-header {
padding: 16px 40px 11px 0;
2016-11-15 07:45:03 +00:00
line-height: 28px;
font-size: 18px;
}
.git-clone-holder {
2016-11-15 09:17:44 +00:00
width: 100%;
2016-11-15 07:45:03 +00:00
padding-bottom: 40px;
}
2016-11-15 09:17:44 +00:00
button.sidebar-toggle {
position: absolute;
right: 0;
top: 11px;
display: block;
}
@media (min-width: $screen-sm-min) {
&.has-sidebar-toggle {
padding-right: 40px;
}
2016-11-15 09:17:44 +00:00
2016-11-15 07:45:03 +00:00
.git-clone-holder {
2016-11-15 09:17:44 +00:00
width: 480px;
}
.nav-controls {
width: auto;
min-width: 50%;
white-space: nowrap;
}
2016-11-15 09:17:44 +00:00
}
@media (min-width: $screen-md-min) {
&.has-sidebar-toggle {
padding-right: 0;
}
2016-11-15 09:17:44 +00:00
button.sidebar-toggle {
display: none;
2016-11-15 07:45:03 +00:00
}
}
}
.wiki-git-access {
margin: $gl-padding 0;
h3 {
font-size: 22px;
font-weight: normal;
margin-top: 1.4em;
}
}
.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;
}
}
2016-11-15 07:44:43 +00:00
.active > a {
color: $black;
}
ul.wiki-pages,
ul.wiki-pages li {
list-style: none;
padding: 0;
margin: 0;
}
2016-11-15 07:44:43 +00:00
ul.wiki-pages li {
margin: 5px 0 10px;
}
.wiki-sidebar-header {
padding: 0 $gl-padding $gl-padding;
.gutter-toggle {
margin-top: 0;
}
}
}