Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changed color to cyan #28

Open
wants to merge 24 commits into
base: revert-17-master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
Binary file added css/.DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ header {

#top {
color:#ffffff;
background:url(../img/banner-1.jpg) bottom center no-repeat;
background:url(../img/banner-3.jpg) bottom center no-repeat;
width:100%;
max-height:auto;
height:667px;
Expand Down
8 changes: 5 additions & 3 deletions css/timeline.css
Original file line number Diff line number Diff line change
Expand Up @@ -105,16 +105,18 @@
margin: 10px auto 80px;
max-width: 94%;
z-index: 2;
overflow: hidden;
height: 500px;
}
@media (min-width: 480px) {
@media (min-width: 580px) {
#timeline .demo-card {
max-width: 60%;
/* max-width: 80%; */
box-shadow: 0px 1px 22px 4px rgba(0, 0, 0, 0.07);
}
}
@media (min-width: 720px) {
#timeline .demo-card {
max-width: 40%;
max-width: 80%;
}
}
@media (min-width: 1000px) {
Expand Down
Binary file added img/.DS_Store
Binary file not shown.
Binary file added img/HMR Orientation 1.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 img/HMR Orientation 2.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 img/Mait orientaiton 2.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 img/Mait orientation 1.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 img/Monthly Challenge.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 img/banner-3.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 img/sig1.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 img/sponsor/FINAL JOHN SNOW.png
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 img/sponsor/FINAL STICKERMULE.png
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 img/sponsor/mlh.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
106 changes: 106 additions & 0 deletions import.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
@import "bourbon";


//Edit these
$farColor: #ffe4c7;
$nearColor: darken(cyan,30%);
$layer: 7; //make sure it is +1 the ammount of layer divs in the html
$perspective: 1;

.bg {
position:absolute;
height:100%;
width:100%;
top:0px;
z-index:0;
background-color:$farColor;
}

.layer {
position:fixed;
top:0px;
margin:auto;
width:100%;
z-index:100;
min-height:400px;
top: 0; left: 0; right: 0; bottom: 0;
background-position: top center;
background-repeat: no-repeat;
}

.parallax {
height: 100vh;
overflow-x: hidden;
overflow-y: scroll;
perspective: #{$perspective + px};
}

.parallax-group {
position: relative;
height: 100vh;
transform-style: preserve-3d;
}




@for $i from 1 to $layer {
.parallax-group div:nth-child(#{$i}) {

//figure out best mixing math, this isn't true to the starting colors, doesnt scale that well
$mixedColor: mix($nearColor, $farColor, $i*15);
$randOffset: random(300)+px;
$zDepth: ($layer - $i)/0.5;

background-color:$farColor;
margin-top:#{300*($i+1) + px};
background-color:$mixedColor;
transform: translateZ(#{-($zDepth) + px}) scale(#{1 + (-($zDepth) * -1) / $perspective});

&:before {
content:"";
width:100%;
height:200px;
position:absolute;
bottom:100%;
left:0;
background-image: linear-gradient(135deg, transparent 66%, $mixedColor 66.01%),
linear-gradient(45deg, $mixedColor 34%, transparent 34.01%);
background-position: $randOffset 0px;
background-size: 200px 100%;
background-repeat:repeat-x;
}
}

} //loop over







///Demo specific styling



.content {
position:relative;
background-color:transparent;
font-family:"Arial";
letter-spacing:10px;
text-transform:uppercase;
line-height:40px;
z-index:10;
width:100%;
font-size:15px;
text-align:center;
color:white;
margin-top:1000px;
$zDepth: (1)/0.5;
transform: translateZ(#{-($zDepth) + px}) scale(#{1 + (-($zDepth) * -1) / $perspective});
}

.fill {
height:80%; //?
}
Loading