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.

129 lines
1.8 KiB
CSS

:root {
--purple: #7d50ff;
--purple-bg: #cec6ff;
--orange: #ff5416;
--orange-bg: #ffb58d;
--color: white;
--background: white;
}
2 years ago
.box {
position: absolute;
top: 0;
left: 0;
width: 256px;
height: 256px;
background-color: var(--color);
border-radius: 4px;
pointer-events: none;
}
html,
body {
2 years ago
cursor: none;
font-family: Arial, Helvetica, sans-serif;
2 years ago
font-size: 68px;
line-height: 1.2;
color: var(--color);
2 years ago
margin: 0 16px;
}
a {
color: currentColor;
}
header {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
h1 {
font-size: 96px;
line-height: 1.1;
text-transform: uppercase;
font-family: "SI17";
width: 8ch;
text-align: center;
color: white;
2 years ago
z-index: 1000;
opacity: 0.75;
user-select: none;
/* -webkit-text-fill: white; */
/* -webkit-text-stroke: 1.5px var(--color); */
}
main {
max-width: 60ch;
margin: 0 auto;
}
2 years ago
.filtered {
display: inline-block;
width: 68px;
height: 68px;
background-color: var(--color);
margin: 0;
position: relative;
}
img {
width: 100%;
2 years ago
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;
}
.index li {
margin: 0 4px;
display: inline-block;
text-transform: uppercase;
}
.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;
2 years ago
width: 1em;
height: 1em;
margin: 0 4px;
}
a.purple {
background-color: var(--purple);
}
a.orange {
background-color: var(--orange);
}