Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Son7c authored Oct 23, 2024
2 parents a68e0cf + 44ddf37 commit b147927
Show file tree
Hide file tree
Showing 2 changed files with 229 additions and 8 deletions.
9 changes: 8 additions & 1 deletion Faq.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

* {
box-sizing: border-box;
overflow: hidden;
&::before,
&::after {
box-sizing: border-box;
Expand All @@ -32,6 +31,14 @@
flex-direction: column;
min-height: 100vh;
max-width:100vw;
overflow-y: hidden;
}

/* Media query for mobile */
@media (max-width: 768px) {
body {
overflow-y: scroll; /* Enable vertical scrolling on mobile */
}
}

.container {
Expand Down
228 changes: 221 additions & 7 deletions src/Styles/Style.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
font-weight: 600;
color: #571094;
}
.container button{
.col-md-8 button{
display: flex;
align-items: center;
background: linear-gradient(#9418fd,#571094);
Expand Down Expand Up @@ -647,11 +647,6 @@ html {
font-size: 1rem;
}

.canvas-palette .btn {
border-radius: 5px; /* Rounded button corners */
padding: 10px 15px; /* Ample padding for buttons */
font-weight: bold; /* Bold text for buttons */
}

.canvas-palette .btn:hover {
transform: translateY(-2px); /* Subtle lift on hover */
Expand Down Expand Up @@ -1003,6 +998,225 @@ footer .credit {
background-color: #0056b3; /* Change to a lighter blue on hover */
transform: scale(1.1);
}

#contactSubmit{
background-color: #03e9f4;
}
}


/* General Button Styling */
button {
padding: 12px 20px;
font-size: 16px;
font-weight: bold;
letter-spacing: 2px;
border-radius: 30px; /* Rounded edges */
border: 2px solid transparent;
cursor: pointer;
position: relative;
overflow: hidden;
transition: all 0.4s ease;
}

/* Button Wrapper Styles */
.wrapper, .tStyle, .rclStyle {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 20px;
margin-bottom: 20px;
}

.space {
height: 20px;
}

/* Button Styles 1 - Pink and Blue Theme */
.wrapper button {
background-color: #F9CEFF; /* Primary Pink */
color: #805D93; /* Lighter Purple/Soft Mauve */
border-radius: 50px; /* More roundness for soft look */
border: 2px solid #F9CEFF;
}

.wrapper button:hover {
background-color: #D8F9FF; /* Primary Blue */
color: #518FBA; /* Softer Blue */
box-shadow: 0 0 10px #D8F9FF, 0 0 20px #D8F9FF, 0 0 40px #D8F9FF;
}

.wrapper button:first-child {
background-color: #D8F9FF; /* Alternate Blue */
color: #518FBA;
border-color: #AEEAFF;
}

.wrapper button:last-child {
background-color: #F9CEFF; /* Pink for last button */
color: #805D93; /* Soft Purple */
border-color: #F4A3FF;
}

/* Soft Border Animation */
.wrapper button span {
position: absolute;
display: block;
}

.wrapper button span:nth-child(1) {
top: 0;
left: 0;
width: 100%;
height: 2px;
background: linear-gradient(90deg, transparent, #D8F9FF); /* Soft Blue Gradient */
animation: animate1 1s infinite;
}

@keyframes animate1 {
0% {
left: -100%;
}
100% {
left: 100%;
}
}

.wrapper button span:nth-child(2),
.tStyle button span:nth-child(2),
.rclStyle button span:nth-child(2) {
top: -100%;
right: 0;
width: 2px;
height: 100%;
background: linear-gradient(180deg, transparent, #F9CEFF); /* Soft Pink Gradient */
animation: animate2 1s infinite 0.25s;
}

@keyframes animate2 {
0% {
top: -100%;
}
100% {
top: 100%;
}
}

/* Button Styles 2 - Pastel Pink and Blue Theme */
.tStyle button {
background-color: #F9CEFF; /* Primary Pink */
color: #805D93; /* Softer Purple */
border-radius: 50px;
border: 2px solid #F9CEFF;
}

.tStyle button:hover {
background-color: #D8F9FF; /* Primary Blue on Hover */
color: #518FBA; /* Softer Blue */
box-shadow: 0 0 10px #D8F9FF, 0 0 20px #D8F9FF, 0 0 40px #D8F9FF;
}

.tStyle button::before {
content: '';
position: absolute;
top: 0;
left: -40px;
width: 0;
height: 100%;
background: #D8F9FF; /* Light Blue before effect */
transform: skewX(35deg);
transition: 0.5s;
z-index: -1;
}

.tStyle button:hover::before {
width: 120%;
}

#capital:hover {
text-transform: uppercase;
}

#small:hover {
text-transform: lowercase;
}

#bold:hover {
font-weight: 900;
}

#italic:hover {
font-style: italic;
}

/* Button Styles 3 - Soft Pink and Blue Theme */
.rclStyle button {
background-color: #D8F9FF; /* Soft Blue */
color: #518FBA; /* Soft Blue Accent */
border-radius: 50px;
border: 2px solid #AEEAFF;
}

.rclStyle button:hover {
background-color: #F9CEFF; /* Switch to Pink */
color: #805D93; /* Soft Mauve Accent */
box-shadow: 0 0 10px #F9CEFF, 0 0 20px #F9CEFF, 0 0 40px #F9CEFF;
}

.rclStyle button::before {
content: '';
position: absolute;
top: 0;
left: -40px;
width: 0;
height: 100%;
background: #F9CEFF; /* Pink before effect */
transform: skewX(35deg);
transition: 0.5s;
z-index: -1;
}

.rclStyle button:hover::before {
width: 120%;
}

/* Other border animations remain the same */
.wrapper button span:nth-child(3),
.tStyle button span:nth-child(3),
.rclStyle button span:nth-child(3) {
bottom: 0;
right: 0;
width: 100%;
height: 2px;
background: linear-gradient(270deg, transparent, #F9CEFF); /* Pink */
animation: animate3 1s infinite 0.5s;
}

@keyframes animate3 {
0% {
right: -100%;
}
100% {
right: 100%;
}
}

.wrapper button span:nth-child(4),
.tStyle button span:nth-child(4),
.rclStyle button span:nth-child(4) {
bottom: -100%;
left: 0;
width: 2px;
height: 100%;
background: linear-gradient(360deg, transparent, #D8F9FF); /* Blue */
animation: animate4 1s infinite 0.75s;
}

@keyframes animate4 {
0% {
bottom: -100%;
}
100% {
bottom: 100%;
}
}

0 comments on commit b147927

Please sign in to comment.