93 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			93 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| @import "normalize.less";
 | |
| @import "font.less";
 | |
| 
 | |
| @headerH : 50px;
 | |
| @footerH : 50px;
 | |
| @mainW : 75%;
 | |
| @sidebarW : 25%;
 | |
| @margin : 15px;
 | |
| 
 | |
| 
 | |
| html {
 | |
|     font-size: 20px;
 | |
| }
 | |
| 
 | |
| * {
 | |
|     box-sizing: border-box;
 | |
|     font-weight: normal;
 | |
|     font-style: normal;
 | |
| }
 | |
| 
 | |
| body {
 | |
|     font-family: 'Alfphabet-III', Arial, Helvetica, sans-serif;
 | |
|     margin: 0px;
 | |
| }
 | |
| 
 | |
| 
 | |
| 
 | |
| h1 {
 | |
|     // font-size: 1.75rem;
 | |
|     // color: #375773;
 | |
|     // // text-transform: uppercase;
 | |
|     // font-weight: 100;
 | |
|     margin: 0px;
 | |
| }
 | |
| 
 | |
| .header,
 | |
| .footer {
 | |
|     padding: @margin;
 | |
|     display: flex;
 | |
|     align-items: center;
 | |
|     > div {
 | |
|         flex-shrink: 0;
 | |
|     }
 | |
| }
 | |
| 
 | |
| .main__wrapper {
 | |
|     position: absolute;
 | |
|     top: @headerH;
 | |
|     right: 0;
 | |
|     bottom: @footerH;
 | |
|     left: 0;
 | |
|     display: flex;
 | |
|     > div {
 | |
|         padding : @margin;
 | |
|         flex-shrink: 0;
 | |
| 
 | |
|         &.sidebar {
 | |
|             width: @sidebarW;
 | |
|             overflow: auto;
 | |
|             border-right: 1px solid #000;
 | |
|         }
 | |
|         &.main {
 | |
|             position: relative;
 | |
|             width: @mainW;
 | |
|             display: flex;
 | |
|             align-items: center;
 | |
|             justify-content: center;
 | |
| 
 | |
|             img {
 | |
|                 width: 70%;
 | |
|                 border: 1px solid #aaa;
 | |
|                 position: absolute;
 | |
|         
 | |
|                 &.image1 {
 | |
|                     transform: rotate(-5deg) translate(3%, -2%);
 | |
| 
 | |
|                 }
 | |
|                 &.image2 {
 | |
|                     // transform: rotate(-3deg);
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|     }
 | |
| }
 | |
| 
 | |
| .footer {
 | |
|     position: absolute;
 | |
|     bottom: 0;
 | |
|     right: 0;
 | |
|     left: 0;
 | |
|     height: @footerH;
 | |
| 
 | |
| } |