diff options
Diffstat (limited to 'src/styles.css')
| -rw-r--r-- | src/styles.css | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/styles.css b/src/styles.css index 38eb3ba..9e34f28 100644 --- a/src/styles.css +++ b/src/styles.css @@ -129,10 +129,30 @@ h3 { }
.gallery .column a {
+ position: relative;
margin-bottom: var(--grid-gap);
min-width: min(400px, 100vw);
}
+.gallery .column .title {
+ display: none;
+ position: absolute;
+ bottom: 0;
+ left: 0;
+ padding: 5px;
+ background-color: white;
+ font-size: 30px;
+ max-width: 70%;
+}
+
+.gallery .column a:hover .title {
+ display: initial;
+}
+
+.gallery .column a:hover img {
+ filter: sepia(0.6);
+}
+
.gallery .column img {
width: 100%;
}
|
