-
-
Save aaazalea/5782269 to your computer and use it in GitHub Desktop.
Jakob Test Site
This file contains hidden or 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
/* | |
Jakob Test Site | |
*/ | |
html, body { | |
height:100%; | |
margin:0; | |
padding:0; | |
} | |
.content { | |
display:table; | |
width:100%; | |
border-spacing:5px; | |
border-collapse:separate; | |
background:#CCD; | |
height:100%; | |
padding:40px 0; | |
margin:-40px 0; | |
} | |
.Col1 { | |
display:table-cell; | |
border-radius:5px; | |
background:#fff; | |
width:25%; | |
} | |
#logo { | |
display:table-cell; | |
width:15%; | |
height:100%; | |
} | |
.Col2 { | |
display:table-cell; | |
border-radius:5px; | |
background:#fff; | |
width:75%; | |
} | |
.imglogo { | |
max-width:100%; | |
max-height:100%; | |
} | |
#header { | |
height:70px; | |
position:relative; | |
z-index:1; | |
} | |
#type { | |
margin-left:auto; | |
margin-right:auto; | |
margin:5px; | |
} | |
#footer { | |
height:40px; | |
background:#2F7; | |
position:relative; | |
z-index:1; | |
} | |
/** | |
* custom layout | |
*/ | |
/* colors */ | |
#header, | |
#footer { | |
background-color: #f1f1f1; | |
} | |
#main-wrap { | |
background-color: #D9D9D9; | |
} | |
#sidebar { | |
background-color: #d2d2d2; | |
} | |
#content-wrap { | |
background-color: #c5c5c5; | |
} | |
.info { | |
background-color: #DDD; | |
} | |
.info + .info { | |
background-color: #e6e6e6 | |
} | |
.logo{ | |
max-width:100%; | |
max-height:100%; | |
} | |
/* sizes */ | |
#main-wrap > div { | |
min-height: 450px; | |
} | |
#header, | |
#footer { | |
min-height: 40px; | |
} | |
.info { | |
min-height: 80px; | |
} | |
/* layout */ | |
#main-wrap { | |
/* overflow to handle inner floating block */ | |
overflow: hidden; | |
} | |
#sidebar { | |
float: left; | |
width: 30%; | |
} | |
#content-wrap { | |
float: right; | |
width: 70%; | |
} | |
#info-wrap { | |
/* overflow to handle inner floating block */ | |
overflow: hidden; | |
} | |
.info1 { | |
width: 20%; | |
float: left; | |
} | |
.info2 { | |
width: 40%; | |
float: center; | |
} | |
.info3 { | |
width: 40%; | |
float: right; | |
} |
This file contains hidden or 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
<div id="header"><div id="header"> | |
<div id="info-wrap"> | |
<div class="info1"> | |
<img class="logo" src="http://1.bp.blogspot.com/_r_rQE_Zccq4/S8RuxrMciaI/AAAAAAAAALo/K_3JSCb9R3I/s1600/EXAMPLE+LOGO+FINAL.jpg"> | |
</div> | |
<div class="info2">header stuff</div> | |
<div class="info3"> | |
Social buttons (<a href="addthis.com">eventually</a>) | |
</div></div></div> | |
</div> | |
<div class="content"> | |
<div id="left" class="Col1"> | |
<select id="type"> | |
<option value="Music">Music</option> | |
<option value="Money">Money</option> | |
<option value="Cars">Cars</option> | |
<option value="Pets">Pets</option> | |
</select> | |
<br/> | |
<input placeholder="search" style="margin:5px" /> | |
<br/> | |
</div> | |
<div id="center" class="Col2"></div> | |
</div> | |
<div id="footer"></div> |
This file contains hidden or 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 hidden or 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":"separate","fontsize":"80","seethrough":"1","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment