-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
74 lines (62 loc) · 1.59 KB
/
Copy pathstyle.css
File metadata and controls
74 lines (62 loc) · 1.59 KB
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
<style>
/* 样式部分 */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
header {
background-color: #333;
color: #fff;
padding: 20px;
text-align: center; /* 居中标题内容 */
}
h1 {
margin: 0;
}
.container {
display: flex;
flex-wrap: wrap;
}
.sidebar {
width: 250px;
padding: 20px;
box-sizing: border-box; /* 让 padding 在计算宽度时包含在内 */
height: 100vh; /* 使用视口高度作为高度 */
overflow: auto; /* 如果内容过多,启用滚动条 */
}
.content {
flex-grow: 1;
padding: 20px;
}
.map-container {
flex-grow: 1;
/* height: 100%; */
position: relative; /*让地图容器相对定位*/
}
label {
display: block;
margin-bottom: 5px;
}
input[type="text"] {
width: 100%;
padding: 5px;
margin-bottom: 10px;
}
button {
padding: 5px 10px;
background-color: #333;
color: #fff;
border: none;
cursor: pointer;
margin-right: 10px;
}
button:hover {
background-color: #555;
}
#result-box {
margin-top: 10px;
padding: 20px;
background-color: #f5f5f5;
}
</style>