mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-06 07:56:11 +02:00
ui(resources): tweak resource page for mobile
This commit is contained in:
@@ -11,6 +11,11 @@ export const ResourceHeaderWrapper = styled.div`
|
||||
export const Top = styled.div`
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
@media screen and (max-width: 767px) {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
`
|
||||
|
||||
export const Title = styled.h1`
|
||||
@@ -22,10 +27,23 @@ export const Title = styled.h1`
|
||||
`
|
||||
|
||||
export const Meta = styled.div`
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
& + &::before {
|
||||
content: "•";
|
||||
margin: 0 8px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 767px) {
|
||||
& + & {
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
& + &::before {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
`
|
||||
|
||||
const ExtraLinks = styled.div`
|
||||
|
||||
Reference in New Issue
Block a user