body { margin: 0; padding: 0; height: 100%; font-size: 8.5pt; font-family: 'Calibri','Verdana', sans-serif; color: #999999; letter-spacing: 1.7pt; text-shadow: 0 0 1px white, -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white, -2px 0 0 white, 2px 0 0 white, 0 -2px 0 white, 0 2px 0 white; } #backToTopWrapper { position: fixed; right: 20px; bottom: 30px; text-align: center; cursor: pointer; z-index: 999; opacity: 0; transition: opacity 0.3s; } #backToTopWrapper.show { opacity: 1; } /* 箭頭按鈕 */ #backToTopArrow { width: 34px; height: 34px; background: #FFE3DF; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; border: 2px solid #fff; margin: 0 auto; transition: transform 0.2s, background 0.2s; } #backToTopWrapper:hover #backToTopArrow { transform: scale(1.1); background: #FFC7C5; } /* 小貓裝飾 */ #backCat { width: 80px; /* 貓咪縮小 */ margin-top:-3px; /* 輕微貼近箭頭 */ display: block; margin-left: auto; margin-right: auto; } table[width="420"][cellspacing="1"] { border-collapse: separate; border-radius: 15px; overflow: hidden; background: #f4f4f4; box-shadow: 0 2px 6px rgba(0,0,0,0.08); margin-bottom: 35px; } /* 頁數背景色 */ table[bgcolor="000000"] { background-color: #fff !important; } /* 頁數字型大小 */ table[bgcolor="000000"] th { background-color: #fff; font-size: 7.5pt; font-family: Calibri; } /* 游標移入頁數背景色 */ table[bgcolor="000000"] th[bgcolor="e2e8f3"]:hover { background-color: #fff !important; } td { font-size: 8.5pt; letter-spacing: 1.7pt; } td[height="50"][valign="top"] { padding-top:15px; padding-right: 30px; } td[colspan="3"][height="20"] { padding-top:10px; padding-right: 30px; } td[rowspan="2"][width="80"][height="80"][align="center"][valign="bottom"] { width: 50px !important; /* 改成你要的寬度 */ } /* 日期時間 */ td[colspan="3"][align="right"], div[align="right"] { padding-top:20px; padding-right: 15px; padding-bottom:10px; font-size: 7.6pt; color: #e5e5e5; } /* 滑鼠移上去時變深色 */ td[colspan="3"][align="right"]:hover, div[align="right"]:hover { color: #999999; } font { line-height: 25px; } select { font-size: 10pt; background-color: #ffffff; } input, textarea, select { font-size: 9pt; color: #888888; font-family:Calibri, Verdana, sans-serif; letter-spacing: 1pt; } ::selection { background-color: #fff0f0; /* 反白 */ color: #f393a9; text-shadow: 0 0 1px white, -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white, -2px 0 0 white, 2px 0 0 white, 0 -2px 0 white, 0 2px 0 white; } a:link { color: #999999; text-decoration: none; text-shadow: 0 0 1px white, -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white, -2px 0 0 white, 2px 0 0 white, 0 -2px 0 white, 0 2px 0 white; } a:visited { color: #999999; } a:hover { color: #999999; position: relative; top: 1px; left: 1px; text-decoration: none; text-shadow: 1px 1px 1px #f4f4f4; } hr { display:none; } * { color: #999999; cursor: url('https://miaoni.neocities.org/cursor_point3a.gif') 0 0, default; } /* 互動元素:連結、彈窗觸發圖、關閉鈕… → 手型游標 */ a[href], .popup-trigger, .close-btn, button, [role="button"], input[type="button"], input[type="submit"], #backToTopWrapper, /* 整個回頂端按鈕區 */ #backToTop { cursor: url('https://miaoni.neocities.org/cursor_hand1a.gif') 0 0, pointer !important; } /* 所有元素預設捲軸樣式(不含 div) */ *::-webkit-scrollbar { width: 1px; } *::-webkit-scrollbar-thumb { background-color: #FFF8F7; border-radius: 5px; } /* 只給 div 自訂圖案捲軸 */ div::-webkit-scrollbar { width: 17px; } div::-webkit-scrollbar-track { background-color: #fff; border-radius: 10px; box-shadow: inset 0 0 0 transparent; } div::-webkit-scrollbar-thumb { background-image: url("https://cbox.im/i/PTCUR.gif"); background-color: #fff; background-position: center; border-radius: 0px; box-shadow: none; border-radius: 5px; } .popup-trigger { transition: transform 0.3s ease; cursor: pointer; } .popup-trigger:hover { animation: cute-bounce 0.6s ease; transform: scale(1.2) rotate(10deg); } /* 彈窗外框 */ .popup { position: fixed; top: 200px; left: 200px; width: 280px; display: none; border: 3px solid #FFCAD3; border-radius: 20px; overflow: hidden; z-index: 9999; font-family: "Microsoft JhengHei", "Arial Rounded MT Bold", sans-serif; animation: popupBounce 0.4s ease; } /* 彈出動畫 */ @keyframes popupBounce { 0% { transform: scale(0.7); opacity: 0; } 60% { transform: scale(1.05); opacity: 1; } 100% { transform: scale(1); } } /* 標題列 */ .popup-header { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; background: #ffe4e9; border-radius: 17px 17px 0 0; cursor: move; } .popup-title { letter-spacing: 3px; font-size: 13px; color: #999; font-weight: bold; } /* 關閉按鈕 */ .popup-close { background: #ffb6c1; border: none; border-radius: 50%; width: 24px; height: 24px; cursor: pointer; font-size: 14px; line-height: 22px; color: white; transition: background 0.2s; } .popup-close:hover { background: #FFCCD3; transform: scale(1.2) rotate(10deg); } /* 內容 */ .popup-inner { padding: 10px; letter-spacing: 5px; text-align: center; font-size: 13px; background: #ffffff; line-height: 250%; overflow: auto; } .popup-inner textarea { border:none; width: 80px; /* 寬度,可用 class 或自訂調整 */ height: 18px; /* 高度 */ resize: none; /* 不允許調整大小 */ border-radius: 10px; /* 圓角 */ outline: none; /* focus 時不顯示 outline */ box-sizing: border-box; font-size: 7.5pt; font-family: Verdana, sans-serif; text-align: center; background-color: #ffffff; transition: border-color 0.2s, background-color 0.2s; spellcheck: false; /* HTML 屬性保留 */ } /* 滑鼠 hover 或 focus 效果 */ .popup-inner textarea:hover, .popup-inner textarea:focus { background-color: #FFF0F6; } #SubMenu2, #SubMenu3 { max-height: 0; overflow: hidden; transition: max-height 1.2s cubic-bezier(0.4, 0, 0.2, 1); /* 柔和彈性曲線 */ } #SubMenu2.active, #SubMenu3.active { max-height: 460px; /* 根據內容調整 */ } #SubMenu2 a:hover::before, #SubMenu2 a:hover::after { content: ""; display: inline-block; width: 16px; height: 16px; background-image: url('https://miaoni.neocities.org/enews_pic/sak.png'); background-size: contain; background-repeat: no-repeat; vertical-align: middle; } #SubMenu2 a:hover::before { margin-right: 6px; } #SubMenu2 a:hover::after { margin-left: 6px; } /* 1. 替換訪客回應按鈕 */ a[href*="aft=re"] img[src*="re.gif"] { display: none; /* 隱藏原本圖片 */ } a[href*="aft=re"]::after { content: "\1F4AC 回應"; display: inline-block; color: #999; font-family: Verdana; background-color: #f4f4f4; padding: 5px 5px; border-radius: 5px; margin:3px 10px; margin-bottom:15px; } /* 3. 替換觀看密語按鈕 */ a[href^="javascript:look"] img[src*="look.gif"] { display: none; } a[href^="javascript:look"]::after { content: "觀看密語"; display: inline-block; color: #999; font-family: Verdana; background-color: #f4f4f4; padding: 5px; border-radius: 5px; text-decoration: none; /* 取消連結下劃線 */ margin:0px 6px; margin-bottom:15px; } /* 4. 替換回留言板按鈕 */ a[href="/book.php?A=fed118216"] img[src="http://images.kikia.net/images/back.gif"] { display: none; } a[href="/book.php?A=fed118216"]::after { content: "\1F43E 回留言板"; display: inline-block; color: #999; font-family: Verdana; background-color: #f4f4f4; padding: 5px; border-radius: 5px; margin:0px 6px; margin-bottom:15px; } textarea[name="mess"] { color: #999 !important; letter-spacing: 1.3pt; margin: 5px 0px; } /* 直接套用所有 submit/reset/button */ input[type="submit"], input[type="reset"], input[type="button"] { background-color: #f9f9f9; color: #888; border: none; border-radius: 8px; padding: 4px 12px; font-size: 12px; cursor: pointer; transition: background 0.3s, transform 0.2s; margin: 5px 10px; } input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover { background-color: #f1f1f1; transform: translateY(-1px); } input[type="submit"]:active, input[type="reset"]:active, input[type="button"]:active { transform: translateY(1px); box-shadow: inset 0 0 3px rgba(0,0,0,0.2); }