main/public_html/css/layout.css

73 lines
1022 B
CSS
Raw Permalink Normal View History

2017-12-01 14:46:48 +00:00
* {
margin: 0;
padding: 0;
}
body{
display: block;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #ecf0f5;
font-size: 16px;
font-family: 'Aller', Lato, Verdana;
}
/* Content Wrapper */
#WRAPPER {
display: block;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
2017-12-03 15:02:18 +00:00
background-color: #eee;
2017-12-01 14:46:48 +00:00
overflow: hidden;
}
/* Page Header */
#HEADER{
display: block;
position: absolute;
top: 0;
left: 0;
width: 100%;
2017-12-03 15:02:18 +00:00
height: calc( 3.5em - 1px );
2017-12-01 14:46:48 +00:00
2017-12-03 15:02:18 +00:00
background: #fff;
/* background: -webkit-linear-gradient(top right, #2428ff, #00E288); */
2017-12-01 14:46:48 +00:00
color: #fff;
font-family: inherit;
2017-12-03 15:02:18 +00:00
border-bottom: 1px solid #ddd;
2017-12-01 14:46:48 +00:00
overflow: hidden;
}
/* Page Menu */
#MENU{
display: flex;
position: absolute;
2017-12-03 15:02:18 +00:00
top: 3.5em;
2017-12-01 14:46:48 +00:00
left: 0;
2017-12-03 15:02:18 +00:00
width: calc( 15em - 1px );
2017-12-01 14:46:48 +00:00
height: calc( 100% - 5em );
background-color: #fff;
2017-12-03 15:02:18 +00:00
border-right: 1px solid #ddd;
2017-12-01 14:46:48 +00:00
flex-direction: column;
justify-content: flex-start;
flex-wrap: nowrap;
transition: width .2s ease-in-out;
2017-12-01 14:46:48 +00:00
}