-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstylesheet.css
More file actions
87 lines (73 loc) · 2.07 KB
/
stylesheet.css
File metadata and controls
87 lines (73 loc) · 2.07 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
75
76
77
78
79
80
81
82
83
84
85
86
87
/* 以前の全体を覆うスタイルを無効化 */
html, body {
margin: 0;
padding: 0;
height: auto; /* 全体ではなくコンテンツの高さに合わせる */
overflow-x: hidden; /* 横スクロールを禁止 */
}
/* Cesiumコンテナに固定のサイズを設定する */
#cesium {
/* 以前の position: absolute; top: 0; bottom: 0; はすべて削除! */
position: relative; /* 標準的な配置に戻す */
width: 80%; /* ページの幅の80%に設定 */
height: 600px; /* 高さを600pxに固定 */
margin: 40px auto; /* 上下左右に余白を設定し、中央に配置 */
border: 1px solid #ccc; /* 境界線をつけてセクション感を */
}
/* --- ページナビゲーション (メニュー) スタイル --- */
nav {
width: 100%;
background-color: #333;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
margin-bottom: 20px;
}
nav ul {
list-style: none;
padding: 0;
margin: 0;
display: flex; /* ボタンを横並びにする */
justify-content: center; /* 中央揃え */
}
nav ul li {
display: inline;
}
.menu-button {
background: none;
border: none;
color: white;
padding: 15px 25px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s;
}
.menu-button:hover {
background-color: #575757;
}
.menu-button.active {
background-color: #007bff;
font-weight: bold;
}
/* --- サブページコンテナと個別ページスタイル --- */
#page-container {
width: 80%;
margin: 0 auto;
min-height: 600px; /* Cesiumビューアと同じ最低限の高さを確保 */
}
.sub-page {
padding: 20px;
border: 1px solid #ccc;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
background-color: white;
}
/* Cesiumビューアを保持するコンテナ (div#cesium は非表示) */
#cesium-view {
/* デフォルトで表示 */
}
/* 他のページはデフォルトで非表示 */
#museum-intro-page, #developers-page {
display: none;
}