2024-10-12 18:59:26 +01:00
|
|
|
:root {
|
|
|
|
// --shadow-colour: #828282;
|
|
|
|
--shadow-colour: #3f0aff;
|
|
|
|
}
|
|
|
|
|
2024-10-18 18:50:54 +01:00
|
|
|
p {
|
|
|
|
white-space: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.silkscreen-regular,
|
|
|
|
.categories > a,
|
|
|
|
.tags > span > a,
|
|
|
|
.taxonomy-element > a {
|
|
|
|
font-family: "Silkscreen", sans-serif;
|
|
|
|
font-weight: 400;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navigation-title {
|
|
|
|
font-size: 4rem !important;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.about > *,
|
|
|
|
.content header h1,
|
|
|
|
.navigation-title {
|
|
|
|
font-family: "Pirata One", apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, "游ゴシック", "PingFang SC", STXihei, "华文细黑", "Microsoft YaHei", "微软雅黑", SimSun, "宋体", Heiti, "黑体", sans-serif !important;
|
|
|
|
font-weight: 400 !important;
|
|
|
|
font-style: normal !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.about {
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.about > h1 {
|
|
|
|
font-size: 5rem !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.about > h2 {
|
|
|
|
font-size: 3rem !important;
|
|
|
|
}
|
|
|
|
|
2024-10-13 22:44:17 +01:00
|
|
|
@mixin shadowed {
|
|
|
|
box-shadow: var(--shift) var(--shift) 2px var(--shadow-colour);
|
|
|
|
translate: calc(var(--shift) * -1) calc(var(--shift) * -1);
|
|
|
|
|
|
|
|
@media (prefers-reduced-motion: no-preference) {
|
|
|
|
transition: box-shadow, translate;
|
|
|
|
transition-duration: var(--duration);
|
|
|
|
transition-timing-function: ease-in-out;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
box-shadow: 0px 0px 0px var(--shadow-colour);
|
|
|
|
translate: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.shadowed {
|
|
|
|
--shift: 8px;
|
|
|
|
--duration: 0.2s;
|
|
|
|
|
|
|
|
@include shadowed;
|
|
|
|
}
|
|
|
|
|
2024-10-12 18:59:26 +01:00
|
|
|
|
|
|
|
///////////////////////
|
|
|
|
// AVATAR
|
|
|
|
///////////////////////
|
2024-10-12 13:38:38 +01:00
|
|
|
|
|
|
|
.avatar {
|
|
|
|
|
|
|
|
img {
|
|
|
|
--shift: 20px;
|
|
|
|
--transition-time: 1s;
|
|
|
|
|
|
|
|
border-style: solid;
|
|
|
|
border-width: 7px;
|
|
|
|
border-color: black;
|
|
|
|
|
2024-10-12 18:59:26 +01:00
|
|
|
@media (prefers-reduced-motion: no-preference) {
|
2024-10-12 13:38:38 +01:00
|
|
|
animation: shift-avatar 3s ease-in-out infinite alternate backwards;
|
|
|
|
|
|
|
|
@keyframes shift-avatar {
|
2024-10-12 18:59:26 +01:00
|
|
|
from {
|
|
|
|
filter: drop-shadow(0px 0px 0px var(--shadow-colour));
|
|
|
|
translate: none;
|
|
|
|
}
|
2024-10-12 13:38:38 +01:00
|
|
|
to {
|
2024-10-12 18:59:26 +01:00
|
|
|
filter: drop-shadow(var(--shift) 8px 1px var(--shadow-colour));
|
2024-10-12 13:38:38 +01:00
|
|
|
translate: calc(var(--shift) * -1) calc(var(--shift) * -1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-10-12 18:59:26 +01:00
|
|
|
@media (prefers-reduced-motion: no-preference) {
|
2024-10-12 13:38:38 +01:00
|
|
|
img:hover {
|
|
|
|
filter: none;
|
|
|
|
translate: none;
|
2024-10-12 18:59:26 +01:00
|
|
|
// animation-play-state: paused;
|
2024-10-12 13:38:38 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (max-width: 768px) {
|
|
|
|
.avatar img {
|
2024-10-12 23:06:44 +01:00
|
|
|
--shift: 13px;
|
2024-10-12 13:38:38 +01:00
|
|
|
border-width: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-10-12 18:59:26 +01:00
|
|
|
///////////////////////
|
|
|
|
// BOX LINK
|
|
|
|
///////////////////////
|
|
|
|
|
2024-10-12 13:38:38 +01:00
|
|
|
.box-link {
|
|
|
|
--shift: 8px;
|
|
|
|
--border-radius: 10px;
|
|
|
|
|
2024-10-12 18:59:26 +01:00
|
|
|
position: relative;
|
2024-10-12 13:38:38 +01:00
|
|
|
width: 100%;
|
2024-10-13 22:44:17 +01:00
|
|
|
height: 17rem;
|
2024-10-12 13:38:38 +01:00
|
|
|
display: flex;
|
2024-10-12 18:59:26 +01:00
|
|
|
justify-content: center;
|
2024-10-12 13:38:38 +01:00
|
|
|
|
|
|
|
translate: calc(var(--shift) * -1) calc(var(--shift) * -1);
|
|
|
|
|
2024-10-12 18:59:26 +01:00
|
|
|
@media (prefers-reduced-motion: no-preference) {
|
2024-10-12 13:38:38 +01:00
|
|
|
transition: translate;
|
2024-10-12 18:59:26 +01:00
|
|
|
transition-duration: 0.25s;
|
2024-10-12 13:38:38 +01:00
|
|
|
transition-timing-function: ease-in-out;
|
|
|
|
|
2024-10-12 18:59:26 +01:00
|
|
|
animation: shift-image 0.3s backwards;
|
2024-10-12 13:38:38 +01:00
|
|
|
@keyframes shift-image {
|
|
|
|
from { translate: none; }
|
|
|
|
to { translate: calc(var(--shift) * -1) calc(var(--shift) * -1); }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
opacity: .5;
|
|
|
|
background-color: black;
|
|
|
|
position: absolute;
|
|
|
|
top: 0; left: 0; bottom: 0; right: 0;
|
2024-10-12 18:59:26 +01:00
|
|
|
z-index: 0;
|
2024-10-12 13:38:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
/* object-position:38% 50%; */
|
2024-10-12 18:59:26 +01:00
|
|
|
z-index: -1;
|
2024-10-12 13:38:38 +01:00
|
|
|
position: absolute;
|
|
|
|
top: 0; left: 0; bottom: 0; right: 0;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
width: 100%; height: 100%;
|
2024-10-12 18:59:26 +01:00
|
|
|
overflow: hidden;
|
|
|
|
object-fit: cover;
|
2024-10-12 13:38:38 +01:00
|
|
|
border: 4px solid black;
|
|
|
|
border-radius: var(--border-radius);
|
2024-10-12 18:59:26 +01:00
|
|
|
box-shadow: var(--shift) var(--shift) 1px var(--shadow-colour);
|
2024-10-12 13:38:38 +01:00
|
|
|
|
2024-10-12 18:59:26 +01:00
|
|
|
@media (prefers-reduced-motion: no-preference) {
|
2024-10-12 13:38:38 +01:00
|
|
|
transition: box-shadow;
|
2024-10-12 18:59:26 +01:00
|
|
|
transition-duration: 0.25s;
|
2024-10-12 13:38:38 +01:00
|
|
|
transition-timing-function: ease-in-out;
|
2024-10-12 18:59:26 +01:00
|
|
|
animation: shift-shadow 0.3s backwards;
|
2024-10-12 13:38:38 +01:00
|
|
|
@keyframes shift-shadow {
|
|
|
|
from { box-shadow: none; }
|
2024-10-12 18:59:26 +01:00
|
|
|
to { box-shadow: var(--shift) var(--shift) 1px var(--shadow-colour); }
|
2024-10-12 13:38:38 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-10-12 18:59:26 +01:00
|
|
|
@media (prefers-reduced-motion: no-preference) {
|
2024-10-12 13:38:38 +01:00
|
|
|
&:hover {
|
|
|
|
translate: none;
|
|
|
|
|
|
|
|
img {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-10-13 22:44:17 +01:00
|
|
|
.text-section {
|
2024-10-12 18:59:26 +01:00
|
|
|
z-index: 0;
|
2024-10-13 22:44:17 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
gap: 10px;
|
2024-10-12 13:38:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
color: white;
|
|
|
|
text-align: center !important;
|
2024-10-13 22:44:17 +01:00
|
|
|
text-shadow: 3px 3px 5px black;
|
|
|
|
margin: 0;
|
2024-10-12 13:38:38 +01:00
|
|
|
}
|
|
|
|
|
2024-10-13 22:44:17 +01:00
|
|
|
.center-link-text {
|
2024-10-12 13:38:38 +01:00
|
|
|
color: white;
|
|
|
|
cursor: pointer;
|
|
|
|
text-underline-offset: 3px;
|
2024-10-13 22:44:17 +01:00
|
|
|
text-decoration-skip-ink: auto;
|
2024-10-12 13:38:38 +01:00
|
|
|
}
|
2024-10-12 18:59:26 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
///////////////////////
|
|
|
|
// FOOTER LOGO
|
|
|
|
///////////////////////
|
|
|
|
|
|
|
|
.footer-logo {
|
|
|
|
filter: contrast(100%);
|
|
|
|
transition: filter 1s ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer-logo:hover {
|
|
|
|
filter: contrast(0%) drop-shadow(7px 7px 5px grey);
|
|
|
|
}
|
2024-10-13 21:03:13 +01:00
|
|
|
|
|
|
|
///////////////////////
|
|
|
|
// ART GRID
|
|
|
|
///////////////////////
|
|
|
|
|
|
|
|
.art-grid {
|
|
|
|
--shift: 5px;
|
2024-10-13 22:44:17 +01:00
|
|
|
--duration: 0.2s;
|
2024-10-13 21:03:13 +01:00
|
|
|
width: 100%;
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(3, 1fr);
|
|
|
|
gap: 10px;
|
|
|
|
|
|
|
|
& > figure > img {
|
|
|
|
border: 5px solid black;
|
2024-10-13 22:44:17 +01:00
|
|
|
@include shadowed;
|
2024-10-13 21:03:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
& > .art-col-2 {
|
|
|
|
grid-column: span 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
& > .art-col-3 {
|
|
|
|
grid-column: span 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
& > .art-row-2 {
|
|
|
|
grid-row: span 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
& > .art-row-3 {
|
|
|
|
grid-row: span 3;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.art-home-grid {
|
|
|
|
width: 100%;
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(2, 1fr);
|
2024-10-13 22:44:17 +01:00
|
|
|
gap: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dev-grid {
|
|
|
|
display: grid;
|
|
|
|
gap: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dev-grid-col-2 {
|
|
|
|
grid-template-columns: repeat(2, 1fr);
|
|
|
|
}
|
|
|
|
|
|
|
|
.dev-grid-col-3 {
|
|
|
|
grid-template-columns: repeat(3, 1fr);
|
2024-10-13 21:03:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (max-width: 768px) {
|
|
|
|
.art-grid {
|
|
|
|
grid-template-columns: repeat(2, 1fr);
|
|
|
|
}
|
|
|
|
|
|
|
|
.art-home-grid {
|
|
|
|
grid-template-columns: repeat(2, 1fr);
|
|
|
|
}
|
2024-10-13 22:44:17 +01:00
|
|
|
|
|
|
|
.dev-grid {
|
|
|
|
grid-template-columns: repeat(1, 1fr);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.youtube-embed {
|
|
|
|
iframe {
|
|
|
|
--shift: 8px;
|
|
|
|
--duration: .2s;
|
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
aspect-ratio: 16/9;
|
|
|
|
border-radius: 20px;
|
|
|
|
|
|
|
|
border: 5px solid black;
|
|
|
|
|
|
|
|
@include shadowed;
|
|
|
|
}
|
2024-10-13 21:03:13 +01:00
|
|
|
}
|