diff --git a/css/style.css b/css/style.css
index 64c9259..e287ae3 100644
--- a/css/style.css
+++ b/css/style.css
@@ -1,121 +1,168 @@
-@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@500&display=swap');
+@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700;1,800&display=swap');
+@font-face {
+ font-family: 'Minecraft';
+ src: url('../fonts/minecraft.ttf') format('truetype');
+ font-style: normal;
+ font-weight: normal;
+}
body {
+ width: 100%;
+ height: 100%;
+ overflow: hidden;
padding: 0;
+ margin: 0;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ background-color: #001;
+ font-family: 'Montserrat', sans-serif;
+}
+
+img.logo {
+ width: 4rem;
+ cursor: default;
+ pointer-events: none;
}
.menu {
- position: fixed;
- width: 100%;
- z-index: 100;
- font-size: 1.2em;
- font-family: 'Exo 2', sans-serif;
- background-color: #cecdd9;
- color: #514b90;
top: 0;
left: 0;
+ margin: 10px;
+ border-radius: 5px;
+ position: fixed;
+ background-color: #514b9066;
+ z-index: 998;
}
-.menu ul {
- list-style: none;
+.top-menu {
margin: 0;
padding: 0;
- box-shadow: 0 5px 5px gray;
-}
-.menu ul li {
- color: #514b90;
- display: inline-block;
- position: relative;
- text-transform: uppercase;
- padding-top: 5px;
- padding-left: 5px;
- padding-right: 5px;
- padding-bottom: 5px;
- transition: color 0.45s ease-in-out;
-}
-.menu ul li a {
- color: #514b90;
- text-decoration: none;
-}
-.menu ul.top-menu > li {
- padding-left: 10px;
- font-size: 1.2em;
-}
-
-.androit-green { color: green; }
-.androit-white { color: white; }
-
-.menu ul > li > a {
- color: #514b90;
- transition: color 0.5s ease-in-out;
-}
-.menu ul > li:hover > a {
- color: #0e0939;
- transition: color 0.5s ease-in-out;
-}
-
-.dropdown-menu {
list-style: none;
- position: absolute;
- left: 0;
- /*width: 200px;*/
- visibility: hidden;
- backface-visibility: hidden;
+ display: flex;
+ flex-direction: row;
+ justify-content: start;
+ align-items: center;
+}
+.top-menu li {
+ padding: 10px;
+}
+.top-menu li a {
+ color: #fff;
+ text-decoration: none;
+ font-family: 'Montserrat', sans-serif;
+ font-size: 1.8rem;
+}
+
+.context-menu-like {
+ margin: 0;
+ padding: 0;
+ /*display: none;*/
opacity: 0;
- z-index: 200;
- font-size: 1.2em;
- background-color: #aea9c5;
+ pointer-events: none;
+ position: absolute;
border-radius: 5px;
- transform-origin: left top;
- transform: perspective(600px) rotateX(-90deg);
- transition: 0.6s ease-in-out;
+ background-color: #222222d4;
}
-.dropdown-menu li {
- display: block !important;
+.context-menu-like ul {
+ margin: 0;
+ padding: 0;
}
-.top-menu > #myproj-item:hover .dropdown-menu {
- visibility: visible;
- opacity: 1;
- transform: perspective(600px) rotateX(0deg);
+.context-menu-like li {
+ padding: 5px;
+ display: block;
+ padding: 10px;
+ border-radius: 5px;
+ color: #fff;
+ font-family: 'Montserrat', sans-serif;
+ font-size: 1.3rem;
}
-.arrow-down {
- margin-bottom: 5px;
- border: solid #514b90;
- border-width: 0px 3px 3px 0px;
- display: inline-block;
- padding: 3px;
- transform: rotate(45deg);
- -webkit-transform: rotate(45deg);
- -moz-transform: rotate(45deg);
+.context-menu-like li:hover {
+ background-color: #444;
+}
+.context-menu-like li a {
+ color: #fff;
+ text-decoration: none;
+ font-family: 'Montserrat', sans-serif;
+ font-size: 1.3rem;
+}
+.submenu {
+ left: 0;
+ margin-top: 5px;
+}
+.submenu:before {
+ content: "";
+ border: solid transparent;
+ position: absolute;
+ left: 8px;
+ bottom: 100%;
+ border-bottom-color: #222;
+ border-width: 9px;
+ margin-left: 0;
}
-.main-content {
- /*padding-top: 40px;*/
- padding-top: 2.4em;
- font-size: 1em;
- font-family: sans-serif;
+#item-minecraft {
+ padding-bottom: 12px;
+}
+span.minecraft-text {
+ font-family: 'Minecraft';
+ font-size: 1.25rem;
}
-.user-info-wrapper {
- padding-top: 2.8em;
- display: flex;
- flex-direction: row;
+.popup {
+ z-index: 999;
}
-.user-info {
- display: flex;
- flex-direction: row;
+
+.card-wrapper {
+ position: absolute;
+ border-radius: 10px;
+ color: #fff;
+ font-family: 'Montserrat', sans-serif;
}
-.user-info-item {
- margin: 10px;
+.card { margin: 10px; }
+
+.about-card-wrapper {
+ margin-top: 18%;
+ margin-left: 65%;
}
-.card {
- border: 2px solid #bbb;
- border-radius: 30px;
- box-shadow: 0 0 10px rgba(0, 0, 0, 0);
- transition: box-shadow 0.3s ease-in-out 0s;
+.msg-wrapper {
+ margin-top: 5%;
+ margin-left: 65%;
}
-.card:hover {
- box-shadow: 0 0 5px rgba(0, 0, 0, 1);
+.card h1 {
+ margin: 0 0 0 0;
+ padding: 0;
+ font-size: 1.8em;
+ font-weight: 700;
}
-h2 {
- margin-bottom: 0;
+.card h2 {
+ margin: 0 0 10px 0;
+ padding: 0;
+ font-size: 1.3em;
+ font-weight: 500;
+}
+
+.space-obj {
+ position: fixed;
+ text-align: center;
+ width: 100%;
+ height: 100%;
+ z-index: 997;
+}
+.space-obj > img {
+ /* 360 degrees in 20 minutes (instead of 23 hours) */
+ animation: rotate 1200s linear 0s infinite normal;
+
+ /* unselectable */
+ -webkit-touch-callout: none;
+ -webkit-user-select: none;
+ -khtml-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+}
+
+@keyframes rotate {
+ 0% { transform: rotate(0deg); }
+ 100% { transform: rotate(360deg); }
}
diff --git a/css/tuesday.min.css b/css/tuesday.min.css
new file mode 100644
index 0000000..4d62d42
--- /dev/null
+++ b/css/tuesday.min.css
@@ -0,0 +1,2 @@
+/* tuesday.less v1.3.0 - (C)2020 Shakr; MIT License */
+.animated{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes tdFadeIn{0%{opacity:0}to{opacity:1}}@keyframes tdFadeIn{0%{opacity:0}to{opacity:1}}@-webkit-keyframes tdFadeOut{0%{opacity:1}to{opacity:0}}@keyframes tdFadeOut{0%{opacity:1}to{opacity:0}}.tdFadeIn{-webkit-animation-name:tdFadeIn;animation-name:tdFadeIn}.tdFadeOut{-webkit-animation-name:tdFadeOut;animation-name:tdFadeOut}@-webkit-keyframes tdFadeInDown{0%{opacity:0;transform:translateY(-10px);-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}to{opacity:1;transform:translateY(0)}}@keyframes tdFadeInDown{0%{opacity:0;transform:translateY(-10px);-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}to{opacity:1;transform:translateY(0)}}@-webkit-keyframes tdFadeInLeft{0%{opacity:0;transform:translateX(10px);-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}to{opacity:1;transform:translateX(0)}}@keyframes tdFadeInLeft{0%{opacity:0;transform:translateX(10px);-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}to{opacity:1;transform:translateX(0)}}@-webkit-keyframes tdFadeInUp{0%{opacity:0;transform:translateY(10px);-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}to{opacity:1;transform:translateY(0)}}@keyframes tdFadeInUp{0%{opacity:0;transform:translateY(10px);-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}to{opacity:1;transform:translateY(0)}}@-webkit-keyframes tdFadeInRight{0%{opacity:0;transform:translateX(-10px);-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}to{opacity:1;transform:translateX(0)}}@keyframes tdFadeInRight{0%{opacity:0;transform:translateX(-10px);-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}to{opacity:1;transform:translateX(0)}}@-webkit-keyframes tdFadeOutUp{0%{opacity:1;transform:translateY(0);-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}to{opacity:0;transform:translateY(-10px)}}@keyframes tdFadeOutUp{0%{opacity:1;transform:translateY(0);-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}to{opacity:0;transform:translateY(-10px)}}@-webkit-keyframes tdFadeOutRight{0%{opacity:1;transform:translateX(0);-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}to{opacity:0;transform:translateX(10px)}}@keyframes tdFadeOutRight{0%{opacity:1;transform:translateX(0);-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}to{opacity:0;transform:translateX(10px)}}@-webkit-keyframes tdFadeOutDown{0%{opacity:1;transform:translateY(0);-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}to{opacity:0;transform:translateY(10px)}}@keyframes tdFadeOutDown{0%{opacity:1;transform:translateY(0);-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}to{opacity:0;transform:translateY(10px)}}@-webkit-keyframes tdFadeOutLeft{0%{opacity:1;transform:translateX(0);-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}to{opacity:0;transform:translateX(-10px)}}@keyframes tdFadeOutLeft{0%{opacity:1;transform:translateX(0);-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}to{opacity:0;transform:translateX(-10px)}}.tdFadeInDown{-webkit-animation-name:tdFadeInDown;animation-name:tdFadeInDown}.tdFadeInLeft{-webkit-animation-name:tdFadeInLeft;animation-name:tdFadeInLeft}.tdFadeInUp{-webkit-animation-name:tdFadeInUp;animation-name:tdFadeInUp}.tdFadeInRight{-webkit-animation-name:tdFadeInRight;animation-name:tdFadeInRight}.tdFadeOutUp{-webkit-animation-name:tdFadeOutUp;animation-name:tdFadeOutUp}.tdFadeOutRight{-webkit-animation-name:tdFadeOutRight;animation-name:tdFadeOutRight}.tdFadeOutDown{-webkit-animation-name:tdFadeOutDown;animation-name:tdFadeOutDown}.tdFadeOutLeft{-webkit-animation-name:tdFadeOutLeft;animation-name:tdFadeOutLeft}@-webkit-keyframes tdExpandIn{0%{opacity:0;transform:scale(.85);-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}to{opacity:1;transform:scale(1)}}@keyframes tdExpandIn{0%{opacity:0;transform:scale(.85);-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}to{opacity:1;transform:scale(1)}}@-webkit-keyframes tdExpandInBounce{0%{opacity:0;transform:scale(.85);-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}70%{transform:scale(1.03);-webkit-animation-timing-function:ease;animation-timing-function:ease}to{opacity:1;transform:scale(1);-webkit-animation-timing-function:ease;animation-timing-function:ease}}@keyframes tdExpandInBounce{0%{opacity:0;transform:scale(.85);-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}70%{transform:scale(1.03);-webkit-animation-timing-function:ease;animation-timing-function:ease}to{opacity:1;transform:scale(1);-webkit-animation-timing-function:ease;animation-timing-function:ease}}@-webkit-keyframes tdExpandOut{0%{opacity:1;transform:scale(1);-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}to{opacity:0;transform:scale(1.2)}}@keyframes tdExpandOut{0%{opacity:1;transform:scale(1);-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}to{opacity:0;transform:scale(1.2)}}@-webkit-keyframes tdExpandOutBounce{0%{opacity:1;transform:scale(1);-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}30%{opacity:1;transform:scale(.95);-webkit-animation-timing-function:ease;animation-timing-function:ease}to{opacity:0;transform:scale(1.2)}}@keyframes tdExpandOutBounce{0%{opacity:1;transform:scale(1);-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}30%{opacity:1;transform:scale(.95);-webkit-animation-timing-function:ease;animation-timing-function:ease}to{opacity:0;transform:scale(1.2)}}@-webkit-keyframes tdShrinkIn{0%{opacity:0;transform:scale(1.2);-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}to{opacity:1;transform:scale(1)}}@keyframes tdShrinkIn{0%{opacity:0;transform:scale(1.2);-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}to{opacity:1;transform:scale(1)}}@-webkit-keyframes tdShrinkInBounce{0%{opacity:0;transform:scale(1.2);-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}70%{transform:scale(.95);-webkit-animation-timing-function:ease;animation-timing-function:ease}to{opacity:1;transform:scale(1)}}@keyframes tdShrinkInBounce{0%{opacity:0;transform:scale(1.2);-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}70%{transform:scale(.95);-webkit-animation-timing-function:ease;animation-timing-function:ease}to{opacity:1;transform:scale(1)}}@-webkit-keyframes tdShrinkOut{0%{opacity:1;transform:scale(1);-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}to{opacity:0;transform:scale(.85);-webkit-animation-timing-function:ease;animation-timing-function:ease}}@keyframes tdShrinkOut{0%{opacity:1;transform:scale(1);-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}to{opacity:0;transform:scale(.85);-webkit-animation-timing-function:ease;animation-timing-function:ease}}@-webkit-keyframes tdShrinkOutBounce{0%{opacity:1;transform:scale(1);-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}30%{opacity:1;transform:scale(1.03);-webkit-animation-timing-function:ease;animation-timing-function:ease}to{opacity:0;transform:scale(.85);-webkit-animation-timing-function:ease;animation-timing-function:ease}}@keyframes tdShrinkOutBounce{0%{opacity:1;transform:scale(1);-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}30%{opacity:1;transform:scale(1.03);-webkit-animation-timing-function:ease;animation-timing-function:ease}to{opacity:0;transform:scale(.85);-webkit-animation-timing-function:ease;animation-timing-function:ease}}.tdExpandIn{-webkit-animation-name:tdExpandIn;animation-name:tdExpandIn}.tdExpandInBounce{-webkit-animation-name:tdExpandInBounce;animation-name:tdExpandInBounce}.tdExpandOut{-webkit-animation-name:tdExpandOut;animation-name:tdExpandOut}.tdExpandOutBounce{-webkit-animation-name:tdExpandOutBounce;animation-name:tdExpandOutBounce}.tdShrinkIn{-webkit-animation-name:tdShrinkIn;animation-name:tdShrinkIn}.tdShrinkInBounce{-webkit-animation-name:tdShrinkInBounce;animation-name:tdShrinkInBounce}.tdShrinkOut{-webkit-animation-name:tdShrinkOut;animation-name:tdShrinkOut}.tdShrinkOutBounce{-webkit-animation-name:tdShrinkOutBounce;animation-name:tdShrinkOutBounce}@-webkit-keyframes tdStampIn{0%{opacity:0;transform:scale(1.3);-webkit-animation-timing-function:cubic-bezier(.59,0,1,.375);animation-timing-function:cubic-bezier(.59,0,1,.375)}50%{opacity:1}70%{opacity:1;transform:scale(1)}90%{opacity:1;transform:scale(1.03)}to{opacity:1;transform:scale(1)}}@keyframes tdStampIn{0%{opacity:0;transform:scale(1.3);-webkit-animation-timing-function:cubic-bezier(.59,0,1,.375);animation-timing-function:cubic-bezier(.59,0,1,.375)}50%{opacity:1}70%{opacity:1;transform:scale(1)}90%{opacity:1;transform:scale(1.03)}to{opacity:1;transform:scale(1)}}@-webkit-keyframes tdStampInSwing{0%{opacity:0;transform:scale(1.3) rotate(-10deg);-webkit-animation-timing-function:cubic-bezier(.59,0,1,.375);animation-timing-function:cubic-bezier(.59,0,1,.375)}50%{opacity:1}70%{opacity:1;transform:scale(1)}90%{opacity:1;transform:scale(1.03)}to{opacity:1;transform:scale(1) rotate(0)}}@keyframes tdStampInSwing{0%{opacity:0;transform:scale(1.3) rotate(-10deg);-webkit-animation-timing-function:cubic-bezier(.59,0,1,.375);animation-timing-function:cubic-bezier(.59,0,1,.375)}50%{opacity:1}70%{opacity:1;transform:scale(1)}90%{opacity:1;transform:scale(1.03)}to{opacity:1;transform:scale(1) rotate(0)}}.tdStampIn{-webkit-animation-name:tdStampIn;animation-name:tdStampIn}.tdStampInSwing{-webkit-animation-name:tdStampInSwing;animation-name:tdStampInSwing}@-webkit-keyframes tdSwingIn{0%{opacity:0;transform:rotate(-10deg) scale(.85);-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}70%{opacity:1;transform:rotate(1deg);-webkit-animation-timing-function:ease;animation-timing-function:ease}to{opacity:1;transform:rotate(0deg) scale(1);-webkit-animation-timing-function:ease;animation-timing-function:ease}}@keyframes tdSwingIn{0%{opacity:0;transform:rotate(-10deg) scale(.85);-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}70%{opacity:1;transform:rotate(1deg);-webkit-animation-timing-function:ease;animation-timing-function:ease}to{opacity:1;transform:rotate(0deg) scale(1);-webkit-animation-timing-function:ease;animation-timing-function:ease}}@-webkit-keyframes tdSwingOut{0%{opacity:1;transform:rotate(0deg) scale(1);-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}30%{opacity:1;transform:rotate(-1deg);-webkit-animation-timing-function:ease;animation-timing-function:ease}to{opacity:0;transform:rotate(10deg) scale(.85);-webkit-animation-timing-function:ease;animation-timing-function:ease}}@keyframes tdSwingOut{0%{opacity:1;transform:rotate(0deg) scale(1);-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}30%{opacity:1;transform:rotate(-1deg);-webkit-animation-timing-function:ease;animation-timing-function:ease}to{opacity:0;transform:rotate(10deg) scale(.85);-webkit-animation-timing-function:ease;animation-timing-function:ease}}.tdSwingIn{-webkit-animation-name:tdSwingIn;animation-name:tdSwingIn}.tdSwingOut{-webkit-animation-name:tdSwingOut;animation-name:tdSwingOut}@-webkit-keyframes tdHingeFlipIn{0%{opacity:0;transform:perspective(600px) rotateX(0deg);transform-origin:center top;-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}50%{transform:perspective(600px) rotateX(-10deg);transform-origin:center top;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{opacity:1;transform:perspective(600px) rotateX(0deg);transform-origin:center top;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}@keyframes tdHingeFlipIn{0%{opacity:0;transform:perspective(600px) rotateX(0deg);transform-origin:center top;-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}50%{transform:perspective(600px) rotateX(-10deg);transform-origin:center top;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{opacity:1;transform:perspective(600px) rotateX(0deg);transform-origin:center top;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}@-webkit-keyframes tdHingeFlipOut{0%{opacity:1;transform:perspective(600px) rotateX(0deg);transform-origin:center top;-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}50%{transform:perspective(600px) rotateX(-10deg);transform-origin:center top;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{opacity:0;transform:perspective(600px) rotateX(0deg);transform-origin:center top;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}@keyframes tdHingeFlipOut{0%{opacity:1;transform:perspective(600px) rotateX(0deg);transform-origin:center top;-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}50%{transform:perspective(600px) rotateX(-10deg);transform-origin:center top;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{opacity:0;transform:perspective(600px) rotateX(0deg);transform-origin:center top;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}.tdHingeFlipIn{-webkit-animation-name:tdHingeFlipIn;animation-name:tdHingeFlipIn}.tdHingeFlipOut{-webkit-animation-name:tdHingeFlipOut;animation-name:tdHingeFlipOut}@-webkit-keyframes tdDropInLeft{0%{opacity:0}1%{opacity:1;transform:rotate(2deg) translateY(-15px);transform-origin:right bottom;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{opacity:1;transform:rotate(0) translateY(0);transform-origin:right bottom;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}75%{transform:rotate(-.5deg) translateY(0);transform-origin:left bottom;-webkit-animation-timing-function:cubic-bezier(.59,0,1,.375);animation-timing-function:cubic-bezier(.59,0,1,.375)}to{opacity:1;transform:rotate(0) translateY(0);transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}}@keyframes tdDropInLeft{0%{opacity:0}1%{opacity:1;transform:rotate(2deg) translateY(-15px);transform-origin:right bottom;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{opacity:1;transform:rotate(0) translateY(0);transform-origin:right bottom;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}75%{transform:rotate(-.5deg) translateY(0);transform-origin:left bottom;-webkit-animation-timing-function:cubic-bezier(.59,0,1,.375);animation-timing-function:cubic-bezier(.59,0,1,.375)}to{opacity:1;transform:rotate(0) translateY(0);transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}}@-webkit-keyframes tdDropInRight{0%{opacity:0}1%{opacity:1;transform:rotate(-2deg) translateY(-15px);transform-origin:left bottom;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{opacity:1;transform:rotate(0) translateY(0);transform-origin:left bottom;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}75%{transform:rotate(.5deg) translateY(0);transform-origin:right bottom;-webkit-animation-timing-function:cubic-bezier(.59,0,1,.375);animation-timing-function:cubic-bezier(.59,0,1,.375)}to{opacity:1;transform:rotate(0) translateY(0);transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}}@keyframes tdDropInRight{0%{opacity:0}1%{opacity:1;transform:rotate(-2deg) translateY(-15px);transform-origin:left bottom;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{opacity:1;transform:rotate(0) translateY(0);transform-origin:left bottom;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}75%{transform:rotate(.5deg) translateY(0);transform-origin:right bottom;-webkit-animation-timing-function:cubic-bezier(.59,0,1,.375);animation-timing-function:cubic-bezier(.59,0,1,.375)}to{opacity:1;transform:rotate(0) translateY(0);transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(0,.59,.375,1);animation-timing-function:cubic-bezier(0,.59,.375,1)}}.tdDropInLeft{-webkit-animation-name:tdDropInLeft;animation-name:tdDropInLeft}.tdDropInRight{-webkit-animation-name:tdDropInRight;animation-name:tdDropInRight}@-webkit-keyframes tdPlopIn{0%{opacity:0;transform:scale(.9)}10%{opacity:1;transform:scale(.7,1.3)}70%{transform:scale(1.1,.95)}90%{transform:scale(.97,1.05)}to{opacity:1;transform:scale(1)}}@keyframes tdPlopIn{0%{opacity:0;transform:scale(.9)}10%{opacity:1;transform:scale(.7,1.3)}70%{transform:scale(1.1,.95)}90%{transform:scale(.97,1.05)}to{opacity:1;transform:scale(1)}}@-webkit-keyframes tdPlopInDown{0%{opacity:0;transform:scale(.9,.8);transform-origin:center top}10%{opacity:1;transform:scale(.8,1.3);transform-origin:center top}70%{transform:scaleY(.95);transform-origin:center top}to{opacity:1;transform:scale(1);transform-origin:center top}}@keyframes tdPlopInDown{0%{opacity:0;transform:scale(.9,.8);transform-origin:center top}10%{opacity:1;transform:scale(.8,1.3);transform-origin:center top}70%{transform:scaleY(.95);transform-origin:center top}to{opacity:1;transform:scale(1);transform-origin:center top}}@-webkit-keyframes tdPlopInUp{0%{opacity:0;transform:scale(.9,.8);transform-origin:center bottom}10%{opacity:1;transform:scale(.8,1.3);transform-origin:center bottom}70%{transform:scaleY(.95);transform-origin:center bottom}to{opacity:1;transform:scale(1);transform-origin:center bottom}}@keyframes tdPlopInUp{0%{opacity:0;transform:scale(.9,.8);transform-origin:center bottom}10%{opacity:1;transform:scale(.8,1.3);transform-origin:center bottom}70%{transform:scaleY(.95);transform-origin:center bottom}to{opacity:1;transform:scale(1);transform-origin:center bottom}}.tdPlopIn{-webkit-animation-name:tdPlopIn;animation-name:tdPlopIn}.tdPlopInDown{-webkit-animation-name:tdPlopInDown;animation-name:tdPlopInDown}.tdPlopInUp{-webkit-animation-name:tdPlopInUp;animation-name:tdPlopInUp}
\ No newline at end of file
diff --git a/fonts/minecraft.ttf b/fonts/minecraft.ttf
new file mode 100644
index 0000000..a968528
Binary files /dev/null and b/fonts/minecraft.ttf differ
diff --git a/img/earth.png b/img/earth.png
new file mode 100644
index 0000000..a95ebbc
Binary files /dev/null and b/img/earth.png differ
diff --git a/img/moon.png b/img/moon.png
new file mode 100644
index 0000000..5c33b04
Binary files /dev/null and b/img/moon.png differ
diff --git a/img/sun.png b/img/sun.png
new file mode 100644
index 0000000..8eb7c44
Binary files /dev/null and b/img/sun.png differ
diff --git a/index.html b/index.html
index ccadbca..210f498 100644
--- a/index.html
+++ b/index.html
@@ -2,48 +2,116 @@
- Сайт DarkCat09
+ DarkCat09's Site
+
+
+
+
-
+
+
-
-
-
-
-
-
-
-
-
DarkCat09
- Чечкенёв Андрей
-
- Возраст: лет
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/js/age.js b/js/age.js
new file mode 100644
index 0000000..de066bd
--- /dev/null
+++ b/js/age.js
@@ -0,0 +1,10 @@
+// Computing My Age
+// Вычисление моего возраста
+var birthday = new Date(2009, 7, 13, 13);
+try {
+ // https://ru.stackoverflow.com/questions/576478/javascript-Вычисление-возраста-по-дате-рождения
+ document.getElementById('age-js').innerHTML = Math.floor((Date.now() - birthday.getTime()) / (24 * 3600 * 365.25 * 1000));
+}
+catch (ex) {
+ console.log('Произошла ошибка при попытке рендеринга моего возраста! Подробнее:\n' + ex.message);
+}
diff --git a/js/script.js b/js/script.js
index de066bd..6f2b16e 100644
--- a/js/script.js
+++ b/js/script.js
@@ -1,10 +1,86 @@
-// Computing My Age
-// Вычисление моего возраста
-var birthday = new Date(2009, 7, 13, 13);
-try {
- // https://ru.stackoverflow.com/questions/576478/javascript-Вычисление-возраста-по-дате-рождения
- document.getElementById('age-js').innerHTML = Math.floor((Date.now() - birthday.getTime()) / (24 * 3600 * 365.25 * 1000));
-}
-catch (ex) {
- console.log('Произошла ошибка при попытке рендеринга моего возраста! Подробнее:\n' + ex.message);
-}
+function setupUi() {
+ document.body.addEventListener('contextmenu', (e) => {
+ var menu = document.querySelector('.context-menu');
+ menu.style.top = e.pageY + 'px';
+ menu.style.left = e.pageX + 'px';
+ togglePopup(menu);
+ e.preventDefault();
+ return false;
+ });
+ document.body.addEventListener('click', () => {
+ var popups = document.querySelectorAll('.popup');
+ for (var i = 0; i < popups.length; i++) {
+ togglePopup(popups[i], 0);
+ }
+ });
+};
+
+function togglePopup(el, mode=1) {
+ var displaying = (el.accessKey.trim() != '' && el.accessKey != '0');
+
+ if (mode != 1 && !displaying)
+ return;
+
+ if (!displaying) {
+ el.style.animation = 'tdExpandInBounce 0.3s ease 0s forwards';
+ el.style.pointerEvents = 'auto';
+ el.accessKey = '1';
+ }
+ else {
+ el.style.animation = 'tdShrinkOutBounce 0.3s ease 0s forwards';
+ el.style.pointerEvents = 'none';
+ el.accessKey = '0';
+ }
+};
+
+function showDiscordSubmenu(e) {
+ var submenu = document.querySelector('li#item-discord').querySelector('nav.submenu');
+ togglePopup(submenu);
+ e.stopPropagation();
+};
+
+function showAboutCard(e) {
+ var about = document.querySelector('div.about-card-wrapper');
+ togglePopup(about);
+ e.stopPropagation();
+};
+
+function copyDiscordTag(e) {
+ var dtag = e.target.innerText;
+ var text = document.createElement('textarea');
+ text.style.position = 'absolute';
+ text.style.left = '-9999px';
+ text.style.top = '0';
+ text.innerHTML = dtag;
+ text.classList.add('copyarea');
+ e.target.append(text);
+ text.select();
+
+ document.execCommand('copy');
+ setTimeout(() => {
+ document.querySelector('textarea.copyarea').remove();
+ togglePopup(document.querySelector('li#item-discord').querySelector('nav.submenu'));
+ }, 100);
+
+ togglePopup(document.querySelector('.msg-wrapper'));
+ setTimeout(() => {
+ togglePopup(document.querySelector('.msg-wrapper'), 0);
+ }, 3000);
+ e.stopPropagation();
+};
+
+function changePicture(e, num) {
+ var img = document.querySelector('.space-obj > img');
+ switch (num) {
+ case 0:
+ img.src = 'img/earth.png';
+ break;
+ case 1:
+ img.src = 'img/moon.png';
+ break;
+ case 2:
+ img.src = 'img/sun.png';
+ break;
+ }
+ togglePopup(document.querySelector('.context-menu'));
+};
diff --git a/logo/dc09logo.svg b/logo/dc09logo.svg
new file mode 100644
index 0000000..e556341
--- /dev/null
+++ b/logo/dc09logo.svg
@@ -0,0 +1,96 @@
+
+
+
+