Skip to content

Commit 19a0077

Browse files
committed
Some style improvements
1 parent 66f3a79 commit 19a0077

File tree

3 files changed

+15
-11
lines changed

3 files changed

+15
-11
lines changed

_sass/_classes.scss

+2-1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
}
5656

5757
ul {
58+
list-style: none;
5859
padding: 0 60px;
5960

6061
li {
@@ -89,7 +90,7 @@
8990
}
9091

9192
@media (min-width: 600px) {
92-
.content p {
93+
.content p, .content ul {
9394
text-align: justify;
9495
}
9596
}

_sass/_elements.scss

+12-9
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
* {
22
box-sizing: border-box;
33
color: $text-color;
4-
font-family: sans-serif;
54
}
65

76
a {
@@ -42,27 +41,31 @@ h2 {
4241
padding: 10px;
4342
}
4443

44+
h3 {
45+
font-family: serif;
46+
}
4547
i.fa {
4648
position: relative;
4749
top: -1px;
4850
}
4951

50-
ul {
51-
list-style: none;
52-
padding: 0;
53-
}
54-
5552
pre,
5653
code {
5754
background-color: #F2F2F2;
5855
border-radius: 3px;
5956
border: 1px solid #E2E2E2;
57+
font-family: monospace;
6058
font-size: 15px;
6159
}
6260

63-
p > code {
64-
padding: 1px 5px;
65-
white-space: nowrap;
61+
p {
62+
font-family: sans-serif;
63+
overflow: hidden;
64+
65+
> code {
66+
padding: 1px 5px;
67+
white-space: nowrap;
68+
}
6669
}
6770

6871
pre {

_sass/_syntax-highlighting.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
background: #fff;
66

77
.highlighter-rouge & {
8-
background: #eef;
8+
background: #eee;
99
}
1010

1111
.c { color: #998; font-style: italic } // Comment

0 commit comments

Comments
 (0)