You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

162 lines
2.4 KiB
CSS

:root {
--purple: #7d50ff;
--purple-bg: #cec6ff;
--orange: #ff5416;
--orange-bg: #ffb58d;
--color: white;
--background: white;
--size: 56px;
}
.box {
position: absolute;
top: 0;
left: 0;
width: 256px;
height: 256px;
background-color: var(--color);
border-radius: 4px;
pointer-events: none;
}
html,
body {
cursor: none;
font-family: Arial, Helvetica, sans-serif;
font-size: var(--size);
line-height: 1.2;
color: var(--color);
margin: 0 16px;
}
a {
color: currentColor;
}
header {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
h1 {
font-size: clamp(24px, 2rem + 2vw, 96px);
line-height: 1.2;
text-transform: uppercase;
font-family: "SI17";
text-align: center;
z-index: 1000;
/* color: white; */
/* opacity: 0.75; */
color: transparent;
user-select: none;
-webkit-text-fill: transparent;
-webkit-text-stroke: 1.5px white;
}
.filtered {
display: inline-block;
width: var(--size);
height: var(--size);
background-color: var(--color);
margin: 0;
position: relative;
}
img {
width: 100%;
height: 100%;
object-fit: cover;
/* mix-blend-mode: screen;
-webkit-filter: grayscale(100%) contrast(150%);
filter: grayscale(100%) contrast(150%);
opacity: 1; */
}
img:focus,
img:hover {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 50;
width: 256px;
height: 256px;
}
.index {
padding: 0;
/* display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center; */
}
.index li {
flex: 1;
display: inline-block;
text-transform: uppercase;
/* font-weight: bold;
color: transparent;
-webkit-text-fill: transparent;
-webkit-text-stroke: 2px var(--color); */
}
.index li:hover {
color: var(--color);
}
.index li::first-letter {
text-transform: uppercase;
font-family: "SI17";
}
.index a {
text-decoration: none;
}
a.purple,
a.orange {
display: inline-block;
vertical-align: middle;
width: 1em;
height: 1em;
margin: 0 4px;
}
a.purple {
background-color: var(--purple);
}
a.orange {
background-color: var(--orange);
}
.signed {
transform: translateY(100%);
}
.letter {
font-style: italic;
}
h2::first-letter,
h3::first-letter,
.fage-not-pound .first::first-letter,
.colophon .first::first-letter {
text-transform: uppercase;
font-family: "SI17";
}
.fage-not-pound .first,
.colophon span .first {
display: inline-block;
width: auto;
margin: 0;
padding: 0;
}