From 5c82dc8c9b879a297355d14fd62de351d766ae7c Mon Sep 17 00:00:00 2001 From: Nicole Finks <nicole.finks@utsouthwestern.edu> Date: Tue, 16 Jul 2019 11:24:07 -0500 Subject: [PATCH] [create css file for the sidebar] --- static/css/sidenavRepository.css | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 static/css/sidenavRepository.css diff --git a/static/css/sidenavRepository.css b/static/css/sidenavRepository.css new file mode 100644 index 0000000..03eb071 --- /dev/null +++ b/static/css/sidenavRepository.css @@ -0,0 +1,29 @@ +/* the sidebar menu */ +.sidenav { + position: fixed; /* stay in place on scroll */ + z-index: 1; /* stau on top*/ + top : 0; /* stay on top*/ + left: 0; /* on left side of screen */ + padding-top: 20px; +} + + +/* Sidenav filters */ +.sidenav a { + padding: 6px 8px 6px 16px; + text-decoration: none; + font-size: 25px; + color: #818181; + display: block; +} + +/* when you hover over filters, change colors */ +.sidenav a:hover{ + color: #f1f1f1; +} + +/*change style of sidebar on smaller screens */ +@media screen and (max-height:450px){ + .sidenav {padding-top: 15px;} + .sidenav a {font-size: 18px;} +} -- GitLab