/* || General setup */ .navbar-left { display: flex; align-items: center; margin-left: 5px; } .navbar-left h1 { font-size: clamp(12px, 4vw, 24px); color: var(--pico-primary); margin: 0; } #navbar-logo { width: min(80px, 12vw); /* Adjust the width as needed */ height: auto; /* Maintains aspect ratio */ margin-right: 10px; /* Space between image and title */ } .navbar-right { margin-right: 5px; min-width: 50vw; } .navbar-right ul { list-style: none; margin: 0; padding: 0; display: flex; } .navbar-right li { position: relative; } .navbar-right a { text-decoration: none; } .navpage{ width: 8vw; margin-right: 2vw; } .dropdown{ width: 8vw; margin-right: 2vw; } .dropdown ul.dropdown-content { display: none; position: absolute; min-width: 18vw; z-index: 1; } .dropdown:hover { border: transparent; } .dropdown:hover ul.dropdown-content { display: block; background-color: #cbf5e1; border: solid; border-radius: 1px; border-color: var(--pico-primary); width: auto; } .dropdown:hover ul.dropdown-content li { display: block; font-size: clamp(12px, 1.5vw, 24px); margin: 0px; padding: 1vw; border-bottom: solid 1px var(--pico-primary); } /* || Gard galleries */ .project-card-array { display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 10px; } .team-card-array { display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 10px; } .team-card-header { display: grid; grid-template-columns: repeat(2, 1fr); grid-gap: 10px; height: clamp(4vw, 6vw, 8vw); overflow-y: scroll; border-bottom: solid 1px var(--pico-primary); } .topic-card-array { display: grid; grid-template-columns: repeat(4, 1fr); grid-gap: 10px; } h3.card-title { height: 4vw; overflow-y: scroll; border-bottom: 1px solid #b8c8c0; } p.card-abstract { height: 8vw; overflow-y: scroll; } .badges { display: flex; flex-wrap: wrap; justify-content: flex-start; } span.badge { padding: .125rem .25rem; border-radius: .125rem; font-weight: 600; font-size: 16px; background-color: #dcefe5; margin-right: 4px; margin-bottom: 4px; } /* || Pages with internal navbar */ .page-navbar { margin: auto; width: 100%; border: 2px solid; padding: 0px; } .page-navbar ul.navbar-documents { margin: 0; padding: 0; display: flex; background-color: #cbf5e1; /* border-top: 2px solid grey; */ border-bottom: 2px solid grey; } .page-navbar ul.navbar-documents li { list-style: none; width: clamp(20%, 25%, 35%); border-right: 2px solid grey; margin: 0px; padding: 8px; } /* || Document with left navbar for dynamic rendering */ .document-main { display: flex; max-height: 100vh; } .document-sidebar { flex: 0 0 15%; max-width: 15%; background-color: #f0f0f0; box-sizing: border-box; overflow-y: auto; } .document-sidebar ul{ padding: 0px; margin:0px; } .document-sidebar ul li{ padding: 0px; margin:0px; list-style: none; border-style: solid; border-width: 1px; } .document-text { flex: 1; overflow-y: auto; } /* || Overview Gallery */ #vignettes { display: flex; } #itemSidebar { flex: 0 0 20%; max-width: 20%; border: 1px solid rgb(43, 145, 44); padding-left: 5px; margin-right: 5px; } ul#tagList { padding: 5px; list-style: none; } .tagListItem{ background-color: white; border: 1px solid rgb(43, 145, 44); padding: 2px; margin: 2px; list-style: none; } #itemGallery { flex: 1; border: 1px solid rgb(43, 145, 44); display: grid; grid-template-columns: repeat(auto-fill, minmax(30%, 1fr)); grid-auto-flow: row; /* This ensures items fill out columns before moving to the next row */ } .item { border: 1px solid rgb(43, 145, 44); background-size: cover; background-position: center; height: 200px; position: relative; margin: 5px; } .item h3 { position: absolute; padding: 5px; text-align: center; } .item p { position: absolute; bottom: 0; background-color: #cbf5e1; margin: 0; padding: 5px; text-align: center; } /* Previous css */ /* html { background-color: rgb(201, 239, 201); font-size: 20px; } ul { background: red; padding: 10px; border: 1px solid black; } li { margin-left: 15px; background: rgb(182, 139, 173); border: 1px solid rgb(43, 145, 44); } h1, h2 { color: purple; } p { color: rgb(140, 62, 149); } */