Skip to content

Commit

Permalink
GitHub Markdown style: scaleable spacing. enricoros#399
Browse files Browse the repository at this point in the history
  • Loading branch information
enricoros authored and jimjonesbabyfreshout committed Feb 19, 2024
1 parent a84ea85 commit b586987
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions src/common/styles/GithubMarkdown.css
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,9 @@
border-bottom: 1px solid var(--color-border-muted);
height: .25em;
padding: 0;
margin: 24px 0;
/* big-AGI: was 24px -> 1.5em */
margin: 1.5em 0;
/*margin: 24px 0;*/
background-color: var(--color-border-default);
border: 0;
}
Expand Down Expand Up @@ -382,8 +384,11 @@
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
margin-top: 24px;
margin-bottom: 16px;
/* big-AGI: changed this to be more flexible with changing Block font size */
margin-top: 1.2em;
margin-bottom: 0.8em;
/*margin-top: 24px;*/
/*margin-bottom: 16px;*/
font-weight: 600;
line-height: 1.25;
}
Expand Down Expand Up @@ -539,7 +544,9 @@
.markdown-body pre,
.markdown-body details {
margin-top: 0;
margin-bottom: 16px;
/* big-AGI: was 16px -> 1em*/
margin-bottom: 1em;
/*margin-bottom: 16px;*/
}

.markdown-body blockquote>:first-child {
Expand Down

0 comments on commit b586987

Please sign in to comment.
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy