Skip to content
This repository has been archived by the owner on May 12, 2019. It is now read-only.

Commit

Permalink
Adjust margins and deleted duplicated rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Dec 10, 2015
1 parent c1a2371 commit 2c081fe
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions assets/scss/modules/_prism.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ code::selection {
/* Code blocks */
pre {
padding: 1em;
margin: .5em 0;
margin: 2.5rem 0;
overflow: auto;
}

Expand All @@ -53,13 +53,11 @@ pre {
/* Inline code */
:not(pre) > code {
// slack style
padding: .1em;
padding: 1px 3px;
font-family: $code-font;
font-size: 72%;
line-height: 72%;
white-space: normal;
white-space: normal;
color: #c25;
border: 1px solid #e1e1e8;
border-radius: .3em;
Expand Down Expand Up @@ -152,10 +150,6 @@ pre[data-line] {
line-height: inherit;
white-space: pre;
pointer-events: none;
background: hsla(24, 20%, 50%, .08);
background: -moz-linear-gradient(left, hsla(24, 20%, 50%, .1) 70%, hsla(24, 20%, 50%, 0));
background: -webkit-linear-gradient(left, hsla(24, 20%, 50%, .1) 70%, hsla(24, 20%, 50%, 0));
background: -o-linear-gradient(left, hsla(24, 20%, 50%, .1) 70%, hsla(24, 20%, 50%, 0));
background: linear-gradient(left, hsla(24, 20%, 50%, .1) 70%, hsla(24, 20%, 50%, 0));
}

Expand Down

0 comments on commit 2c081fe

Please sign in to comment.