mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-08-08 06:55:26 +02:00
improve style for inline code
This commit is contained in:
parent
83d4c56328
commit
18eee3be3f
5 changed files with 1620 additions and 117 deletions
387
public/dist/code-styling.bundle.js
vendored
387
public/dist/code-styling.bundle.js
vendored
File diff suppressed because one or more lines are too long
373
public/dist/editor.bundle.js
vendored
373
public/dist/editor.bundle.js
vendored
File diff suppressed because one or more lines are too long
963
public/dist/main.bundle.js
vendored
963
public/dist/main.bundle.js
vendored
File diff suppressed because one or more lines are too long
2
public/dist/main.css
vendored
2
public/dist/main.css
vendored
File diff suppressed because one or more lines are too long
|
@ -61,7 +61,8 @@
|
||||||
padding: 3px 0;
|
padding: 3px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.inline-code {
|
.inline-code,
|
||||||
|
.block-header a .inline-code {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
background: rgba(251,241,241,0.78);
|
background: rgba(251,241,241,0.78);
|
||||||
color: #C44545;
|
color: #C44545;
|
||||||
|
@ -71,6 +72,11 @@
|
||||||
font-family: Menlo, Monaco, Consolas, Courier New, monospace;
|
font-family: Menlo, Monaco, Consolas, Courier New, monospace;
|
||||||
font-size: 0.84em;
|
font-size: 0.84em;
|
||||||
line-height: 1.4em;
|
line-height: 1.4em;
|
||||||
|
border-bottom: 0;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background: rgba(251,241,241,0.78);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&__content {
|
&__content {
|
||||||
|
@ -170,6 +176,10 @@
|
||||||
transform: none;
|
transform: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.inline-code {
|
||||||
|
line-height: inherit;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue