Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #108 from hiwye/landing-page-work
Created a landing page #98
- Loading branch information
Showing
28 changed files
with
570 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/* | ||
GISTLOG LANDING PAGE CSS | ||
*/ | ||
|
||
@mobile: ~"only screen and (max-width: 720px)"; | ||
@tablet: ~"only screen and (max-width: 1100px)"; | ||
|
||
@highlight-background-color: #648EC6; | ||
@secondary-background-color: #E4E7EC; | ||
|
||
@nav-margin: 50px; // Margin around nav area | ||
@content-margin: 20%; // Horizontal margin around content | ||
@section-spacing: 50px; // Vertical padding around sections | ||
@font-size: 20px; // 1em font size | ||
|
||
@nav-links-spacing: 15px; // Horizontal spacing between nav links | ||
@intro-headroom: 50px; // Spacing between nav and intro content | ||
@intro-gutter: 50px; // Spacing between intro screenshot and claim | ||
@claim-spacing: 15px; // Spacing between claim items | ||
@features-spacing: 20px; // Vertical spacing between features | ||
@footer-spacing: 20px; // Padding around footer items | ||
|
||
* { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
body { | ||
margin: 0; | ||
font-family: 'Roboto', sans-serif; | ||
font-size: @font-size; | ||
} | ||
|
||
@import "landing/nav"; | ||
@import "landing/intro"; | ||
@import "landing/instructions"; | ||
@import "landing/features"; | ||
@import "landing/footer"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
section.features { | ||
padding: @section-spacing @content-margin; | ||
background: @secondary-background-color; | ||
|
||
display: flex; | ||
align-items: center; | ||
|
||
@media @tablet { | ||
& { | ||
flex-direction: column; | ||
padding: @section-spacing @content-margin/6; | ||
|
||
& .screenshot { | ||
display: none; | ||
} | ||
|
||
& .list { | ||
text-align: center !important; | ||
padding: 0 !important; | ||
display: flex; | ||
|
||
& .feature { | ||
margin: 5px; | ||
border-radius: 5px; | ||
background: white; | ||
flex: 1; | ||
|
||
& .icon { | ||
padding-bottom: 10px; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
& .list { | ||
text-align: right; | ||
padding: @features-spacing; | ||
|
||
flex: 4; | ||
|
||
&.right { | ||
text-align: left; | ||
} | ||
|
||
& .feature { | ||
padding: @features-spacing 0; | ||
|
||
& .icon { | ||
color: grey; | ||
margin-bottom: 5px; | ||
font-size: 2em; | ||
} | ||
} | ||
} | ||
|
||
& .screenshot { | ||
flex: 7; | ||
|
||
& img { | ||
width: 100%; | ||
display: block; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
footer.footer { | ||
background: @highlight-background-color; | ||
text-align: center; | ||
padding: @footer-spacing; | ||
|
||
& a { | ||
color: white; | ||
text-decoration: none; | ||
padding: 0 @footer-spacing; | ||
|
||
&:hover { | ||
text-decoration: underline; | ||
} | ||
} | ||
} |
Oops, something went wrong.