mirror of
https://github.com/remvze/moodist.git
synced 2025-09-29 15:30:49 -04:00
style: change pattern
This commit is contained in:
parent
e1b9a1736c
commit
f3e7224267
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
.container {
|
.container {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding: 120px 0 60px;
|
padding: 100px 0 60px;
|
||||||
|
|
||||||
& .pattern {
|
& .pattern {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@ -21,8 +21,8 @@
|
|||||||
0 0,
|
0 0,
|
||||||
30px 30px;
|
30px 30px;
|
||||||
background-size: 30px 30px;
|
background-size: 30px 30px;
|
||||||
opacity: 0.8;
|
opacity: 0.7;
|
||||||
mask-image: linear-gradient(#fff, transparent, transparent);
|
mask-image: linear-gradient(transparent, #fff, transparent);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -33,35 +33,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
& .title {
|
& .title {
|
||||||
display: flex;
|
|
||||||
column-gap: 15px;
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
& div {
|
|
||||||
flex-grow: 1;
|
|
||||||
height: 1px;
|
|
||||||
|
|
||||||
&.left {
|
|
||||||
background: linear-gradient(
|
|
||||||
90deg,
|
|
||||||
transparent,
|
|
||||||
transparent,
|
|
||||||
var(--color-neutral-200),
|
|
||||||
var(--color-neutral-300)
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
&.right {
|
|
||||||
background: linear-gradient(
|
|
||||||
90deg,
|
|
||||||
var(--color-neutral-300),
|
|
||||||
var(--color-neutral-200),
|
|
||||||
transparent,
|
|
||||||
transparent
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
& h1 {
|
& h1 {
|
||||||
font-family: var(--font-display);
|
font-family: var(--font-display);
|
||||||
font-size: var(--font-2xlg);
|
font-size: var(--font-2xlg);
|
||||||
|
@ -24,9 +24,7 @@ export function Hero() {
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<div className={styles.title}>
|
<div className={styles.title}>
|
||||||
<div className={styles.left}></div>
|
|
||||||
<h1>Moodist</h1>
|
<h1>Moodist</h1>
|
||||||
<div className={styles.right}></div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p className={styles.desc}>
|
<p className={styles.desc}>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user