Last active
August 29, 2015 14:07
-
-
Save leechy/0ed2103f7b65275981d9 to your computer and use it in GitHub Desktop.
L2 Classic Preorder Page Layout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* L2 Classic Preorder Page Layout | |
*/ | |
html, body { | |
height: 100%; | |
margin: 0; | |
} | |
.layout { | |
height: 100%; | |
display: flex; | |
flex-direction: column; | |
justify-content: space-between; | |
align-items: center; | |
background: purple; | |
color: white; | |
} | |
.layout--bar { | |
height: 35px; | |
min-height: 35px; | |
width: 100%; | |
background: cyan; | |
} | |
.layout--footer { | |
width: 100%; | |
max-width: 1200px; | |
padding: 10px; | |
background: lightgreen; | |
} | |
.layout--centercontent { | |
flex-grow: 1; | |
display: flex; | |
flex-direction: row; | |
justify-content: center; | |
align-items: center; | |
width: 100%; | |
} | |
.layout--content { | |
display: flex; | |
flex-direction: row; | |
flex-wrap: nowrap; | |
align-items: flex-start; | |
max-width: 1200px; | |
width: 100%; | |
background: rgba(0, 0, 0, 0.2); | |
} | |
.layout--classic { | |
flex-grow: 1; | |
padding: 31px 0 50px 40px; | |
} | |
.layout--ertheia { | |
width: 300px; | |
padding: 40px 0 0 30px; | |
} | |
.layout--divider { | |
position: relative; | |
left: -330px; | |
height: 100%; | |
border-left: 1px solid rgba(255, 255, 255, 0.4); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- content to be placed inside <body>…</body> --> | |
<div class="layout"> | |
<div class="layout--bar">bar</div> | |
<div class="layout--centercontent"> | |
<div class="layout--content"> | |
<div class="layout--classic">L2 Classic<br>block can be taller<br>than Ertheia<br>but they need<br>to start at the same<br>place vertically</div> | |
<div class="layout--ertheia">L2 Ertheia</div> | |
</div> | |
<div class="layout--divider"></div> | |
</div> | |
<div class="layout--footer">footer<br>can be whatever height<br>it needs to be</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// alert('Hello world!'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment