Skip to content

Commit d6b0311

Browse files
committed
Fixes the code example styles a bit
1 parent d370aef commit d6b0311

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

css/main.css

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,19 @@ article {
6363
article hr {
6464
border: 0;
6565
border-bottom: 5px solid rgba(214, 205, 121, 0.5);
66-
width: calc( 100% + 2em );
67-
margin-left: -4em;
66+
width: calc( 100% + 4em );
67+
margin-left: -2em;
68+
}
69+
70+
article p {
71+
line-height: 1.4;
72+
}
73+
74+
article p code {
75+
background: #232323;
76+
padding: .1em .3em;
77+
border-radius: 3px;
78+
color: #E6E1DC;
6879
}
6980

7081
article pre > code {
@@ -73,6 +84,7 @@ article pre > code {
7384
border-radius: 3px;
7485
padding: 8px 16px;
7586
overflow-wrap: break-word;
87+
overflow: hidden;
7688
}
7789

7890
.edit {

0 commit comments

Comments
 (0)