Skip to content
This repository has been archived by the owner on Oct 13, 2022. It is now read-only.

Commit

Permalink
feat: add code tag style
Browse files Browse the repository at this point in the history
  • Loading branch information
su8ru committed Oct 22, 2020
1 parent ae6b6f8 commit 2c70e67
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions assets/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,16 @@ section {
// margin-bottom: .8rem;
}
}

/* ==== other ==== */

:not(pre) > code {
padding: .2rem .4rem;
margin: 0 .2rem;
background: rgba($theme-dark, .1);
vertical-align: middle;
font-size: .92rem;
border-radius: 4px;
vertical-align: .08em;
font-family: monospace;
}

0 comments on commit 2c70e67

Please sign in to comment.