-
Notifications
You must be signed in to change notification settings - Fork 820
/
style.css
94 lines (82 loc) · 1.34 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
/**
* @license
* Copyright 2019 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
/* [START maps_place_photos] */
/*
* Always set the map height explicitly to define the size of the div element
* that contains the map.
*/
#map {
height: 100%;
}
/*
* Optional: Makes the sample page fill the window.
*/
html,
body {
height: 100%;
margin: 0;
padding: 0;
}
#container {
display: flex;
padding: 10px;
width: 100%;
height: 100%;
box-sizing: border-box;
}
.place-overview {
width: 400px;
height: 380px;
overflow-x: auto;
position: relative;
margin-right: 20px;
}
#info {
font-family: sans-serif;
position: sticky;
position: -webkit-sticky;
left: 0;
padding-bottom: 10px;
}
#heading {
width: 500px;
font-size: x-large;
margin-bottom: 20px;
}
#summary {
width: 500px;
}
#gallery {
display: flex;
}
#gallery img {
width: 200px;
height: 200px;
margin-right: 10px;
margin-top: 40px;
border-radius: 10px;
cursor: pointer;
}
#expanded-image {
display: flex;
height: 380px;
overflow: hidden;
background-color: #000;
}
#expanded-image img {
width: 100%;
height: auto;
object-fit: contain;
}
.attribution-label {
background-color: #fff;
opacity: 0.7;
font-size: 10px;
font-family: sans-serif;
margin: 2px;
position: absolute;
}
/* [END maps_place_photos] */