Skip to content

Commit 5bbf0d6

Browse files
committed
CSS: Style the <pre> block
Fixes: #21
1 parent 51716e8 commit 5bbf0d6

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

static/style.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,3 +174,19 @@ footer a {
174174
margin-left: 1rem;
175175
}
176176
}
177+
178+
pre {
179+
background-color: #e4e6e8;
180+
border: 1px solid rgba(0, 0, 0, 0.2);
181+
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
182+
border-radius: 4px;
183+
padding: 0.5em;
184+
margin-top: 0.5em;
185+
margin-bottom: 0.5em;
186+
margin-left: -0.5em;
187+
margin-right: -0.5em;
188+
}
189+
190+
code {
191+
font-family: monospace;
192+
}

0 commit comments

Comments
 (0)