Compare commits
2 Commits
9ff26d3c0b
...
feebf17bd8
| Author | SHA1 | Date | |
|---|---|---|---|
| feebf17bd8 | |||
| 5edd4c7a6d |
@@ -62,20 +62,32 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.selected-img-link {
|
.selected-img-link {
|
||||||
margin: 0;
|
width: fit-content;
|
||||||
|
height: 400px;
|
||||||
|
margin: 0 auto;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.selected-img-link:hover .selected-img {
|
||||||
|
scale: 1.06;
|
||||||
}
|
}
|
||||||
|
|
||||||
.selected-img {
|
.selected-img {
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 400px;
|
height: 100%;
|
||||||
max-height: initial;
|
max-height: initial;
|
||||||
|
scale: 1.0;
|
||||||
|
transition: scale var(--duration-animation) var(--anim-curve);
|
||||||
}
|
}
|
||||||
|
|
||||||
.selected-text-container {
|
.selected-text-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
|
overflow: scroll;
|
||||||
|
padding-right: 12px;
|
||||||
|
max-height: var(--media-height);
|
||||||
}
|
}
|
||||||
|
|
||||||
.selected-text-header p {
|
.selected-text-header p {
|
||||||
@@ -106,21 +118,18 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
border-radius: var(--border-radius);
|
border-radius: var(--border-radius);
|
||||||
filter: brightness(70%) saturate(60%);
|
/* filter: brightness(70%) saturate(60%); */
|
||||||
outline: var(--border-style) var(--border-dash-size) transparent;
|
outline: var(--border-style) var(--border-dash-size) transparent;
|
||||||
transition: filter var(--duration-animation) var(--anim-curve),
|
transition: outline-color var(--duration-animation) var(--anim-curve);
|
||||||
outline-color var(--duration-animation) var(--anim-curve);
|
|
||||||
}
|
|
||||||
.img-button:hover {
|
|
||||||
filter: brightness(100%) saturate(100%);
|
|
||||||
outline-color: var(--color-highlight);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.img-button img {
|
.img-button img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 200px;
|
height: 200px;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
transition: scale var(--duration-animation) var(--anim-curve);
|
filter: brightness(100%) saturate(80%);
|
||||||
|
transition: scale var(--duration-animation) var(--anim-curve),
|
||||||
|
filter var(--duration-animation) var(--anim-curve);
|
||||||
}
|
}
|
||||||
.img-button:hover img {
|
.img-button:hover img {
|
||||||
scale: 1.12;
|
scale: 1.12;
|
||||||
@@ -128,4 +137,16 @@
|
|||||||
.img-button:active img {
|
.img-button:active img {
|
||||||
scale: 1.08;
|
scale: 1.08;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.img-button-container:hover img {
|
||||||
|
filter: brightness(70%) saturate(60%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.img-button:hover {
|
||||||
|
outline-color: var(--color-highlight);
|
||||||
|
}
|
||||||
|
|
||||||
|
.img-button:hover img {
|
||||||
|
filter: brightness(100%) saturate(100%);
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -34,13 +34,12 @@
|
|||||||
<Content>
|
<Content>
|
||||||
<Banner2
|
<Banner2
|
||||||
title="My Disordered Projects"
|
title="My Disordered Projects"
|
||||||
banner="/projects/banner.webp"
|
banner="banner.webp"
|
||||||
bannerAlt="An upside-down New 3DS XL lying open on a desk with a small USB-C breakout board attached to it, and a USB-C cable plugged in. The 3DS is glowing to indicate that it is charging."
|
bannerAlt="An upside-down New 3DS XL lying open on a desk with a small USB-C breakout board attached to it, and a USB-C cable plugged in. The 3DS is glowing to indicate that it is charging."
|
||||||
subtitle="things I have worked on" />
|
subtitle="things I have worked on" />
|
||||||
|
|
||||||
<p>Welcome to my 💫new💫 projects page! Here I show off all the things I have done. Projects are ordered reverse-chronologically and have some other neat information displayed. have fun browsing~!</p>
|
<p>Welcome to my 💫new💫 projects page! Here I show off all the things I have done. Projects are ordered reverse-chronologically and have some other neat information displayed. have fun browsing~!</p>
|
||||||
|
|
||||||
<!-- TODO it would be nice if these were green here to separate them from the red tags on the blog page -->
|
|
||||||
<div class="tag-filters">
|
<div class="tag-filters">
|
||||||
<p class="tag-filter-header"># filter projects by category:</p>
|
<p class="tag-filter-header"># filter projects by category:</p>
|
||||||
<div class="tag-filter-container">
|
<div class="tag-filter-container">
|
||||||
@@ -123,14 +122,14 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
filter: brightness(40%) saturate(40%) blur(1px);
|
filter: brightness(40%) saturate(40%);
|
||||||
transition: filter var(--duration-animation) var(--anim-curve),
|
transition: filter var(--duration-animation) var(--anim-curve),
|
||||||
scale var(--duration-animation) var(--anim-curve);
|
scale var(--duration-animation) var(--anim-curve);
|
||||||
scale: 1.05;
|
scale: 1.05;
|
||||||
}
|
}
|
||||||
|
|
||||||
.project-wrapper:hover .project-banner {
|
.project-wrapper:hover .project-banner {
|
||||||
filter: brightness(60%) saturate(100%) blur(0);
|
filter: brightness(60%) saturate(100%);
|
||||||
scale: 1.0;
|
scale: 1.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user