Skip to content
This repository was archived by the owner on May 16, 2020. It is now read-only.

Commit 1f917c7

Browse files
committed
Improved film reel.
1 parent d5d6516 commit 1f917c7

File tree

3 files changed

+80
-59
lines changed

3 files changed

+80
-59
lines changed

sass/_layout.scss

Lines changed: 64 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -627,69 +627,81 @@ hr {
627627
}
628628

629629
#speaker-videos {
630-
background-color: #BCEEF7;
631-
padding-top: 20px;
630+
background-color: #BCEEF7;
631+
padding-top: 20px;
632632
}
633633

634634
#videos {
635-
padding:20px 0;
636-
h2 {
637-
text-align: center;
638-
color: #383839;
639-
}
635+
padding:20px 0;
636+
h2 {
637+
text-align: center;
638+
color: #383839;
639+
}
640640
}
641641

642642
#video-reel {
643-
padding: 20px;
644-
//@include border-radius(6px);
645-
background-color: rgba(0,20,30,0.3);
646-
border-top: 5px dotted #777;
647-
border-bottom: 5px dotted #777;
648-
margin-bottom: 1em;
649-
@include box-shadow(rgba(0,20,30,0.3) 0 0 3px);
650-
651-
ul {
652-
text-align:center;
653-
list-style-type: none;
654-
margin:0;
655-
}
643+
position: relative;
644+
padding: 20px;
645+
background-color: rgba(0,20,30,0.3);
646+
margin-bottom: 1em;
656647

657-
li {
658-
display: inline-block;
659-
660-
a,img {
661-
@include transition-duration(0.3s);
662-
@include transition-timing-function(ease-in);
648+
&:before, &:after {
649+
display: block;
650+
content: "";
651+
position: absolute;
652+
left: 0;
653+
right: 0;
654+
border-top: 5px dotted #bceef7;
655+
}
656+
&:before {
657+
top: 5px;
658+
}
659+
&:after {
660+
bottom: 5px;
663661
}
664662

665-
a {
666-
color: #036;
667-
@include text-shadow(#EEE 0 0 2px);
663+
ul {
664+
text-align:center;
665+
list-style-type: none;
666+
margin:0;
668667
}
669668

670-
img {
671-
display: block;
672-
border: 0 none;
673-
background-color: #FFF;
674-
margin:10px;
675-
@include box-shadow(#000 0 0 4px);
676-
@include border-radius(6px);
677-
}
678-
679-
&:hover{
680-
img {
681-
//@include scale(1.1);
682-
@include box-shadow(#fff 0 0 20px);
683-
@include border-radius(10px);
684-
}
669+
li {
670+
display: inline-block;
685671

686-
a {
687-
@include text-shadow(#fff 0 0 10px);
688-
}
672+
a,img {
673+
@include transition-duration(0.3s);
674+
@include transition-timing-function(ease-in);
675+
}
676+
677+
a {
678+
color: #036;
679+
@include text-shadow(#EEE 0 0 2px);
680+
}
681+
682+
img {
683+
display: block;
684+
border: 0 none;
685+
background-color: #FFF;
686+
margin:10px;
687+
@include box-shadow(#000 0 0 4px);
688+
@include border-radius(6px);
689+
}
690+
691+
&:hover{
692+
img {
693+
//@include scale(1.1);
694+
@include box-shadow(#fff 0 0 20px);
695+
@include border-radius(10px);
696+
}
697+
698+
a {
699+
@include text-shadow(#fff 0 0 10px);
700+
}
701+
}
689702
}
690-
}
691703

692-
&.playing {
704+
&.playing {
693705
position: fixed;
694706
bottom: 10px;
695707
left: 0;
@@ -702,10 +714,10 @@ hr {
702714
border-color: #FFF;
703715
border-width: 1px 0;
704716

705-
b {
706-
display: none;
717+
b {
718+
display: none;
719+
}
707720
}
708-
}
709721
}
710722

711723

www/css/screen.css

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -999,15 +999,24 @@ hr {
999999
}
10001000

10011001
#video-reel {
1002+
position: relative;
10021003
padding: 20px;
10031004
background-color: rgba(0, 20, 30, 0.3);
1004-
border-top: 5px dotted #777;
1005-
border-bottom: 5px dotted #777;
10061005
margin-bottom: 1em;
1007-
-moz-box-shadow: rgba(0, 20, 30, 0.3) 0 0 3px;
1008-
-webkit-box-shadow: rgba(0, 20, 30, 0.3) 0 0 3px;
1009-
-o-box-shadow: rgba(0, 20, 30, 0.3) 0 0 3px;
1010-
box-shadow: rgba(0, 20, 30, 0.3) 0 0 3px;
1006+
}
1007+
#video-reel:before, #video-reel:after {
1008+
display: block;
1009+
content: "";
1010+
position: absolute;
1011+
left: 0;
1012+
right: 0;
1013+
border-top: 5px dotted #bceef7;
1014+
}
1015+
#video-reel:before {
1016+
top: 5px;
1017+
}
1018+
#video-reel:after {
1019+
bottom: 5px;
10111020
}
10121021
#video-reel ul {
10131022
text-align: center;

www/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<link rel="shortcut icon" href="img/favicon.ico"/>
1818

1919
<!-- Stylesheets -->
20-
<link href="css/screen.css?v=18" rel="stylesheet" type="text/css" />
20+
<link href="css/screen.css?v=19" rel="stylesheet" type="text/css" />
2121
<!--[if IE]>
2222
<link href="css/ie.css" media="screen, projection" rel="stylesheet" type="text/css" />
2323
<![endif]-->

0 commit comments

Comments
 (0)