mirror of
https://github.com/uetchy/namae.git
synced 2025-08-20 09:58:13 +09:00
feat: refine footer
This commit is contained in:
53
src/theme/index.tsx
Normal file
53
src/theme/index.tsx
Normal file
@@ -0,0 +1,53 @@
|
||||
import styled, { createGlobalStyle } from 'styled-components';
|
||||
import { mobile } from '../util/css';
|
||||
|
||||
export const GlobalStyle = createGlobalStyle`
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
|
||||
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
|
||||
sans-serif;
|
||||
line-height: 1.625em;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
background: #ffffff;
|
||||
|
||||
${mobile} {
|
||||
background: #f5f5f5;
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export const Content = styled.div`
|
||||
padding-top: 100px;
|
||||
|
||||
${mobile} {
|
||||
padding-top: 60px;
|
||||
}
|
||||
`;
|
||||
|
||||
export const Header = styled.header`
|
||||
padding: 0 40px;
|
||||
background-image: linear-gradient(180deg, #bda2ff 0%, #1b24cc 99%);
|
||||
|
||||
${mobile} {
|
||||
padding: 0 20px;
|
||||
}
|
||||
`;
|
||||
|
||||
export const Section = styled.div`
|
||||
padding: 100px 20vw;
|
||||
|
||||
${mobile} {
|
||||
padding: 60px 40px;
|
||||
}
|
||||
`;
|
Reference in New Issue
Block a user