forked from mirrors/hugo-theme-terminal
Make the font a little more dense
This commit is contained in:
@ -14,6 +14,7 @@ body {
|
|||||||
font-family: 'Fira Code', Monaco, Consolas, Ubuntu Mono, monospace;
|
font-family: 'Fira Code', Monaco, Consolas, Ubuntu Mono, monospace;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
line-height: 1.54;
|
line-height: 1.54;
|
||||||
|
letter-spacing: -0.02em;
|
||||||
background-color: color-mod(var(--accent) blend(#1D1E28 98%));
|
background-color: color-mod(var(--accent) blend(#1D1E28 98%));
|
||||||
color: var(--color);
|
color: var(--color);
|
||||||
text-rendering: optimizeLegibility;
|
text-rendering: optimizeLegibility;
|
||||||
@ -28,7 +29,12 @@ body {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6 {
|
h1,
|
||||||
|
h2,
|
||||||
|
h3,
|
||||||
|
h4,
|
||||||
|
h5,
|
||||||
|
h6 {
|
||||||
line-height: 1.3;
|
line-height: 1.3;
|
||||||
|
|
||||||
&:not(first-child) {
|
&:not(first-child) {
|
||||||
@ -36,11 +42,15 @@ h1, h2, h3, h4, h5, h6 {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, h2, h3 {
|
h1,
|
||||||
|
h2,
|
||||||
|
h3 {
|
||||||
font-size: 1.4rem;
|
font-size: 1.4rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
h4, h5, h6 {
|
h4,
|
||||||
|
h5,
|
||||||
|
h6 {
|
||||||
font-size: 1.2rem;
|
font-size: 1.2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -195,7 +205,9 @@ table {
|
|||||||
margin: 40px 0;
|
margin: 40px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
table, th, td {
|
table,
|
||||||
|
th,
|
||||||
|
td {
|
||||||
border: 1px dashed var(--accent);
|
border: 1px dashed var(--accent);
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
@ -204,7 +216,8 @@ th {
|
|||||||
color: var(--accent);
|
color: var(--accent);
|
||||||
}
|
}
|
||||||
|
|
||||||
ul, ol {
|
ul,
|
||||||
|
ol {
|
||||||
margin-left: 30px;
|
margin-left: 30px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
||||||
@ -216,7 +229,8 @@ ul, ol {
|
|||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul, ol {
|
ul,
|
||||||
|
ol {
|
||||||
margin-top: 20px;
|
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
Reference in New Issue
Block a user