←用户:Qiuyin-spring tide/代码/fandom.css因为以下原因,您没有权限编辑该页面: 您请求的操作仅限属于这些用户组的用户执行:用户、管理员、行政员、editor 您可以查看和复制此页面的源代码。 #cosmos-banner { height: 46px; } #searchform { width: 20% !important; margin-left: auto !important; margin-right: 0 !important; } #searchform input, #searchInput { height: 26px; padding-left: 40px; /* 宽度(36px) + 额外呼吸空间 */ box-sizing: border-box; border-radius: 0 3px 3px 0; /* 只保留右侧圆角 */ background: #fff; color: #1e0c1b; } #cosmos-notification-icons { padding: 5px 5px 5px 0; } body .oo-ui-icon-bell, .mw-ui-icon-bell::before { background: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19.6' stroke='%23000' stroke-width='2.5px' fill='none' viewBox='0 0 28 28'%3e%3cpath d='M 2 21 L 6 15 L 6 10 A 5 5 180 0 1 22 10 L 22 15 L 26 21 Z M 18 21.5 A 4 4.5 180 0 1 10 21.5'/%3e%3c/svg%3e") no-repeat; background-size: cover; } body .oo-ui-icon-tray, .mw-ui-icon-tray::before { background: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19.6' stroke='%23000' stroke-width='2.5px' fill='none' viewBox='0 0 28 28'%3e%3cpath d='M 2 5 L 26 5 L 26 23 L 2 23 Z M 2 9 L 14 19 L 26 9 L 26 23 L 2 23 Z M 2 23 L 10 15 Z M 26 23 L 18 15 Z'/%3e%3c/svg%3e") no-repeat; background-size: cover; } body:not(.skin-vector-2022) #pt-notifications-alert .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read, body:not(.skin-vector-2022) #pt-notifications-notice .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read { opacity: 0.9; transform: scale(0.7); } #cosmos-notification-icons #pt-notifications-notice { padding-left: 0; } #p-search .cdx-button{ display: none; } .cosmos-bannerOption-icon svg { fill: none; stroke: #000; stroke-width: 3px; width: 20px; height: 20px; transform: none; /* 去掉 scale */ } #simpleSearch { position: relative; } #cosmos-search-buttonContainer { position: absolute; left: 0; /* 紧贴输入框最左侧 */ top: 50%; transform: translateY(-50%); z-index: 3; /* 在输入框上方 */ height: 26px; /* 与输入框高度一致 */ width: 36px; /* 足够容纳图标并留出间距 */ background: #fff; /* 与输入框背景相同 */ border-radius: 3px 0 0 3px; /* 左侧圆角,右侧直角与输入框拼接 */ display: flex; align-items: center; justify-content: center; border: none; padding: 0; cursor: pointer; } /* 4. 给输入框左侧留出图标的空间 */ #searchInput { padding-left: 36px; /* 20px(图标宽) + 10px(左边距) + 6px(间距),按需微调 */ box-sizing: border-box; } 返回用户:Qiuyin-spring tide/代码/fandom.css。