Skip to content

Commit

Permalink
Fix style for frctl/fractal#477
Browse files Browse the repository at this point in the history
  • Loading branch information
k-utsumi committed Mar 12, 2020
1 parent 3edccab commit 459b337
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions assets/scss/components/_prose.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
font-feature-settings: "liga", "dlig", "kern", "onum";
hanging-punctuation: first;

> *:not(:last-child) {
> *:not(pre):not(:last-child) {
margin-bottom: 0.75em;
}

Expand Down Expand Up @@ -68,24 +68,25 @@
opacity: 0.75;
}

code,
code pre {
code {
padding: 0.125rem;
background-color: rgba($color-text, 0.075);
}

img {
max-width: 100%;
}

p code,
li code {
padding: 0.125rem;
pre > code {
padding: 0;
background: 0;
}

code pre {
pre {
padding: 0.125rem 0.5rem;
margin: 1rem -0.5rem;
overflow: auto;
background-color: rgba($color-text, 0.075);
}

img {
max-width: 100%;
}

table {
Expand Down

0 comments on commit 459b337

Please sign in to comment.