Skip to content

added button #159

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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
151 changes: 79 additions & 72 deletions assets/css/style.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
/* Reset and Base Styles */
* {
font-family: 'Inter', sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
}

:root {
Expand Down Expand Up @@ -30,7 +35,6 @@ body::-webkit-scrollbar {

body::-webkit-scrollbar-thumb {
border-radius: 11px;
/* -webkit-box-shadow: inset -5px 0px 29px 0 #ec4896; */
background-color: rgb(99, 99, 99);
}

Expand All @@ -41,8 +45,10 @@ main {

a {
text-decoration: none;
color: var(--default-link-color);
}

/* Navbar */
.navbar {
display: flex;
flex-direction: column;
Expand All @@ -53,39 +59,43 @@ a {

.title {
font-size: 3rem;
padding-top: 0rem;
font-weight: 700;
padding-top: 0rem;
}

.content-text {
padding: 1rem 0rem 3rem 0rem;
padding: 1rem 0 3rem 0;
font-size: 1.2rem;
}

/* Button Card */
.button-container {
display: flex;
align-items: center;
justify-content: space-around;
width: 18rem;
height: 18rem;
width: clamp(200px, 40vw, 18rem);
height: clamp(200px, 40vw, 18rem);
background-color: var(--bg-btn-card);
transition: 0.4s;
transition: transform 0.4s ease, box-shadow 0.3s ease;
border-radius: var(--card-border-radius);
flex-direction: column;
position: relative;
}

.button-container:hover {
transform: translateY(-5px);
box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.3);
}

/* Wrapper */
.container {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 2rem;
}

/* Created By Section */
.createdby-section {
width: 100%;
text-align: center;
Expand All @@ -97,16 +107,21 @@ a {
}

.createdby-section a {
color: rgb(129 120 255 / 1);
color: var(--default-link-color);
text-decoration: none;
}

/* Button Text */
.btn-def-text {
margin-top: 20px;
}

.btn-def-text:hover {
color: var(--link-hover-color);
cursor: pointer;
}

/* footer stat here */
/* Footer */
.footer-main {
margin-top: 2rem;
}
Expand All @@ -120,35 +135,6 @@ a {
flex-direction: column;
}


@media (min-width: 1280px) {
.footer-container {
max-width: 1280px;
}
}

@media (min-width: 1024px) {
.footer-container {
max-width: 1024px;
}
}

@media (min-width: 768px) {
.footer-container {
max-width: 768px;
}
}

@media (min-width: 640px) {
.footer-container {
flex-direction: row;
max-width: 640px;
}
}




.footer-title {
display: flex;
align-items: center;
Expand All @@ -157,31 +143,15 @@ a {
color: white;
}

@media (min-width: 768px) {
.footer-title {
justify-content: flex-start;
}
}

.footer-copyright {
margin-top: 1rem;
font-size: .875rem;
line-height: 1.25rem;
color: var(--default-color)
}

@media (min-width: 640px) {
.footer-copyright {
padding: 0.5rem 0 0.5rem 1rem;
margin-left: 1rem;
margin: 0 0 0 1rem;
border-left-width: 2px;
border-color: rgba(31, 41, 55);
}
color: var(--default-color);
}

.footer-copyright>a {
color: rgb(129 120 255 / 1)
.footer-copyright > a {
color: var(--link-hover-color);
}

.socials-span {
Expand All @@ -190,33 +160,70 @@ a {
display: inline-flex;
}

@media (min-width: 640px) {
.socials-span {
margin-left: auto;
margin-top: 0;
justify-content: flex-start;
}
}


.socials-span>a {
.socials-span > a {
color: var(--default-color);
transition: all 0.3s ease-in-out;
}

.socials-span>a:hover {
.socials-span > a:hover {
color: var(--link-hover-color);
transform: scale(1.4);
transition: all 0.3s ease-in-out;
}

.socials-span>a:not(:first-child) {
.socials-span > a:not(:first-child) {
margin-left: 0.75rem;
}

.socials-span>a>svg {
.socials-span > a > svg {
width: 1.25rem;
height: 1.25rem;
}

/* Responsive Layouts */
@media (max-width: 480px) {
body {
padding: 0 10px;
}
}

@media (min-width: 640px) {
.footer-container {
flex-direction: row;
max-width: 640px;
}

.footer-title {
justify-content: flex-start;
}

.socials-span {
margin-left: auto;
margin-top: 0;
justify-content: flex-start;
}

.footer-copyright {
padding: 0.5rem 0 0.5rem 1rem;
margin-left: 1rem;
border-left-width: 2px;
border-color: rgba(31, 41, 55);
}
}

@media (min-width: 768px) {
.footer-container {
max-width: 768px;
}
}

@media (min-width: 1024px) {
.footer-container {
max-width: 1024px;
}
}

/* footer ends here */
@media (min-width: 1280px) {
.footer-container {
max-width: 1280px;
}
}
44 changes: 44 additions & 0 deletions buttons/buttons.css
Original file line number Diff line number Diff line change
Expand Up @@ -2703,3 +2703,47 @@ a:focus-visible {
}
}

/* Vishwajeet's button */

.vishwajeet-btn-2 {
position: relative;
display: inline-block;
width: 200px;
height: 69px;
padding-left: 35px;
line-height: 65px;
font-size: 1.5rem;
font-weight: 700;
font-family: 'Inter', sans-serif;
color: #000;
background: linear-gradient(45deg, transparent 5%, #F8F005 5%);
border: none;
box-shadow: 6px 0px 0px #00E6F6;
cursor: pointer;
transition: all 0.3s ease;
z-index: 1;
overflow: hidden;
border-radius: 12px;
}

.vishwajeet-btn-2::after {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(45deg, #00E6F6, #F8F005);
transition: all 0.4s ease-in-out;
z-index: -1;
}

.vishwajeet-btn-2:hover::after {
left: 0;
}

.vishwajeet-btn-2:hover {
color: #000;
transform: translateY(-3px);
box-shadow: 8px 0px 15px rgba(0, 230, 246, 0.5);
}
12 changes: 12 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,18 @@
</div>
<!-- Amit's btn-->

<!-- Vishwajeet's button -->
<div class="button-container">
<button class="vishwajeet-btn-2">Click Me</button>
<div class="createdby-section">
Created by
<a href="https://github.com/Vishwajeet-Londhe" target="_blank">Vishwajeet</a>
</div>
</div>
<!-- Vishwajeet's btn -->





</div>
Expand Down