-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
55 lines (51 loc) · 1.03 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
/* body */
body {
width: 100vw;
height: 100vh;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
background : url('img/background.jpg');
font-family: monospace;
font-size: 0.8rem;
text-align: center;
}
/*linear-gradient(to right, #00c6ff, #0072ff);*/
/* #map */
/* this is mandatory */
#map-div {
width: 800px;
height: 350px;
box-shadow: 7px -2px 8px -1px rgba(0, 0, 0, 0.7);
border-top-right-radius: 3px;
border-top-left-radius: 3px;
}
/* #details */
#details {
background-color: #2d2e36;
padding: 10px;
color: #fff;
display: flex;
width: 800px;
max-width: 800px;
box-shadow: 7px -2px 8px -1px rgba(0, 0, 0, 0.7);
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
}
/* all div inside #details */
#details div {
display: flex;
flex-direction: column;
flex-grow: 1;
}
/* all span */
span {
font-size: 1rem;
margin-top: 10px;
}