start

差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

兩邊的前次修訂版 前次修改
下次修改
前次修改
start [2025/06/22 17:04] jasonstart [2025/06/23 09:07] (目前版本) jason
行 3: 行 3:
 <html> <html>
 <style> <style>
-/* 整體框 */+/* 外層容器 */
 #google-style-wrapper { #google-style-wrapper {
     display: flex;     display: flex;
行 10: 行 10:
     align-items: center;     align-items: center;
     min-height: 75vh;     min-height: 75vh;
-    padding: 0 1em;+    padding: 0 1em 15em;
     text-align: center;     text-align: center;
     box-sizing: border-box;     box-sizing: border-box;
行 22: 行 22:
 } }
  
-/* 描述 */+/* 描述文字 */
 #google-style-wrapper p.description { #google-style-wrapper p.description {
     font-size: 1.1em;     font-size: 1.1em;
     color: #666;     color: #666;
-    margin-bottom: 2em;+    margin-top: 2em
 +    max-width: 480px;
 } }
  
行 34: 行 35:
     flex-wrap: wrap;     flex-wrap: wrap;
     justify-content: center;     justify-content: center;
-    gap: 10px;+    gap: 0.5em;
     width: 100%;     width: 100%;
-    max-width: 600px;+    max-width: 480px;
 } }
  
 /* 搜索框 */ /* 搜索框 */
 #google-style-wrapper input[type="text"] { #google-style-wrapper input[type="text"] {
-    flex: 1 1 300px+    flex: 1 1 auto
-    height: 45px;+    height: 42px;
     font-size: 16px;     font-size: 16px;
     padding: 5px 15px;     padding: 5px 15px;
-    border-radius: 25px;+    border-radius: 20px;
     border: 1px solid #ccc;     border: 1px solid #ccc;
-    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);+    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
     outline: none;     outline: none;
     box-sizing: border-box;     box-sizing: border-box;
 +    min-width: 0;
 } }
  
-/* 搜索按鈕 */+/* 按鈕 */
 #google-style-wrapper input[type="submit"] { #google-style-wrapper input[type="submit"] {
-    height: 45px+    height: 42px
-    padding: 0 25px+    padding: 0 20px
-    font-size: 16px+    font-size: 15px
-    border-radius: 25px;+    border-radius: 20px;
     border: none;     border: none;
-    background-color: #337ab7; 
-    color: white; 
     cursor: pointer;     cursor: pointer;
     white-space: nowrap;     white-space: nowrap;
 } }
  
-#google-style-wrapper input[type="submit"]:hover { 
-    background-color: #286090; 
-} 
  
-/* 行動裝置小螢幕優化 */+ 
 +/* 響應式調整 */
 @media (max-width: 480px) { @media (max-width: 480px) {
     #google-style-wrapper h1 {     #google-style-wrapper h1 {
-        font-size: 1.8em;+        font-size: 1.6em;
     }     }
  
     #google-style-wrapper p.description {     #google-style-wrapper p.description {
-        font-size: 1em;+        font-size: 0.95em; 
 +        margin-bottom: 1.5em; 
 +    } 
 + 
 +    #google-style-wrapper form { 
 +        flex-direction: column; 
 +        align-items: stretch; 
 +        gap: 0.5em;
     }     }
  
行 82: 行 87:
     #google-style-wrapper input[type="submit"] {     #google-style-wrapper input[type="submit"] {
         width: 100%;         width: 100%;
-        border-radius: 8px; +        border-radius: 10px;
-    } +
- +
-    #google-style-wrapper form { +
-        flex-direction: column; +
-        gap: 0.5em;+
     }     }
 } }
行 94: 行 94:
 <div id="google-style-wrapper"> <div id="google-style-wrapper">
     <h1>不二 wiki</h1>     <h1>不二 wiki</h1>
-    <p class="description">一個簡潔、可擴展的內部知識庫。</p> +    <form action="/doku.php" method="get" class="form-inline">
-    <form action="/doku.php" method="get">+
         <input type="hidden" name="do" value="search">         <input type="hidden" name="do" value="search">
-        <input type="text" name="id" placeholder="Search DokuWiki..."> +        <input type="text" name="id" placeholder="搜你所尋..."> 
-        <input type="submit" value="Search">+        <input class="btn" type="submit" value="搜尋">
     </form>     </form>
 +    <p class="description"><a target="_blank" href="https://wiki.0xbuer.com/%E4%BD%9B%E5%AD%B8%E5%A4%A7%E8%BE%AD%E5%85%B8/%E4%B8%8D%E4%BA%8C">不二</a> wiki 是一個佛學詞典集成網站,公益運營,內容亦來自網絡。主要目的是方便本人學習查閱,如果也能利益大眾不勝榮幸。</p>
 +    <p class="description">如果發現有錯誤的地方,歡迎聯繫我 [email protected],twitter: <a target="_blank" href="https://x.com/anxiangzhai">西門老鐵</a></p>
 </div> </div>
 </html> </html>
  
  • start.1750611884.txt.gz
  • 上一次變更: 2025/06/22 17:04
  • jason