Remove padding for code blocks

This commit is contained in:
RealStickman 2023-06-18 12:42:21 +02:00
parent 49f5d4d89c
commit 52a20e5b57
5 changed files with 29 additions and 15 deletions

View File

@ -334,7 +334,12 @@ 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;
@ -382,7 +387,7 @@ blockquote > blockquote > blockquote {
top: 2px;
color: #fff;
font-family: FontAwesome;
content: '';
content: "";
left: 10px; }
blockquote > blockquote > blockquote p:first-child:after {
position: absolute;
@ -390,29 +395,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,
@ -423,7 +428,7 @@ samp {
code {
background: #f9f2f4;
color: #9c1d3d;
padding: .2rem .4rem;
padding: 0.2rem 0.4rem;
border-radius: 3px; }
pre {
@ -961,6 +966,9 @@ a {
#sidebar ul.topics > li.parent, #sidebar ul.topics > li.active {
background: #302136; }
code {
padding: 0; }
thead {
color: #111111; }

File diff suppressed because one or more lines are too long

View File

@ -24,6 +24,9 @@
// Nav
@import "theme/nav";
// Typography
@import "theme/typography";
// Tables
@import "theme/tables";

View File

@ -0,0 +1,3 @@
code {
padding: 0;
}