Skip to content

Commit

Permalink
created temp page
Browse files Browse the repository at this point in the history
  • Loading branch information
ISO53 committed Feb 14, 2024
1 parent 42d8100 commit 5813655
Show file tree
Hide file tree
Showing 2 changed files with 98 additions and 0 deletions.
82 changes: 82 additions & 0 deletions docs/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
:root {
--clr-neon: hsl(317 100% 54%);
--clr-bg: hsl(0 0% 0%);
}

*,
*::before,
*::after {
box-sizing: border-box;
}

body {
min-height: 100vh;
display: grid;
place-items: center;
background: var(--clr-bg);
font-family: "Balsamiq Sans", cursive;
color: var(--clr-neon);
}

.neon-button {
font-size: 4rem;

display: inline-block;
cursor: pointer;
text-decoration: none;
color: var(--clr-neon);
border: var(--clr-neon) 0.125em solid;
padding: 0.25em 1em;
border-radius: 0.25em;

text-shadow: 0 0 0.125em hsl(0 0% 100% / 0.3), 0 0 0.45em currentColor;

box-shadow: inset 0 0 0.5em 0 var(--clr-neon), 0 0 0.5em 0 var(--clr-neon);

position: relative;
}

.neon-button::before {
pointer-events: none;
content: "";
position: absolute;
background: var(--clr-neon);
top: 120%;
left: 0;
width: 100%;
height: 100%;

transform: perspective(1em) rotateX(40deg) scale(1, 0.35);
filter: blur(1em);
opacity: 0.7;
}

.neon-button::after {
content: "";
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
box-shadow: 0 0 2em 0.5em var(--clr-neon);
opacity: 0;
background-color: var(--clr-neon);
z-index: -1;
transition: opacity 200ms linear;
}

.neon-button:hover,
.neon-button:focus {
color: var(--clr-bg);
text-shadow: none;
}

.neon-button:hover::before,
.neon-button:focus::before {
opacity: 1;
}
.neon-button:hover::after,
.neon-button:focus::after {
opacity: 1;
}

16 changes: 16 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="index.css" />
<title>Movie Collection Visualizer</title>
</head>

<body>
<a href="#" class="neon-button">Movie Collection Visualizer Temporary Website</a>
</body>

</html>

0 comments on commit 5813655

Please sign in to comment.