1
1
mirror of https://github.com/aelve/guide.git synced 2024-11-29 06:23:17 +03:00

Changed code elements styles; fixes #358

This commit is contained in:
Avele 2019-08-31 16:11:41 +04:00
parent 94d62848a3
commit b9ba94cfce

View File

@ -137,12 +137,23 @@ code {
font-weight: 500;
box-shadow: none;
background: rgba(10, 10, 10, 0.04);
&:not(.sourceCode) {
font-weight: 800;
line-height: 125%;
padding: 2px 3px;
border: 1px solid rgba(29, 28, 29, 0.13);
border-radius: 3px;
background-color: #fafafa;
box-shadow: none;
font-weight: normal;
}
}
/* Vuetify css adds unwanted space to start and end of code and kbd tag */
code:after,
kbd:after,
code:before,
kbd:before {
.v-application code:after,
.v-application kbd:after,
.v-application code:before,
.v-application kbd:before {
content: "";
letter-spacing: initial;
}