Removed additional margin from inline code.

This commit is contained in:
Sascha Brendel 2020-03-18 19:34:47 +01:00
parent 8b6e3d8513
commit d0b3d0e8fe
No known key found for this signature in database
GPG Key ID: F8BF8AB6963A2A98
2 changed files with 11 additions and 5 deletions

View File

@ -11,7 +11,7 @@
--item-hover-bg-color: var(--select-text-bg-color);
--text-color: #aaaaaa;
--font-sans-serif: 'Source Sans Pro', sans-serif !important;
--font-monospace: 'Roboto Mono', monospace !important;
--font-monospace: 'Fira Code', 'Roboto Mono', monospace !important;
}
.md-rawblock-control:not(.md-rawblock-tooltip) {
@ -475,7 +475,6 @@ table tr td:last-child {
}
#write code, tt {
margin: 0 2px;
padding: 2px 4px;
border-radius: 2px;
font-family: var(--font-monospace);
@ -485,6 +484,10 @@ table tr td:last-child {
background-color: hsla(0, 0%, 0%, 0.2);
}
tt {
margin: 0 2px;
}
#write .md-footnote {
background-color: hsla(0, 0%, 0%, 0.2);
color: #f3b37f;

View File

@ -3,8 +3,8 @@
:root {
--side-bar-bg-color: #fff;
--control-text-color: #777;
--font-sans-serif: 'Source Sans Pro', sans-serif !important;
--font-monospace: 'Roboto Mono', monospace !important;
--font-sans-serif: 'Ubuntu', 'Source Sans Pro', sans-serif !important;
--font-monospace: 'Fira Code', 'Roboto Mono', monospace !important;
}
html {
@ -315,7 +315,6 @@ table tr td:last-child {
}
#write code, tt {
margin: 0 2px;
padding: 2px 4px;
border-radius: 2px;
font-family: var(--font-monospace);
@ -324,6 +323,10 @@ table tr td:last-child {
background-color: #f8f8f8;
}
tt {
margin: 0 2px;
}
#write .md-footnote {
background-color: #f8f8f8;
color: #e96900;