mirror of
https://github.com/acid-info/free.technology.git
synced 2025-02-23 15:08:28 +00:00
style: update mobile style
This commit is contained in:
parent
d37e592fdb
commit
4c7fb1adda
@ -24,6 +24,10 @@ const Container = styled.div`
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding: 0 16px;
|
padding: 0 16px;
|
||||||
|
|
||||||
|
p {
|
||||||
|
padding-top: 24px;
|
||||||
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
export default BUAbout
|
export default BUAbout
|
||||||
|
@ -287,7 +287,7 @@ const Content = styled.div`
|
|||||||
}
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
margin-bottom: 16px;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
table th,
|
table th,
|
||||||
@ -298,7 +298,7 @@ const Content = styled.div`
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: ${breakpoints.md}px) {
|
@media (max-width: ${breakpoints.md}px) {
|
||||||
padding-bottom: 16px;
|
padding-bottom: 80px;
|
||||||
|
|
||||||
button {
|
button {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -20,6 +20,8 @@ const Container = styled.div`
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: ${breakpoints.md}px) {
|
@media (max-width: ${breakpoints.md}px) {
|
||||||
|
margin-bottom: 18px;
|
||||||
|
|
||||||
> div {
|
> div {
|
||||||
margin-bottom: 80px;
|
margin-bottom: 80px;
|
||||||
}
|
}
|
||||||
|
@ -25,7 +25,6 @@ const Container = styled.div`
|
|||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
||||||
@media (max-width: ${breakpoints.md}px) {
|
@media (max-width: ${breakpoints.md}px) {
|
||||||
margin-top: 60px;
|
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
@ -66,6 +65,7 @@ const TitleContainer = styled.div`
|
|||||||
|
|
||||||
@media (max-width: ${breakpoints.md}px) {
|
@media (max-width: ${breakpoints.md}px) {
|
||||||
border-bottom: 1px solid rgba(0, 0, 0, 0.18);
|
border-bottom: 1px solid rgba(0, 0, 0, 0.18);
|
||||||
|
padding-top: 0;
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
import { breakpoints } from '@/configs/ui.configs'
|
||||||
import styled from '@emotion/styled'
|
import styled from '@emotion/styled'
|
||||||
import BUSection from '../BUSection'
|
import BUSection from '../BUSection'
|
||||||
|
|
||||||
@ -62,12 +63,32 @@ const Container = styled.div`
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding: 0 16px;
|
padding: 0 16px;
|
||||||
|
|
||||||
|
@media (max-width: ${breakpoints.md}px) {
|
||||||
|
& > div > div {
|
||||||
|
border-bottom: 0;
|
||||||
|
margin-bottom: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
& > div > div:nth-of-type(2) {
|
||||||
|
padding-bottom: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
font-size: 22px;
|
||||||
|
line-height: 122%;
|
||||||
|
}
|
||||||
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
const GridContainer = styled.div`
|
const GridContainer = styled.div`
|
||||||
margin-top: 140px;
|
margin-top: 140px;
|
||||||
padding-top: 40px;
|
padding-top: 40px;
|
||||||
border-top: 1px solid rgba(0, 0, 0, 0.18);
|
border-top: 1px solid rgba(0, 0, 0, 0.18);
|
||||||
|
|
||||||
|
@media (max-width: ${breakpoints.md}px) {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
const Section = styled.section`
|
const Section = styled.section`
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
import { breakpoints } from '@/configs/ui.configs'
|
||||||
import styled from '@emotion/styled'
|
import styled from '@emotion/styled'
|
||||||
import BUSection from '../BUSection'
|
import BUSection from '../BUSection'
|
||||||
|
|
||||||
@ -51,6 +52,11 @@ const ScrollableContainer = styled.div`
|
|||||||
&::-webkit-scrollbar {
|
&::-webkit-scrollbar {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: ${breakpoints.md}px) {
|
||||||
|
width: 100vw;
|
||||||
|
margin-top: 8px;
|
||||||
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
const Item = styled.div`
|
const Item = styled.div`
|
||||||
@ -64,6 +70,10 @@ const Item = styled.div`
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: ${breakpoints.md}px) {
|
||||||
|
gap: 16px;
|
||||||
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
const GreyBox = styled.div`
|
const GreyBox = styled.div`
|
||||||
@ -85,6 +95,12 @@ const GreyBox = styled.div`
|
|||||||
text-transform: capitalize;
|
text-transform: capitalize;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: ${breakpoints.md}px) {
|
||||||
|
width: 216px;
|
||||||
|
height: 284px;
|
||||||
|
padding: 16px 40px 16px 16px;
|
||||||
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
const Year = styled.div`
|
const Year = styled.div`
|
||||||
@ -109,6 +125,10 @@ const Bar = styled.hr`
|
|||||||
height: 1px;
|
height: 1px;
|
||||||
z-index: 0;
|
z-index: 0;
|
||||||
left: 30px;
|
left: 30px;
|
||||||
|
|
||||||
|
@media (max-width: ${breakpoints.md}px) {
|
||||||
|
width: 260px;
|
||||||
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
const Step = styled.span`
|
const Step = styled.span`
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
import { breakpoints } from '@/configs/ui.configs'
|
||||||
import styled from '@emotion/styled'
|
import styled from '@emotion/styled'
|
||||||
import BUSection from '../BUSection'
|
import BUSection from '../BUSection'
|
||||||
import ProfileCard from './ProfileCard'
|
import ProfileCard from './ProfileCard'
|
||||||
@ -73,18 +74,43 @@ const Container = styled.div`
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding: 0 16px;
|
padding: 0 16px;
|
||||||
|
|
||||||
|
@media (max-width: ${breakpoints.md}px) {
|
||||||
|
& > div > div {
|
||||||
|
border-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
& > div > div:nth-of-type(2) {
|
||||||
|
padding-bottom: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
margin-top: 8px;
|
||||||
|
font-size: 22px;
|
||||||
|
line-height: 122%;
|
||||||
|
}
|
||||||
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
const GridContainer = styled.div`
|
const GridContainer = styled.div`
|
||||||
margin-top: 140px;
|
margin-top: 140px;
|
||||||
padding-top: 40px;
|
padding-top: 40px;
|
||||||
border-top: 1px solid rgba(0, 0, 0, 0.18);
|
border-top: 1px solid rgba(0, 0, 0, 0.18);
|
||||||
|
|
||||||
|
@media (max-width: ${breakpoints.md}px) {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
const Section = styled.section`
|
const Section = styled.section`
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(auto-fill, minmax(222px, 1fr));
|
grid-template-columns: repeat(auto-fill, minmax(222px, 1fr));
|
||||||
gap: 16px;
|
gap: 16px;
|
||||||
|
|
||||||
|
@media (max-width: ${breakpoints.md}px) {
|
||||||
|
grid-template-columns: repeat(2, 1fr);
|
||||||
|
gap: 8px;
|
||||||
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
export default BUTeam
|
export default BUTeam
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
import { breakpoints } from '@/configs/ui.configs'
|
||||||
import styled from '@emotion/styled'
|
import styled from '@emotion/styled'
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
@ -17,12 +18,17 @@ const ProfileCard = ({ name, position, imageUrl }: Props) => (
|
|||||||
const Card = styled.div`
|
const Card = styled.div`
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
box-sizing: border-box;
|
||||||
`
|
`
|
||||||
|
|
||||||
const ProfileImage = styled.img`
|
const ProfileImage = styled.img`
|
||||||
width: auto;
|
width: auto;
|
||||||
height: auto;
|
height: auto;
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
|
|
||||||
|
@media (max-width: ${breakpoints.md}px) {
|
||||||
|
margin-bottom: 8px;
|
||||||
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
const Name = styled.p`
|
const Name = styled.p`
|
||||||
@ -31,6 +37,12 @@ const Name = styled.p`
|
|||||||
line-height: 26px;
|
line-height: 26px;
|
||||||
text-transform: capitalize;
|
text-transform: capitalize;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
|
|
||||||
|
@media (max-width: ${breakpoints.md}px) {
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 130%;
|
||||||
|
margin-bottom: 4px;
|
||||||
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
const Position = styled.p`
|
const Position = styled.p`
|
||||||
@ -39,6 +51,11 @@ const Position = styled.p`
|
|||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
text-transform: capitalize;
|
text-transform: capitalize;
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
|
|
||||||
|
@media (max-width: ${breakpoints.md}px) {
|
||||||
|
font-size: 12px;
|
||||||
|
line-height: 130%;
|
||||||
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
export default ProfileCard
|
export default ProfileCard
|
||||||
|
@ -59,9 +59,11 @@ const ItemContainer = styled.div`
|
|||||||
|
|
||||||
const Item = styled.section`
|
const Item = styled.section`
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
|
||||||
@media (max-width: ${breakpoints.md}px) {
|
@media (max-width: ${breakpoints.md}px) {
|
||||||
width: 216px;
|
width: 216px;
|
||||||
|
height: 370px;
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
@ -83,23 +85,29 @@ const Icon = styled.div`
|
|||||||
`
|
`
|
||||||
|
|
||||||
const Paragraph = styled.p`
|
const Paragraph = styled.p`
|
||||||
font-family: Helvetica;
|
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-style: normal;
|
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
|
|
||||||
|
@media (max-width: ${breakpoints.md}px) {
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 126%;
|
||||||
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
const Title = styled.h2`
|
const Title = styled.h2`
|
||||||
font-family: Helvetica;
|
|
||||||
font-size: 36px;
|
font-size: 36px;
|
||||||
font-style: normal;
|
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
line-height: 42px;
|
line-height: 42px;
|
||||||
padding-top: 24px;
|
padding-top: 24px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-top: 1px solid rgba(0, 0, 0, 0.18);
|
border-top: 1px solid rgba(0, 0, 0, 0.18);
|
||||||
margin-top: auto;
|
margin-top: auto;
|
||||||
|
|
||||||
|
@media (max-width: ${breakpoints.md}px) {
|
||||||
|
font-size: 22px;
|
||||||
|
padding-top: 16px;
|
||||||
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
const FlexContainer = styled.div`
|
const FlexContainer = styled.div`
|
||||||
@ -112,7 +120,8 @@ const FlexContainer = styled.div`
|
|||||||
align-self: stretch;
|
align-self: stretch;
|
||||||
|
|
||||||
@media (max-width: ${breakpoints.md}px) {
|
@media (max-width: ${breakpoints.md}px) {
|
||||||
height: 358px;
|
padding-top: 16px;
|
||||||
|
height: 282px;
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
|
@ -116,7 +116,7 @@ const NoChallenges = styled.p`
|
|||||||
|
|
||||||
const CustomBox = styled(Box)`
|
const CustomBox = styled(Box)`
|
||||||
@media (max-width: ${breakpoints.md}px) {
|
@media (max-width: ${breakpoints.md}px) {
|
||||||
margin-bottom: 195px;
|
margin-bottom: 80px;
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
|
@ -56,6 +56,7 @@ const JobHeader = styled.div`
|
|||||||
|
|
||||||
@media (max-width: ${breakpoints.md}px) {
|
@media (max-width: ${breakpoints.md}px) {
|
||||||
margin-bottom: 24px;
|
margin-bottom: 24px;
|
||||||
|
gap: 8px;
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user