modified: index.html
new file: js/art.js new file: js/hdr.js new file: js/hearts.js new file: js/helpers.js new file: js/particles.js new file: js/qlpycon.js new file: js/qlpyconbanner.js new file: js/snek.js new file: js/sparks.js new file: js/stars.js modified: slamp.html modified: style.css
This commit is contained in:
+246
-217
@@ -1,81 +1,68 @@
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: "FiraSans", sans-serif;
|
||||
font-family: "deltarune", monospace;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #101010;
|
||||
padding: 0;
|
||||
margin:0;
|
||||
background-color: #101010
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
-webkit-user-select: none; /* Chrome, Safari */
|
||||
-moz-user-select: none; /* Firefox */
|
||||
-ms-user-select: none; /* old IE/Edge */
|
||||
user-select: none; /* standard */
|
||||
}
|
||||
|
||||
div {box-sizing: border-box;}
|
||||
#hdr {
|
||||
position: block;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
z-index: 999;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
#starshine {
|
||||
position: absolute;
|
||||
#stars {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: -2;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
#particles {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: -5;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.shine {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
background-image: url(https://6bit.ch/spark.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position:center;
|
||||
background-size: 100% 100%;
|
||||
overflow: hidden;
|
||||
z-index: 2;
|
||||
color: transparent;
|
||||
-moz-opacity: 0.0;
|
||||
opacity: 0.0;
|
||||
animation: glitter 6s linear 0s infinite normal;
|
||||
-webkit-animation: glitter 6s linear 0s infinite normal;
|
||||
-moz-animation: glitter 8s linear 0s infinite normal;
|
||||
-ms-animation: glitter 8s linear 0s infinite normal;
|
||||
-o-animation: glitter 8s linear 0s infinite normal;
|
||||
pointer-events: none;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.shine.small {
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
h1, h2, h3, h4, p {
|
||||
color: #F0F0F0;
|
||||
}
|
||||
|
||||
.shine.medium {
|
||||
width: 3px;
|
||||
height: 3px;
|
||||
.reroll-btn {
|
||||
background: none;
|
||||
border: none;
|
||||
color: magenta;
|
||||
font-size: 13px;
|
||||
cursor: pointer;
|
||||
opacity: 0.6;
|
||||
padding: 4px 0;
|
||||
}
|
||||
|
||||
.shine.large {
|
||||
width: 5px;
|
||||
height: 5px;
|
||||
}
|
||||
|
||||
/*CSS3 keyframes for glittering effect*/
|
||||
@-webkit-keyframes glitter {
|
||||
0% {
|
||||
-webkit-transform: scale(0.3) rotate(0deg);
|
||||
opacity: 0;
|
||||
}
|
||||
25% {
|
||||
-webkit-transform: scale(1) rotate(360deg);
|
||||
opacity: 1;
|
||||
}
|
||||
50% {
|
||||
-webkit-transform: scale(0.3) rotate(720deg);
|
||||
opacity: 0;
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: scale(0.3) rotate(0deg);
|
||||
opacity: 0;
|
||||
}
|
||||
.reroll-btn:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.snake-box {
|
||||
@@ -84,7 +71,6 @@ div {box-sizing: border-box;}
|
||||
top: 0px;
|
||||
text-align: center;
|
||||
margin-bottom: 1%;
|
||||
z-index: 500;
|
||||
text-align: center;
|
||||
margin-bottom: 1%;
|
||||
border: 1px cyan dotted;
|
||||
@@ -92,11 +78,10 @@ div {box-sizing: border-box;}
|
||||
|
||||
.footer {
|
||||
width: 100%;
|
||||
color: #101010;
|
||||
position: relative;
|
||||
flex-shrink: 0;
|
||||
text-align: center;
|
||||
padding-top: 3%;
|
||||
background-color: #101010;
|
||||
padding: 15px;
|
||||
margin-top: auto;
|
||||
}
|
||||
|
||||
.footer p {
|
||||
@@ -122,18 +107,16 @@ div {box-sizing: border-box;}
|
||||
}
|
||||
|
||||
.main {
|
||||
max-width: 720px;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.main:after {
|
||||
content:"";
|
||||
display: table;
|
||||
clear: both;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1.5rem;
|
||||
padding-top: 1.5rem;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.col {
|
||||
position: relative;
|
||||
color: white;
|
||||
}
|
||||
|
||||
@@ -150,78 +133,24 @@ div {box-sizing: border-box;}
|
||||
|
||||
}
|
||||
|
||||
.left {
|
||||
width: 15%;
|
||||
float: left;
|
||||
left: 3%;
|
||||
}
|
||||
|
||||
.left h4 {
|
||||
text-decoration: none;
|
||||
padding-right: 50px;
|
||||
padding-left: 5px;
|
||||
padding-bottom: 2px;
|
||||
margin-right: 0px;
|
||||
margin-left: 0px;
|
||||
margin-bottom: 3px;
|
||||
color: #101010;
|
||||
background: rgb(0,255,255);
|
||||
background: linear-gradient(90deg, rgba(255,0,255,1) 0%, rgba(10,10,10,0) 100%);
|
||||
font-size: 17px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.left ul {
|
||||
display: flex;
|
||||
width: auto;
|
||||
padding: 5px;
|
||||
color: #FFFFFF;
|
||||
text-decoration: none;
|
||||
padding-left: 15px;
|
||||
font-size: 15px;
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
.left li {
|
||||
width: 100%;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.left a {
|
||||
color: #FFFFFF;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
padding-top: 2px;
|
||||
padding-bottom: 2px;
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
.left a:hover {
|
||||
background: linear-gradient(90deg, rgba(255,0,255,0.2) 0%, rgba(10,10,10,0) 100%);
|
||||
}
|
||||
|
||||
.right {
|
||||
position: relative;
|
||||
width: 69%;
|
||||
float: left;
|
||||
left: 7%;
|
||||
.col-full {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
.contentindex {
|
||||
padding: 3%;
|
||||
width: 100%;
|
||||
z-index: 2200;
|
||||
text-align: left;
|
||||
border: 1px;
|
||||
border-style: dotted;
|
||||
border-color: cyan;
|
||||
text-align: center;
|
||||
background-color: rgba(16, 16, 16, 0.69);
|
||||
}
|
||||
|
||||
.contentindexart {
|
||||
padding: 3%;
|
||||
width: 100%;
|
||||
z-index: 2200;
|
||||
text-align: left;
|
||||
border: 1px;
|
||||
border-style: dotted;
|
||||
@@ -230,6 +159,69 @@ div {box-sizing: border-box;}
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 50px;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.contentindexqlpycon {
|
||||
padding: 3%;
|
||||
width: 100%;
|
||||
border: 1px;
|
||||
border-style: dotted;
|
||||
border-color: cyan;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.contentindexqlpycon pre {
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.contentindexqlpycon h1 {
|
||||
padding: 1.25rem 0;
|
||||
}
|
||||
|
||||
.contentindexqlpycon h2 {
|
||||
padding: 1rem 0;
|
||||
}
|
||||
|
||||
.contentindexqlpycon h3 {
|
||||
padding: 1rem 0;
|
||||
}
|
||||
|
||||
.contentindexqlpycon h4 {
|
||||
text-align: left;
|
||||
padding-top: 1rem;
|
||||
}
|
||||
|
||||
.contentindexqlpycon p {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.contentindexqlpycon a {
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
border-bottom: 1px dotted magenta;
|
||||
}
|
||||
|
||||
.qlpyconcodeblock {
|
||||
font-size: 14px;
|
||||
border: 1px dotted #ff00ff;
|
||||
margin: 1rem;
|
||||
padding: 1rem 0.5rem;
|
||||
}
|
||||
|
||||
.qlpyconcode {
|
||||
padding: 2px 16px;
|
||||
color: cyan;
|
||||
font-size: 14px;
|
||||
user-select: text;
|
||||
-webkit-user-select: text;
|
||||
-moz-user-select: text;
|
||||
-ms-user-select: text;
|
||||
}
|
||||
|
||||
#qlpycon {
|
||||
max-width: 672px;
|
||||
height: 500px;
|
||||
}
|
||||
|
||||
.contentindex img {
|
||||
@@ -242,9 +234,8 @@ div {box-sizing: border-box;}
|
||||
}
|
||||
|
||||
.contentindex p {
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
padding-bottom: 25px;
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
.contentindex a {
|
||||
@@ -291,100 +282,138 @@ div {box-sizing: border-box;}
|
||||
}
|
||||
}
|
||||
|
||||
#@-webkit-keyframes glow {
|
||||
# from {
|
||||
# text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #e60073, 0 0 40px #e60073, 0 0 50px #e60073, 0 0 60px #e60073, 0 0 70px #e60073;
|
||||
# }
|
||||
#
|
||||
# to {
|
||||
# text-shadow: 0 0 20px #fff, 0 0 30px #ff4da6, 0 0 40px #ff4da6, 0 0 50px #ff4da6, 0 0 60px #ff4da6, 0 0 70px #ff4da6, 0 0 80px #ff4da6;
|
||||
# }
|
||||
#}
|
||||
.headerimg {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.headerimg img {
|
||||
height: 80px;
|
||||
width: auto;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.linksblock {
|
||||
display: grid;
|
||||
gap: 1.5rem;
|
||||
border: 1px dotted magenta;
|
||||
padding: 1rem 1.25rem;
|
||||
justify-content: center;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
background-color: rgba(16, 16, 16, 0.69);
|
||||
}
|
||||
|
||||
.linkgroup {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.linkgroup-everywhere {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
.linkgroup-everywhere ul {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
gap: 0 1.5rem;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.linkgroup h4 {
|
||||
color: #101010;
|
||||
background: linear-gradient(90deg, rgba(255,0,255,1) 0%, rgba(10,10,10,0) 100%);
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
padding: 2px 4px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.linkgroup ul {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.linkgroup a {
|
||||
color: #ffffff;
|
||||
text-decoration: none;
|
||||
font-size: 14px;
|
||||
display: block;
|
||||
padding: 2px 5px;
|
||||
}
|
||||
|
||||
.linkgroup a:hover {
|
||||
color: magenta;
|
||||
}
|
||||
|
||||
.things-block {
|
||||
border: 1px dotted magenta;
|
||||
background-color: rgba(16, 16, 16, 0.69);
|
||||
}
|
||||
|
||||
.things-block summary {
|
||||
cursor: pointer;
|
||||
padding: 4px 4px;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
color: #101010;
|
||||
background: linear-gradient(90deg, rgba(255,0,255,1) 0%, rgba(10,10,10,0) 100%);
|
||||
list-style: none;
|
||||
user-select: none;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.things-block summary::-webkit-details-marker {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.things-block summary:hover {
|
||||
background: linear-gradient(90deg, rgba(255,0,255,0.8) 0%, rgba(10,10,10,0) 100%);
|
||||
}
|
||||
|
||||
.things-block summary::after {
|
||||
content: '▼';
|
||||
display: inline-block;
|
||||
margin-right: 6px;
|
||||
color: white;
|
||||
transition: transform .2s;
|
||||
}
|
||||
|
||||
.things-block[open] summary::after {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.things-block[open] summary {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
#game {
|
||||
display: block;
|
||||
width: 100%;
|
||||
border: 1px dotted cyan;
|
||||
background-color: rgba(16, 16, 16, 0.69);
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: FiraSans;
|
||||
src: url("fonts/FiraSans-Medium.otf") format: ("opentype");
|
||||
font-family: "FiraSans";
|
||||
font-display: swap;
|
||||
src: url("fonts/FiraSans-Regular.otf") format("opentype");
|
||||
}
|
||||
|
||||
@media(max-width: 1350px) {
|
||||
@font-face {
|
||||
font-family: "deltarune";
|
||||
src: url("fonts/inconreg.ttf") format('truetype');
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.main {
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
gap: 1rem;
|
||||
}
|
||||
.headerimg {
|
||||
width 248px;
|
||||
margin-left: 5%;
|
||||
margin-right: 5%;
|
||||
}
|
||||
.headerimg img {
|
||||
display: block;
|
||||
position: center;
|
||||
margin: 0;
|
||||
padding-top: 33px;
|
||||
padding-bottom: 33px;
|
||||
width: auto;
|
||||
height: auto;
|
||||
max-height: 69px;
|
||||
margin: auto;
|
||||
}
|
||||
.col {
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
.left {
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
}
|
||||
.navblock h4 {
|
||||
font-size: 14px;
|
||||
}
|
||||
.navblock ul {
|
||||
font-size: 14px;
|
||||
}
|
||||
.right {
|
||||
overflow: hidden;
|
||||
margin-top: 100px;
|
||||
border: 1px cyan dotted;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
.contentindex {
|
||||
overflow: hidden;
|
||||
border: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
.contentindexart {
|
||||
overflow: hidden;
|
||||
border: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: block;
|
||||
justify-content: center;
|
||||
}
|
||||
.artitem {
|
||||
padding-top: 25px;
|
||||
padding-bottom: 25px;
|
||||
.linksblock {
|
||||
gap: 1rem;
|
||||
}
|
||||
.artitem img {
|
||||
padding: 0;
|
||||
height: auto;
|
||||
width: 69%;
|
||||
}
|
||||
.right p {
|
||||
margin: auto;
|
||||
font-size: 12px;
|
||||
}
|
||||
.footer {
|
||||
margin-top: 100px;
|
||||
}
|
||||
.footer a {
|
||||
font-size: 11px;
|
||||
}
|
||||
.footer p {
|
||||
font-size: 11px;
|
||||
height: 100px;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user