@@ -31,14 +35,21 @@ let url = locationRoot + item.data.geo;
@@ -65,9 +76,16 @@ let url = locationRoot + item.data.geo;
display: flex;
}
- .detail-left img {
+ .detail-left a {
+ display:flex;
align-self: center;
margin: auto;
+ height: 100%
+ }
+
+ .detail-left a img {
+ margin-top: auto;
+ margin-bottom: auto;
}
.detail-right {
@@ -88,13 +106,23 @@ let url = locationRoot + item.data.geo;
justify-content: space-between;
align-items: center;
gap: 0.5rem;
-s }
+ }
.buttons {
display:flex;
flex-direction: row;
- justify-content: center;
+ }
+
+ .buttons-left {
+ display:flex;
+ flex-direction: row;
+ align-self: flex-start;
gap: 1rem;
+ flex-basis: 90%;
+ }
+
+ .close-button {
+ align-self: flex-end;
}
button {
@@ -162,7 +190,7 @@ s }
display: flex;
}
- .detail-left img {
+ .detail-left a {
align-self: center;
margin: auto;
}
@@ -174,7 +202,6 @@ s }
.buttons {
display:flex;
flex-direction: row;
- justify-content: flex-end;
gap: 1rem;
}
}
diff --git a/src/components/Gallery.astro b/src/components/Gallery.astro
index fadf3af..99f8ba7 100644
--- a/src/components/Gallery.astro
+++ b/src/components/Gallery.astro
@@ -235,7 +235,7 @@ const { collection, compare } = Astro.props;
}
function onDetailCloseClick(this: HTMLElement, e: Event) {
- hideDetail(this.parentNode?.parentNode as Div);
+ hideDetail(this.parentNode?.parentNode?.parentNode as Div);
}
function onDetailNextClick(this: HTMLElement, e: Event) {
diff --git a/src/components/Location.astro b/src/components/Location.astro
index eac25b9..fe3dee0 100644
--- a/src/components/Location.astro
+++ b/src/components/Location.astro
@@ -12,6 +12,6 @@ let url = locationRoot + geo;
\ No newline at end of file
diff --git a/src/components/Menu.astro b/src/components/Menu.astro
index 107bfd5..961ca6e 100644
--- a/src/components/Menu.astro
+++ b/src/components/Menu.astro
@@ -46,7 +46,7 @@ const base = import.meta.env.BASE_URL;
text-align: center;
text-decoration: none;
font-size: 1.2rem;
- font-weight: 500;
+ font-weight:lighter;
padding: 1rem;
}
diff --git a/src/layouts/Page.astro b/src/layouts/Page.astro
index 4ac73cd..15cc6af 100644
--- a/src/layouts/Page.astro
+++ b/src/layouts/Page.astro
@@ -2,6 +2,7 @@
import Header from "../components/Header.astro";
import Heading from "../components/Heading.astro";
import "../styles/gallery.css";
+import '@fontsource-variable/montserrat';
const { title, rss } = Astro.props;
const favi = import.meta.env.BASE_URL + "/favicon.svg";
---
diff --git a/src/styles/gallery.css b/src/styles/gallery.css
index f4498aa..50dafca 100644
--- a/src/styles/gallery.css
+++ b/src/styles/gallery.css
@@ -7,9 +7,9 @@
--line-height: 1.25rem;
font-family: Inter, sans-serif;
font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */
- --main-color: rgb(245, 222, 179);
+ --main-color: white;
--aspect-ratio: 1.618; /* golden ratio */
- --active-background-color: #303030;
+ --active-background-color: #464646;
--mobile-view-breakpoint: 768; /* px */
--detail-pane-height: 20rem;
}
@@ -29,12 +29,15 @@ body {
/* padding-top: 1%; */
font-size: 1rem;
line-height: var(--line-height);
- background-color: #464646;
+ background-color: #303030;
+ font-family: 'Montserrat Variable', sans-serif;
+ font-weight: lighter;
}
h1 {
margin-bottom: 1rem;
font-size: 3rem;
+ font-weight:lighter;
line-height: normal;
text-align: center;
color:var(--main-color)
@@ -43,6 +46,7 @@ h1 {
h2 {
margin-bottom: 1rem;
font-size: 1.5rem;
+ font-weight:lighter;
line-height: normal;
color:var(--main-color)
}
@@ -58,11 +62,12 @@ svg, svg symbol {
align-content: center;
width: 90%;
line-height: 160%;
+ font-weight:lighter;
}
#about a {
color: var(--main-color);
- font-weight: 600;
+ font-weight: 500;
}
@media (min-width: 360px) {