karnov.club/css/style.css

253 lines
3 KiB
CSS
Raw Normal View History

2015-12-22 05:59:30 +00:00
/*
* GENERAL
*/
2015-06-22 04:00:29 +00:00
body {
2015-12-22 05:59:30 +00:00
margin: 0 0;
}
#page {
position: relative;
height: 100vh;
width: 100vw;
2015-12-22 18:00:47 +00:00
background-color: #fff;
2015-12-23 03:03:52 +00:00
min-width: 1020px;
min-height: 640px;
2015-06-22 04:00:29 +00:00
}
2015-12-22 05:59:30 +00:00
.social {
2015-06-22 04:00:29 +00:00
position: absolute;
2015-12-22 05:59:30 +00:00
bottom: 1em;
margin-left: 0;
right: 1em;
2015-06-22 04:00:29 +00:00
}
2015-12-22 05:59:30 +00:00
.social ul {
list-style: none;
margin-bottom: 0;
2015-06-22 04:00:29 +00:00
}
2015-12-22 05:59:30 +00:00
.social ul li {
display: inline;
2015-06-22 04:00:29 +00:00
}
2015-12-22 18:00:47 +00:00
p {
line-height: 1.2;
margin: 0 0;
}
2015-12-23 02:32:15 +00:00
a {
color :#727272;
}
a:hover {
color: #03A9F4;
}
a i {
color: inherit;
}
2015-12-22 05:59:30 +00:00
/*
* PANELS
*/
#panel-landing {
/*text-align: center;*/
height: 25vh;
background-color: #FFF;
2015-06-22 04:00:29 +00:00
}
2015-12-22 05:59:30 +00:00
#panel-resume {
2015-12-22 18:00:47 +00:00
2015-06-22 04:00:29 +00:00
}
2015-12-22 05:59:30 +00:00
#panel-projects {
2015-12-22 18:00:47 +00:00
2015-06-22 04:00:29 +00:00
}
2015-12-22 05:59:30 +00:00
#panel-intouch {
2015-12-22 18:00:47 +00:00
2015-06-22 04:00:29 +00:00
}
2015-12-22 05:59:30 +00:00
/*
* LANDING PANEL
*/
2015-06-22 04:00:29 +00:00
2015-12-23 02:32:15 +00:00
#container-landing{
margin-left:2vw;
}
2015-12-22 05:59:30 +00:00
#greet {
margin-bottom: 0;
2015-12-23 02:32:15 +00:00
font-size: 7vw;
2015-06-22 04:00:29 +00:00
}
2015-12-22 05:59:30 +00:00
#landing-blurb {
overflow: hidden;
2015-12-23 02:32:15 +00:00
margin-left:0.4vw;
2015-06-22 04:00:29 +00:00
}
2015-12-23 02:32:15 +00:00
#container-landing ul {
2015-12-22 05:59:30 +00:00
list-style: none;
2015-12-23 02:32:15 +00:00
font-size: 4vw;
padding-left: 0;
2015-12-22 05:59:30 +00:00
}
2015-12-23 02:32:15 +00:00
#container-landing ul li {
2015-12-22 05:59:30 +00:00
display: inline;
2015-12-23 02:32:15 +00:00
margin-top: 0;
margin-bottom: 0;
margin-right: 1vw;
2015-12-22 05:59:30 +00:00
}
2015-12-22 05:59:30 +00:00
/*
* RESUME PANEL
*/
#panel-resume .fp-tableCell {
vertical-align: baseline;
}
2015-12-23 03:03:52 +00:00
#container-me {
margin-left:2vw;
width: 95%;
margin-top:2vh
2015-12-22 15:52:39 +00:00
}
2015-12-23 03:03:52 +00:00
#container-me p {
2015-12-22 15:52:39 +00:00
margin-top: 0;
2015-12-22 05:59:30 +00:00
}
#img_bubble1 {
border-radius: 7em;
2015-12-23 03:03:52 +00:00
width: 25vw;
display: inline;
2015-12-22 07:15:15 +00:00
}
2015-12-22 17:06:30 +00:00
/*
* PROJECTS PANEL
*/
#panel-projects .fp-tableCell {
vertical-align: baseline;
}
.projects-row {
2015-12-23 03:03:52 +00:00
height: 36%;
width: 90%;
2015-12-23 02:32:15 +00:00
margin-left: auto;
margin-right:auto;
2015-12-23 03:03:52 +00:00
margin-top: 1vh;
padding: 1.5vh 7vw;
2015-12-22 17:06:30 +00:00
}
.projects-cell {
2015-12-23 03:03:52 +00:00
width: 30%;
height:100%;
2015-12-23 02:32:15 +00:00
background-color: #03A9F4;
2015-12-23 03:03:52 +00:00
margin:1% 1%;
2015-12-22 17:06:30 +00:00
float:left;
}
2015-12-23 03:03:52 +00:00
#container-projects-main {
2015-12-23 02:32:15 +00:00
text-align:center;
}
2015-12-23 03:03:52 +00:00
.slide-header {
font-size: 4vw;
}
2015-12-23 04:18:49 +00:00
#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;
}
2015-12-22 05:59:30 +00:00
/*
* MODIFIERS
*/
2015-12-23 03:03:52 +00:00
.accentsize { font-size: 3vw; }
2015-12-23 02:32:15 +00:00
.basesize { font-size: 2vw; }
2015-12-22 05:59:30 +00:00
.bold { font-weight: bold; }
.pos-abs { position: absolute; }
.mt-z { margin-top: 0; }
2015-12-23 02:32:15 +00:00
.mt2 { margin-top: 0.5em;}
2015-12-22 05:59:30 +00:00
.mb-z { margin-bottom: 0; }
.vcenter {
top: 40vh;
position: relative;
transform: translateY(-50%);
2015-06-22 04:00:29 +00:00
}
2015-12-22 18:00:47 +00:00
.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");
}