Skip to content

Commit

Permalink
Feat: Add default font
Browse files Browse the repository at this point in the history
  • Loading branch information
sandypockets committed Dec 16, 2023
1 parent 9410c81 commit a852995
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 15 deletions.
2 changes: 1 addition & 1 deletion dist/styles.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 12 additions & 14 deletions src/styles.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

.markdown {
color: #d2d2d2;
font-size: 1.125rem;
line-height: 1.75;
overflow-x: hidden;
font-family: 'Inter', sans-serif;
}

.markdown a,
Expand All @@ -21,7 +24,6 @@
.markdown pre > code {
font-family: monospace;
font-size: 0.875rem;
font-weight: lighter;
color: currentColor;
}

Expand All @@ -38,21 +40,13 @@
}

.markdown pre {
padding-left: 1.25rem;
padding-right: 0.125rem;
padding-top: 0.625rem;
padding-bottom: 0.625rem;
padding: 0.625rem 0.125rem;
overflow: scroll;
white-space: pre;
border: 1px solid rgba(64, 64, 64, 0.2);
border-radius: 0.25rem;
background-color: #1a1a1a;
margin-top: 0.375rem;
margin-bottom: 0.375rem;
margin-left: -0.75rem;
margin-right: -0.75rem;
margin-left: 0.75rem;
margin-right: 0.75rem;
margin: 0.75rem;
color: #48bb78;
}

Expand All @@ -74,7 +68,6 @@

.markdown p {
color: #d2d2d2;
font-weight: lighter;
margin-top: 1.25rem;
margin-bottom: 1.25rem;
font-size: 1rem;
Expand Down Expand Up @@ -107,7 +100,6 @@
.markdown ul {
list-style-type: disc;
margin-left: 1rem;
font-weight: lighter;
}

.markdown ul li {
Expand All @@ -119,7 +111,6 @@
.markdown ol {
list-style-type: decimal;
margin-left: 1rem;
font-weight: lighter;
}

.markdown ol li {
Expand Down Expand Up @@ -255,6 +246,13 @@
border-bottom-right-radius: 0.25rem;
}

ul.markdown.toc {
list-style: disc;
margin-left: 1.5rem;
margin-top: 0.5rem;
font-size: 0.9rem;
}

@media (max-width: 768px) {
.markdown table th,
.markdown table td {
Expand Down

0 comments on commit a852995

Please sign in to comment.