mirror of
https://github.com/RGBCube/rgbcube.github.io
synced 2026-01-16 10:01:01 +00:00
185 lines
3.5 KiB
HTML
185 lines
3.5 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<meta property="og:type" content="website">
|
|
|
|
<title>RGBCube</title>
|
|
<meta name="author" content="RGBCube" />
|
|
|
|
<meta property="og:site_name" content="RGBCube" />
|
|
<meta property="og:title" content="RGBCube" />
|
|
|
|
<meta name="description" content="The official website and link portal of RGBCube and his work." />
|
|
<meta property="og:description" content="The official website and link portal of RGBCube and his work." />
|
|
|
|
<meta property="og:image" content="/thumbnail.png" />
|
|
<meta property="og:image:type" content="image/png" />
|
|
<meta property="og:image:height" content="" />
|
|
<meta property="og:image:width" content="" />
|
|
|
|
<meta property="og:url" content="https://rgbcube.github.io/" />
|
|
<link rel="canonical" href="https://rgbcube.github.io/">
|
|
</head>
|
|
|
|
<body>
|
|
<style>
|
|
/* STYLING */
|
|
|
|
@font-face {
|
|
font-family: "Bai Jamjuree";
|
|
font-weight: 700;
|
|
src: url(BaiJamjuree700.woff2) format(woff2);
|
|
}
|
|
|
|
html {
|
|
background-color: #000000;
|
|
font-family: "Bai Jamjuree", sans;
|
|
font-size: 300%;
|
|
}
|
|
|
|
a {
|
|
color: #000000;
|
|
text-decoration-line: none;
|
|
}
|
|
|
|
.frame {
|
|
background-color: #FFFFFF;
|
|
|
|
width: min-content;
|
|
|
|
padding: 0 .3em;
|
|
border-radius: 1em;
|
|
}
|
|
|
|
.frame:hover {
|
|
background-color: #FFFF00;
|
|
}
|
|
|
|
/* POSITIONING */
|
|
|
|
body,
|
|
html {
|
|
height: 100%;
|
|
margin: 0;
|
|
}
|
|
|
|
.scene {
|
|
height: 100%;
|
|
width: 100%;
|
|
perspective: 15em;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.cube {
|
|
height: 5em;
|
|
width: 5em;
|
|
|
|
position: relative;
|
|
|
|
transform: translateZ(-2.5em);
|
|
transform-style: preserve-3d;
|
|
}
|
|
|
|
.face {
|
|
/* REMOVE */
|
|
opacity: 60%;
|
|
/* REMOVE */
|
|
background-color: red;
|
|
|
|
width: 5em;
|
|
height: 5em;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
position: absolute;
|
|
}
|
|
|
|
.front {
|
|
transform: rotateY(0deg) translateZ(2.5em);
|
|
}
|
|
|
|
.top {
|
|
transform: rotateX(90deg) translateZ(2.5em);
|
|
}
|
|
|
|
.back {
|
|
transform: rotateY(180deg) translateZ(2.5em);
|
|
}
|
|
|
|
.bottom {
|
|
transform: rotateX(-90deg) translateZ(2.5em);
|
|
}
|
|
|
|
.right {
|
|
transform: rotateY(90deg) translateZ(2.5em);
|
|
}
|
|
|
|
.left {
|
|
transform: rotateY(-90deg) translateZ(2.5em);
|
|
}
|
|
</style>
|
|
|
|
<div class="scene">
|
|
<div class="cube">
|
|
<div class="face front">
|
|
<a href="/contact">
|
|
<div class="frame">
|
|
<p>contact</p>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="face top">
|
|
<a href="https://github.com/RGBCube">
|
|
<div class="frame">
|
|
<p>github</p>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="face back">
|
|
<a href="/">
|
|
<div class="frame">
|
|
<p></p>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="face bottom">
|
|
<a href="/">
|
|
<div class="frame">
|
|
<p></p>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="face right">
|
|
<a href="/">
|
|
<div class="frame">
|
|
<p></p>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="face left">
|
|
<a href="/">
|
|
<div class="frame">
|
|
<p></p>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
|
|
</html>
|