Skip to content

Commit

Permalink
Merge pull request #1771 from nervosnetwork/master
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith-CY authored Sep 3, 2024
2 parents c1ebecb + 7869ba4 commit b8d1f9f
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 13 deletions.
43 changes: 31 additions & 12 deletions src/components/RgbppBanner/styles.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
position: relative;
margin-left: auto;
display: flex;
gap: 16px;
font-size: 30px;
gap: 8px;
font-size: 40px;
font-weight: 700;
font-family: Roboto, Lato, sans-serif, 'PingFang SC', -apple-system;
letter-spacing: 1px;
Expand All @@ -46,16 +46,16 @@
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 600px;
height: 600px;
width: 646px;
height: 646px;
border: 2px solid #fff;
opacity: 0.1;
border-radius: 50%;
}

&::after {
width: 700px;
height: 700px;
width: 790px;
height: 790px;
}
}

Expand All @@ -64,12 +64,12 @@
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 186px;
height: 186px;
width: 216px;
height: 216px;
border-radius: 50%;
overflow: hidden;
filter: blur(40px);
opacity: 0.5;
filter: blur(40px) hue-rotate(263deg);
opacity: 0.6;
}

.words {
Expand All @@ -87,7 +87,7 @@

@for $i from 1 through 6 {
&:nth-child(#{$i}) {
transform: rotateX(#{$i * 60}deg) translateZ(40px);
transform: rotateX(#{$i * 60}deg) translateZ(50px);
animation: fade 24s infinite linear;
animation-delay: #{21.6s - ($i - 1) * 4s};

Expand Down Expand Up @@ -184,13 +184,32 @@
/* stylelint-enable keyframe-block-no-duplicate-selectors */
}

@media (width <= 1600px) {
padding-right: 150px;
}

@media (width <= $xxlBreakPoint) {
margin: 24px 100px -12px;
padding: 20px 40px;
padding: 20px 100px 20px 40px;

.slogan {
font-size: 30px;

&::before {
width: 35vw;
height: 35vw;
}

&::after {
width: 40vw;
height: 40vw;
}
}
}

@media (width <= $extraLargeBreakPoint) {
margin: 24px 45px -12px;
padding: 20px 40px;
}

@media (width <= $largeBreakPoint) {
Expand Down
2 changes: 1 addition & 1 deletion src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@
"amount": "Amount",
"visit": "Visit",
"rgbpp_explorer": "RGB++ Explorer",
"explore_the": "Explorer the",
"explore_the": "Explore the",
"ecosystem": "Ecosystem",
"visit_this_item_on_rgbpp_explorer": "Visit this item on RGB++ Explorer"
},
Expand Down

0 comments on commit b8d1f9f

Please sign in to comment.