36:c43e16e3c768
Anton Shestakov <av6@dwimlabs.net>, Mon, 13 Apr 2020 10:05:40 +0800
changeset: change margins on commit message so it fits the page better Previously, margins were used to visually separate commit message from author. Because of the left margin, it looked a bit out of place, so let's instead remove the left margin and increase the top one. This way it aligns better with surrounding blocks. Making commit message stand on its own on the page is now delegated to just monospace font. The difference with other blocks is not huge, but the whole theme is kinda minimalistic, so it should work.

next change 37:5f59998fb5eb
previous change 19:1d308b29151a

templates/static/style-kit.css

Permissions: -rw-r--r--

Other formats: Feeds:
canvas#graph {
position: absolute;
z-index: 5;
top: -10px;
margin: 0;
}
ul#graphnodes {
margin: 0;
}
ul#graphnodes li {
position: relative;
height: 37px;
overflow: visible;
padding-top: 2px;
}
ul#graphnodes li .fg {
position: absolute;
z-index: 10;
}
pre {
font-size: 13px;
}
.uk-container.uk-width-1-1 {
max-width: 100%;
}
.uk-badge {
font-weight: normal;
text-shadow: none;
}
.kit-monospace,
.kit-commit-message {
font: 13px/18px Consolas, monospace, serif;
}
.kit-border-collapse {
border-collapse: collapse;
}
.kit-white-space-normal {
white-space: normal;
}
.kit-item-icon {
margin-right: 5px;
}
.kit-badge-phase-draft {
background-color: #faa732;
}
.kit-badge-phase-secret {
background-color: #faa732;
}
.kit-badge-obsolete {
background-color: #a1a1a1;
}
.kit-badge-instability {
background-color: #da314b;
}
.kit-badge-branch-head,
.kit-badge-branch-open {
background-color: #00a8e6;
}
.kit-badge-branch-closed {
background-color: #777;
}
.kit-badge-branch,
.kit-badge-branch-inactive {
background-color: #fff;
color: #00a8e6;
border: 1px solid #00a8e6;
}
.kit-badge-tag {
background-color: #8cc14c;
}
.kit-badge-label,
.kit-badge-bookmark {
background-color: #c247ce;
}
.kit-commit-message,
.kit-file,
.kit-diff,
.kit-comparison,
.kit-annotate-line {
white-space: pre-wrap;
word-break: break-all;
word-wrap: break-word;
}
.kit-file div,
.kit-diff div,
.kit-comparison td,
.kit-annotate-line {
padding: 0 0 0 42px;
margin: 0;
}
.kit-file div:target,
.kit-diff div:target,
.kit-comparison tr:target,
.kit-annotate tr:target {
background: #eee;
}
.kit-annotate-panel {
position: absolute;
z-index: 1;
top: 0;
left: 100%;
}
.kit-this-rev {
background-color: #ecfdf0;
}
.kit-block-parity1 {
background-color: #f0f0f0;
}
a.kit-line-number {
display: inline-block;
text-align: right;
min-width: 42px;
margin-left: -42px;
text-decoration: none;
color: #929292;
white-space: normal;
}
a.kit-line-number::before {
content: attr(data-line-number);
padding-right: 10px;
}
.kit-diffstat-add,
.kit-diffstat-remove {
line-height: 14px;
}
.kit-diffstat-add {
background-color: #8cc14c;
}
.kit-diffstat-remove {
background-color: #da314b;
}
.kit-line-at {
color: #990099;
}
.kit-line-plus {
color: #008800;
}
.kit-line-minus {
color: #cc0000;
}
.kit-comparison + .kit-comparison tr:first-child td {
border-top: 1px solid #ddd;
}
.kit-comparison-insert {
background-color: #ecfdf0;
}
.kit-comparison-replace {
background-color: #f8eec7;
}
.kit-comparison-delete {
background-color: #fbe9eb;
}