Modified styles
- Added blockquote style - Added variables file - Justified text (experimental)
This commit is contained in:
parent
4e1cc2e563
commit
1ebca0665a
5 changed files with 22 additions and 5 deletions
|
@ -8,6 +8,7 @@ article.blog-post
|
||||||
|
|
||||||
.content
|
.content
|
||||||
margin-top: 1em
|
margin-top: 1em
|
||||||
|
text-align: justify
|
||||||
|
|
||||||
img
|
img
|
||||||
display: block
|
display: block
|
||||||
|
@ -15,3 +16,15 @@ article.blog-post
|
||||||
|
|
||||||
img
|
img
|
||||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2)
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2)
|
||||||
|
|
||||||
|
blockquote
|
||||||
|
display: block
|
||||||
|
background: #eee
|
||||||
|
font-style: italic
|
||||||
|
padding: 15px 20px 15px 20px
|
||||||
|
font-family: Georgia, serif
|
||||||
|
color: #666
|
||||||
|
text-align: justify
|
||||||
|
|
||||||
|
p
|
||||||
|
margin: 0
|
||||||
|
|
|
@ -9,7 +9,7 @@ body
|
||||||
|
|
||||||
a
|
a
|
||||||
text-decoration: underilne
|
text-decoration: underilne
|
||||||
color: #c24e4a
|
color: $red
|
||||||
|
|
||||||
img
|
img
|
||||||
max-width: 100%
|
max-width: 100%
|
||||||
|
|
|
@ -4,15 +4,15 @@ table
|
||||||
box-shadow: 0 1px 3px rgba(0,0,0,0.2)
|
box-shadow: 0 1px 3px rgba(0,0,0,0.2)
|
||||||
|
|
||||||
th
|
th
|
||||||
background: #c93737
|
background: $red
|
||||||
color: white
|
color: white
|
||||||
font-weight: bold
|
font-weight: bold
|
||||||
|
|
||||||
tr
|
tr
|
||||||
background: #f6f6f6
|
background: $lightgray
|
||||||
|
|
||||||
&:nth-of-type(odd)
|
&:nth-of-type(odd)
|
||||||
background: #e9e9e9
|
background: $darkgray
|
||||||
|
|
||||||
td, th
|
td, th
|
||||||
padding: 6px
|
padding: 6px
|
||||||
|
|
3
assets/static/sass/_variables.sass
Normal file
3
assets/static/sass/_variables.sass
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
$red: #c24e4a
|
||||||
|
$lightgray: #f6f6f6
|
||||||
|
$darkgray: #e9e9e9
|
|
@ -1,3 +1,4 @@
|
||||||
|
@import ./variables
|
||||||
@import ./mediaqueries
|
@import ./mediaqueries
|
||||||
@import ./mixins
|
@import ./mixins
|
||||||
@import ./grid
|
@import ./grid
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue