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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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>Hugging Face System</title>
|
| 7 |
+
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;700&display=swap" rel="stylesheet">
|
| 8 |
+
<style>
|
| 9 |
+
:root {
|
| 10 |
+
--primary-color: #007bff;
|
| 11 |
+
--secondary-color: #6c757d;
|
| 12 |
+
--background-color: #f8f9fa;
|
| 13 |
+
--card-background: #ffffff;
|
| 14 |
+
--text-color: #343a40;
|
| 15 |
+
--border-color: #e9ecef;
|
| 16 |
+
--header-height: 80px;
|
| 17 |
+
--nav-height: 50px;
|
| 18 |
+
}
|
| 19 |
+
|
| 20 |
+
body {
|
| 21 |
+
font-family: 'Noto Sans TC', sans-serif;
|
| 22 |
+
margin: 0;
|
| 23 |
+
padding: 0;
|
| 24 |
+
background-color: var(--background-color);
|
| 25 |
+
color: var(--text-color);
|
| 26 |
+
line-height: 1.6;
|
| 27 |
+
transition: background-color 0.5s ease;
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
header {
|
| 31 |
+
background-color: var(--card-background);
|
| 32 |
+
padding: 20px 40px;
|
| 33 |
+
text-align: center;
|
| 34 |
+
border-bottom: 3px solid var(--primary-color);
|
| 35 |
+
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
|
| 36 |
+
display: flex;
|
| 37 |
+
flex-direction: column;
|
| 38 |
+
align-items: center;
|
| 39 |
+
justify-content: center;
|
| 40 |
+
height: var(--header-height);
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
h1 {
|
| 44 |
+
color: var(--primary-color);
|
| 45 |
+
margin: 0;
|
| 46 |
+
font-size: 2.8em;
|
| 47 |
+
font-weight: 700;
|
| 48 |
+
letter-spacing: 1.5px;
|
| 49 |
+
}
|
| 50 |
+
|
| 51 |
+
h2 {
|
| 52 |
+
color: var(--secondary-color);
|
| 53 |
+
margin: 8px 0 0;
|
| 54 |
+
font-size: 1.2em;
|
| 55 |
+
font-weight: 300;
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
nav {
|
| 59 |
+
background-color: var(--primary-color);
|
| 60 |
+
padding: 0 20px;
|
| 61 |
+
text-align: center;
|
| 62 |
+
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
|
| 63 |
+
height: var(--nav-height);
|
| 64 |
+
display: flex;
|
| 65 |
+
justify-content: center;
|
| 66 |
+
align-items: center;
|
| 67 |
+
}
|
| 68 |
+
|
| 69 |
+
nav a {
|
| 70 |
+
color: #ffffff;
|
| 71 |
+
text-decoration: none;
|
| 72 |
+
padding: 15px 30px;
|
| 73 |
+
display: inline-block;
|
| 74 |
+
font-weight: 400;
|
| 75 |
+
font-size: 1.1em;
|
| 76 |
+
transition: background-color 0.3s ease, transform 0.2s ease;
|
| 77 |
+
border-radius: 5px;
|
| 78 |
+
}
|
| 79 |
+
|
| 80 |
+
nav a:hover {
|
| 81 |
+
background-color: rgba(255, 255, 255, 0.2);
|
| 82 |
+
transform: translateY(-2px);
|
| 83 |
+
}
|
| 84 |
+
|
| 85 |
+
.container {
|
| 86 |
+
padding: 30px;
|
| 87 |
+
text-align: center;
|
| 88 |
+
max-width: 1200px;
|
| 89 |
+
margin: 20px auto;
|
| 90 |
+
background-color: var(--card-background);
|
| 91 |
+
border-radius: 12px;
|
| 92 |
+
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
|
| 93 |
+
border: 1px solid var(--border-color);
|
| 94 |
+
}
|
| 95 |
+
|
| 96 |
+
h3 {
|
| 97 |
+
color: var(--primary-color);
|
| 98 |
+
font-size: 2.2em;
|
| 99 |
+
margin-bottom: 25px;
|
| 100 |
+
font-weight: 700;
|
| 101 |
+
position: relative;
|
| 102 |
+
display: inline-block;
|
| 103 |
+
padding-bottom: 10px;
|
| 104 |
+
}
|
| 105 |
+
|
| 106 |
+
h3::after {
|
| 107 |
+
content: '';
|
| 108 |
+
position: absolute;
|
| 109 |
+
left: 50%;
|
| 110 |
+
bottom: 0;
|
| 111 |
+
transform: translateX(-50%);
|
| 112 |
+
width: 80px;
|
| 113 |
+
height: 3px;
|
| 114 |
+
background-color: var(--primary-color);
|
| 115 |
+
border-radius: 2px;
|
| 116 |
+
}
|
| 117 |
+
|
| 118 |
+
iframe {
|
| 119 |
+
width: 100%; /* 寬度佔滿容器 */
|
| 120 |
+
height: 100vh; /* 初始設定高度為視窗高度 */
|
| 121 |
+
border: none; /* 移除邊框 */
|
| 122 |
+
}
|
| 123 |
+
|
| 124 |
+
.fullscreen-container {
|
| 125 |
+
display: none;
|
| 126 |
+
position: fixed;
|
| 127 |
+
top: 0;
|
| 128 |
+
left: 0;
|
| 129 |
+
width: 100%;
|
| 130 |
+
height: 100%;
|
| 131 |
+
background-color: rgba(0, 0, 0, 0.95);
|
| 132 |
+
z-index: 1000;
|
| 133 |
+
justify-content: center;
|
| 134 |
+
align-items: center;
|
| 135 |
+
flex-direction: column;
|
| 136 |
+
}
|
| 137 |
+
|
| 138 |
+
.fullscreen-container.active {
|
| 139 |
+
display: flex;
|
| 140 |
+
}
|
| 141 |
+
|
| 142 |
+
.close-btn {
|
| 143 |
+
position: absolute;
|
| 144 |
+
top: 20px;
|
| 145 |
+
right: 30px;
|
| 146 |
+
color: white;
|
| 147 |
+
font-size: 3em;
|
| 148 |
+
cursor: pointer;
|
| 149 |
+
z-index: 1001;
|
| 150 |
+
transition: transform 0.2s ease;
|
| 151 |
+
}
|
| 152 |
+
|
| 153 |
+
.close-btn:hover {
|
| 154 |
+
transform: scale(1.1);
|
| 155 |
+
}
|
| 156 |
+
|
| 157 |
+
</style>
|
| 158 |
+
</head>
|
| 159 |
+
<body>
|
| 160 |
+
|
| 161 |
+
<header>
|
| 162 |
+
<h1>Hugging Face System</h1>
|
| 163 |
+
<h2>123Sabrina@2025copyright</h2>
|
| 164 |
+
</header>
|
| 165 |
+
|
| 166 |
+
<nav>
|
| 167 |
+
<a href="#dashboard">日本不動產拍賣彙整儀表板</a>
|
| 168 |
+
</nav>
|
| 169 |
+
|
| 170 |
+
<div class="container">
|
| 171 |
+
<h3 id="dashboard">日本不動產拍賣彙整儀表板</h3>
|
| 172 |
+
<p style="margin-top: 20px; font-size: 1.1em; color: var(--secondary-color);">
|
| 173 |
+
如果內容無法完整顯示,請點擊下方按鈕以全螢幕模式查看。
|
| 174 |
+
</p>
|
| 175 |
+
<button onclick="toggleFullscreen()" style="
|
| 176 |
+
padding: 12px 25px;
|
| 177 |
+
font-size: 1.1em;
|
| 178 |
+
color: white;
|
| 179 |
+
background-color: var(--primary-color);
|
| 180 |
+
border: none;
|
| 181 |
+
border-radius: 5px;
|
| 182 |
+
cursor: pointer;
|
| 183 |
+
margin-bottom: 20px;
|
| 184 |
+
transition: background-color 0.3s ease, transform 0.2s ease;
|
| 185 |
+
">開啟全螢幕</button>
|
| 186 |
+
|
| 187 |
+
<iframe
|
| 188 |
+
id="mainIframe"
|
| 189 |
+
src="https://sabrina91-j-realestate.hf.space"
|
| 190 |
+
frameborder="0"
|
| 191 |
+
style="width: 100%; min-height: 800px; border-radius: 10px; box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);">
|
| 192 |
+
</iframe>
|
| 193 |
+
</div>
|
| 194 |
+
|
| 195 |
+
<div id="fullscreenContainer" class="fullscreen-container">
|
| 196 |
+
<span class="close-btn" onclick="toggleFullscreen()">×</span>
|
| 197 |
+
<iframe
|
| 198 |
+
id="fullscreenIframe"
|
| 199 |
+
src="https://sabrina91-j-realestate.hf.space"
|
| 200 |
+
frameborder="0"
|
| 201 |
+
style="width: 95%; height: 95%;">
|
| 202 |
+
</iframe>
|
| 203 |
+
</div>
|
| 204 |
+
|
| 205 |
+
<script>
|
| 206 |
+
function toggleFullscreen() {
|
| 207 |
+
const container = document.getElementById('fullscreenContainer');
|
| 208 |
+
const mainIframe = document.getElementById('mainIframe');
|
| 209 |
+
const fullscreenIframe = document.getElementById('fullscreenIframe');
|
| 210 |
+
|
| 211 |
+
container.classList.toggle('active');
|
| 212 |
+
|
| 213 |
+
if (container.classList.contains('active')) {
|
| 214 |
+
// 當進入全螢幕模式時,將主 iframe 的 src 複製到全螢幕 iframe
|
| 215 |
+
fullscreenIframe.src = mainIframe.src;
|
| 216 |
+
document.body.style.overflow = 'hidden'; // 隱藏滾動條
|
| 217 |
+
} else {
|
| 218 |
+
document.body.style.overflow = 'auto'; // 恢復滾動條
|
| 219 |
+
}
|
| 220 |
+
}
|
| 221 |
+
</script>
|
| 222 |
+
</body>
|
| 223 |
+
</html>
|