2020-02-20 17:32:06 +03:00
|
|
|
:root {
|
2022-05-04 09:27:27 +03:00
|
|
|
--width-target: calc(100vw / 6);
|
|
|
|
--height-target: calc(100vh / 3);
|
|
|
|
--size: min(var(--width-target), var(--height-target));
|
|
|
|
--margin-vertical: calc((100vh - var(--size) * 2) / 2);
|
|
|
|
--margin-horizontal: calc((100vw - var(--size) * 5) / 2);
|
2020-02-20 17:32:06 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
2022-05-04 09:27:27 +03:00
|
|
|
margin: 0;
|
2020-02-20 17:32:06 +03:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
html {
|
|
|
|
background-color: black;
|
2022-05-04 09:27:27 +03:00
|
|
|
color: white;
|
|
|
|
overflow: hidden;
|
|
|
|
text-align: center;
|
|
|
|
font-family: sans-serif;
|
|
|
|
font-size: var(--size);
|
|
|
|
line-height: var(--size);
|
2020-02-20 17:32:06 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2022-05-04 09:27:27 +03:00
|
|
|
color: white;
|
2020-02-20 17:32:06 +03:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2022-05-04 09:27:27 +03:00
|
|
|
a:hover {
|
|
|
|
text-shadow: 0 0 5px #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
display: grid;
|
2020-02-20 17:32:06 +03:00
|
|
|
grid-template-columns: repeat(4, 1fr);
|
2022-05-04 09:27:27 +03:00
|
|
|
margin-bottom: var(--margin-vertical);
|
|
|
|
margin-left: var(--margin-horizontal);
|
|
|
|
margin-right: var(--margin-horizontal);
|
|
|
|
margin-top: var(--margin-vertical);
|
|
|
|
}
|
|
|
|
|
|
|
|
body > * {
|
|
|
|
width: var(--size);
|
2020-02-20 17:32:06 +03:00
|
|
|
}
|
|
|
|
|
2022-05-04 09:27:27 +03:00
|
|
|
body > div {
|
|
|
|
height: var(--size);
|
|
|
|
text-shadow: 0 0 5px #fff;
|
2020-02-20 17:32:06 +03:00
|
|
|
}
|
|
|
|
|
2022-05-04 09:27:27 +03:00
|
|
|
body > a {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
font-size: calc(var(--size) / 9);
|
|
|
|
height: calc(var(--size) / 2);
|
|
|
|
justify-content: center;
|
|
|
|
line-height: calc(var(--size) / 9);
|
2020-02-20 17:32:06 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* just is an isogram */
|
2022-05-04 09:27:27 +03:00
|
|
|
#j:after { content: 'j'; }
|
|
|
|
#j:hover:after { content: 'J'; }
|
|
|
|
#u:after { content: 'u'; }
|
|
|
|
#u:hover:after { content: 'U'; }
|
|
|
|
#s:after { content: 's'; }
|
|
|
|
#s:hover:after { content: 'S'; }
|
|
|
|
#t:after { content: 't'; }
|
|
|
|
#t:hover:after { content: 'T'; }
|