Remove padding for code blocks
This commit is contained in:
parent
49f5d4d89c
commit
52a20e5b57
Binary file not shown.
@ -334,7 +334,12 @@ body {
|
|||||||
letter-spacing: -0.03rem;
|
letter-spacing: -0.03rem;
|
||||||
font-weight: 400; }
|
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-family: "Montserrat", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
text-rendering: optimizeLegibility;
|
text-rendering: optimizeLegibility;
|
||||||
@ -382,7 +387,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;
|
||||||
@ -390,29 +395,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,
|
||||||
@ -423,7 +428,7 @@ samp {
|
|||||||
code {
|
code {
|
||||||
background: #f9f2f4;
|
background: #f9f2f4;
|
||||||
color: #9c1d3d;
|
color: #9c1d3d;
|
||||||
padding: .2rem .4rem;
|
padding: 0.2rem 0.4rem;
|
||||||
border-radius: 3px; }
|
border-radius: 3px; }
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
@ -961,6 +966,9 @@ 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 {
|
||||||
|
padding: 0; }
|
||||||
|
|
||||||
thead {
|
thead {
|
||||||
color: #111111; }
|
color: #111111; }
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
@ -24,6 +24,9 @@
|
|||||||
// Nav
|
// Nav
|
||||||
@import "theme/nav";
|
@import "theme/nav";
|
||||||
|
|
||||||
|
// Typography
|
||||||
|
@import "theme/typography";
|
||||||
|
|
||||||
// Tables
|
// Tables
|
||||||
@import "theme/tables";
|
@import "theme/tables";
|
||||||
|
|
||||||
|
3
themes/learn2-dark/scss/theme/_typography.scss
Normal file
3
themes/learn2-dark/scss/theme/_typography.scss
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
code {
|
||||||
|
padding: 0;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user