Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Button interface updated #242

Merged
merged 2 commits into from
Oct 11, 2024
Merged
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
274 changes: 174 additions & 100 deletions SignUp/signup.css
Original file line number Diff line number Diff line change
@@ -1,153 +1,227 @@
* {
box-sizing: border-box;
margin: 0;
padding:5px;
box-sizing: border-box;
margin: 0;
padding: 5px;
}

body {
background: url('https://images.pexels.com/photos/7135057/pexels-photo-7135057.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2') no-repeat center center fixed;
background-size: cover;
font-family: 'Trebuchet MS', Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
color: white;
text-shadow: 1px 1px 2px #000;
background: url("https://images.pexels.com/photos/7135057/pexels-photo-7135057.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2")
no-repeat center center fixed;
background-size: cover;
font-family: "Trebuchet MS", Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
color: white;
text-shadow: 1px 1px 2px #000;
}

.signup-container {

opacity: 0.75;
background-color: rgba(0, 0, 0, 0);
padding: 5rem;
border-radius: 20px;
box-shadow: 0 0px 0px rgba(0, 0, 0, 0.5);
text-align: center;
max-width: 500px;
width: 100%;
animation: fadeIn 2s ease-in-out;
background-color: black;
margin: auto;
opacity: 0.75;
background-color: rgba(0, 0, 0, 0);
padding: 5rem;
border-radius: 20px;
box-shadow: 0 0px 0px rgba(0, 0, 0, 0.5);
text-align: center;
max-width: 500px;
width: 100%;
animation: fadeIn 2s ease-in-out;
background-color: black;
margin: auto;
}


@keyframes fadeIn {
from {
opacity: 0;
transform: scale(0.9);
}
to {
opacity: 0.75;
transform: scale(1);
}
from {
opacity: 0;
transform: scale(0.9);
}
to {
opacity: 0.75;
transform: scale(1);
}
}

h1 {
margin-bottom: 2rem;
font-size: 1.5rem;
color: #fb5283;
margin-bottom: 2rem;
font-size: 1.5rem;
color: #fb5283;
}

.input-group {
margin-bottom: 1.5rem;
text-align: left;
margin-bottom: 1.5rem;
text-align: left;
}

label {
display: block;
margin-bottom: 0.5rem;
font-size: 16px;
display: block;
margin-bottom: 0.5rem;
font-size: 16px;
}

input[type="text"], input[type="email"], input[type="password"] {
width: 100%;
padding: 0.75rem;
border: 2px solid #6a1b9a;
border-radius: 5px;
background-color: #3a3f44;
color: white;
font-family: 'Press Start 2P', cursive;
font-size: 0.875rem;
input[type="text"],
input[type="email"],
input[type="password"] {
width: 100%;
padding: 0.75rem;
border: 2px solid #6a1b9a;
border-radius: 5px;
background-color: #3a3f44;
color: white;
font-family: "Press Start 2P", cursive;
font-size: 0.875rem;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus {
outline: none;
border-color: #ba68c8;
background-color: #2a2e32;
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
outline: none;
border-color: #ba68c8;
background-color: #2a2e32;
}

.signup-button {
color:white;
font-family:Helvetica, sans-serif;
font-weight:bold;
font-size:20px;
color: white;
font-family: Helvetica, sans-serif;
font-weight: bold;
font-size: 20px;
text-align: center;
background-color:#FFA12B;
display:block;
position:relative;
padding:15px 60px;
background-color: #ffa12b;
display: block;
position: relative;
padding: 15px 60px;
margin: auto;





cursor: pointer;
transition: background-color 0.2s, color 0.2s;

-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
text-shadow: 0px 1px 0px #000;
filter: dropshadow(color=#000, offx=0px, offy=1px);
-webkit-box-shadow:inset 0 1px 0 #FFE5C4, 0 10px 0 #915100;
-moz-box-shadow:inset 0 1px 0 #FFE5C4, 0 10px 0 #915100;
box-shadow:inset 0 1px 0 #FFE5C4, 0 10px 0 #915100;

-webkit-box-shadow: inset 0 1px 0 #ffe5c4, 0 10px 0 #915100;
-moz-box-shadow: inset 0 1px 0 #ffe5c4, 0 10px 0 #915100;
box-shadow: inset 0 1px 0 #ffe5c4, 0 10px 0 #915100;

-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}

.signup-button:active{
top:10px;
background-color:#F78900;
-webkit-box-shadow:inset 0 1px 0 #FFE5C4, inset 0 -3px 0 #915100;
-moz-box-shadow:inset 0 1px 0 #FFE5C4, inset 0 -3pxpx 0 #915100;
box-shadow:inset 0 1px 0 #FFE5C4, inset 0 -3px 0 #915100;
}
.signup-button:after{
content:"";
height:100%;
width:100%;
padding:4px;
.signup-button:active {
top: 10px;
background-color: #f78900;

-webkit-box-shadow: inset 0 1px 0 #ffe5c4, inset 0 -3px 0 #915100;
-moz-box-shadow: inset 0 1px 0 #ffe5c4, inset 0 -3pxpx 0 #915100;
box-shadow: inset 0 1px 0 #ffe5c4, inset 0 -3px 0 #915100;
}
.signup-button:after {
content: "";
height: 100%;
width: 100%;
padding: 4px;
position: absolute;
bottom:-15px;
left:-4px;
z-index:-1;
background-color:#2B1800;
bottom: -15px;
left: -4px;
z-index: -1;
background-color: #2b1800;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
.signup-button:hover{
background-color: #FFD198;
color: #F78900;

.signup-button:hover {
background-color: #ffd198;
color: #f78900;
}

.links {
margin-top: 18px;
margin-top: 18px;
}

.links a {
color: #fb5283;
text-decoration: none;
transition: color 0.3s;
font-size: 18px;
color: #fb5283;
text-decoration: none;
transition: color 0.3s;
font-size: 18px;
}

.links a:hover {
color: #ff80ab;
text-decoration: underline;
color: #ff80ab;
text-decoration: underline;
}

.linksHome {
position: absolute;
top: 20px;
left: 20px;
cursor: pointer;
padding: 10px;
font-size: large;
text-decoration: none;
border-radius: 15px;
border: none;
background: linear-gradient(
0deg,
rgba(255, 193, 219, 1) 0%,
rgba(245, 131, 202, 1) 100%
);
color: #fff;
overflow: hidden;
}

.linksHome:hover {
text-decoration: none;
background: linear-gradient(
0deg,
rgba(245, 131, 202, 1) 0%,
rgba(255, 193, 219, 1) 100%
);
color: #fff;
}

.linksHome:before {
position: absolute;
content: "";
display: inline-block;
top: -180px;
left: 0;
width: 30px;
height: 100%;
background-color: rgba(255, 255, 255, 0.3);
animation: shiny-btn1 3s ease-in-out infinite;
}

.linksHome:active {
box-shadow: 4px 4px 6px 0 rgba(255, 193, 219, 0.3),
-4px -4px 6px 0 rgba(245, 131, 202, 0.3),
inset -4px -4px 6px 0 rgba(255, 193, 219, 0.3),
inset 4px 4px 6px 0 rgba(245, 131, 202, 0.3);
}

@keyframes shiny-btn1 {
0% {
transform: scale(0) rotate(45deg);
opacity: 0;
}
80% {
transform: scale(0) rotate(45deg);
opacity: 0.5;
}
81% {
transform: scale(4) rotate(45deg);
opacity: 1;
}
100% {
transform: scale(50) rotate(45deg);
opacity: 0;
}
}

.linksHome a {
color: #ffe4e9;
}

a {
text-decoration: none;
}
2 changes: 1 addition & 1 deletion SignUp/signup.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</head>
<body>
<div class="linksHome">
<a href="../index.html">home</a>
<a href="../index.html">←Back</a>
</div>
<div class="signup-container">
<h1>Create Your Account</h1>
Expand Down
Loading