-
- ARCHIVE IN PRACTICE →
-
+{%- comment -%} Non-carousel version for other pages {%- endcomment -%}
+
+{%- endif -%}
\ No newline at end of file
diff --git a/_data/config-nav.csv b/_data/config-nav.csv
index 87f9c4a..ff462d3 100644
--- a/_data/config-nav.csv
+++ b/_data/config-nav.csv
@@ -1,6 +1,6 @@
display_name,stub,dropdown_parent
HOME,/,
-THE ARCHIVE,/browse/,
+ARCHIVE,/browse/,
COLLECTIONS,,
EXPLORE,,
READ,,
diff --git a/_includes/collection-banner.html b/_includes/collection-banner.html
index efc2419..b5d1b13 100644
--- a/_includes/collection-banner.html
+++ b/_includes/collection-banner.html
@@ -2,6 +2,7 @@
{%- comment -%}
Carousel Banner: rotates through random collection items
+Always shows starlacoll033 first, then shuffles other items
{%- endcomment -%}
{%- assign carousel_items = "" | split: "" -%}
@@ -125,23 +126,33 @@ Carousel Banner: rotates through random collection items
@media (max-width: 575px) {
.carousel-controls {
- top: 0.75rem;
+ top: auto;
+ bottom: 0.75rem;
left: 0.75rem;
- gap: 0.4rem;
+ gap: 0.35rem;
}
.carousel-btn {
- width: 28px;
- height: 28px;
+ width: 26px;
+ height: 26px;
}
.carousel-btn svg {
- width: 12px;
- height: 12px;
+ width: 11px;
+ height: 11px;
}
.carousel-dots {
- padding: 0.3rem 0.5rem;
+ padding: 0.25rem 0.45rem;
+ }
+
+ .carousel-dot {
+ width: 5px;
+ height: 5px;
+ }
+
+ .carousel-dot.active {
+ width: 15px;
}
}
@@ -199,7 +210,7 @@ Carousel Banner: rotates through random collection items
{%- for item in carousel_items -%}
+ style="background-image: url('{{ item.image_small | relative_url }}');">
{%- endfor -%}
@@ -258,7 +269,7 @@ Carousel Banner: rotates through random collection items
{
objectid: "{{ item.objectid }}",
title: "{{ item.title | escape }}",
- image: "{{ item.object_location | relative_url }}"
+ image: "{{ item.image_small | relative_url }}"
}{% unless forloop.last %},{% endunless %}
{%- endfor -%}
];
diff --git a/_sass/_custom.scss b/_sass/_custom.scss
index 289b350..1f7fb36 100644
--- a/_sass/_custom.scss
+++ b/_sass/_custom.scss
@@ -1076,6 +1076,110 @@ blockquote {
NAVIGATION
============================================================================ */
+/* Hamburger menu button */
+.navbar-toggler {
+ background-color: transparent !important;
+ border: var(--border-width) solid rgba(255, 255, 255, 0.35) !important;
+ border-radius: var(--border-radius);
+ padding: var(--space-sm) 0.65rem;
+ transition: all var(--transition-normal);
+}
+
+.navbar-toggler:hover,
+.navbar-toggler:focus {
+ border-color: rgba(255, 255, 255, 0.75) !important;
+ box-shadow: none !important;
+ outline: none !important;
+}
+
+.navbar-toggler:focus {
+ box-shadow: none;
+}
+
+/* Hamburger menu button */
+.navbar-toggler {
+ background-color: transparent !important;
+ border: var(--border-width) solid rgba(255, 255, 255, 0.35) !important;
+ border-radius: var(--border-radius);
+ padding: var(--space-sm) 0.65rem;
+ transition: all var(--transition-normal);
+}
+
+.navbar-toggler:hover,
+.navbar-toggler:focus {
+ border-color: rgba(255, 255, 255, 0.75) !important;
+ box-shadow: none !important;
+ outline: none !important;
+}
+
+.navbar-toggler:focus {
+ box-shadow: none;
+}
+
+/* Hamburger icon - custom 3 lines */
+.navbar-toggler-icon {
+ background-image: none !important;
+ width: 20px;
+ height: 14px;
+ position: relative;
+ display: inline-block;
+ background-color: transparent !important;
+}
+
+/* Top line */
+.navbar-toggler-icon::before {
+ content: '';
+ position: absolute;
+ width: 100%;
+ height: 1px;
+ top: 0;
+ left: 0;
+ background-color: rgba(255, 255, 255, 0.85);
+ transition: background-color var(--transition-normal);
+}
+
+/* Bottom line */
+.navbar-toggler-icon::after {
+ content: '';
+ position: absolute;
+ width: 100%;
+ height: 1px;
+ bottom: 0;
+ left: 0;
+ background-color: rgba(255, 255, 255, 0.85);
+ transition: background-color var(--transition-normal);
+}
+
+/* Middle line - using a span */
+.navbar-toggler-icon {
+ background: linear-gradient(
+ to bottom,
+ transparent 0%,
+ transparent 45%,
+ rgba(255, 255, 255, 0.85) 45%,
+ rgba(255, 255, 255, 0.85) 55%,
+ transparent 55%,
+ transparent 100%
+ ) !important;
+}
+
+.navbar-toggler:hover .navbar-toggler-icon::before,
+.navbar-toggler:hover .navbar-toggler-icon::after {
+ background-color: #ffffff;
+}
+
+.navbar-toggler:hover .navbar-toggler-icon {
+ background: linear-gradient(
+ to bottom,
+ transparent 0%,
+ transparent 45%,
+ #ffffff 45%,
+ #ffffff 55%,
+ transparent 55%,
+ transparent 100%
+ ) !important;
+}
+
.dropdown-header.nav-section-label {
font-size: var(--text-xs);
text-transform: uppercase;