Skip to content

Commit 62613d5

Browse files
committed
removing tween
1 parent a4db901 commit 62613d5

File tree

5 files changed

+135
-12
lines changed

5 files changed

+135
-12
lines changed

build/assets/css/styles.css

Lines changed: 61 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3139,12 +3139,6 @@ html {
31393139

31403140
body {
31413141
background-color: #ffffff;
3142-
opacity: 0;
3143-
}
3144-
3145-
body.tween {
3146-
opacity: 1;
3147-
transition: all 0.7s ease-in;
31483142
}
31493143

31503144
body.page--all .container {
@@ -3520,3 +3514,64 @@ ul.pretty {
35203514
padding-top: 50%;
35213515
/* If you want text inside of it */
35223516
}
3517+
3518+
.specimen,
3519+
.media {
3520+
margin-bottom: 48px;
3521+
text-align: center;
3522+
}
3523+
3524+
@media only screen and (min-width: 1100px) {
3525+
.stretch {
3526+
margin-right: -10vw;
3527+
margin-left: -10vw;
3528+
}
3529+
}
3530+
3531+
/* Carousel Styling */
3532+
.stack {
3533+
padding: 16px;
3534+
border: 1px solid #eee;
3535+
background: #fff;
3536+
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 10px 0 -5px #eee, 0 10px 1px -4px rgba(0, 0, 0, 0.15), 0 20px 0 -10px #eee, 0 20px 1px -9px rgba(0, 0, 0, 0.15);
3537+
}
3538+
3539+
/* Image Styling */
3540+
.paper {
3541+
padding: 8px;
3542+
border: 1px solid #eee;
3543+
background: #fff;
3544+
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
3545+
}
3546+
3547+
.fake-browser-ui {
3548+
display: inline-block;
3549+
position: relative;
3550+
padding: 20px 0 0;
3551+
border-radius: 3px;
3552+
background: #ddd;
3553+
line-height: 0;
3554+
}
3555+
3556+
.fake-browser-ui .scroll-box {
3557+
height: 500px;
3558+
overflow: scroll;
3559+
}
3560+
3561+
.fake-browser-ui .frame {
3562+
display: block;
3563+
position: absolute;
3564+
top: 5px;
3565+
left: 1px;
3566+
height: 15px;
3567+
}
3568+
3569+
.fake-browser-ui span {
3570+
width: 8px;
3571+
height: 8px;
3572+
margin: 0 0 0 4px;
3573+
float: left;
3574+
border: 1px solid #dadada;
3575+
border-radius: 8px;
3576+
background-color: #eee;
3577+
}

build/assets/js/main.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/assets/js/maps/main.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/js/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ $(function() {
4747

4848
$('document').ready(function() {
4949
// Add Tween Class
50-
$('body').addClass('tween');
50+
// $('body').addClass('tween');
5151

5252
// Menu Trigger
5353
$('.primary-menu-btn').on('click touchstart', function(e) {

src/scss/_custom.scss

Lines changed: 71 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ html {
44

55
body {
66
background-color: $white;
7-
opacity: 0;
7+
// opacity: 0;
88

99
// article {
1010
// transform: translateY(35vh);
1111
// }
1212

1313
&.tween {
1414
// on load
15-
opacity: 1;
16-
transition: all 0.7s ease-in;
15+
// opacity: 1;
16+
// transition: all 0.7s ease-in;
1717

1818
// article {
1919
// transition: all 0.7s ease-in;
@@ -403,3 +403,71 @@ ul.pretty {
403403
// .blend--multiply {
404404
// mix-blend-mode: multiply;
405405
// }
406+
407+
// Media Content
408+
.specimen,
409+
.media {
410+
margin-bottom: g(6);
411+
text-align: center;
412+
}
413+
414+
.stretch {
415+
@include media($md-breakpoint) {
416+
margin-left: -10vw;
417+
margin-right: -10vw;
418+
}
419+
}
420+
421+
/* Carousel Styling */
422+
.stack {
423+
background: #fff;
424+
border: 1px solid #eee;
425+
box-shadow:
426+
/* The top layer shadow */ 0 1px 1px rgba(0, 0, 0, 0.15),
427+
/* The second layer */ 0 10px 0 -5px #eee,
428+
/* The second layer shadow */ 0 10px 1px -4px rgba(0, 0, 0, 0.15),
429+
/* The third layer */ 0 20px 0 -10px #eee,
430+
/* The third layer shadow */ 0 20px 1px -9px rgba(0, 0, 0, 0.15);
431+
padding: g(2);
432+
}
433+
434+
/* Image Styling */
435+
.paper {
436+
background: #fff;
437+
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
438+
padding: 8px;
439+
border: 1px solid #eee;
440+
// width: 100%;
441+
}
442+
443+
.fake-browser-ui {
444+
padding: 20px 0 0;
445+
border-radius: 3px;
446+
background: #ddd;
447+
display: inline-block;
448+
position: relative;
449+
line-height: 0;
450+
451+
.scroll-box {
452+
overflow: scroll;
453+
height: 500px;
454+
}
455+
}
456+
457+
.fake-browser-ui .frame {
458+
display: block;
459+
height: 15px;
460+
position: absolute;
461+
top: 5px;
462+
left: 1px;
463+
}
464+
465+
.fake-browser-ui span {
466+
height: 8px;
467+
width: 8px;
468+
border-radius: 8px;
469+
background-color: #eee;
470+
border: 1px solid #dadada;
471+
float: left;
472+
margin: 0 0 0 4px;
473+
}

0 commit comments

Comments
 (0)