1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-08-07 22:45:23 +02:00

improve style for inline code

This commit is contained in:
Peter Savchenko 2019-03-31 12:02:32 +03:00
parent 83d4c56328
commit 18eee3be3f
No known key found for this signature in database
GPG key ID: 63E739583C761566
5 changed files with 1620 additions and 117 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -61,7 +61,8 @@
padding: 3px 0;
}
.inline-code {
.inline-code,
.block-header a .inline-code {
display: inline-block;
background: rgba(251,241,241,0.78);
color: #C44545;
@ -71,6 +72,11 @@
font-family: Menlo, Monaco, Consolas, Courier New, monospace;
font-size: 0.84em;
line-height: 1.4em;
border-bottom: 0;
&:hover {
background: rgba(251,241,241,0.78);
}
}
&__content {
@ -170,6 +176,10 @@
transform: none;
}
}
.inline-code {
line-height: inherit;
}
}
/**