-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5ec0a88
commit bcf20d3
Showing
3 changed files
with
171 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,164 @@ | ||
.legal { | ||
display: flex; | ||
flex-direction: row; | ||
padding: 128px 8vw; | ||
position: relative; | ||
background: linear-gradient(90deg, #fff 0%, rgba(107, 156, 255, 0.03) 100%); | ||
gap: 8vw; | ||
justify-content: center; | ||
} | ||
|
||
aside { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 64px; | ||
color: #333948; | ||
flex-shrink: 0; | ||
position: sticky; | ||
top: 192px; | ||
align-self: start; | ||
|
||
nav { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 32px; | ||
|
||
a { | ||
text-decoration: none; | ||
font-size: 24px; | ||
line-height: 28px; | ||
font-weight: 500; | ||
transition: all 0.1s ease-in-out; | ||
color: #333948; | ||
|
||
&:link, | ||
&:visited { | ||
color: #333948; | ||
text-decoration: none; | ||
} | ||
|
||
&:hover, | ||
&.active { | ||
color: var(--lightmode-pink); | ||
text-decoration: none; | ||
} | ||
} | ||
} | ||
|
||
address { | ||
font-style: normal; | ||
} | ||
|
||
p { | ||
font-size: 20px; | ||
line-height: 28px; | ||
font-weight: 400; | ||
|
||
a { | ||
text-decoration: none; | ||
color: var(--lightmode-pink); | ||
|
||
&:hover { | ||
text-decoration: underline; | ||
filter: brightness(1.2); | ||
} | ||
} | ||
} | ||
} | ||
|
||
section { | ||
max-width: 1440px; | ||
text-wrap: balance; | ||
} | ||
|
||
.legal_bg { | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
background: linear-gradient( | ||
307deg, | ||
rgba(0, 87, 255, 0.37) 1.31%, | ||
#d1e0ff 40.42%, | ||
#fff2f7 71.15%, | ||
#ffe0ed 106.18% | ||
); | ||
z-index: -1; | ||
opacity: 0.2; | ||
} | ||
|
||
@media screen and (max-width: 948px) { | ||
.legal { | ||
flex-direction: column-reverse; | ||
|
||
aside { | ||
position: unset; | ||
top: 32px; | ||
flex-direction: row; | ||
flex-wrap: wrap; | ||
gap: 32px; | ||
|
||
> nav { | ||
gap: 16px; | ||
position: absolute; | ||
top: 128px; | ||
} | ||
|
||
> address { | ||
margin-top: 32px; | ||
} | ||
|
||
> address > p:first-child, | ||
> p { | ||
margin-top: 0; | ||
} | ||
|
||
> address > p:first-child { | ||
font-weight: 700; | ||
font-size: 20px; | ||
} | ||
|
||
* { | ||
font-size: 16px; | ||
line-height: 24px; | ||
} | ||
} | ||
|
||
section { | ||
margin-top: 128px; | ||
} | ||
} | ||
} | ||
|
||
@media screen and (prefers-color-scheme: dark) { | ||
.legal { | ||
background: #242c3d; | ||
} | ||
|
||
aside { | ||
color: #d4d9dd; | ||
|
||
nav a { | ||
color: #d4d9dd; | ||
|
||
&:link, | ||
&:visited { | ||
color: #d4d9dd; | ||
} | ||
|
||
&:hover, | ||
&.active { | ||
color: var(--darkmode-pink); | ||
} | ||
} | ||
|
||
p a { | ||
color: var(--darkmode-pink); | ||
} | ||
} | ||
|
||
.legal_bg { | ||
display: none; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters