card placement
This commit is contained in:
parent
1f8b82a3ea
commit
bd8c1d25a8
|
@ -3,7 +3,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
|
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
|
||||||
<link href="./src/style.css" rel="stylesheet"/>
|
<link href="../src/index.css" rel="stylesheet"/>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<meta name="theme-color" content="#000000" />
|
<meta name="theme-color" content="#000000" />
|
||||||
<meta
|
<meta
|
||||||
|
|
|
@ -38,6 +38,10 @@ const ColoredSection = styled.section`
|
||||||
|
|
||||||
background-color:#66bfbf;
|
background-color:#66bfbf;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
background-attachment: fixed;
|
||||||
|
background-position: center;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-size: cover;
|
||||||
|
|
||||||
|
|
||||||
`;
|
`;
|
||||||
|
|
|
@ -6,12 +6,13 @@ import styled from 'styled-components';
|
||||||
|
|
||||||
const CardList = styled.div`
|
const CardList = styled.div`
|
||||||
display:flex;
|
display:flex;
|
||||||
justify-content: space-between;
|
justify-content: space-around;
|
||||||
align-items: center;
|
align-items: stretch;
|
||||||
position: relative;
|
position: relative;
|
||||||
margin: 45px 15px;
|
margin: auto;
|
||||||
|
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -91,6 +92,9 @@ export default function Options() {
|
||||||
</div>
|
</div>
|
||||||
<CardList>
|
<CardList>
|
||||||
<Card img="skyscraper.png"/>
|
<Card img="skyscraper.png"/>
|
||||||
|
<Card img="skyscraper.png"/>
|
||||||
|
<Card img="skyscraper.png"/>
|
||||||
|
<Card img="skyscraper.png"/>
|
||||||
</CardList>
|
</CardList>
|
||||||
<Footer />
|
<Footer />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700');
|
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700');
|
||||||
@import url('https://fonts.googleapis.com/css?family=Montserrat|Ubuntu');
|
@import url('https://fonts.googleapis.com/css?family=Montserrat|Ubuntu');
|
||||||
|
|
||||||
* {
|
* {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
font-family: "Roboto", sans-serif;
|
font-family: "Roboto", sans-serif;
|
||||||
|
|
Loading…
Reference in New Issue