mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-07 05:12:31 +02:00
parent
c9b8b02e2a
commit
8e98337d79
1 changed files with 11 additions and 13 deletions
24
css/main.css
24
css/main.css
|
@ -719,19 +719,17 @@ input::placeholder {
|
||||||
color: #e5e5e5;
|
color: #e5e5e5;
|
||||||
}
|
}
|
||||||
|
|
||||||
code,
|
code {
|
||||||
a code,
|
padding: 2px 0;
|
||||||
.mainContainer .wrapper a code,
|
background-color: rgba(46, 133, 85, 0.07);
|
||||||
.mainContainer .wrapper a:focus code {
|
/* box-shadow acts as padding around inline code snippets
|
||||||
color: #2E8555;
|
* while not adding any extra spacing between words. */
|
||||||
font-family: "SFMono-Regular",source-code-pro,Menlo,Monaco,Consolas,"Roboto Mono","Droid Sans Mono","Liberation Mono",Consolas,"Courier New",Courier,monospace;
|
box-shadow: 2px 0 rgba(46, 133, 85, 0.07), -2px 0 rgba(46, 133, 85, 0.07);
|
||||||
}
|
color: inherit;
|
||||||
|
border-radius: .3em;
|
||||||
a code {
|
font-family: "SFMono-Regular",source-code-pro,Menlo,Monaco,Consolas,"Roboto Mono","Droid Sans Mono","Liberation Mono",Consolas,"Courier New",Courier,monospace;
|
||||||
text-decoration: underline;
|
/* avoids scale issues on mobile */
|
||||||
}
|
word-break: break-word;
|
||||||
a:hover code {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pre code {
|
pre code {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue