Move code padding to only code blocks
This commit is contained in:
parent
52a20e5b57
commit
e470fa4f91
Binary file not shown.
@ -334,12 +334,7 @@ body {
|
||||
letter-spacing: -0.03rem;
|
||||
font-weight: 400; }
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-family: "Montserrat", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
|
||||
font-weight: 400;
|
||||
text-rendering: optimizeLegibility;
|
||||
@ -387,7 +382,7 @@ blockquote > blockquote > blockquote {
|
||||
top: 2px;
|
||||
color: #fff;
|
||||
font-family: FontAwesome;
|
||||
content: "";
|
||||
content: '';
|
||||
left: 10px; }
|
||||
blockquote > blockquote > blockquote p:first-child:after {
|
||||
position: absolute;
|
||||
@ -395,29 +390,29 @@ blockquote > blockquote > blockquote {
|
||||
color: #fff;
|
||||
left: 2rem;
|
||||
font-weight: bold;
|
||||
content: "Info"; }
|
||||
content: 'Info'; }
|
||||
blockquote > blockquote > blockquote > p {
|
||||
margin-left: -71px;
|
||||
border-top: 30px solid #f0b37e;
|
||||
background: #fff2db; }
|
||||
border-top: 30px solid #F0B37E;
|
||||
background: #FFF2DB; }
|
||||
blockquote > blockquote > blockquote > blockquote > p {
|
||||
margin-left: -94px;
|
||||
border-top: 30px solid rgba(217, 83, 79, 0.8);
|
||||
background: #fae2e2; }
|
||||
background: #FAE2E2; }
|
||||
blockquote > blockquote > blockquote > blockquote > p:first-child:after {
|
||||
content: "Warning"; }
|
||||
content: 'Warning'; }
|
||||
blockquote > blockquote > blockquote > blockquote > blockquote > p {
|
||||
margin-left: -118px;
|
||||
border-top: 30px solid #6ab0de;
|
||||
background: #e7f2fa; }
|
||||
border-top: 30px solid #6AB0DE;
|
||||
background: #E7F2FA; }
|
||||
blockquote > blockquote > blockquote > blockquote > blockquote > p:first-child:after {
|
||||
content: "Note"; }
|
||||
content: 'Note'; }
|
||||
blockquote > blockquote > blockquote > blockquote > blockquote > blockquote > p {
|
||||
margin-left: -142px;
|
||||
border-top: 30px solid rgba(92, 184, 92, 0.8);
|
||||
background: #e6f9e6; }
|
||||
background: #E6F9E6; }
|
||||
blockquote > blockquote > blockquote > blockquote > blockquote > blockquote > p:first-child:after {
|
||||
content: "Tip"; }
|
||||
content: 'Tip'; }
|
||||
|
||||
code,
|
||||
kbd,
|
||||
@ -428,7 +423,7 @@ samp {
|
||||
code {
|
||||
background: #f9f2f4;
|
||||
color: #9c1d3d;
|
||||
padding: 0.2rem 0.4rem;
|
||||
padding: .2rem .4rem;
|
||||
border-radius: 3px; }
|
||||
|
||||
pre {
|
||||
@ -966,7 +961,8 @@ a {
|
||||
#sidebar ul.topics > li.parent, #sidebar ul.topics > li.active {
|
||||
background: #302136; }
|
||||
|
||||
code {
|
||||
code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
padding: 0; }
|
||||
|
||||
thead {
|
||||
|
File diff suppressed because one or more lines are too long
@ -46,8 +46,7 @@ pre .copy-to-clipboard:hover {
|
||||
|
||||
/* inline code */
|
||||
code {
|
||||
/*color: #b51c42;*/
|
||||
color: #c897d8;
|
||||
color: #d28cd9;
|
||||
background: #222222;
|
||||
}
|
||||
.copy-to-clipboard {
|
||||
|
@ -1,3 +1,4 @@
|
||||
code {
|
||||
code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
padding: 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user