1
0
Fork 0
mirror of https://github.com/Oreolek/raconteur-scaffold.git synced 2024-05-04 18:08:18 +03:00
raconteur-scaffold/less/mobile.less
2015-04-13 00:16:07 -03:00

154 lines
2.6 KiB
Plaintext

@media screen and (max-width: 715px) {
body {
margin: 0;
line-height: 1.5rem;
-webkit-text-size-adjust: none;
}
/* Structure */
#page {
padding-top: 1.9em;
margin: 0.5em;
}
#mid_panel {
margin: 0;
}
/* Title */
#title {
margin-top: 20px;
padding: 1.0em 0.5em;
box-shadow: none;
max-width: 100%;
h1 {
font-size: 3rem;
line-height: 4rem;
}
}
#title .label {
font-size: 0.65em;
max-width: 80%;
padding: 2.0em;
box-shadow: none;
}
/* Side panels */
#tools_wrapper {
position: static;
}
.tools {
background: @text-bg;
position: relative;
width: auto;
box-shadow: none;
}
#character_panel {
display: none;
}
#info_panel {
display: none;
}
#tools_wrapper {
display: block;
}
/* Main content */
#content_wrapper {
width: auto;
padding: 2.0em;
border-radius: 0;
}
#content {
font-size: 16px;
line-height: 1.5em;
h1 {
margin-bottom: 1rem;
}
}
/* Toolbar and menu */
#toolbar {
position: fixed;
z-index: 300;
left: 0;
right: 0;
top: 0;
height: 36px;
padding: 8px;
overflow: hidden;
.material();
}
#toolbar h1 {
float: left;
font-weight: normal;
font-size: 22px;
margin: 8px 0 0 0;
padding: 0 10px;
color: #fc6;
}
#toolbar .nav {
float: right;
margin: 0;
}
.icon-menu {
width: 1.5rem;
height: 1.5rem;
}
.menubars {
fill: #a0a0a0;
}
#menu {
display: none;
position: fixed;
top: 52px;
left: 0;
right: 0;
font-size: 16px;
background: #f0f0dd;
z-index: 200;
list-style-type: none;
padding: 10px 0 0 0;
margin: 0;
}
#menu-button {
position: relative;
display: block;
.material_shadow();
.material_colors(@title-bg);
width: 3rem;
font-size: 1rem;
padding: 0.2rem;
border-radius: 2px;
text-align: center;
color: black;
&:hover {
background: lighten(@title-bg, 20%);
}
&:active {
background: lighten(@title-bg, 20%);
box-shadow: none;
}
}
#menu li {
border-bottom: 1px solid rgba(0,0,0,0.25);
}
#menu a {
display: block;
padding: 10px 20px;
}
}