body blocks : add code mark and style
All checks were successful
Deploy / Deploy to Production (push) Successful in 6s
All checks were successful
Deploy / Deploy to Production (push) Successful in 6s
This commit is contained in:
parent
b492fbcf9b
commit
f1733992db
4 changed files with 28 additions and 1 deletions
|
|
@ -75,6 +75,19 @@ html {
|
|||
border: none;
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: monospace;
|
||||
font-size: 1.1rem;
|
||||
padding: 0.1rem 0.4rem;
|
||||
background-color: #fff;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
[data-theme="light"] code {
|
||||
background-color: #000;
|
||||
color: #ffff;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 640px) {
|
||||
body.full-width {
|
||||
--padding-body: calc(var(--unit--horizontal) * 10);
|
||||
|
|
|
|||
|
|
@ -106,6 +106,19 @@ html {
|
|||
border: none;
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: monospace;
|
||||
font-size: 1.1rem;
|
||||
padding: 0.1rem 0.4rem;
|
||||
background-color: #fff;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
[data-theme=light] code {
|
||||
background-color: #000;
|
||||
color: white;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 640px) {
|
||||
body.full-width {
|
||||
--padding-body: calc(var(--unit--horizontal) * 10);
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -8,3 +8,4 @@ marks:
|
|||
- italic
|
||||
- link
|
||||
- underline
|
||||
- code
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue