Make the font a little more dense

This commit is contained in:
panr 2019-08-25 10:08:21 +02:00
parent 060587ba38
commit fbcf98ae95
6 changed files with 26 additions and 12 deletions

View File

@ -14,6 +14,7 @@ body {
font-family: 'Fira Code', Monaco, Consolas, Ubuntu Mono, monospace;
font-size: 1rem;
line-height: 1.54;
letter-spacing: -0.02em;
background-color: color-mod(var(--accent) blend(#1D1E28 98%));
color: var(--color);
text-rendering: optimizeLegibility;
@ -28,7 +29,12 @@ body {
}
}
h1, h2, h3, h4, h5, h6 {
h1,
h2,
h3,
h4,
h5,
h6 {
line-height: 1.3;
&:not(first-child) {
@ -36,11 +42,15 @@ h1, h2, h3, h4, h5, h6 {
}
}
h1, h2, h3 {
h1,
h2,
h3 {
font-size: 1.4rem;
}
h4, h5, h6 {
h4,
h5,
h6 {
font-size: 1.2rem;
}
@ -127,7 +137,7 @@ pre {
font-size: .95rem;
overflow: auto;
border-top: 1px solid rgba(255, 255, 255, .1);
border-bottom: 1px solid rgba(255, 255, 255, .1);
border-bottom: 1px solid rgba(255, 255, 255, .1);
+ pre {
border-top: 0;
@ -195,7 +205,9 @@ table {
margin: 40px 0;
}
table, th, td {
table,
th,
td {
border: 1px dashed var(--accent);
padding: 10px;
}
@ -204,7 +216,8 @@ th {
color: var(--accent);
}
ul, ol {
ul,
ol {
margin-left: 30px;
padding: 0;
@ -216,7 +229,8 @@ ul, ol {
margin-left: 20px;
}
ul, ol {
ul,
ol {
margin-top: 20px;
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long