Commit 05bee24c authored by Chunchi Che's avatar Chunchi Che

adjust start css

parent 05ac712e
Pipeline #23539 passed with stages
in 14 minutes and 28 seconds
@charset "utf-8"; @charset "utf-8";
@import url("https://fonts.font.im/css2?family=Electrolize&family=Noto+Serif+SC:wght@700&display=swap"); @import url("https://fonts.font.im/css2?family=Electrolize&family=Noto+Serif+SC:wght@700&display=swap");
/* 默认字体大小,适用于PC端 */
html {
font-size: 16px;
}
/* 在移动端上设置不同的字体大小 */
@media only screen and (max-width: 1280px) {
html {
font-size: 10px;
}
}
body { body {
color-scheme: dark; color-scheme: dark;
color: rgba(255, 255, 255, 0.87); color: rgba(255, 255, 255, 0.87);
......
.special-btn { .special-btn {
cursor: pointer; cursor: pointer;
width: 200px; width: 12.5rem;
position: relative; position: relative;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
gap: 10px; gap: 0.625rem;
padding: 12px 0; padding: 0.75rem 0;
border: 3px solid hsla(0, 0%, 100%, 0.3); border: 3px solid hsla(0, 0%, 100%, 0.3);
border-radius: 8px; border-radius: 8px;
background-clip: padding-box; background-clip: padding-box;
background-color: hsla(0, 0%, 100%, 0.9); background-color: hsla(0, 0%, 100%, 0.9);
color: #0d0d0d; color: #0d0d0d;
font-size: 14px; font-size: 0.875rem;
font-weight: 500; font-weight: 500;
letter-spacing: 0.2px; letter-spacing: 0.2px;
transition: 0.3s; transition: 0.3s;
......
...@@ -5,66 +5,68 @@ ...@@ -5,66 +5,68 @@
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
gap: 50px; gap: 3rem;
} }
.main { .main {
height: 453px; height: 50vh;
width: 1000px; width: 60vw;
max-height: 100%; max-height: 100%;
position: relative; position: relative;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
.left { .left {
height: 100%; height: 100%;
width: 40%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 6px; gap: 0.4rem;
.neos-logo { .neos-logo {
width: 143px; width: 9rem;
height: 34px; height: 2rem;
} }
.title { .title {
font-size: 36px; font-size: 2rem;
font-weight: 500; font-weight: 500;
color: rgba(255, 255, 255, 0.86); color: rgba(255, 255, 255, 0.86);
} }
.keywords { .keywords {
font-size: 24px; font-size: 1.5rem;
font-weight: 500; font-weight: 500;
color: rgba(235, 245, 235, 0.8); color: rgba(235, 245, 235, 0.8);
} }
.details { .details {
margin-top: 31px; margin-top: 2rem;
width: 450px; width: 28rem;
font-size: 14px; max-width: 100%;
font-size: 1rem;
font-weight: 500; font-weight: 500;
line-height: 28px; line-height: 1.75rem;
color: rgba(235, 245, 235, 0.5); color: rgba(235, 245, 235, 0.5);
} }
} }
.right { .right {
width: 360px;
height: 100%; height: 100%;
width: 40%;
position: relative; position: relative;
overflow: hidden; overflow: hidden;
border-bottom-right-radius: 180px; border-bottom-right-radius: 11.25rem;
border-bottom-left-radius: 180px; border-bottom-left-radius: 11.25rem;
.neos-main-bg { .neos-main-bg {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
width: fit-content; width: fit-content;
height: 360px; height: fit-content;
border-radius: 50%; border-radius: 50%;
filter: brightness(0.7); filter: brightness(0.7);
} }
.neos-main { .neos-main {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
width: 80%;
border-bottom-right-radius: 50%; border-bottom-right-radius: 50%;
transform: scale(1.25); transform: scale(1.25);
transform-origin: 50% 100%; transform-origin: 50% 100%;
width: max-content;
filter: drop-shadow(0px 8px 8px rgba(255, 255, 255, 0.3)) filter: drop-shadow(0px 8px 8px rgba(255, 255, 255, 0.3))
drop-shadow(0px 0px 4px rgba(255, 255, 255, 0.8)); drop-shadow(0px 0px 4px rgba(255, 255, 255, 0.8));
transition: 0.2s; transition: 0.2s;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment