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