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.

179 lines
2.5 KiB
CSS

:root {
--purple: #7d50ff;
--purple-bg: #cec6ff;
--orange: #ff5416;
--orange-bg: #ffb58d;
--color: white;
--background: white;
3 years ago
--size: 56px;
}
3 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 {
3 years ago
cursor: none;
font-family: Arial, Helvetica, sans-serif;
3 years ago
font-size: var(--size);
3 years ago
line-height: 1.2;
color: var(--color);
3 years ago
margin: 0 16px;
}
a {
color: currentColor;
}
header {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
h1 {
3 years ago
font-size: clamp(24px, 2rem + 2vw, 96px);
3 years ago
line-height: 1.2;
text-transform: uppercase;
font-family: "SI17";
text-align: center;
3 years ago
z-index: 1000;
/* color: white; */
3 years ago
/* opacity: 0.75; */
color: transparent;
3 years ago
user-select: none;
-webkit-text-fill: transparent;
-webkit-text-stroke: 1.5px white;
}
3 years ago
.filtered {
display: inline-block;
3 years ago
width: var(--size);
height: var(--size);
3 years ago
background-color: var(--color);
margin: 0;
position: relative;
}
img {
width: 100%;
3 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;
}
3 years ago
.logo {
width: 1em;
height: 1em;
object-fit: contain;
object-position: center center;
cursor: pointer;
}
3 years ago
ul,
ol {
list-style: none;
padding: 0;
}
ul li,
ol li {
display: inline;
}
.index {
padding: 0;
3 years ago
/* display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center; */
}
.index li {
3 years ago
flex: 1;
display: inline-block;
text-transform: uppercase;
3 years ago
/* 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;
3 years ago
width: 1em;
height: 1em;
margin: 0 4px;
}
a.purple {
background-color: var(--purple);
}
a.orange {
background-color: var(--orange);
}
3 years ago
.signed {
transform: translateY(100%);
}
.letter {
font-style: italic;
}
3 years ago
h2::first-letter,
h3::first-letter,
3 years ago
.first::first-letter {
3 years ago
text-transform: uppercase;
font-family: "SI17";
}
3 years ago
.first {
3 years ago
display: inline-block;
width: auto;
margin: 0;
padding: 0;
}