11import styled from 'styled-components'
2+ import bridge from '../Images/humanbridge.png'
23
34export const Main = styled . main `
4- display: flex;
5- justify-content: center;
6- align-items: center;
7- `
5+ // display: flex;
6+ // flex-direction: row;
7+ // justify-content: center;
8+ // align-items: space-evenly;
9+ height: 95vh:
10+ width: 95vw;
11+ display: grid;
12+ grid-template-columns: repeat(20, 1fr);
13+ grid-template-rows: repeat(20, 1fr);
14+
15+ #bridge {
16+ grid-column: 1 / span
17+ grid-column-end: ;
18+ // max-width: 50vw;
19+ }
20+
21+ #term {
22+ // max-width: 50vw;
23+ }
24+
25+
26+ `
27+ export const Container = styled . section `
28+
29+ `
30+
31+ export const Bridge = styled . div `
32+ // display: flex;
33+ // justify-content: center;
34+ // align-items: center;
35+ border: 4px solid white;
36+ background-image: url(${ bridge } );
37+ // background-color: #D4C7DC; /* Used if the image is unavailable */
38+ height: 500px; /* You must set a specified height */
39+ background-position: center; /* Center the image */
40+ background-repeat: no-repeat; /* Do not repeat the image */
41+ background-size: cover; /* Resize the background image to cover the entire container */
42+ `
43+
44+ //FROM MAIN
45+ // display: grid;
46+ // grid-template-rows: repeat(20, 5vw)
47+ // grid-template-columns: repeat(20, 5vw)
48+
49+
50+ // @media (min-width: 500px){
51+ // div{
52+ // grid-row: 0 / span 20
53+ // grid-column: 0 / span 20
54+ // }
55+ // }
56+
57+
58+ //FROM CONTAINER
59+ // display: grid
60+ // grid-template-rows: 20% 20% 20% 20% 20%
61+ // grid-template-columns: 20% 20% 20% 20% 20%
62+ // width: 100vw;
63+ // height: 95vh;
64+ // margin-top: 5px;
65+ // padding: 0px;
66+
67+ // #bridge {
68+ // grid-column: 1 / span 2;
69+ // grid-row: 1 / span 2;
70+ // }
71+
72+ // #term {
73+ // width: 100vw;
74+ // grid-columm: 1 / span 2;
75+ // grid-row: 4 / span 2;
76+ // }
77+ // #map{
78+ // grid-row: 4;
79+ // }
0 commit comments