design fix, refactoring

This commit is contained in:
Devaev Maxim
2018-11-22 06:22:48 +03:00
parent a4357162f4
commit d3073b9d7e
9 changed files with 47 additions and 27 deletions

View File

@@ -22,17 +22,34 @@ hr {
}
p.text {
display: table-cell;
text-align: justify;
}
p:not(:first-child).text {
margin-top: 0;
}
p:last-child.text {
margin-bottom: 0;
}
pre.code {
div.code {
white-space: nowrap;
overflow-x: auto;
font-family: monospace;
border-radius: 4px;
color: var(--fg-color-dark);
background-color: var(--bg-color-dark);
padding: 10px;
}
pre.code span.code-comment {
div.code::-webkit-scrollbar {
width: 8px;
height: 8px;
}
div.code::-webkit-scrollbar-thumb {
border-radius: 4px;
background: var(--fg-color-inactive);
}
div.code span.code-comment {
color: var(--fg-color-inactive);
}