background changes in footer

This commit is contained in:
shyamtala003 2022-10-18 18:29:50 +05:30
parent 82e1657a29
commit fdc679f8d2

291
style.css
View file

@ -15,7 +15,7 @@ span#notify_toast {
position: fixed;
top: 90%;
right: 5%;
background: rgba(0, 0, 0, .8);
background: rgba(0, 0, 0, 0.8);
backdrop-filter: blur(110px);
padding: 10px 20px;
border-radius: 5px;
@ -24,7 +24,7 @@ span#notify_toast {
font-weight: 700;
font-size: 1.1rem;
z-index: 2;
transition: all .5s ease;
transition: all 0.5s ease;
}
.hide_toast {
@ -42,7 +42,7 @@ span#notify_toast {
left: 50%;
transform: translate(-50%, -50%);
z-index: 1;
transition: all .5s;
transition: all 0.5s;
}
.color_maker_close {
@ -70,15 +70,14 @@ span#notify_toast {
background: transparent;
color: #fff;
font-size: 20px;
transition: all .5s;
transition: all 0.5s;
}
#gradient_card_edit #close:hover {
scale: 1.5;
background: rgba(255, 255, 255, .1);
background: rgba(255, 255, 255, 0.1);
}
#color_inputs button {
font-size: 1.4rem;
color: #000;
@ -96,7 +95,7 @@ span#notify_toast {
}
/* make color maker div responsive */
@media screen and (max-width:380px) {
@media screen and (max-width: 380px) {
.color_maker {
width: 100%;
min-height: 100vh;
@ -114,15 +113,13 @@ span#notify_toast {
}
.container {
font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif,
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
background: linear-gradient(to right, #6d28d9, #db2777);
padding-inline: 8%;
overflow-x: hidden;
}
h1.logo_text {
padding-block: 1.5rem;
font-size: 20px;
@ -142,21 +139,20 @@ main.hero_section {
color: #ffffff;
}
.form {
margin-top: 1.5rem;
display: flex;
align-items: center;
justify-content: start;
gap: 15px;
}
.form input {
padding: 12px 24px;
width: min(100%, 350px);
border-radius: 5px;
font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif,
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-size: 16px;
font-weight: 400;
line-height: 24px;
@ -165,7 +161,8 @@ main.hero_section {
}
.form input::placeholder {
font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif,
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-size: 16px;
line-height: 24px;
font-weight: 400;
@ -173,7 +170,7 @@ main.hero_section {
.form input:hover,
.form input:focus {
outline: 3px solid rgba(255, 255, 255, .4);
outline: 3px solid rgba(255, 255, 255, 0.4);
}
.form a.btn {
@ -182,15 +179,16 @@ main.hero_section {
align-items: center;
justify-content: center;
gap: 10px;
font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif,
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-size: 16px;
line-height: 24px;
font-weight: 500;
color: #ffffff;
background: rgba(255, 255, 255, .2);
background: rgba(255, 255, 255, 0.2);
border-radius: 5px;
transition: all .3s ease-in-out;
border: 1px solid rgba(255, 255, 255, .2);
transition: all 0.3s ease-in-out;
border: 1px solid rgba(255, 255, 255, 0.2);
cursor: pointer;
}
@ -200,16 +198,22 @@ main.hero_section {
}
.form a.btn:hover {
background: rgba(255, 255, 255, .4);
background: rgba(255, 255, 255, 0.4);
margin-top: -10px;
}
/* make hero section fully responsive */
@media screen and (max-width:640px) {
@media screen and (max-width: 640px) {
.container {
padding-inline: 15px;
background: linear-gradient(90deg, #6d28d9, #db2777, #feac5e, #c779d0, #4bc0c8);
background: linear-gradient(
90deg,
#6d28d9,
#db2777,
#feac5e,
#c779d0,
#4bc0c8
);
background-size: 600% 600%;
animation: gradient 16s ease infinite;
}
@ -230,7 +234,6 @@ main.hero_section {
width: 100%;
}
@keyframes gradient {
0% {
background-position: 0% 50%;
@ -243,35 +246,34 @@ main.hero_section {
100% {
background-position: 0% 50%;
}
}
}
/* gradient container section */
/* gradient container section */
.gradient_container {
.gradient_container {
max-width: 100vw;
padding-block: 2.5rem;
font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif,
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
padding-inline: 8%;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
gap: 5rem;
overflow-x: hidden;
}
}
.gradient_card {
.gradient_card {
position: relative;
min-width: 260px;
min-height: 300px;
box-shadow: 0px 10px 40px #cec7c7;
border-radius: 5px;
/* overflow: hidden; */
}
}
.gradient_card:hover::before {
content: '';
.gradient_card:hover::before {
content: "";
position: absolute;
width: 100%;
height: 100%;
@ -279,19 +281,18 @@ main.hero_section {
scale: 1.02;
filter: blur(30px);
z-index: -1;
}
}
.gradient_info {
.gradient_info {
position: absolute;
bottom: 0;
width: 100%;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
}
}
.colors {
background: rgba(255, 255, 255, .8);
.colors {
background: rgba(255, 255, 255, 0.8);
-webkit-backdrop-filter: blur(25px);
backdrop-filter: blur(25px);
padding: 10px 20px;
@ -299,11 +300,9 @@ main.hero_section {
align-items: center;
justify-content: flex-start;
gap: 1rem;
}
}
input[type="color"] {
input[type="color"] {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
@ -312,50 +311,50 @@ main.hero_section {
background-color: transparent;
border: none;
cursor: pointer;
}
}
input[type="color"]::-webkit-color-swatch-wrapper {
input[type="color"]::-webkit-color-swatch-wrapper {
padding: 0;
}
}
input[type="color"]::-webkit-color-swatch {
input[type="color"]::-webkit-color-swatch {
border-radius: 5px;
border: none;
}
}
input[type="color"]::-moz-color-swatch {
input[type="color"]::-moz-color-swatch {
border-radius: 5px;
border: none;
}
}
.title_with_copy_btn {
.title_with_copy_btn {
background: #fff;
padding-inline: 15px;
padding-top: 8px;
display: flex;
justify-content: space-between;
align-items: center;
gap: .5rem;
}
gap: 0.5rem;
}
.title_with_copy_btn h1.gradient_title {
.title_with_copy_btn h1.gradient_title {
font-size: 1.3rem;
line-height: 24px;
text-transform: capitalize;
}
}
.title_with_copy_btn button {
.title_with_copy_btn button {
font-size: 1.6rem;
color: #a5abae;
cursor: pointer;
background: transparent;
}
}
.title_with_copy_btn button ion-icon {
.title_with_copy_btn button ion-icon {
--ionicon-stroke-width: 56px;
}
}
.gradient_info p {
.gradient_info p {
background: #fff;
padding-inline: 15px;
padding-bottom: 8px;
@ -366,10 +365,9 @@ main.hero_section {
font-weight: 600;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
}
}
@media screen and (max-width:640px) {
@media screen and (max-width: 640px) {
.gradient_container {
padding-inline: 15px;
}
@ -380,92 +378,96 @@ main.hero_section {
}
.gradient_info p {
font-size: .9rem;
}
font-size: 0.9rem;
}
}
footer
{
footer {
padding: 4rem 8%;
display: flex;
flex-direction: column;
align-items: center;
gap: .5rem;
gap: 0.5rem;
justify-content: center;
font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif,
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-size: 18px;
line-height: 28px;
color: #374151;
}
background: #b3ff99;
background-image: radial-gradient(
at 0% 0%,
hsla(279, 96%, 79%, 1) 0px,
transparent 50%
),
radial-gradient(at 100% 0%, hsla(58, 100%, 78%, 1) 0px, transparent 50%),
radial-gradient(at 9% 89%, hsla(243, 89%, 78%, 1) 0px, transparent 50%),
radial-gradient(at 99% 98%, hsla(10, 100%, 79%, 1) 0px, transparent 50%);
}
footer p.text
{
footer p.text {
font-size: 18px;
line-height: 28px;
font-weight: 400;
}
color: #434343;
}
.subscription_form
{
.subscription_form {
max-width: 650px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
width: 100%;
}
}
footer input[type="email"]
{
footer input[type="email"] {
padding: 10px;
border: 2px solid #D1D5DB;
font-size: .8rem;
width:100%;
border: 2px solid #d1d5db;
background: rgba(0, 0, 0, 0.3);
backdrop-filter: blur(30px);
font-size: 0.8rem;
width: 100%;
border-radius: 5px;
}
}
footer input[type="email"]::placeholder
{
footer input[type="email"]::placeholder {
padding: 10px;
font-size: .8rem;
}
font-size: 0.8rem;
color: #fff;
}
footer input[type="email"]:focus
{
footer input[type="email"]:focus {
border: 1px solid #7c3aed;
outline: none;
}
}
button.subscribe
{
button.subscribe {
padding: 12px 20px;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
background:linear-gradient(to right, #6d28d9, #db2777);
background: linear-gradient(to right, #6d28d9, #db2777);
color: #ffffff;
font-size: .8rem;
font-size: 0.8rem;
font-weight: 600;
border-radius: 5px;
transition: all .5s;
}
transition: all 0.5s;
}
button.subscribe:hover
{
background:linear-gradient(90deg,#fd746c, #ff9068);
button.subscribe:hover {
background: linear-gradient(90deg, #fd746c, #ff9068);
transform: translateY(-10%);
box-shadow: 0px 3px 10px #c2c6cc;
}
}
button.subscribe ion-icon
{
button.subscribe ion-icon {
font-size: 1.2rem;
--ionicon-stroke-width: 36px;
}
}
.contributor_desc
{
.contributor_desc {
margin-top: 2rem;
max-width: 650px;
display: flex;
@ -475,98 +477,83 @@ main.hero_section {
gap: 2rem;
font-size: 16px;
line-height: 24px;
}
}
.contributor_desc img.profile
{
.contributor_desc img.profile {
width: 80px;
border-radius: 50%;
}
}
.desc .title
{
.desc .title {
font-weight: 700;
}
}
.desc .detailed
{
.desc .detailed {
font-weight: 400;
line-height: 20px;
color: #374151;
}
}
.desc a
{
.desc a {
display: inline-block;
margin-top: 5px;
font-size: 16px;
color: #be185d;
border-bottom: 2px solid;
}
}
.social_links
{
.social_links {
margin-top: 5rem;
display: flex;
gap: 1.8rem;
font-size: 1.3rem;
}
}
.social_links a
{
.social_links a {
font-size: 1.3rem;
color:#9ca3af;
transition: all .4s;
}
color: #555555;
transition: all 0.4s;
}
.social_links a:hover
{
color:#737982;
.social_links a:hover {
color: #737982;
transform: translateY(-20%);
}
}
p.copyright
{
margin-top: .5rem;
color: #9ca3af;
p.copyright {
margin-top: 0.5rem;
color: #555555;
font-size: 1rem;
line-height: 1.2rem;
text-align: center;
}
}
@media screen and (max-width:510px){
footer
{
@media screen and (max-width: 510px) {
footer {
padding: 1rem 15px;
}
footer p.text
{
footer p.text {
font-size: 16px;
line-height: 24px;
font-weight: 400;
}
.subscription_form
{
.subscription_form {
flex-direction: column;
gap: 1rem;
}
.subscription_form .subscribe
{
.subscription_form .subscribe {
width: 100%;
}
.contributor_desc
{
.contributor_desc {
/* flex-direction: column; */
gap: .6rem;
gap: 0.6rem;
}
.desc .detailed.d2
{
.desc .detailed.d2 {
display: none;
}
}
}