File size: 5,205 Bytes
26d2b4d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
<!DOCTYPE html>
<html lang="zh-TW">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Hugging Face System</title>
    <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;700&display=swap" rel="stylesheet">
    <style>
        :root {
            --primary-color: #007bff;
            --secondary-color: #6c757d;
            --background-color: #f8f9fa;
            --card-background: #ffffff;
            --text-color: #343a40;
            --border-color: #e9ecef;
            --header-height: 80px;
            --nav-height: 50px;
        }

        body {
            font-family: 'Noto Sans TC', sans-serif;
            margin: 0;
            padding: 0;
            background-color: var(--background-color);
            color: var(--text-color);
            line-height: 1.6;
        }

        header {
            background-color: var(--card-background);
            padding: 20px 40px;
            text-align: center;
            border-bottom: 3px solid var(--primary-color);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: var(--header-height);
        }

        h1 {
            color: var(--primary-color);
            margin: 0;
            font-size: 2.8em;
            font-weight: 700;
            letter-spacing: 1.5px;
        }

        h2 {
            color: var(--secondary-color);
            margin: 8px 0 0;
            font-size: 1.2em;
            font-weight: 300;
        }

        nav {
            background-color: var(--primary-color);
            padding: 0 20px;
            text-align: right; /* 將內容靠右對齊 */
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            height: var(--nav-height);
            display: flex;
            justify-content: flex-end; /* 將項目靠右排列 */
            align-items: center;
        }

        nav a {
            color: #ffffff;
            text-decoration: none;
            padding: 15px 30px;
            display: inline-block;
            font-weight: 400;
            font-size: 1.1em;
            transition: background-color 0.3s ease, transform 0.2s ease;
            border-radius: 5px;
        }

        nav a:hover {
            background-color: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
        }

        .container {
            padding: 30px;
            text-align: center;
            max-width: 1200px;
            margin: 20px auto;
            background-color: var(--card-background);
            border-radius: 12px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
            border: 1px solid var(--border-color);
        }

        h3 {
            color: var(--primary-color);
            font-size: 2.2em;
            margin-bottom: 25px;
            font-weight: 700;
            position: relative;
            display: inline-block;
            padding-bottom: 10px;
        }

        h3::after {
            content: '';
            position: absolute;
            left: 50%;
            bottom: 0;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background-color: var(--primary-color);
            border-radius: 2px;
        }

        iframe {
            width: 95%;
            height: 800px;
            border: 1px solid var(--border-color);
            border-radius: 10px;
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease-in-out;
            margin-top: 20px;
        }

        iframe:hover {
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
            transform: translateY(-3px);
        }

        /* 響應式設計 */
        @media (max-width: 768px) {
            header {
                padding: 15px 20px;
                height: auto;
            }
            h1 {
                font-size: 2em;
            }
            h2 {
                font-size: 1em;
            }
            nav {
                justify-content: center; /* 在小螢幕上置中導覽列 */
            }
            nav a {
                padding: 10px 15px;
                font-size: 1em;
            }
            .container {
                padding: 15px;
                margin: 10px auto;
            }
            h3 {
                font-size: 1.8em;
                margin-bottom: 20px;
            }
            iframe {
                width: 100%;
                height: 600px;
            }
        }
    </style>
</head>
<body>

    <header>
        <h1>Hugging Face System</h1>
        <h2>123Sabrina@2025copyright</h2>
    </header>

    <nav>
        <a href="#tool">多圖片文字辨識工具(Groq API|CSV/DOCX)</a>
    </nav>

    <div class="container">
        <h3 id="tool">多圖片文字辨識工具(Groq API|CSV/DOCX)</h3>
        <iframe
            src="https://123sabrina-mmml-2025.hf.space"
            frameborder="0"
            width="850"
            height="450">
        </iframe>
    </div>

</body>
</html>