Skip to content

Commit

Permalink
Feature/home screen upgrade (#1)
Browse files Browse the repository at this point in the history
* Update main layout

* Add basic grid system and update text based on tentative content size.

* Update assets, include font and make site more responsive.
  • Loading branch information
dmallcott authored Oct 3, 2016
1 parent c87e6d6 commit f095705
Show file tree
Hide file tree
Showing 10 changed files with 298 additions and 89 deletions.
Binary file added assets/fonts/Mosk.ttf
Binary file not shown.
Binary file added assets/img/background.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/background_phones.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions assets/img/email.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
45 changes: 45 additions & 0 deletions assets/img/github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions assets/img/linkedin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
136 changes: 68 additions & 68 deletions assets/img/logo-final.svg → assets/img/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 40 additions & 0 deletions assets/img/twitter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
83 changes: 79 additions & 4 deletions css/main.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
@font-face {
font-family: Mosk;
src: url('../assets/fonts/Mosk.ttf');
}

body {
background-color: #374753;
overflow:hidden;
}

h1 {
font-family: 'Mosk', sans-serif !important;
font-size: 3.5em !important;
color: white !important;
margin-bottom: 0.4em !important;;
}

p {
font-family: 'Lato', sans-serif !important;
font-size: 1.5em !important;
color: white;
}

.full-screen {
width: 100%;
height: 100%;
Expand All @@ -16,12 +39,64 @@

}

body {
.fill {
height: 100%;
min-height: 100%;
}

.container-fluid {
padding: 0 !important;
}

#background {
position: absolute;
}

#overlay {
position: absolute;
background-color: #374753;
overflow:hidden;
opacity: 0.4;
}

#image {
background-image: url(../assets/img/background_phones.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: right;
position: absolute;
}

#main_row {
text-align: center;
}

#logo {
width: 25%;
height: 25%;
width: 12em;
margin: 1em;
}

#icons_bar {
text-align: center;
}

#icons_bar > a > .icon {
height: 3em;
width: 3em;
margin: 1em;
}

@media only screen and (min-width : 1200px) {

#main_row {
text-align: left;
}

#logo {
text-align: left;
}

#image {
background-image: url(../assets/img/background.jpg);
background-position: center;
}
}
Loading

0 comments on commit f095705

Please sign in to comment.