docs: add css for inline code

This commit is contained in:
Seonghyeon Cho 2024-02-25 08:36:23 +09:00 committed by GitHub
parent 068e29c265
commit 80006d2f28
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -33,6 +33,16 @@ a[href^="http"]:after {
padding: $padding 0;
}
#main-content code:not(pre code, a code) {
color: #c7254e;
font-size: 0.9em;
background-color: #f8f8f8;
border: 1px solid #eaeaea;
border-radius: 3px;
margin: 0 2px;
padding: 0 5px;
}
#sidebar {
position: fixed;
background: white;