Skip to content

Commit d9070e6

Browse files
committed
stylesheet: remove background and border from code spans
The new style makes the code spans lighter and more integrated into the text. The new style also makes the code spans more readable and less intrusive. Signed-off-by: Jean-Noël Avila <[email protected]>
1 parent 393c098 commit d9070e6

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

assets/sass/application.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ $baseurl: "{{ .Site.BaseURL }}{{ if (and (ne .Site.BaseURL "/") (ne .Site.BaseUR
2929

3030
code {
3131
display: inline;
32-
padding: 0 5px;
32+
padding: 0 0;
3333
}
3434

3535
pre {

assets/sass/typography.scss

-3
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,6 @@ blockquote {
251251
}
252252

253253
code {
254-
@include border-radius(3px);
255254
display: block;
256255
padding: 10px 15px 13px;
257256
margin-bottom: 1em;
@@ -260,8 +259,6 @@ code {
260259
line-height: $fixed-width-line-height;
261260
font-variant-ligatures: none;
262261
color: $orange;
263-
background-color: #fff;
264-
border: solid 1px #efeee6;
265262
}
266263

267264
// Quotes

0 commit comments

Comments
 (0)