gradient_container/css/dark.css

727 lines
13 KiB
CSS
Raw Normal View History

@import url('https://fonts.googleapis.com/css2?family=Lobster+Two:ital,wght@0,700;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fira+Code&display=swap');
2022-10-06 09:24:19 +02:00
* {
2022-10-18 14:59:50 +02:00
margin: 0;
padding: 0;
box-sizing: border-box;
border: none;
text-decoration: none;
2022-10-06 09:24:19 +02:00
}
2022-10-07 17:19:03 +02:00
::-webkit-scrollbar {
2022-11-23 14:04:15 +01:00
width: 10px;
}
::-webkit-scrollbar-track {
background: linear-gradient(to top, #010409, #2d2b2b);
2022-11-23 14:04:15 +01:00
}
::-webkit-scrollbar-thumb {
background:linear-gradient(to top, #00b09b, #96c93d);
2022-10-06 17:32:17 +02:00
}
2022-10-07 17:19:03 +02:00
/* code for toast msg */
span#notify_toast {
2022-10-18 14:59:50 +02:00
position: fixed;
top: 90%;
right: 5%;
background: rgba(0, 0, 0, 0.3);
border:2px solid #fff;
2022-10-18 14:59:50 +02:00
backdrop-filter: blur(110px);
padding: 10px 20px;
border-radius: 5px;
color: #fff;
font-family: Arial, Helvetica, sans-serif;
2022-10-18 14:59:50 +02:00
font-weight: 700;
font-size: 1.1rem;
z-index: 2;
transition: all 0.5s ease;
}
2022-10-07 17:19:03 +02:00
.hide_toast {
2022-10-18 14:59:50 +02:00
opacity: 0;
}
2022-10-07 17:19:03 +02:00
.show_toast {
2022-10-18 14:59:50 +02:00
opacity: 1;
}
2022-10-07 17:19:03 +02:00
/* code for create gradient dropdoan */
.color_maker {
2022-10-18 14:59:50 +02:00
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 21;
2022-10-18 14:59:50 +02:00
transition: all 0.5s;
2022-10-07 17:19:03 +02:00
}
.color_maker_close {
2022-10-18 14:59:50 +02:00
top: -100%;
2022-10-07 17:19:03 +02:00
}
#gradient_card_edit {
2022-10-18 14:59:50 +02:00
display: flex;
align-items: flex-start;
justify-content: center;
2022-10-07 17:19:03 +02:00
}
#gradient_card_edit input[type="text"] {
2022-10-18 14:59:50 +02:00
color: whitesmoke;
margin-top: 3em;
2022-10-07 17:19:03 +02:00
}
#gradient_card_edit #close {
2022-10-18 14:59:50 +02:00
position: absolute;
top: 5%;
right: 5%;
display: flex;
align-items: center;
justify-content: center;
background: transparent;
color: #fff;
font-size: 20px;
transition: all 0.5s;
2022-10-07 17:19:03 +02:00
}
#gradient_card_edit #close:hover {
2022-10-18 14:59:50 +02:00
scale: 1.5;
background: rgba(255, 255, 255, 0.1);
2022-10-07 17:19:03 +02:00
}
#color_inputs button {
2022-10-18 14:59:50 +02:00
font-size: 1.4rem;
color: #000;
cursor: pointer;
background: #fff;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
padding: 5px;
2022-10-07 17:19:03 +02:00
}
#color_inputs button ion-icon {
2022-10-18 14:59:50 +02:00
--ionicon-stroke-width: 26px;
2022-10-07 17:19:03 +02:00
}
/* make color maker div responsive */
2022-10-18 14:59:50 +02:00
@media screen and (max-width: 380px) {
.color_maker {
width: 100%;
min-height: 100vh;
}
.color_maker .gradient_card {
width: 100%;
min-height: 100vh;
box-shadow: none;
}
.color_maker .gradient_card::before {
display: none;
}
2022-10-07 17:19:03 +02:00
}
2022-10-06 09:24:19 +02:00
.container {
position: relative;
min-height: 65vh;
2022-10-18 14:59:50 +02:00
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;
z-index: 1;
}
.container::before
{
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 150px;
background: linear-gradient(to top,#0b1121,transparent);
backdrop-filter: blur(20px);
z-index: -1;
}
nav
{
display: flex;
width: 100%;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #ffffff4e;
2022-10-06 09:24:19 +02:00
}
nav h1.logo_text {
2022-10-18 14:59:50 +02:00
padding-block: 1.5rem;
font-size: 20px;
line-height: 32px;
color: #ffffffd6;
}
nav #theme_toggler
{
position: relative;
background: rgba(255, 255, 255, 0.2);
padding: 20px;
text-align: center;
border-radius:50%;
font-size: 20px;
cursor: pointer;
border: 2px solid #fcfcfb9d;
}
nav #theme_toggler:hover
{
scale: 1.1;
}
nav #theme_toggler ion-icon
{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
color: #ffffff;
2022-10-06 09:24:19 +02:00
}
main.hero_section {
2022-10-18 14:59:50 +02:00
padding-block: 3.5rem;
2022-10-06 09:24:19 +02:00
}
.hero_section h2 {
2022-10-18 14:59:50 +02:00
font-size: 36px;
line-height: 40px;
font-weight: 400;
color: #ffffff;
2022-10-06 09:24:19 +02:00
}
.form {
2022-10-18 14:59:50 +02:00
margin-top: 1.5rem;
display: flex;
align-items: center;
justify-content: start;
gap: 15px;
2022-10-06 09:24:19 +02:00
}
.form input {
2022-10-18 14:59:50 +02:00
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-size: 16px;
font-weight: 400;
line-height: 24px;
border: none;
outline: none;
2022-10-06 09:24:19 +02:00
}
.form input::placeholder {
2022-10-18 14:59:50 +02:00
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;
2022-10-06 09:24:19 +02:00
}
.form input:hover,
.form input:focus {
2022-10-18 14:59:50 +02:00
outline: 3px solid rgba(255, 255, 255, 0.4);
2022-10-06 09:24:19 +02:00
}
2022-10-07 17:19:03 +02:00
.form a.btn {
2022-10-18 14:59:50 +02:00
padding: 12px 24px;
display: inline-flex;
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-size: 16px;
line-height: 24px;
font-weight: 500;
color: #ffffff;
background: rgba(255, 255, 255, 0.2);
border-radius: 5px;
transition: all 0.3s ease-in-out;
border: 1px solid rgba(255, 255, 255, 0.2);
cursor: pointer;
2022-10-06 09:24:19 +02:00
}
2022-10-07 17:19:03 +02:00
.form a.btn ion-icon {
2022-10-18 14:59:50 +02:00
scale: 1.4;
--ionicon-stroke-width: 46px;
2022-10-06 09:24:19 +02:00
}
2022-10-07 17:19:03 +02:00
.form a.btn:hover {
2022-10-18 14:59:50 +02:00
background: rgba(255, 255, 255, 0.4);
margin-top: -10px;
2022-10-06 09:24:19 +02:00
}
2022-10-06 15:15:49 +02:00
/* make hero section fully responsive */
2022-10-18 14:59:50 +02:00
@media screen and (max-width: 640px) {
2022-12-25 08:03:50 +01:00
2022-10-18 14:59:50 +02:00
.hero_section h2 {
font-size: 30px;
}
.form {
flex-direction: column;
}
.form input {
width: 100%;
}
.form a {
width: 100%;
}
2022-12-25 08:03:50 +01:00
}
2022-10-18 14:59:50 +02:00
2022-12-25 08:03:50 +01:00
.container {
padding-inline: 15px;
background: linear-gradient(
90deg,
#f12711,
#6d28d9,
#db2777,
#feac5e,
#c779d0,
#4bc0c8
);
background-size: 600% 600%;
animation: gradient 16s ease infinite;
}
@keyframes gradient {
0% {
background-position: 0% 50%;
}
2022-10-18 14:59:50 +02:00
2022-12-25 08:03:50 +01:00
50% {
background-position: 100% 50%;
2022-10-18 14:59:50 +02:00
}
2022-10-06 15:15:49 +02:00
2022-12-25 08:03:50 +01:00
100% {
background-position: 0% 50%;
}
}
2022-10-18 14:59:50 +02:00
/* gradient container section */
.gradient_container {
max-width: 100vw;
min-height: 100vh;
2022-10-18 14:59:50 +02:00
padding-block: 2.5rem;
font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif,
2022-12-25 08:03:50 +01:00
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
2022-10-18 14:59:50 +02:00
padding-inline: 8%;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
gap: 5rem;
overflow-x: hidden;
2022-12-25 08:03:50 +01:00
background: url('../images/rays_!.png'),rgb(17,24,39);
background-attachment: fixed;
background-repeat: no-repeat;
background-size:cover;
2022-12-25 08:03:50 +01:00
background-position: top center;
backdrop-filter: blur(20px);
2022-10-18 14:59:50 +02:00
}
2022-10-07 10:12:15 +02:00
.gradient_container .gradient_card:hover
{
filter: blur(0px);
transform: translateY(-5px);
opacity: 1;
}
2022-10-18 14:59:50 +02:00
.gradient_card {
position: relative;
background: transparent;
2022-10-18 14:59:50 +02:00
min-width: 260px;
min-height: 355px;
border:1px solid rgba(0, 0, 0, 0.4) ;
box-shadow: 0px 10px 40px #2d2b2b;
2022-10-18 14:59:50 +02:00
border-radius: 5px;
/* overflow: hidden; */
}
2022-10-07 17:19:03 +02:00
2022-10-18 14:59:50 +02:00
.gradient_card:hover::before {
content: "";
position: absolute;
width: 100%;
height: 100%;
background: inherit;
filter: blur(20px);
2022-10-18 14:59:50 +02:00
z-index: -1;
/* -webkit-animation: rotate-center 0.4s ease-in-out both;
animation: rotate-center 0.8s ease-in-out both; */
}
/* @-webkit-keyframes rotate-center {
0% {
-webkit-transform: rotate(0);
transform: rotate(0);
}
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
2022-10-18 14:59:50 +02:00
}
@keyframes rotate-center {
0% {
-webkit-transform: rotate(0);
transform: rotate(0);
}
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
} */
2022-10-07 17:19:03 +02:00
2022-10-18 14:59:50 +02:00
.gradient_info {
position: absolute;
bottom: 0;
width: 100%;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
background: linear-gradient(to top,rgba(0,0,0,.8),rgba(0,0,0,.6));
2022-10-18 14:59:50 +02:00
}
2022-10-07 17:19:03 +02:00
.gradient_code
{
width: 100%;
font-family: 'Fira Code', monospace;
font-size: 14px;
line-height: 24px;
color: #7dd3fc;
background: linear-gradient(to top,rgba(0,0,0,.8),rgba(0,0,0,.6));
padding:10px 20px;
}
.dummy_txt_gradient
{
color:#f472b6;
}
.dummy_txt_comma,.dummy_txt_bracket_open,.dummy_txt_bracket_close
{
color:#64748b;
}
.dummy_txt_gradient_pos
{
color: #7dd3fc;
}
.dummy_txt_color_code
{
color: #f8fafc;
}
2022-10-18 14:59:50 +02:00
.colors {
background: linear-gradient(to top,rgba(0,0,0,.4),rgba(0,0,0,.4));
2022-10-18 14:59:50 +02:00
-webkit-backdrop-filter: blur(25px);
backdrop-filter: blur(25px);
padding: 10px 20px;
display: flex;
align-items: center;
justify-content: flex-start;
gap: 1rem;
}
2022-10-07 17:19:03 +02:00
2022-10-18 14:59:50 +02:00
input[type="color"] {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
width: 20px;
height: 20px;
background-color: transparent;
border: none;
cursor: pointer;
}
2022-10-07 17:19:03 +02:00
2022-10-18 14:59:50 +02:00
input[type="color"]::-webkit-color-swatch-wrapper {
padding: 0;
}
2022-10-07 10:12:15 +02:00
2022-10-18 14:59:50 +02:00
input[type="color"]::-webkit-color-swatch {
border-radius: 5px;
border: none;
}
2022-10-06 15:15:49 +02:00
2022-10-18 14:59:50 +02:00
input[type="color"]::-moz-color-swatch {
border-radius: 5px;
border: none;
}
2022-10-06 15:15:49 +02:00
2022-10-18 14:59:50 +02:00
.title_with_copy_btn {
background: transparent;
2022-10-18 14:59:50 +02:00
padding-inline: 15px;
padding-top: 8px;
display: flex;
justify-content: space-between;
align-items: center;
gap: 0.5rem;
}
2022-10-06 15:15:49 +02:00
2022-10-18 14:59:50 +02:00
.title_with_copy_btn h1.gradient_title {
font-size: 1.3rem;
line-height: 24px;
text-transform: capitalize;
font-family: 'Lobster Two', cursive;
font-weight: 700;
2022-10-18 14:59:50 +02:00
}
2022-10-06 15:15:49 +02:00
2022-10-18 14:59:50 +02:00
.title_with_copy_btn button {
font-size: 1.6rem;
color: #fff;
2022-10-18 14:59:50 +02:00
cursor: pointer;
background: transparent;
}
2022-10-06 15:15:49 +02:00
.title_with_copy_btn button:hover
{
transform: scale(1.1);
}
2022-10-18 14:59:50 +02:00
.title_with_copy_btn button ion-icon {
--ionicon-stroke-width: 32px;
}
.title_with_copy_btn button:hover ion-icon {
--ionicon-stroke-width: 42px;
2022-10-18 14:59:50 +02:00
}
2022-10-18 14:59:50 +02:00
.gradient_info p {
background:transparent;
2022-10-18 14:59:50 +02:00
padding-inline: 15px;
padding-bottom: 8px;
padding-top: 6px;
color: rgba(255, 255, 255, 0.6);
2022-10-18 14:59:50 +02:00
font-size: 1rem;
line-height: 24px;
font-weight: 600;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
}
2022-10-06 15:15:49 +02:00
2022-10-18 14:59:50 +02:00
@media screen and (max-width: 640px) {
.gradient_container {
padding-inline: 15px;
}
2022-10-08 08:36:41 +02:00
2022-10-18 14:59:50 +02:00
.title_with_copy_btn h1.gradient_title {
font-size: 1.1rem;
line-height: 20px;
}
2022-10-08 08:36:41 +02:00
2022-10-18 14:59:50 +02:00
.gradient_info p {
font-size: 0.9rem;
}
}
2022-10-06 09:24:19 +02:00
2022-10-18 14:59:50 +02:00
footer {
padding: 4rem 8%;
display: flex;
flex-direction: column;
align-items: center;
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-size: 18px;
line-height: 28px;
color: #374151;
2022-11-23 14:04:15 +01:00
background: linear-gradient(
90deg,
#6d28d9,
#db2777,
#feac5e,
#c779d0,
#4bc0c8
);
background-size: 600% 600%;
animation: gradient_footer 16s ease infinite;
}
@keyframes gradient_footer {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
2022-10-18 14:59:50 +02:00
}
2022-10-08 08:36:41 +02:00
2022-10-18 14:59:50 +02:00
footer p.text {
font-size: 18px;
line-height: 28px;
font-weight: 400;
2022-11-23 14:04:15 +01:00
color: #ffffff;
2022-10-18 14:59:50 +02:00
}
2022-10-08 08:36:41 +02:00
2022-10-18 14:59:50 +02:00
.subscription_form {
max-width: 650px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
width: 100%;
}
2022-10-08 08:36:41 +02:00
2022-10-18 14:59:50 +02:00
footer input[type="email"] {
padding: 10px;
border: 2px solid #d1d5db;
background: rgba(0, 0, 0, 0.3);
backdrop-filter: blur(30px);
font-size: 0.8rem;
width: 100%;
border-radius: 5px;
2022-11-23 14:04:15 +01:00
color: #fff;
2022-10-18 14:59:50 +02:00
}
2022-10-08 08:36:41 +02:00
2022-10-18 14:59:50 +02:00
footer input[type="email"]::placeholder {
padding: 10px;
font-size: 0.8rem;
color: #fff;
}
2022-10-08 11:12:26 +02:00
2022-10-18 14:59:50 +02:00
footer input[type="email"]:focus {
border: 1px solid #7c3aed;
outline: none;
}
2022-10-08 11:12:26 +02:00
2022-10-18 14:59:50 +02:00
button.subscribe {
padding: 12px 20px;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
background: linear-gradient(to right, #6d28d9, #db2777);
color: #ffffff;
font-size: 0.8rem;
font-weight: 600;
border-radius: 5px;
transition: all 0.5s;
}
2022-10-08 11:12:26 +02:00
2022-10-18 14:59:50 +02:00
button.subscribe:hover {
background: linear-gradient(90deg, #fd746c, #ff9068);
transform: translateY(-10%);
box-shadow: 0px 3px 10px #c2c6cc;
}
2022-10-08 11:12:26 +02:00
2022-10-18 14:59:50 +02:00
button.subscribe ion-icon {
font-size: 1.2rem;
--ionicon-stroke-width: 36px;
}
2022-10-08 11:12:26 +02:00
2022-10-18 14:59:50 +02:00
.contributor_desc {
margin-top: 2rem;
max-width: 650px;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
gap: 2rem;
font-size: 16px;
line-height: 24px;
}
2022-10-08 11:12:26 +02:00
2022-10-18 14:59:50 +02:00
.contributor_desc img.profile {
width: 80px;
border-radius: 50%;
border: 5px solid rgba(255, 255, 255, 0.4);
2022-10-18 14:59:50 +02:00
}
2022-10-08 11:12:26 +02:00
2022-10-18 14:59:50 +02:00
.desc .title {
font-weight: 700;
2022-11-23 14:04:15 +01:00
color: #fff;
2022-10-18 14:59:50 +02:00
}
2022-10-08 11:12:26 +02:00
2022-10-18 14:59:50 +02:00
.desc .detailed {
font-weight: 400;
line-height: 20px;
2022-11-23 14:04:15 +01:00
color: #e7e7e7;
2022-10-18 14:59:50 +02:00
}
2022-10-08 11:12:26 +02:00
2022-10-18 14:59:50 +02:00
.desc a {
display: inline-block;
margin-top: 5px;
font-size: 16px;
2022-11-23 14:04:15 +01:00
color: #ffffff;
2022-10-18 14:59:50 +02:00
border-bottom: 2px solid;
}
2022-10-08 11:12:26 +02:00
2022-10-18 14:59:50 +02:00
.social_links {
margin-top: 5rem;
display: flex;
gap: 1.8rem;
font-size: 1.3rem;
}
2022-10-08 11:12:26 +02:00
2022-10-18 14:59:50 +02:00
.social_links a {
font-size: 1.3rem;
2022-11-23 14:04:15 +01:00
color: #fff;
2022-10-18 14:59:50 +02:00
transition: all 0.4s;
}
2022-10-08 11:12:26 +02:00
2022-10-18 14:59:50 +02:00
.social_links a:hover {
2022-11-23 14:04:15 +01:00
color: #e3e3e3;
2022-10-18 14:59:50 +02:00
transform: translateY(-20%);
}
2022-10-08 11:12:26 +02:00
2022-10-18 14:59:50 +02:00
p.copyright {
margin-top: 0.5rem;
2022-11-23 14:04:15 +01:00
color: #d4d4d4;
2022-10-18 14:59:50 +02:00
font-size: 1rem;
line-height: 1.2rem;
text-align: center;
}
2022-10-08 11:12:26 +02:00
2022-10-18 14:59:50 +02:00
@media screen and (max-width: 510px) {
footer {
padding: 1rem 15px;
}
2022-10-08 11:12:26 +02:00
2022-10-18 14:59:50 +02:00
footer p.text {
font-size: 16px;
line-height: 24px;
font-weight: 400;
}
2022-10-08 11:12:26 +02:00
2022-10-18 14:59:50 +02:00
.subscription_form {
flex-direction: column;
gap: 1rem;
}
2022-10-08 11:12:26 +02:00
2022-10-18 14:59:50 +02:00
.subscription_form .subscribe {
width: 100%;
}
2022-10-08 11:12:26 +02:00
2022-10-18 14:59:50 +02:00
.contributor_desc {
/* flex-direction: column; */
gap: 0.6rem;
}
2022-10-08 11:12:26 +02:00
2022-10-18 14:59:50 +02:00
.desc .detailed.d2 {
display: none;
}
}