Skip to content
This repository was archived by the owner on Aug 17, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added src/art/Xros3x/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions src/art/Xros3x/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!DOCTYPE html>

<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title></title>
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<div class="card">Xros3x</div>
<a href="https://mythrillfiction.com/"></a>

<script src="" async defer></script>
</body>
</html>
5 changes: 5 additions & 0 deletions src/art/Xros3x/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"art_name": "The Portal",
"author_name": "Xros3x",
"author_github_url": "https://github.com/Xros3x/"
}
103 changes: 103 additions & 0 deletions src/art/Xros3x/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@

@property --rotate {
syntax: "<angle>";
initial-value: 132deg;
inherits: false;
}

:root {
--card-height: 70vh;
--card-width: calc(var(--card-height) / 1.5);
}


body {
min-height: 100vh;
display: flex;
background: linear-gradient(to right, rgb(66, 62, 62), rgb(0, 0, 0));
align-items: center;
flex-direction: column;
padding-top: 7rem;
padding-bottom: 2rem;
box-sizing: border-box;
}


.card {
background: linear-gradient(to left, rgb(49, 49, 49), rgb(9, 169, 155));
width: var(--card-width);
height: var(--card-height);
padding: 3px;
position: relative;
border-radius: 6px;
justify-content: center;
align-items: center;
text-align: center;
display: flex;
font-size: 2.5em;
color: rgb(88 199 250 / 0%);
cursor: pointer;
font-family: cursive;
}

.card:hover {
color: rgb(0, 0, 0);
transition: color 1s;
}
.card:hover:before, .card:hover:after {
animation: none;
opacity: 0;
}


.card::before {
content: "";
width: 104%;
height: 102%;
border-radius: 8px;
background-image: linear-gradient(
var(--rotate)
, #7e39ee, #3ce379 43%, #000000, #7e39ee);
position: absolute;
z-index: -1;
top: -1%;
left: -2%;
animation: spin 2.5s linear infinite;
}

.card::after {
position: absolute;
content: "";
top: calc(var(--card-height) / 6);
left: 0;
right: 0;
z-index: -1;
height: 100%;
width: 100%;
margin: 0 auto;
transform: scale(0.8);
filter: blur(calc(var(--card-height) / 6));
background-image: linear-gradient(
var(--rotate)
, #7e39ee, #3ce379 43%, #000000, #7e39ee);
opacity: 1;
transition: opacity .5s;
animation: spin 2.5s linear infinite;
}

@keyframes spin {
0% {
--rotate: 0deg;
}
100% {
--rotate: 360deg;
}
}

a {
color: #212534;
text-decoration: none;
font-family: sans-serif;
font-weight: bold;
margin-top: 2rem;
}