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