From beb22e85c9e307b53a605a9aeda930d796e70d51 Mon Sep 17 00:00:00 2001 From: Nicole Finks <nicole.finks@utsouthwestern.edu> Date: Tue, 16 Jul 2019 14:49:39 -0500 Subject: [PATCH] [debug] --- layouts/custom/repository.html | 42 +++++++++++++++++++++++++++++--- static/css/sidenavRepository.css | 2 +- 2 files changed, 39 insertions(+), 5 deletions(-) diff --git a/layouts/custom/repository.html b/layouts/custom/repository.html index 8fd0241..e131169 100644 --- a/layouts/custom/repository.html +++ b/layouts/custom/repository.html @@ -12,19 +12,53 @@ <!--{{ partial "footer.html" . }}--> <!-- cuts off anything after it--> <head> - <link rel = "stylesheet" type = "text/css" href = "static/css/sidenavRepository.css"> + <link rel="stylesheet" type="text/css" href="/static/css/sidenavRepository.css"/> <p>hello testing head </p> - + +<!--style type="text/css"> + +.sidenav { + width: 130px; + position: fixed; + z-index: 1; + top : 0; + right: 0; + background: #eee; + padding-top: 20px; +} + + +.sidenav a { + padding: 6px 8px 6px 16px; + text-decoration: none; + font-size: 25px; + color: #818181; + display: block; +} + + +.sidenav a:hover{ + color: #f1f1f1; +} + + +@media screen and (max-height:450px){ + .sidenav {padding-top: 15px;} + .sidenav a {font-size: 18px;} +} + +</style--> + </head> -<body> +<body> <!-- Sidebar for Filters --> - <div id= "sidenav"> + <div class= "sidenav"> <a href="#">Example</a> diff --git a/static/css/sidenavRepository.css b/static/css/sidenavRepository.css index 84d3c76..65be142 100644 --- a/static/css/sidenavRepository.css +++ b/static/css/sidenavRepository.css @@ -4,7 +4,7 @@ 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 */ + right 0; /* on left side of screen */ background: #eee; padding-top: 20px; } -- GitLab