Improved styles
This commit is contained in:
parent
983f84fb9e
commit
beca68f33a
4 changed files with 26 additions and 22 deletions
19
assets/static/sass/_blog.sass
Normal file
19
assets/static/sass/_blog.sass
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
body.blog
|
||||||
|
&.post
|
||||||
|
article
|
||||||
|
h1
|
||||||
|
font-size: 1.8em
|
||||||
|
margin-bottom: 0.3em
|
||||||
|
|
||||||
|
.info
|
||||||
|
font-size: 0.9em
|
||||||
|
|
||||||
|
.content
|
||||||
|
margin-top: 1em
|
||||||
|
|
||||||
|
img
|
||||||
|
display: block
|
||||||
|
margin: 0 auto
|
||||||
|
|
||||||
|
img
|
||||||
|
box-shadow: 0 1px 3px rgba(0,0,0,0.2)
|
|
@ -1,16 +0,0 @@
|
||||||
body.blog {
|
|
||||||
&.post {
|
|
||||||
article {
|
|
||||||
h1 {
|
|
||||||
font-size: 1.8em;
|
|
||||||
margin-bottom: 0.3em;
|
|
||||||
}
|
|
||||||
.info {
|
|
||||||
font-size: 0.9em;
|
|
||||||
}
|
|
||||||
.content {
|
|
||||||
margin-top: 1em;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,9 +1,9 @@
|
||||||
.highlight
|
pre
|
||||||
pre
|
font-size: 84%
|
||||||
font-size: 84%
|
line-height: 120%
|
||||||
line-height: 120%
|
padding: 12px
|
||||||
padding: 12px
|
color: white
|
||||||
|
|
||||||
pre .str, code .str
|
pre .str, code .str
|
||||||
color: #65b042
|
color: #65b042
|
||||||
|
|
||||||
|
|
|
@ -3,4 +3,5 @@
|
||||||
@import "./grid";
|
@import "./grid";
|
||||||
@import "./layout";
|
@import "./layout";
|
||||||
@import "./blog";
|
@import "./blog";
|
||||||
|
@import "./table";
|
||||||
@import "./syntax";
|
@import "./syntax";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue