Skip to content

Commit

Permalink
Update text formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
sadmanca committed May 4, 2024
1 parent dad7b89 commit 326f445
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 8 deletions.
6 changes: 4 additions & 2 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,14 @@ img.dir {
.blob-view .content pre:not(.line-numbers) {
padding: 1% 1%;
width: 98%;
/* text-wrap: balance; */
text-wrap: pretty;
}

ul.tree {
max-height: 40vh;
overflow: auto;
min-width: 200px;
max-width: 1000px;
}


Expand Down Expand Up @@ -214,7 +216,7 @@ body:has(.create-url:not([hidden])) div.footer > div {
user-select: none;
}
.create-url * {
font-family: 'Poppins',sans-serif;
font-family: 'Inter',sans-serif;
/* color: #ffffff; */
letter-spacing: 0.5px;
outline: none;
Expand Down
2 changes: 1 addition & 1 deletion css/prism.css

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

29 changes: 24 additions & 5 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ article.readme,
article.readme,
.blob-view {
border: 1px solid var(--border-color-hard);
min-width: 200px;
max-width: 1000px;
line-height: 1.5;
}

.location {
Expand Down Expand Up @@ -203,23 +206,36 @@ article.readme,
}

.markdown {
font-size: 0.9rem;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
font-size: 16px;
padding: 2em;
}
.markdown h1 {
font-size: 1.5rem;
margin: 1em 0;
font-size: 2em;
line-height: 1.25;
margin: .67em 0;
margin-top: 24px;
margin-bottom: 16px;
padding-bottom: 0.3em;
border-bottom: 1px solid var(--markdown-line-color);
}
.markdown h2 {
font-size: 1.3rem;
margin: 1em 0;
font-size: 1.5rem;
line-height: 1.25;
margin-top: 24px;
margin-bottom: 16px;
padding-bottom: 0.3em;
border-bottom: 1px solid var(--markdown-line-color);
}
.markdown p {
line-height: 1.5;
margin-top: 0;
margin-bottom: 16px;
}
.markdown ul {
line-height: 1.5;
margin-top: 0;
margin-bottom: 0;
}
.markdown img {
vertical-align: middle;
Expand All @@ -243,14 +259,17 @@ article.readme,
.markdown pre code {
background-color: inherit;
padding: 0;
margin-bottom: 16px;
}
.markdown code {
background-color: var(--markdown-code-color);
border-radius: 5px;
padding: 2px 4px;
margin-bottom: 16px;
}
.markdown p code {
font-size: 0.88em;
margin-bottom: 16px;
}
.markdown table {
border-spacing: 0;
Expand Down

0 comments on commit 326f445

Please sign in to comment.