mirror of
https://github.com/BradNut/react-hooks-library
synced 2025-09-08 17:40:20 +00:00
43 lines
667 B
JavaScript
43 lines
667 B
JavaScript
import styled from "styled-components";
|
|
|
|
export const Header = styled.header`
|
|
background: var(--black);
|
|
color: white;
|
|
padding: 20px;
|
|
display: flex;
|
|
> svg {
|
|
margin-right: 20px;
|
|
}
|
|
> * {
|
|
margin: 0;
|
|
}
|
|
h1 {
|
|
font-size: 1rem;
|
|
}
|
|
`;
|
|
|
|
export const Container = styled.div`
|
|
width: 95%;
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
padding-bottom: 60px;
|
|
`;
|
|
|
|
export const CardGrid = styled.div`
|
|
display: grid;
|
|
grid-gap: 20px;
|
|
`;
|
|
|
|
export const Card = styled.div`
|
|
border-radius: 15px;
|
|
padding: 20px;
|
|
color: white;
|
|
box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.4);
|
|
h3 {
|
|
margin-top: 0;
|
|
font-size: 2rem;
|
|
}
|
|
img {
|
|
width: 100%;
|
|
}
|
|
`;
|