mirror of
https://github.com/WatchOutNewsAgency/wona.github.com.git
synced 2026-02-10 15:00:54 +00:00
added a theme
This commit is contained in:
43
sass/parts/_post.scss
Normal file
43
sass/parts/_post.scss
Normal file
@ -0,0 +1,43 @@
|
||||
.post{
|
||||
h1.title, .entry-content{
|
||||
margin-left: 200px;
|
||||
@media screen and (max-width: 800px){
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
.meta{
|
||||
position: absolute;
|
||||
top: 85px;
|
||||
line-height: 2;
|
||||
font-size: 0.9em;
|
||||
color: $color-gray02;
|
||||
width: 170px;
|
||||
@media screen and (max-width: 800px){
|
||||
margin-top: 15px;
|
||||
position: static;
|
||||
width: auto;
|
||||
}
|
||||
a{
|
||||
@include link-colors($color-gray02, $color-gray01);
|
||||
@include transition(0.3s);
|
||||
}
|
||||
.date, .tags, .comments{
|
||||
padding-left: 30px;
|
||||
position: relative;
|
||||
&:before{
|
||||
color: $color-gray03;
|
||||
font: 1.3em $font-icon;
|
||||
line-height: 1.6em;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
}
|
||||
@media screen and (max-width: 800px){
|
||||
@include inline-block;
|
||||
margin-right: 30px;
|
||||
}
|
||||
}
|
||||
.date:before{content: "\f073";}
|
||||
.tags:before{content: "\f02c";}
|
||||
.comments:before{content: "\f075";}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user