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.

269 lines
3.3 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;
3 years ago
overflow-x: hidden;
}
a {
color: currentColor;
}
3 years ago
a::after {
content: "↗";
}
header {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
3 years ago
main {
max-width: 45ch;
margin: 0 auto;
}
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
user-select: none;
3 years ago
z-index: 1000;
color: white;
opacity: 0.75;
/* color: transparent; */
/* -webkit-text-fill: transparent; */
/* -webkit-text-stroke: 1.5px white; */
}
3 years ago
h2,
h3 {
margin-top: 3rem;
}
.img {
3 years ago
display: inline-block;
3 years ago
width: var(--size);
height: var(--size);
3 years ago
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;
3 years ago
flex-wrap: wrap;
justify-content: center;
3 years ago
align-items: center;
line-height: 1.4;
text-align: 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); */
}
3 years ago
.index li + li {
margin-left: 1ch;
}
3 years ago
.index li:hover {
color: var(--color);
}
.index li::first-letter {
text-transform: uppercase;
font-family: "SI17";
}
.index a {
text-decoration: none;
}
3 years ago
.download {
font-size: 120px;
text-align: center;
}
3 years ago
.contents,
.download {
3 years ago
margin: 2rem auto;
}
3 years ago
a {
text-decoration: none;
}
a.purple,
a.orange {
display: inline-block;
vertical-align: middle;
3 years ago
width: 1em;
height: 1em;
margin: 0 4px;
3 years ago
position: relative;
z-index: 200;
}
a.purple {
background-color: var(--purple);
}
a.orange {
background-color: var(--orange);
}
3 years ago
3 years ago
a.purple::after,
a.orange::after,
.purchase::after {
content: "";
}
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;
}
3 years ago
svg {
width: 100%;
height: 100%;
object-fit: contain;
vertical-align: middle;
}
3 years ago
@media (max-width: 767.98px) {
:root {
3 years ago
--size: 21px;
3 years ago
}
body {
cursor: default;
3 years ago
margin: 0 4px;
3 years ago
}
.download {
3 years ago
font-size: 24px;
3 years ago
}
.index {
3 years ago
display: block;
3 years ago
text-align: left;
justify-content: start;
}
.index li {
3 years ago
display: block;
3 years ago
margin: 0 !important;
}
h1 {
color: var(--color);
opacity: 1;
}
3 years ago
h2,
h3 {
font-size: 28px;
}
3 years ago
.box {
display: none;
}
}