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

69 lines
1 KiB
SCSS
Raw Normal View History

.documentation-index {
h1 {
2014-04-18 11:21:21 -04:00
margin: 0;
}
h2 {
font-size: 20px;
}
2014-04-18 11:21:21 -04:00
li {
line-height: 24px;
2016-11-30 08:25:25 -05:00
color: $document-index-color;
a {
margin-right: 3px;
}
2014-04-18 11:21:21 -04:00
}
}
2014-08-21 04:14:31 -04:00
.shortcut-mappings {
font-size: 12px;
2016-11-30 08:25:25 -05:00
color: $help-shortcut-mapping-color;
2014-08-21 04:14:31 -04:00
tbody:first-child tr:first-child {
padding-top: 0;
2014-08-21 04:14:31 -04:00
}
th {
padding-top: 15px;
line-height: 1.5;
2016-11-30 08:25:25 -05:00
color: $help-shortcut-header-color;
text-align: left;
2014-08-21 04:14:31 -04:00
}
td {
padding-top: 3px;
padding-bottom: 3px;
vertical-align: top;
line-height: 20px;
2014-08-21 04:14:31 -04:00
}
.shortcut {
padding-right: 10px;
2016-11-30 08:25:25 -05:00
color: $help-shortcut-color;
2014-08-21 04:14:31 -04:00
text-align: right;
white-space: nowrap;
2014-08-21 04:14:31 -04:00
}
.key {
@extend .label;
@extend .label-inverse;
font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
padding: 3px 5px;
}
}
.documentation {
padding: 7px;
// Border around images in the help pages.
img:not(.emoji) {
2016-12-12 17:26:21 -05:00
border: 1px solid $white-normal;
padding: 5px;
margin: 5px;
max-height: calc(100vh - 100px);
}
}