mo-framework
Version:
Hybrid mobile app framework with generators
81 lines (68 loc) • 1.25 kB
CSS
body {
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
margin: 0;
padding: 0;
background: #f4f4f4;
font-size: 16px;
color: #333;
height: 3000px;
text-align: center;
}
h2 {
margin: 70px 0 30px 0;
}
a {
margin: 50px;
}
#bottom {
font-size: 14px;
line-height: 18px;
color: #777777;
margin-top: 80px;
}
#mo {
font-size: 18px;
vertical-align: middle;
}
.viewport {
left: 200px;
text-align: center;
position: fixed;
}
.viewport a {
font-size: small;
}
.viewport#iphone4 {
margin-top: 15px;
}
#iphone4 #iphone-mask {
width: 406px;
height: 776px;
background: url(iphone4-mask.png) no-repeat 0 0;
text-align: left;
display: inline-block;
}
#iphone6 #iphone-mask {
width: 406px;
height: 776px;
background: url(iphone6-mask.png) no-repeat 0 0;
background-position: 10px -51px;
background-size: 396px auto;
text-align: left;
display: inline-block;
}
#clear a {
color: #ffffff;
}
.viewport#iphone4 iframe {
margin: 140px 0 0 27px;
}
.viewport#iphone6 iframe {
margin: 39px 0 0 30px;
}
.viewport#ipad iframe {
width: 850px;
height: 600px;
margin-top: 30px;
border: 1px solid #ccc;
}