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

fix:button text in center (#1107) #1110 #1115

Merged
merged 2 commits into from
Apr 27, 2023
Merged
Changes from 1 commit
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
Next Next commit
fix:button text in center (#1107) #1110
  • Loading branch information
mohammedkharoda committed Apr 16, 2023
commit ac31fff90f2be41fc430d9ff93ffb616d202b447
75 changes: 40 additions & 35 deletions src/common/home/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
background: -moz-linear-gradient(180deg, rgba(1, 4, 38, 1) 0%, rgba(76, 91, 94, 1) 100%);
background: -webkit-linear-gradient(180deg, rgba(1, 4, 38, 1) 0%, rgba(76, 91, 94, 1) 100%);
background: linear-gradient(180deg, rgba(1, 4, 38, 1) 0%, rgba(76, 91, 94, 1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#010426",endColorstr="#4c5b5e",GradientType=1);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#010426", endColorstr="#4c5b5e", GradientType=1);
padding: 6rem 0 2rem 0;
width: 100%;
overflow-x: hidden;
Expand Down Expand Up @@ -45,6 +45,7 @@
margin-left: 1rem;
margin-right: 1rem;
}

.app-home-body .body-title br {
display: none;
}
Expand Down Expand Up @@ -165,6 +166,11 @@
fill: var(--color-neutral-90);
}

.app-home-body .body-c2a .body-c2a-btn {
display: flex;
justify-content: center;
}

@media screen and (max-width: 576px) {
.app-home-body .body-c2a {
flex-direction: column;
Expand Down Expand Up @@ -219,6 +225,7 @@
background-color: #000;
overflow: hidden;
}

.video-wrapper .video-iframe {
position: absolute;
top: 0;
Expand All @@ -232,6 +239,7 @@
:root {
--home-features-icon-size: 120px;
}

.home-features {
position: relative;
padding: 8rem 0;
Expand Down Expand Up @@ -265,6 +273,7 @@
list-style: none;
color: var(--color-neutral-10);
}

.list-home-features .home-features-item .item-icon {
margin: 0 auto;
display: flex;
Expand Down Expand Up @@ -379,6 +388,7 @@

background-color: var(--color-neutral-20);
}

.home-tweets .title-primary {
text-align: center;
margin-top: 1.5rem !important;
Expand All @@ -402,7 +412,7 @@
margin-bottom: 2em;
}

.tweets-container > div {
.tweets-container>div {
/* height: fit-content; */
width: clamp(5em, 320px, 44em);
/* max-width: 410px; */
Expand Down Expand Up @@ -432,6 +442,7 @@
position: relative;
font-family: var(--ff-accent);
}

.home-contributors .title-primary strong span,
.home-tweets .title-primary strong span {
position: relative;
Expand Down Expand Up @@ -661,42 +672,30 @@
left: 0;
bottom: 0;
background: rgb(0, 0, 0);
background: -moz-linear-gradient(
180deg,
rgba(var(--color-neutral-10-rgb), 0.2) 0%,
rgba(var(--color-neutral-10-rgb), 1) 100%
);
background: -webkit-linear-gradient(
180deg,
rgba(var(--color-neutral-10-rgb), 0.2) 0%,
rgba(var(--color-neutral-10-rgb), 1) 100%
);
background: linear-gradient(
180deg,
rgba(var(--color-neutral-10-rgb), 0.2) 0%,
rgba(var(--color-neutral-10-rgb), 1) 100%
);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1);
background: -moz-linear-gradient(180deg,
rgba(var(--color-neutral-10-rgb), 0.2) 0%,
rgba(var(--color-neutral-10-rgb), 1) 100%);
background: -webkit-linear-gradient(180deg,
rgba(var(--color-neutral-10-rgb), 0.2) 0%,
rgba(var(--color-neutral-10-rgb), 1) 100%);
background: linear-gradient(180deg,
rgba(var(--color-neutral-10-rgb), 0.2) 0%,
rgba(var(--color-neutral-10-rgb), 1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000", endColorstr="#000000", GradientType=1);
}

.list-apps a:hover:after {
background: rgb(0, 0, 0);
background: -moz-linear-gradient(
180deg,
rgba(var(--color-neutral-90-rgb), 1) 0%,
rgba(var(--color-neutral-90-rgb), 1) 100%
);
background: -webkit-linear-gradient(
180deg,
rgba(var(--color-neutral-90-rgb), 1) 0%,
rgba(var(--color-neutral-90-rgb), 1) 100%
);
background: linear-gradient(
180deg,
rgba(var(--color-neutral-90-rgb), 1) 0%,
rgba(var(--color-neutral-90-rgb), 1) 100%
);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="var(--color-neutral-90)",endColorstr="var(--color-neutral-90)",GradientType=1);
background: -moz-linear-gradient(180deg,
rgba(var(--color-neutral-90-rgb), 1) 0%,
rgba(var(--color-neutral-90-rgb), 1) 100%);
background: -webkit-linear-gradient(180deg,
rgba(var(--color-neutral-90-rgb), 1) 0%,
rgba(var(--color-neutral-90-rgb), 1) 100%);
background: linear-gradient(180deg,
rgba(var(--color-neutral-90-rgb), 1) 0%,
rgba(var(--color-neutral-90-rgb), 1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="var(--color-neutral-90)", endColorstr="var(--color-neutral-90)", GradientType=1);
}

.list-apps a .list-app__title {
Expand Down Expand Up @@ -875,6 +874,7 @@
from {
transform: rotate(360deg) scale(0.6);
}

to {
transform: rotate(0deg) scale(0.6);
}
Expand All @@ -885,6 +885,7 @@
from {
transform: rotate(360deg) scale(0.3);
}

to {
transform: rotate(0deg) scale(0.3);
}
Expand All @@ -895,6 +896,7 @@
from {
transform: rotate(0deg) scale(1.4);
}

to {
transform: rotate(360deg) scale(1.4);
}
Expand All @@ -905,6 +907,7 @@
from {
transform: rotate(0deg) scale(1);
}

to {
transform: rotate(360deg) scale(1);
}
Expand All @@ -915,6 +918,7 @@
from {
transform: rotate(0deg) scale(5);
}

to {
transform: rotate(360deg) scale(5);
}
Expand All @@ -925,8 +929,9 @@
from {
transform: rotate(0deg) scale(3);
}

to {
transform: rotate(360deg) scale(3);
}
}
}
}