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
|
||||
font-size: 84%
|
||||
line-height: 120%
|
||||
padding: 12px
|
||||
|
||||
pre
|
||||
font-size: 84%
|
||||
line-height: 120%
|
||||
padding: 12px
|
||||
color: white
|
||||
|
||||
pre .str, code .str
|
||||
color: #65b042
|
||||
|
||||
|
|
|
@ -3,4 +3,5 @@
|
|||
@import "./grid";
|
||||
@import "./layout";
|
||||
@import "./blog";
|
||||
@import "./table";
|
||||
@import "./syntax";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue