Skip to content

Commit

Permalink
first draft new homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
jackylu97 committed Aug 17, 2017
1 parent 5b03f33 commit 7d9f6d7
Show file tree
Hide file tree
Showing 12 changed files with 817 additions and 0 deletions.
Binary file added css/fonts/apercu-bold.ttf
Binary file not shown.
Binary file added css/fonts/apercu-regular.ttf
Binary file not shown.
299 changes: 299 additions & 0 deletions css/sep.css
@@ -0,0 +1,299 @@
/* FONTS */

@font-face {
font-family: 'Apercu';
src: url('fonts/apercu-regular.ttf');
}

@font-face {
font-family: 'Apercu-Bold';
src: url('fonts/apercu-bold.ttf');
}

.apercu {
font-family: 'Apercu';
}

.apercu-bold {
font-family: 'Apercu-Bold';
}


/* GLOBAL */

/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/

html, body, div, span, 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 {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}

html {
box-sizing: border-box;
}

html, body {
font-family: 'Apercu';
width: 100%;
height: 100%;
}

*, *:before, *:after {
box-sizing: inherit;
}

a {
text-decoration: none;
color: black;
}

h1 {
font-size: 3.35rem;
}

span, h1, h2 {
margin: 0.83em 0;
}

/* header */
header {
display: flex;
justify-content: space-between;
align-items: center;
height: 18vh;
padding: 0 10%;
}

.navigation {
list-style: none;
margin: 0;
display: flex;
justify-content: flex-end;
}

.navigation a {
text-decoration: none;
display: block;
padding: 0.8em;
font-size: 1.55vw;
}

.logo-image {
height: 2.3vw;
vertical-align: middle;
margin-top: -5px;
}

.logo-text {
font-size: 1.55vw;
margin: 10px;
}

/* INTRO SECTION */
.intro {
width: 100%;
height: calc(100% - 18vh);
}

.intro_text {
text-align: left;
position: absolute;
top: 50%;
transform: translate(35%,-35%);
margin-top: -5rem;
}

.intro_text h1 {
max-width: 50vw;
font-size: 7vh;
}

.intro_text span {
max-width: 50vw;
display: inline-block;
font-size: 2.7vh;
margin-left: 25vh;
}

.arrow {
max-width: 40px;
position:absolute;
bottom: 5%;
left: calc(50% - 20px);
}

/* ABOUT SECTION */
.about {
width: 100%;
height: 100%;
position: relative;
}

.about_text {
text-align: left;
position: absolute;
top: 40%;
transform: translate(35%,-35%);
margin-top: -5rem;
}

.about_text h1 {
max-width: 50vw;
font-size: 6.25vh;
}

.about_text span {
max-width: 50vw;
display: inline-block;
font-size: 2.7vh;
margin-left: 25vh;
}

.section_img {
display: block;
width: 25vw;
position: absolute;
top: 0;
transform: translate(20%, 20%);
z-index: -1;
}

/* RUSH SECTION */

.rush {
width: 100%;
height: 80%;
position: relative;
}

.rush_logo {
height: 8vh;
margin-left: 15%;
}

.rush_text {
text-align: left;
position: absolute;
top: 50%;
transform: translate(35%,-35%);
margin-top: -5rem;
z-index: 1;
}

.rush_banner {
display: inline-block;
font-size: 4vh;
line-height: 1.3;
margin-left: 2vw;
}

.rush_text > span {
max-width: 40vw;
display: inline-block;
font-size: 2.7vh;
margin-left: 25vh;
}

.rush_img {
position:absolute;
left: 0;
top: 20%;
width: 50%;
z-index: -1;
}

/* FAQ SECTION */

.faq {
margin-top: 40px;
}

.qa_div {
height: 50%;
position: relative;
}

.qa_wrapper {
text-align: left;
position: absolute;
top: 50%;
transform: translate(45%,-35%);
margin-top: -5rem;
}

.question {
max-width: 40vw;
font-size: 3.75vh;
display:block;
}

.answer {
max-width: 45vw;
display: inline-block;
font-size: 2.7vh;
margin-left: 20vh;
}

.morph-wrap {
position: fixed;
top: 0;
left: 0;
bottom: 0;
width: 100%;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
pointer-events: none;
z-index: -10;
}

.morph {
position: relative;
height: 100%;
fill: var(--background-color-2);
flex: none;
opacity: 0.6;
}
1 change: 1 addition & 0 deletions down_arrow.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions js/anime.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7d9f6d7

Please sign in to comment.