cwadayi commited on
Commit
7a3b1d2
·
verified ·
1 Parent(s): d6df290

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +139 -133
style.css CHANGED
@@ -1,133 +1,139 @@
1
- <!DOCTYPE html>
2
- <html lang="zh-TW">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>地球物理概論</title>
7
- <link rel="stylesheet" href="styles.css">
8
- </head>
9
- <body>
10
- <header>
11
- <h1>地球物理概論</h1>
12
- <p>一個探索我們星球內在奧秘的互動式指南</p>
13
- </header>
14
- <main>
15
- <section id="introduction">
16
- <h2>地球物理是什麼? (深入探討)</h2>
17
- <div class="quote-box">
18
- <p>地球物理學是應用物理學原理來研究地球的科學。它結合了地質學的觀察與物理學的量化分析,讓我們能夠「看見」地表之下的世界。</p>
19
- </div>
20
- <p>許多學生透過視覺化來學習地質學。但地球物理學的精髓在於,它不僅要求我們有視覺化的能力,更要求我們能將問題轉化為數學和物理模型。這門科學讓我們能夠從模糊的「地底下有什麼?」的疑問,走向精確的、可驗證的地下結構模型。</p>
21
- </section>
22
-
23
- <section id="core-idea">
24
- <h2>地球物理學的核心思想</h2>
25
- <p>地球物理學旨在結合地質材料的觀測(地質學)和物理現象的觀測(物理學)來解釋地表之下的情況。下面的圖示 (Figure 1.1) 完美地說明了這個過程:</p>
26
- <div class="figure-container">
27
- <img src="1000029372.jpg" alt="Figure 1.1: Geology, Physics, and Geophysics">
28
- <figcaption>
29
- <strong>圖 1.1 說明:</strong><br>
30
- <strong>a) 地質學 (Geology):</strong> 提出問題。地質學家觀察到地表的狀況,但對地下的結構(Subsurface)充滿疑問。
31
- <br>
32
- <strong>b) 物理學 (Physics):</strong> 提供模型。物理學家可以計算出一個特定形狀和密度的物體(例如一個埋藏的球體)會產生什麼樣的物理異常(例如重力異常曲線)。
33
- <br>
34
- <strong>c) 地球物理學 (Geophysics):</strong> 結合兩者。地球物理學家測量實際觀測到的數據(Observed),並嘗試建立一個地下密度模型(Subsurface Density Model),使這個模型產生的理論預測(Predicted from Model)與觀測數據相符。最終,我們推斷出地下可能存在一個密度較高的岩體。
35
- </figcaption>
36
- </div>
37
- <p>這個過程是地球物理學的核心:我們利用物理定律作為橋樑,將觀測到的數據轉化為對地下地質結構的理解。</p>
38
- </section>
39
-
40
- <section id="methods">
41
- <h2>使用哪些方法? (Geophysical Techniques)</h2>
42
- <p>地球物理技術通過測量地表的自然或誘導屬性來推斷地下的性質。下表 (改編自 Figure 1.2) 總結了主要的地球物理技術:</p>
43
- <div class="figure-container">
44
- <img src="1000029373.jpg" alt="Figure 1.2: Overview of Geophysical Techniques">
45
- <figcaption>圖 1.2: 地球物理技術總覽</figcaption>
46
- </div>
47
- <div class="table-container">
48
- <table>
49
- <thead>
50
- <tr>
51
- <th>地球物理技術<br>(Geophysical Technique)</th>
52
- <th>地表測量性質<br>(Property Measured at Earth's Surface)</th>
53
- <th>內部研究性質<br>(Property Investigated within Earth)</th>
54
- </tr>
55
- </thead>
56
- <tbody>
57
- <tr>
58
- <td class="category" colspan="3">地震方法 (SEISMIC)</td>
59
- </tr>
60
- <tr>
61
- <td>天然震源 (Natural Source: Earthquake)</td>
62
- <td rowspan="2">地震動 (Ground Motion)<br>(位移、速度或加速度)</td>
63
- <td>地震波速 (V) 和衰減 (Q)</td>
64
- </tr>
65
- <tr>
66
- <td>人工震源 (Controlled Source: Refraction/Reflection)</td>
67
- <td>地震波速 (V) & 聲波阻抗 (波速 V, 密度 ρ)</td>
68
- </tr>
69
- <tr>
70
- <td class="category" colspan="3">位能場方法 (POTENTIAL FIELD)</td>
71
- </tr>
72
- <tr>
73
- <td>重力法 (Gravity)</td>
74
- <td>重力加速度 (g)</td>
75
- <td>密度 (ρ)</td>
76
- </tr>
77
- <tr>
78
- <td>磁力法 (Magnetics)</td>
79
- <td>磁場強度與方向 (F)</td>
80
- <td>磁化率 (χ) 和殘磁</td>
81
- </tr>
82
- <tr>
83
- <td class="category" colspan="3">熱流方法 (HEAT FLOW)</td>
84
- </tr>
85
- <tr>
86
- <td>熱流法 (Geothermal)</td>
87
- <td>地溫梯度 (∂T/∂z)</td>
88
- <td>熱導率 (k) 和熱流 (q)</td>
89
- </tr>
90
- </tbody>
91
- </table>
92
- </div>
93
- </section>
94
-
95
- <section id="problems">
96
- <h2>研究哪些問題?</h2>
97
- <ul>
98
- <li><strong>地球內部結構:</strong> 地核、地幔和地殼的組成和狀態。</li>
99
- <li><strong>板塊構造:</strong> 大陸漂移、地震和火山活動的驅動力。</li>
100
- <li><strong>自然災害:</strong> 地震預警、火山噴發監測和海嘯模擬。</li>
101
- <li><strong>資源探勘:</strong> 尋找石油、天然氣、礦產和地下水資源。</li>
102
- <li><strong>環境變遷:</strong> 監測冰川融化、海平面上升和地下水污染。</li>
103
- </ul>
104
- </section>
105
-
106
- <section id="engineering-apps">
107
- <h2>在各領域的工程上有何應用?</h2>
108
- <div class="app-grid">
109
- <div class="app-item">
110
- <h3>土木工程</h3>
111
- <p>在建設橋樑、大壩和高樓大廈之前,進行場址調查,評估地基的穩定性和承載力。</p>
112
- </div>
113
- <div class="app-item">
114
- <h3>環境工程</h3>
115
- <p>監測垃圾掩埋場的污染物洩漏,評估地下水污染範圍,並規劃修復方案。</p>
116
- </div>
117
- <div class="app-item">
118
- <h3>考古學</h3>
119
- <p>在不進行開挖的情況下,探測地下的古代遺址和埋藏的文物。</p>
120
- </div>
121
- <div class="app-item">
122
- <h3>水利工程</h3>
123
- <p>尋找地下水資源,評估水庫的滲漏風險,以及管理水資源的可持續利用。</p>
124
- </div>
125
- </div>
126
- </section>
127
- </main>
128
- <footer>
129
- <p>內容分析自: Whole Earth Geophysics, Robert J. Lillie</p>
130
- <p>由 Gemini 為您生成</p>
131
- </footer>
132
- </body>
133
- </html>
 
 
 
 
 
 
 
1
+ /* --- 新增的全域設定 --- */
2
+ * {
3
+ box-sizing: border-box;
4
+ }
5
+
6
+ body {
7
+ font-family: 'Helvetica Neue', Arial, sans-serif;
8
+ line-height: 1.6;
9
+ margin: 0;
10
+ padding: 0;
11
+ background: #f4f4f4;
12
+ color: #333;
13
+ }
14
+
15
+ header {
16
+ background: #005f73;
17
+ color: #fff;
18
+ padding: 2rem 0;
19
+ text-align: center;
20
+ }
21
+
22
+ header h1 {
23
+ margin: 0;
24
+ font-size: 2.5rem;
25
+ }
26
+
27
+ main {
28
+ padding: 20px;
29
+ max-width: 1000px;
30
+ margin: 0 auto;
31
+ }
32
+
33
+ section {
34
+ background: #fff;
35
+ margin-bottom: 20px;
36
+ padding: 20px 30px;
37
+ border-radius: 8px;
38
+ box-shadow: 0 2px 4px rgba(0,0,0,0.1);
39
+ }
40
+
41
+ h2 {
42
+ color: #0a9396;
43
+ border-bottom: 2px solid #e9ecef;
44
+ padding-bottom: 10px;
45
+ }
46
+
47
+ .quote-box {
48
+ background-color: #e0f7fa;
49
+ border-left: 5px solid #00796b;
50
+ margin: 20px 0;
51
+ padding: 15px 20px;
52
+ border-radius: 5px;
53
+ font-style: italic;
54
+ }
55
+
56
+ /* 圖片容器樣式 */
57
+ .figure-container {
58
+ text-align: center;
59
+ margin: 30px 0;
60
+ /* 確保容器本身不會有不必要的內邊距影響寬度 */
61
+ padding: 0;
62
+ }
63
+
64
+ /* --- 修改開始 (更強制的圖片縮放規則) --- */
65
+ .figure-container img {
66
+ max-width: 100%; /* 最關鍵的一行:圖片的最大寬度為其容器的100%,確保它不會溢出 */
67
+ height: auto; /* 保持圖片的長寬比 */
68
+ display: block; /* 使圖片成為區塊元素,更容易控制 */
69
+ margin: 15px auto; /* 上下邊距15px,左右自動 (實現水平置中) */
70
+ border: 1px solid #ccc;
71
+ border-radius: 4px;
72
+ }
73
+ /* --- 修改結束 --- */
74
+
75
+
76
+ .figure-container figcaption {
77
+ margin-top: 10px;
78
+ font-size: 0.9rem;
79
+ color: #555;
80
+ line-height: 1.5;
81
+ text-align: left;
82
+ padding: 10px;
83
+ background-color: #f8f9fa;
84
+ border-radius: 4px;
85
+ }
86
+
87
+ /* 表格樣式 */
88
+ .table-container {
89
+ overflow-x: auto; /* 在小螢幕上可以水平滾動 */
90
+ }
91
+
92
+ table {
93
+ width: 100%;
94
+ border-collapse: collapse;
95
+ margin-top: 20px;
96
+ box-shadow: 0 2px 4px rgba(0,0,0,0.05);
97
+ }
98
+
99
+ th, td {
100
+ padding: 12px 15px;
101
+ text-align: left;
102
+ border-bottom: 1px solid #ddd;
103
+ }
104
+
105
+ thead {
106
+ background-color: #00796b;
107
+ color: #fff;
108
+ }
109
+
110
+ tbody tr:nth-of-type(even) {
111
+ background-color: #f8f9fa;
112
+ }
113
+
114
+ td.category {
115
+ background-color: #94d2bd;
116
+ font-weight: bold;
117
+ color: #004d40;
118
+ text-align: center;
119
+ }
120
+
121
+ .app-grid {
122
+ display: grid;
123
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
124
+ gap: 20px;
125
+ }
126
+
127
+ .app-item {
128
+ background: #f8f9fa;
129
+ padding: 15px;
130
+ border-left: 5px solid #0a9396;
131
+ }
132
+
133
+ footer {
134
+ text-align: center;
135
+ padding: 20px;
136
+ margin-top: 30px;
137
+ background: #333;
138
+ color: #fff;
139
+ }