From 11a6047958cc4d922945a3ce58782529de712209 Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Mon, 10 Oct 2016 14:15:58 -0500 Subject: [PATCH] tests with scrollbars. may remove in future. --- Dependencies/CSS/better.css | 21 ++++++++++++++++++--- index.html | 18 +++++++++--------- 2 files changed, 27 insertions(+), 12 deletions(-) diff --git a/Dependencies/CSS/better.css b/Dependencies/CSS/better.css index 34c215f..99ebe30 100755 --- a/Dependencies/CSS/better.css +++ b/Dependencies/CSS/better.css @@ -9,12 +9,27 @@ .sector { background-position: center; background-size: 50vh; - height: 100vh; + min-height: 100vh; + max-height: 100vh; + overflow: scroll; } -.sector > .row { - color: grey; + +/*scrolling things of amazingness*/ +.sector::-webkit-scrollbar { + width: 8px; } +.sector::-webkit-scrollbar-track { + -webkit-box-shadow: inset 0 0 4px rgba(0,0,0,0.3); + border-radius: 6px; +} + +.sector::-webkit-scrollbar-thumb { + border-radius: 6px; + -webkit-box-shadow: inset 0 0 4px rgba(0,0,0,0.5); +} +/*scrolling things of amazingness END*/ + .yhd-title { padding-top: 150px; background-image: url(../../yhdassets/DSC_0003.JPG); diff --git a/index.html b/index.html index c73a5cf..a1ac0f4 100755 --- a/index.html +++ b/index.html @@ -19,15 +19,15 @@ -
-
-

Photo Atlas

- -
-
-
-
+
+
+
+
+

Photo Atlas

+ +
+

Digital Photography

@@ -36,7 +36,7 @@
-

Copyright © 2016 Harrison and Rekai Inc.

+

Copyright © 2016 Harrison and Rekai Inc.