diff --git a/static/css/main.css b/static/css/main.css index e0b1acf..85423cb 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -16,12 +16,13 @@ a { background: #a99f8a; } +/*padding to be moved to the sub stuff */ .main-column-left { - padding: 1.7em 0em; + /*padding: 1.7em 0em;*/ float: left; width: 50%; background: #ea4f2b; - overflow-y: scroll; + /*overflow-y: scroll;*/ height: 100vh; } @@ -101,27 +102,60 @@ span.librarian-names:hover, span.file-names:hover { cursor: pointer; } +/**********************************/ +/* container for names and files */ +/********************************/ + + #nav-container { + /*width: 50%;*/ +display: grid; +grid-template-columns: 1fr; +grid-template-rows: 25% 75%; +grid-column-gap: 0px; +grid-row-gap: 0px; +height: inherit; + +} + + + +/***********************/ +/* Block list of names*/ +/*********************/ + #listofpeople{ + /*border-bottom: black 1px solid;*/ + padding: 1.7em 0em; + overflow-y: scroll; /* border: lime 1px solid; */ - position: fixed; - width: 50%; - padding: 0em; - top: 25px; - left: 0; - z-index: 1; + /*position: fixed;*/ + /*width: 50%;*/ + /*padding: 0em;*/ + /*top: 25px;*/ + /*left: 0;*/ + /*z-index: 1;*/ +} +/***********************/ +/* Block list of files*/ +/*********************/ + +#listoffiles{ + overflow: hidden; + } .file-names-container { - /* IE 9 */ - -ms-transform: rotate(-90deg) translate(-78%, 0%); - /* Safari */ - -webkit-transform: rotate(-90deg) translate(-78%, 0%); - /* Standard syntax */ + /*overflow: scroll;*/ + /*IE 9 */ + -ms-transform: rotate(-90deg) translate(-78%, 0%); + /*Safari */ + -webkit-transform: rotate(-90deg) translate(-78%, 0%); + /*Standard syntax */ transform: rotate(-90deg) translate(-0%, 0%); transform-origin: top left; - /* border:blue 1px solid; */ + /*border:blue 1px solid; */ height: 50vw; - width: 40vw; + width: 34vw; overflow-y: scroll; overflow-x: hidden; position: absolute; @@ -130,6 +164,35 @@ span.librarian-names:hover, span.file-names:hover { } +/**************/ +/* scROLLBARS*/ +/*************/ + + +/* The emerging W3C standard + that is currently Firefox-only */ +* { + scrollbar-width: thin; + scrollbar-color: #8048b7 #ea4f2b; +} + +/* Works on Chrome/Edge/Safari */ +*::-webkit-scrollbar { + width: 12px; +} +*::-webkit-scrollbar-track { + background: #ea4f2b; +} +*::-webkit-scrollbar-thumb { + background-color: #8048b7; + border-radius: 20px; + border: 3px solid #ea4f2b; +} + + + + + img.listed-images { width: 100%; } diff --git a/templates/layout.html b/templates/layout.html index 17461d8..3ac1808 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -12,6 +12,68 @@