Permalink
Browse files

style: personalize style

margin, padding, font-size, colour…
  • Loading branch information...
MOxFIVE committed Sep 4, 2015
1 parent e1049e7 commit 620cd5eeca5ed35dba29000ffa625b6618136606
@@ -1,7 +1,7 @@
.archives-wrap{
position: relative;
margin: 0 30px;
padding-right: 60px;
padding-right: 1.5em;
border-bottom: 1px solid #eee;
background: #fff;
&:first-child{
@@ -14,7 +14,7 @@
line-height: 35px;
width: 200px;
position: absolute;
padding-top: 15px;
padding-top: 20px;
font-size: 1.8em;
}
.archive-year-wrap a{
@@ -30,21 +30,22 @@
border: none;
}
.archive-article {
margin-left:200px;
padding:20px 0;
margin-left:160px;
padding:0.5em 0;
border-bottom: 1px solid #eee;
border-top: 1px solid #fff;
position: relative;
&:first-child{
border-top: none;
border-top: 1em;
padding-top: 20px;
}
&:last-child{
border-bottom: none;
}
}
.archive-article-title {
font-size: 16px;
font-size: 18px;
color: #333;
transition: color 0.3s;
&:hover{
@@ -88,7 +89,7 @@
}
}
.archive-article-date, .article-tag-list{
margin-right: 30px;
margin-right: 1em;
display: -moz-inline-stack;
display: inline-block;
vertical-align: middle;
@@ -98,7 +99,7 @@
}
.archive-article-date{
cursor: default;
font-size: 12px;
font-size: 14px;
margin-bottom: 5px;
margin-top: -10px;
time{
@@ -334,24 +334,25 @@ body {
}
#article-nav{
margin: 80px 0 30px 0;
padding-bottom: 10px;
margin: 3em 0 1em 0;
padding: 1em;
background: #88acdb;
.article-nav-link-wrap{
margin: 0px 30px 0px 30px;
margin: 0px 1em 0px 1em;
font-size: 14px;
color: #333;
.article-nav-title{
display: inline-block;
font-size: 12px;
color: #aaa;
font-size: 1.1em;
color: white;
transition: color 0.3s;
}
strong{
background: #ddd;
color: #fff;
border-radius: 100%;
width: 15px;
height: 15px;
width: 1.1em;
height: 1.1em;
display: inline-block;
text-align: center;
transition: background 0.3s;
@@ -361,7 +362,9 @@ body {
background: #4d4d4d;
}
.article-nav-title{
color: #4d4d4d;
font-weight: bold;
font-size: 1.12em;
}
}
}
@@ -235,13 +235,14 @@
height:18px;
line-height:18px;
float: left;
padding:0 5px 0px 10px;
padding:0px 5px 0px 10px;
position:relative;
border-radius:0 5px 5px 0;
margin: 5px 9px 5px 8px;
opacity: 0.9;
font-family: "Microsoft YaHei", "微软雅黑", "arial","Helvetica","Hiragino Sans GB","宋体","Tahoma","STHeiti";
&:hover{
opacity: 0.8;
opacity: 1;
}
&:before{
content: " ";
@@ -289,9 +290,9 @@
}
}
a.color5{
background: #7B5D5F;
background: #88acdb;
&:before{
border-right-color:#7B5D5F;
border-right-color:#88acdb;
}
}
}

0 comments on commit 620cd5e

Please sign in to comment.