-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from PotLock/feat/live-round
update live round banner
- Loading branch information
Showing
3 changed files
with
60 additions
and
52 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 |
---|---|---|
@@ -1,63 +1,66 @@ | ||
import styled from "styled-components"; | ||
|
||
export const Wrapper = styled.div` | ||
height: 48px; | ||
@media screen and (max-width: 768px) { | ||
height: 36px; | ||
height: 46px; | ||
width: 100%; | ||
margin-top: 1rem; | ||
@media screen and (max-width: 480px) { | ||
height: 72px; | ||
} | ||
`; | ||
|
||
export const Container = styled.div` | ||
width: 100%; | ||
height: 48px; | ||
bottom: 0; | ||
left: 0; | ||
position: fixed; | ||
z-index: 999; | ||
background: #7fc41e; | ||
bottom: 0; | ||
left: 0; | ||
background: #faa7a8; | ||
width: 100%; | ||
height: 46px; | ||
color: white; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
overflow: hidden; | ||
font-size: 14px; | ||
> div { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
width: 100%; | ||
height: 100%; | ||
background-blend-mode: overlay, normal; | ||
background: radial-gradient(circle, #fef3f2 0%, #feefe0 55.1%, #f8d3b0 100%); | ||
} | ||
.text { | ||
font-size: 22px; | ||
font-size: 14px; | ||
font-weight: 500; | ||
letter-spacing: 0.015em; | ||
text-transform: uppercase; | ||
color: #192c07; | ||
line-height: 150%; | ||
display: flex; | ||
gap: 1rem; | ||
.link { | ||
display: flex; | ||
align-items: center; | ||
font-weight: 600; | ||
gap: 4px; | ||
color: white; | ||
text-decoration: underline; | ||
transition: transform 300ms ease-in-out; | ||
img { | ||
transition: rotate 300ms ease-in-out; | ||
height: 1em; | ||
width: fit-content; | ||
} | ||
:hover { | ||
transform: translateX(4px); | ||
img { | ||
rotate: 45deg; | ||
font-weight: 500; | ||
gap: 8px; | ||
color: #dd3345; | ||
text-decoration: none; | ||
svg { | ||
height: 15px; | ||
path { | ||
fill: #f6767a; | ||
transition: fill 300ms ease-in-out; | ||
} | ||
} | ||
:hover svg path { | ||
fill: #dd3345; | ||
} | ||
} | ||
} | ||
@media screen and (max-width: 992px) { | ||
.text { | ||
font-size: 1rem; | ||
} | ||
} | ||
@media screen and (max-width: 768px) { | ||
height: 36px; | ||
@media screen and (max-width: 480px) { | ||
height: 72px; | ||
.text { | ||
font-size: 12px; | ||
gap: 0.5rem; | ||
flex-direction: column; | ||
align-items: center; | ||
gap: 4px; | ||
} | ||
} | ||
`; |
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