Permalink
Browse files

style(mobile): font-size, line-height, margin, padding...

  • Loading branch information...
MOxFIVE committed Apr 13, 2016
1 parent 53a83a1 commit 576419fbd4bdfe98dcbf5f6ea4a31c175010ee7c
Showing with 17 additions and 49 deletions.
  1. +17 −49 source/css/_partial/mobile.styl
@@ -8,6 +8,9 @@
.header-nav{
position: relative;
}
.header-menu {
line-height: 1.3
}
}
.header-author{
&.fixed{
@@ -48,7 +51,7 @@
padding: 0;
border-bottom: 1px dotted #ddd;
h1{
margin-bottom: 10px;
margin-bottom: 2px;
}
}
#header .header-subtitle{
@@ -71,62 +74,22 @@
font-size: 14px;
}
.article{
/* padding: 10px;*/
margin: 10px;
font-size: 14px;
margin: (10/16)rem 10px;
.article-entry{
padding-left: 0;
padding-right: 0;
padding-top: 10px;
.highlight {
padding .35em .6em
}
}
.article-title{
font-size: 18px;
/*max-width: 185px;*/
padding-right: 5em;
display: block;
margin: 0;
font-size 1.5rem
font-weight bold
}
.article-meta{
width: auto;
.article-date {
margin: 0;
time {
padding-right: .5em;
}
}
.article-tag-list{
margin-top: 7px;
position: absolute;
right: 10px;
top: 0;
&:before{
float: left;
margin-top: 1px;
left: 0;
}
.article-tag-list-item{
float: left;
padding-left: 0;
width: auto;
max-width: 83px;
}
}
.article-category{
margin-top: 7px;
position: absolute;
right: 10px;
top: -30px;
&:before{
float: left;
margin-top: 1px;
left: 15px;
}
.article-category-link{
max-width: 83px;
width: auto;
padding-left:10px;
}
}
display: none;
}
}
@@ -298,7 +261,7 @@
.copyright {
width: 90%;
padding: .5em 1.3em;
padding: .5em .8em;
}
.scroll {
@@ -338,4 +301,9 @@
if hexo-config("github_widget")
.github-text
display none
.copyright
font-size 16px
.copy-path
display none

1 comment on commit 576419f

@MOxFIVE

This comment has been minimized.

Show comment
Hide comment
@MOxFIVE

MOxFIVE Apr 13, 2016

Owner

L: Before | R: After(18px)

456

Owner

MOxFIVE commented on 576419f Apr 13, 2016

L: Before | R: After(18px)

456

Please sign in to comment.