mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-06 16:06:12 +02:00
ui(home): make elements 20% smaller
This commit is contained in:
@@ -6,12 +6,12 @@ export const DiscordButtonWrapper = styled.div`
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
font-family: "Oxygen", sans-serif;
|
font-family: "Oxygen", sans-serif;
|
||||||
font-size: 30px;
|
font-size: 24px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
background: ${props => props.theme.discord.base};
|
background: ${props => props.theme.discord.base};
|
||||||
color: #fff;
|
color: #fff;
|
||||||
padding: 22px 35px;
|
padding: 18px 28px;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
transition: background 0.3s;
|
transition: background 0.3s;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@@ -23,6 +23,6 @@ export const DiscordButtonWrapper = styled.div`
|
|||||||
`
|
`
|
||||||
|
|
||||||
export const StyledDiscordLogo = styled(DiscordLogo)`
|
export const StyledDiscordLogo = styled(DiscordLogo)`
|
||||||
width: 38px;
|
width: 30px;
|
||||||
margin-right: 16px;
|
margin-right: 13px;
|
||||||
`
|
`
|
||||||
|
|||||||
@@ -40,14 +40,14 @@ export const Title = styled.h1`
|
|||||||
|
|
||||||
.is-home & {
|
.is-home & {
|
||||||
margin: 32px 0;
|
margin: 32px 0;
|
||||||
font-size: 110px;
|
font-size: 88px;
|
||||||
|
|
||||||
@media screen and (max-width: 991px) {
|
@media screen and (max-width: 991px) {
|
||||||
font-size: 72px;
|
font-size: 58px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 767px) {
|
@media screen and (max-width: 767px) {
|
||||||
font-size: 40px;
|
font-size: 32px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
@@ -107,7 +107,7 @@ export const Logo = styled(TPHLogo)`
|
|||||||
z-index: 3;
|
z-index: 3;
|
||||||
|
|
||||||
.is-home & {
|
.is-home & {
|
||||||
width: 122px;
|
width: 98px;
|
||||||
margin-bottom: 0 0 10px 0;
|
margin-bottom: 0 0 10px 0;
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|||||||
Reference in New Issue
Block a user