Skip to content

Instantly share code, notes, and snippets.

@yusugomori
Created April 1, 2012 12:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yusugomori/2275059 to your computer and use it in GitHub Desktop.
Save yusugomori/2275059 to your computer and use it in GitHub Desktop.
iphone.css.less
//
// Part of stylesheets/iphone.css.less
//
//========== Header ==========//
.main-header {
height: 44px;
overflow: hidden;
font-size: 10px;
font-weight: bold;
header {
height: 44px;
.nav {
li {
float: left;
diplay: inline-block;
*display: inline;
*zoom: 1;
width: 20%;
height: 44px;
overflow: hidden;
a {
padding-top: 1px;
text-align: center;
color: #848484;
background-color: transparent;
i {
display: block;
height: 26px;
line-height: 26px;
width: 32px;
margin: 0 auto;
vertical-align: text-top;
background-repeat: no-repeat;
}
}
}
}
}
}
//========== Content ==========//
.frame {
#main-content {
position: relative;
.page-view {
display: block;
.content {
box-sizing: border-box;
-webkit-box-sizing: border-box;
position: relative;
padding: 10px;
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment