diff --git a/components/BloomWrapper.tsx b/components/BloomWrapper.tsx
index 5e7c6d0f..a311218e 100644
--- a/components/BloomWrapper.tsx
+++ b/components/BloomWrapper.tsx
@@ -15,9 +15,10 @@ const StyledBloomIIIFWrapper = styled("div", {
display: "none",
},
- "@sm": {
+ "@xs": {
"& > div > div": {
alignItems: "center",
+ textAlign: "center",
"& > div": {
"&:last-child": {
diff --git a/components/Facets/Facets.styled.ts b/components/Facets/Facets.styled.ts
index 040158b4..39f5961d 100644
--- a/components/Facets/Facets.styled.ts
+++ b/components/Facets/Facets.styled.ts
@@ -1,4 +1,3 @@
-import { StyledToggle } from "@/components/Shared/Switch.styled";
import { Wrapper as WorkTypeWrapper } from "@/components/Facets/WorkType/WorkType.styled";
import { styled } from "@/stitches.config";
@@ -7,23 +6,28 @@ import { styled } from "@/stitches.config";
const StyledFacets = styled("div", {
display: "flex",
justifyContent: "space-between",
- margin: "1.618rem 0",
position: "relative",
+ margin: "$gr4 0",
left: "0",
- transition: "$dcAll",
+ transition: "$dcScrollLeft",
zIndex: "1",
[`& ${WorkTypeWrapper}`]: {
borderRight: "1px solid $black10",
paddingRight: "$gr2",
transition: "$dcWidth",
+
+ "@sm": {
+ marginTop: "$gr3",
+ borderRight: "none",
+ paddingRight: "0",
+ },
},
"@sm": {
- [`& ${WorkTypeWrapper}`]: {
- width: "0",
- opacity: "0",
- },
+ padding: "$gr4 0",
+ flexDirection: "column",
+ alignItems: "center",
},
});
@@ -32,41 +36,61 @@ const Width = styled("span", {
width: "100%",
});
+const FacetExtras = styled("div", {
+ display: "flex",
+
+ "@sm": {
+ marginTop: "$gr4",
+ flexDirection: "column-reverse",
+ alignItems: "center",
+ },
+});
+
const Wrapper = styled("div", {
+ height: "38px",
+ transition: "$dcScrollHeight",
+ margin: "$gr4 0",
+
+ "@sm": {
+ margin: "-$gr4 0 $gr4",
+ backgroundColor: "$gray6",
+ height: "225px",
+ },
+
".facets-ui-container": {
transition: "$dcAll",
},
"&[data-filter-fixed='true']": {
- margin: "1.618rem 0",
flexGrow: "0",
flexShrink: "1",
height: "38px",
- [`& ${WorkTypeWrapper}`]: {
+ "@sm": {
+ backgroundColor: "transparent",
+ margin: "0",
+ },
+
+ [`& ${FacetExtras}`]: {
width: "0",
opacity: "0",
},
[`& ${StyledFacets}`]: {
position: "fixed",
- top: "50px",
+ margin: "0",
+ top: "$gr6",
left: "50%",
zIndex: "1",
transform: "translate(-50%)",
backfaceVisibility: "hidden",
webkitFontSmoothing: "subpixel-antialiased",
- },
- [`& ${StyledToggle}`]: {
- width: "0",
- opacity: "0",
+ "@sm": {
+ top: "$gr5",
+ },
},
},
});
-const FacetExtras = styled("div", {
- display: "flex",
-});
-
export { FacetExtras, StyledFacets, Width, Wrapper };
diff --git a/components/Facets/Filter/Clear.styled.ts b/components/Facets/Filter/Clear.styled.ts
index f5c03f57..7075e488 100644
--- a/components/Facets/Filter/Clear.styled.ts
+++ b/components/Facets/Filter/Clear.styled.ts
@@ -17,6 +17,7 @@ const FilterClearStyled = styled("button", {
marginLeft: "$gr2",
padding: "0 $gr3",
transition: "$dcAll",
+ whiteSpace: "nowrap",
"&:focus, &:hover": {
color: "$purple",
diff --git a/components/Header/Header.styled.ts b/components/Header/Header.styled.ts
index a4af571b..1398b456 100644
--- a/components/Header/Header.styled.ts
+++ b/components/Header/Header.styled.ts
@@ -76,6 +76,7 @@ const Primary = styled("div", {
position: "relative",
top: "unset",
height: "$gr5",
+ boxShadow: "2px 2px 5px #0001",
[`& ${ContainerStyled}`]: {
display: "flex",
@@ -86,15 +87,15 @@ const Primary = styled("div", {
transition: "$dcAll",
[`& ${NavStyled}`]: {
- backgroundColor: "$gray6",
- color: "$purple",
+ backgroundColor: "$purple120",
fontSize: "$gr4",
- fontFamily: "$northwesternSansBold",
- paddingTop: "2px",
+ fontFamily: "$northwesternSansRegular",
display: "flex",
height: "$gr5",
+ boxShadow: "3px -3px 19px #fff1",
a: {
+ color: "$white",
display: "flex",
height: "100%",
justifyContent: "center",
@@ -120,6 +121,8 @@ const Primary = styled("div", {
},
"&[data-search-fixed='true']": {
+ zIndex: "2",
+
[`& ${ContainerStyled}`]: {
position: "fixed",
top: "0",
@@ -143,10 +146,6 @@ const Primary = styled("div", {
opacity: "0",
},
- button: {
- backgroundColor: "$purple10",
- },
-
[`& ${SearchStyled}`]: {
marginRight: "0",
},
@@ -209,6 +208,8 @@ const HeaderStyled = styled("header", {
},
[`& ${Primary}`]: {
+ boxShadow: "unset",
+
[`& ${SearchStyled}, & ${NavStyled}`]: {
boxShadow: "8px 8px 19px #0003",
},
diff --git a/components/Heading/Heading.styled.ts b/components/Heading/Heading.styled.ts
index c6b256dc..2cac8d43 100644
--- a/components/Heading/Heading.styled.ts
+++ b/components/Heading/Heading.styled.ts
@@ -19,6 +19,10 @@ const StyledHeading = styled("h2", {
letterSpacing: "-0.015em",
margin: "$gr6 0 $gr4",
+ "@sm": {
+ fontSize: "$gr7 !important",
+ },
+
"&::before": {
height: "$gr1",
width: "$gr7",
diff --git a/components/Homepage/Overview.tsx b/components/Homepage/Overview.tsx
index 1adf0830..856c19ea 100644
--- a/components/Homepage/Overview.tsx
+++ b/components/Homepage/Overview.tsx
@@ -25,7 +25,7 @@ const HomepageOverview = () => {
audiovisual materials - as well as licensed art historical images
for teaching and reference.
-