Created
September 10, 2018 07:44
-
-
Save trotzig/e1218ae8812c5ceeabd3333f0f29d342 to your computer and use it in GitHub Desktop.
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
<html> | |
<style> | |
* { | |
box-sizing: border-box; | |
} | |
.nitem { | |
padding: 15px 30px; | |
} | |
.bitem { | |
flex-grow: 1; | |
margin: 30px 15px; | |
padding: 15px; | |
} | |
</style> | |
<body style=" | |
color: white; | |
margin: 0; | |
padding: 0; | |
font-family: sans-serif; | |
font-size: 14px; | |
"> | |
<div style=" | |
display: flex; | |
align-items: center; | |
min-height: 100px; | |
"> | |
<img src="assets/logo.png" style="width: 200px; height: auto" /> | |
</div> | |
<div style=" | |
display: flex; | |
align-items: center; | |
padding: 15px; | |
background-color: blue; | |
color: white; | |
min-height: 40px; | |
"> | |
<div class="nitem">Swedish voting system</div> | |
<div class="nitem">English sdflkjm</div> | |
<div class="nitem">For parties</div> | |
<div class="nitem">asdslfkj</div> | |
</div> | |
<div style=" | |
display: flex; | |
align-items: center; | |
color: white; | |
background-color: #f0f0f0; | |
margin: 30px; | |
"> | |
<div style=" | |
background-color: black; | |
width: 50%; | |
flex-grow: 1; | |
min-height: 300px; | |
"> | |
<h1>Val 2018</h1> | |
<p style="font-size: 12px;">adsflkjasdflkja lsdkf laskdfj laksdf lkasjd flkjasdflkj asldfkj alsdkjf laskdjf lksadj f fldkjasldkfjl askdfj lasdkfj laskdjf </p> | |
<div style=" | |
background-color: yellow; | |
padding: 10px; | |
display: inline-block; | |
"> | |
Everything about the mess | |
</div> | |
</div> | |
<img src="assets/date-note.png" style=" | |
transform: rotate(10deg); | |
flex-grow: 0; | |
"/> | |
<div style="flex-grow: 1"></div> | |
</div> | |
<div style=" | |
background-color: #f0f0f0; | |
display: flex; | |
align-items: center; | |
padding: 15px; | |
color: white; | |
"> | |
<div class="bitem" style="background-color: green">Something something</div> | |
<div class="bitem" style="background-color: orange">Something something</div> | |
<div class="bitem" style="background-color: blue">Something something</div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a screenshot of the visual results:
Here's the reference design: