Skip to content

Commit 8346dc1

Browse files
Add some extra styling for images (#77)
1 parent 03d068c commit 8346dc1

File tree

1 file changed

+6
-27
lines changed

1 file changed

+6
-27
lines changed

sass/_extra.scss

+6-27
Original file line numberDiff line numberDiff line change
@@ -61,30 +61,9 @@ h6:hover .anchor {
6161
visibility: visible;
6262
}
6363

64-
.toc {
65-
border: 1px solid #e0c33f;
66-
background-color: #ffffea;
67-
padding: 16px;
68-
margin-bottom: 16px;
69-
70-
.toc-header {
71-
font-size: inherit;
72-
font-weight: bold;
73-
margin-bottom: 8px;
74-
}
75-
76-
ul {
77-
margin: 0 32px;
78-
}
79-
80-
li {
81-
margin: 0;
82-
}
83-
84-
@media (min-width: $on-large) {
85-
float: right;
86-
max-width: 256px;
87-
margin-left: 32px;
88-
margin-bottom: 32px;
89-
}
90-
}
64+
.post-content p img {
65+
display: block;
66+
margin: 16px auto;
67+
padding: 8px;
68+
border: 1px solid #e8e8e8;
69+
}

0 commit comments

Comments
 (0)