onepage
Version:
Static one-page site generator
175 lines (155 loc) • 2.5 kB
text/less
// STARE STATYCZNE
html {
-webkit-tap-highlight-color: rgba(0,0,0,0);
-webkit-text-size-adjust: none;
}
input,textarea{
-webkit-user-modify: read-write-plaintext-only;
}
* {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
html, body {
margin: 0;
padding: 0;
}
// NOWY MODEL PUDEŁKOWY
* {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
body {
font-family: 'Terminal Dosis', Arial, sans-serif;
font-size: 2.2rem;
background-color:@base1;
// height:100%;
}
ul{
padding: 0;
margin: 0;
}
#menu-wrapper{
position: fixed;
z-index: 100;
top:0;
@media @mobile{
left:0px;
}
}
#menu-shadow{
height:5px;
width:100%;
box-shadow: 0 4px 20px 2px #888;
margin-top:-7px;
}
// site titile
#pages_title{
position: absolute;
z-index: 101;
right:0;
top:0;
color:@header-font-color;
font-weight: bold;
text-shadow:2px 2px 2px rgba(0,0,0,0.6);
@media @mobile{
font-size:1.6rem;
right:2rem;
}
clear:right;
}
#menu-title{
float:left;
clear:left;
width:100%;
background-color: #eee;
border-top-left-radius:8px;
border-top-right-radius:8px;
padding:0 0 0 10px;
@media @mobile{
font-size:1.6rem;
}
}
#main-menu{
position: relative;
padding-top: 40px;
background-color: @base1;
overflow: hidden;
z-index: 100;
clear:left;
@media @mobile {
padding-top: 33px;
}
}
#content-wrapper{
width:1000px;
position: relative;
height:100%;
margin:0 auto;
@media @mobile {
width:100%;
}
}
#main-content{
z-index:3;
width:100%;
position:relative;
padding:5px 0 0 0;
border-bottom-left-radius:12px;
border-bottom-right-radius:12px;
background-color: @content-bg-color;
margin-top:@menu-height;
font-size: 1.2rem;
@media @mobile{
font-size: 1rem;
}
}
#page-nav{
position: fixed;
bottom: 20px;
right: 0;
left: 0;
z-index: 200;
height: 30px;
// @media @mobile{
// left:5px;
// }
span{
background-color: rgba(0, 0, 0, 0.3);
padding: 3px 6px;
border-radius: 5px;
cursor: pointer;
}
.left{
float:left;
margin-left:5px;
}
.right{
float: right;
margin-right:5px;
}
}
#hidden-colors{
display: none;
#page_1{
background-color: @base1;
}
#page_2{
background-color: @base2;
}
#page_3{
background-color: @base3;
}
#page_4{
background-color: @base4;
}
#page_5{
background-color: @base5;
}
}
#swipeview-slider{
}
.swipeview-active{
}