website-2018/css/main.css
2017-07-07 01:52:46 -04:00

440 lines
8.1 KiB
CSS

@font-face {
font-family: OpenSans;
src: url('../fonts/OpenSans/OpenSans-Regular.ttf')
}
@font-face {
font-family: OpenSans;
font-weight: bold;
src: url('../fonts/OpenSans/OpenSans-Bold.ttf')
}
/*http://meyerweb.com/eric/tools/css/reset/*/
html,body,div,span,button,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video {
font: inherit;
font-family: 'Segoe UI', 'Open Sans', 'Helvetica Neue', Helvetica, sans-serif;
font-size: 100%;
margin: 0;
padding: 0;
vertical-align: baseline;
border: 0
}
html {
width: 100%;
}
body {
overflow-x: hidden;
/*IMPORTANT TO CHANGE IF EXPANDING*/
width: 100%;
height: 100%;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-webkit-touch-callout: none
}
.fluid {
-webkit-transition: all .2s ease;
-moz-transition: all .2s ease;
-ms-transition: all .2s ease;
-o-transition: all .2s ease;
transition: all .2s ease;
}
.fluid-slow {
-webkit-transition: all .5s ease;
-moz-transition: all .5s ease;
-ms-transition: all .5s ease;
-o-transition: all .5s ease;
transition: all .5s ease;
}
hr {
width: 100%;
height: 1px;
float: left;
border: none;
background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}
header {
position: relative;
width: 100%;
/*height: calc(10vh + 50px);*/
}
#banner {
width: 100%;
height: 10vh;
text-align: center;
display: table;
}
#banner h1 {
display: table-cell;
vertical-align: middle;
font-size: 200%;
font-weight: bold;
}
nav#menu {
width: 100%;
height: 50px;
display: inline-flex;
flex-direction: row;
flex-wrap: nowrap;
background-color: #b71c1c;
box-shadow: 0 28px 79px 0 rgba(66, 129, 121, .27);
}
a.menu-item {
color: #000;
font-size: 1em;
z-index: 10;
display: inline-block;
float: left;
flex-basis: calc(100vw / 4);
}
button.menu-item {
cursor: pointer;
font-size: 1.2em;
width: 100%;
height: 50px;
outline: none;
color: #fff;
background-color: transparent;
border: none;
}
button.menu-item:hover {
background-color: #7f0000;
}
button.menu-item:active {
font-size: 1.1em;
}
#dome:before {
position: absolute;
width: 100%;
height: 40vh;
min-height: 280px;
top: 0vh;
content: '';
display: block;
background-color: rgba(255, 255, 255, 0.1);
-webkit-filter: blur(10px);
filter: blur(10px);
z-index: -1;
}
#dome {
position: relative;
width: 100%;
height: 40vh;
min-height: 280px;
color: #000;
background-color: rgba(255, 255, 255, 0.6);
}
#dome:after {
position: absolute;
width: 100%;
height: 40vh;
min-height: 280px;
top: 0vh;
content: '';
display: block;
background-color: #010318;
background-image: url('../img/bg.jpg');
background-size: cover;
background-position-x: center;
background-position-y: 7.5vh;
background-repeat: no-repeat;
background-attachment: fixed;
z-index: -2;
}
a {
color: #1976D2;
text-decoration: none;
}
button.social {
cursor: pointer;
outline: none;
border-radius: 50%;
width: 36px;
height: 36px;
margin: 3px;
background-color: transparent;
}
button.social#fb {
background: url('../icons/fb.png');
background-size: cover;
}
button.social#tw {
background: url('../icons/tw.png');
background-size: cover;
}
button.social#flickr {
background: url('../icons/flickr.png');
background-size: cover;
background-color: #fff;
}
button.social#mail {
background: url('../icons/mail.png');
background-size: cover;
}
button.flip>i {
height: 3vh;
width: 3vh;
display: block;
background-size: cover;
}
button.expand>i {}
i.left {
background-image: url("../icons/ic_keyboard_arrow_left_black_48px.svg");
}
i.right {
background-image: url("../icons/ic_keyboard_arrow_right_black_48px.svg");
}
i.expand {
background-image: url("../icons/ic_expand_less_white_48px.svg");
}
button.flip {
cursor: pointer;
position: absolute;
height: 6vh;
width: 3vh;
outline: none;
background-color: rgba(255, 255, 255, 0.5);
}
button.flip.left {
top: calc(50% - 3vh);
left: 0;
}
button.flip.right {
top: calc(50% - 3vh);
right: 0;
}
button.flip:hover {
background-color: rgba(255, 255, 255, 0.7);
}
button.flip:active {
background-color: rgba(255, 255, 255, 0.9);
}
button.expand {
cursor: pointer;
position: absolute;
height: 6vh;
width: 4vh;
outline: none;
background-color: rgba(255, 255, 255, 0.5);
}
span>a:hover {
color: #616161;
}
span>a:active {
color: #212121;
}
#wrapper {
position: relative;
width: 100%;
min-height: 100vh;
z-index: 1;
background-color: #424242;
}
#wrapper:before {
position: absolute;
width: 100%;
min-height: 100vh;
top: 0vh;
content: '';
display: block;
}
section {
width: 100%;
height: 100vh;
padding-bottom: 5vh;
display: flex;
}
#about {
display: flex;
height: 100%;
justify-content: center;
flex-flow: row wrap;
}
#updates {
display: flex;
height: 100%;
justify-content: center;
flex-flow: row wrap;
}
section h1 {
font-size: 3.5em;
margin-top: 0.5em;
}
section h2 {
width: 100%;
font-size: 2.1em;
font-weight: bold;
color: #fff;
margin: 2.5vh 0;
display: inline-block;
text-align: left;
}
#intro-title {
width: 100%;
}
#intro-text {
text-align: center;
width: calc(50% - 8vw);
margin: 0 2vw;
}
#intro-image {
text-align: center;
width: calc(50% - 8vw);
margin: 0 2vw;
padding-top: calc(5% + 2.1em);
}
#intro-image>img {
width: 100%;
}
#tweets {
text-align: center;
width: calc(50% - 8vw);
margin: 0 2vw;
}
#feedback {
text-align: center;
width: calc(50% - 8vw);
margin: 0 2vw;
}
#logo {
display: inline-block;
}
#letter {
width: calc(100% - 2em);
margin: 0 1em;
font-size: 1.1em;
display: inline-block;
text-align: left;
color: #fff;
clear: both;
}
#letter>p {
margin: 0.5em 0;
}
footer {
position: relative;
width: 100%;
height: calc(2.75em + 42px);
bottom: 0;
left: 0;
right: 0;
text-align: center;
color: #fff;
background-color: #212121;
z-index: 10;
opacity: 0.9;
}
footer>span {
width: 100vw;
height: 2em;
font-size: 1.1em;
display: table-cell;
vertical-align: middle;
}
#contact {
margin: 1em 0 0 0;
}
@media screen and (max-width: 900px) {
#intro-text,
#intro-image,
#tweets,
#tweets,
#feedback {
width: 100%;
}
#letter {
font-size: 1.4em;
}
#dome:after {
background-position-y: 20vh;
background-size: 100%;
}
#dome {
display: none;
}
#menu>a {
width: 100%;
height: 10vh;
flex-basis: auto;
}
#menu button {
font-size: 2em;
width: 100%;
height: 100%;
}
nav#menu {
width: 30vw;
height: 100vh;
display: block;
position: fixed;
z-index: 2;
left: -30vw;
}
}
@media screen and (min-width: 1800px) {
#letter {
font-size: 1.4em;
}
}
/*
#dome:after {
background-position-y: 20vh;
background-size: 100%;
}
*/