karnov.club/css/style.css
2015-12-22 23:18:49 -05:00

253 lines
No EOL
3 KiB
CSS

/*
* GENERAL
*/
body {
margin: 0 0;
}
#page {
position: relative;
height: 100vh;
width: 100vw;
background-color: #fff;
min-width: 1020px;
min-height: 640px;
}
.social {
position: absolute;
bottom: 1em;
margin-left: 0;
right: 1em;
}
.social ul {
list-style: none;
margin-bottom: 0;
}
.social ul li {
display: inline;
}
p {
line-height: 1.2;
margin: 0 0;
}
a {
color :#727272;
}
a:hover {
color: #03A9F4;
}
a i {
color: inherit;
}
/*
* PANELS
*/
#panel-landing {
/*text-align: center;*/
height: 25vh;
background-color: #FFF;
}
#panel-resume {
}
#panel-projects {
}
#panel-intouch {
}
/*
* LANDING PANEL
*/
#container-landing{
margin-left:2vw;
}
#greet {
margin-bottom: 0;
font-size: 7vw;
}
#landing-blurb {
overflow: hidden;
margin-left:0.4vw;
}
#container-landing ul {
list-style: none;
font-size: 4vw;
padding-left: 0;
}
#container-landing ul li {
display: inline;
margin-top: 0;
margin-bottom: 0;
margin-right: 1vw;
}
/*
* RESUME PANEL
*/
#panel-resume .fp-tableCell {
vertical-align: baseline;
}
#container-me {
margin-left:2vw;
width: 95%;
margin-top:2vh
}
#container-me p {
margin-top: 0;
}
#img_bubble1 {
border-radius: 7em;
width: 25vw;
display: inline;
}
/*
* PROJECTS PANEL
*/
#panel-projects .fp-tableCell {
vertical-align: baseline;
}
.projects-row {
height: 36%;
width: 90%;
margin-left: auto;
margin-right:auto;
margin-top: 1vh;
padding: 1.5vh 7vw;
}
.projects-cell {
width: 30%;
height:100%;
background-color: #03A9F4;
margin:1% 1%;
float:left;
}
#container-projects-main {
text-align:center;
}
.slide-header {
font-size: 4vw;
}
#cell1 {
background-image: url("../images/bathbomb1.jpg");
background-size: 100% 100%;
box-shadow: inset 0px 0px 0px 1000px rgba(0,0,0,0.5);
}
#cell2 {
background-image: url("../images/robotdpm.jpg");
background-size: 100% ;
box-shadow: inset 0px 0px 0px 1000px rgba(0,0,0,0.5);
}
.projects-cell p {
color: #fff;
font-family: Oswald;
}
.cell-date { font-size: 7vh; }
.cell-title { font-size: 5vh; }
.cell-source { font-size: 3vh; }
/*
* INTOUCH PANEL
*/
#panel-intouch .fp-tableCell {
vertical-align: baseline;
}
#container-intouch {
margin-left:2vw;
width: 95%;
margin-top:2vh
}
#social-boxes {
text-align: center;
}
#social-boxes ul {
list-style: none;
}
#social-boxes ul li {
display: inline;
margin-left: 3vh;
font-size:5vh;
}
/*
* MODIFIERS
*/
.accentsize { font-size: 3vw; }
.basesize { font-size: 2vw; }
.bold { font-weight: bold; }
.pos-abs { position: absolute; }
.mt-z { margin-top: 0; }
.mt2 { margin-top: 0.5em;}
.mb-z { margin-bottom: 0; }
.vcenter {
top: 40vh;
position: relative;
transform: translateY(-50%);
}
.primarytext {color :#727272;}
.accent {color:#03A9F4;}
/*
* FONT DATA
*/
.opensans { font-family: OpenSans; }
.oswald { font-family: Oswald; }
@font-face {
font-family: OpenSans;
src: url("../fonts/OpenSans-CondLight.ttf") format("truetype");
}
@font-face {
font-family: Oswald;
src: url("../fonts/Oswald-Light.ttf") format("truetype");
}