Fix Photos CI formatting and restore the portfolio link
This commit is contained in:
parent
6e3b30385a
commit
f2797730f7
2 changed files with 29 additions and 11 deletions
|
|
@ -36,6 +36,7 @@
|
|||
</head>
|
||||
<body>
|
||||
<header class="site-header">
|
||||
<a class="portfolio-link" href="https://schmelczer.dev/">Portfolio</a>
|
||||
<button
|
||||
id="slideshow-toggle"
|
||||
class="slideshow-toggle"
|
||||
|
|
|
|||
|
|
@ -76,12 +76,21 @@ img {
|
|||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.portfolio-link {
|
||||
position: absolute;
|
||||
inset-block-end: var(--space-s);
|
||||
color: inherit;
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
.gallery {
|
||||
min-width: 0;
|
||||
min-height: 100dvh;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(5rem, 10vmin) minmax(0, 1fr) minmax(7rem,
|
||||
14vmin);
|
||||
grid-template-columns: minmax(5rem, 10vmin) minmax(0, 1fr) minmax(
|
||||
7rem,
|
||||
14vmin
|
||||
);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
|
@ -237,6 +246,13 @@ img {
|
|||
padding: var(--space-s);
|
||||
}
|
||||
|
||||
.portfolio-link {
|
||||
position: static;
|
||||
grid-column: 1;
|
||||
grid-row: 2;
|
||||
justify-self: start;
|
||||
}
|
||||
|
||||
.slideshow-toggle {
|
||||
position: static;
|
||||
grid-column: 2;
|
||||
|
|
@ -293,4 +309,4 @@ img {
|
|||
grid-row: 2;
|
||||
padding: var(--space-s);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue