版式:复古羊皮纸
:root { --primary-color: rgb(139, 90, 43); --secondary-color: rgb(107, 58, 42); --accent-color: rgb(160, 82, 45); --text-color: rgb(62, 39, 35); --link-color: rgb(139, 69, 19); --border-color: rgb(196, 164, 108); --bg-gradient: linear-gradient(135deg, rgb(245, 230, 200) 0%, rgb(232, 213, 168) 50%, rgb(240, 224, 184) 100%); } body { background: var(--bg-gradient); background-image: repeating-linear-gradient(45deg, rgba(160, 120, 70, 0.03) 0px, rgba(160, 120, 70, 0.03) 2px, transparent 2px, transparent 8px), radial-gradient(circle at 25% 40%, rgba(140, 90, 40, 0.05) 0%, transparent 50%); color: var(--text-color); font-family: 'Georgia', 'Times New Roman', '宋体', serif; } #main-content, .wiki-content-wrap { background: rgba(245, 230, 200, 0.92); box-shadow: 0 4px 20px rgba(60, 40, 20, 0.15), inset 0 1px 0 rgba(255, 245, 220, 0.8); border-radius: 8px; border: 1px solid var(--border-color); } h1, h2, h3, h4, h5, h6 { font-family: 'Cinema', 'Georgia', serif; color: var(--secondary-color); text-shadow: 1px 1px 0 rgba(180, 130, 80, 0.2); border-bottom: 1px dashed var(--border-color); padding-bottom: 8px; } h1:before, h2:before { content: "❦ "; color: var(--accent-color); font-size: 0.9em; } a { color: var(--link-color); text-decoration: none; border-bottom: 1px dotted rgba(139, 69, 19, 0.4); transition: all 0.2s ease; } a:hover { color: var(--secondary-color); border-bottom: 1px solid var(--accent-color); text-shadow: 0 0 2px rgba(160, 80, 40, 0.2); } .tabview { background: rgba(210, 180, 140, 0.15); border-radius: 8px; border: 1px solid var(--border-color); } .tabview .tabs { background: rgba(160, 120, 70, 0.2); border-bottom: 1px solid var(--border-color); } .tabview .tab { background: rgba(200, 170, 120, 0.3); border: 1px solid var(--border-color); border-bottom: none; border-radius: 6px 6px 0 0; font-family: 'Georgia', serif; } .tabview .tab.active { background: rgba(230, 200, 160, 0.6); border-bottom: 2px solid var(--accent-color); } .image-block { background: rgba(200, 170, 130, 0.2); border: 1px solid var(--border-color); border-radius: 4px; box-shadow: 2px 2px 8px rgba(60, 40, 20, 0.1); padding: 6px; } code, pre { background: rgba(160, 120, 70, 0.1); border: 1px solid rgba(160, 120, 70, 0.3); border-radius: 4px; font-family: 'Courier New', monospace; color: #5D3A1A; } .footer-wikiwalk-nav { background: rgba(160, 120, 70, 0.12); border: 1px solid var(--border-color); border-radius: 20px; padding: 8px 16px; } .retro-info { background: rgba(200, 170, 130, 0.15); border-left: 4px solid #8B5A2B; border-radius: 4px; padding: 12px 16px; margin: 16px 0; font-family: 'Georgia', serif; box-shadow: inset 0 0 0 1px rgba(255, 245, 220, 0.3), 0 2px 4px rgba(0,0,0,0.05); } .retro-warning { background: rgba(208, 17, 44, 0.08); border-left: 4px solid #D0112C; border-radius: 4px; padding: 12px 16px; margin: 16px 0; } .retro-quote { background: rgba(160, 120, 70, 0.08); border-left: 4px solid #A0522D; border-radius: 0 8px 8px 0; padding: 16px 20px; margin: 20px 0; font-style: italic; font-family: 'Georgia', serif; box-shadow: -2px 0 0 rgba(160, 120, 70, 0.3); } .retro-seal { background: rgba(180, 130, 80, 0.2); border: 1px solid #C4A46C; border-radius: 50px; padding: 6px 16px; display: inline-block; font-size: 0.85em; letter-spacing: 2px; font-family: 'Cinema', monospace; box-shadow: inset 0 0 0 1px rgba(255, 245, 220, 0.4); text-align: center; } .retro-divider { height: 2px; background: linear-gradient(90deg, transparent, #C4A46C, #8B5A2B, #C4A46C, transparent); margin: 24px 0; position: relative; } .retro-divider::before { content: "❦"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: #F5E6C8; padding: 0 12px; color: #8B5A2B; font-size: 14px; } .retro-border { border: 1px solid #C4A46C; border-radius: 12px; padding: 16px 20px; margin: 16px 0; background: rgba(245, 230, 200, 0.3); box-shadow: inset 0 0 0 1px rgba(255, 245, 220, 0.5), 0 2px 6px rgba(0,0,0,0.05); } .retro-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 20px 0; } .retro-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 20px 0; } .retro-grid-item { background: rgba(200, 170, 130, 0.08); border: 1px solid #C4A46C; border-radius: 8px; padding: 16px; } .retro-entry { background: rgba(180, 130, 80, 0.05); border-left: 3px solid #8B5A2B; padding: 12px 16px; margin: 12px 0; font-family: 'Courier New', monospace; font-size: 0.9em; } .retro-entry strong { color: #8B5A2B; display: block; margin-bottom: 8px; } .retro-note { background: rgba(255, 245, 200, 0.6); border: 1px dashed #C4A46C; border-radius: 4px; padding: 8px 12px; margin: 12px 0 12px 24px; font-size: 0.85em; font-style: italic; position: relative; } .retro-note::before { content: "☞"; position: absolute; left: -24px; top: 8px; color: #8B5A2B; } .retro-notice { background: rgba(255, 245, 200, 0.85); border-left: 4px solid #8B5A2B; border-radius: 4px; padding: 14px 18px; margin: 20px 0; font-family: 'Georgia', serif; box-shadow: 0 2px 8px rgba(100, 60, 30, 0.1); animation: fadeInDown 0.5s ease-out; position: relative; } .retro-notice::before { content: "📜"; position: absolute; left: -30px; top: 50%; transform: translateY(-50%); font-size: 20px; opacity: 0.6; } .retro-alert { background: rgba(208, 17, 44, 0.12); border: 2px solid #D0112C; border-radius: 8px; padding: 16px 20px; margin: 20px 0; font-family: 'Georgia', serif; font-weight: bold; box-shadow: 0 0 10px rgba(208, 17, 44, 0.2); animation: pulseFadeIn 0.6s ease-out; position: relative; } .retro-alert::before { content: "⚠️"; position: absolute; left: -15px; top: -10px; font-size: 24px; background: #F5E6C8; border-radius: 50%; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 3px rgba(0,0,0,0.2); } .retro-update { background: rgba(160, 120, 70, 0.1); border-left: 3px solid #A0522D; border-right: 1px solid rgba(160, 120, 70, 0.3); border-radius: 0 8px 8px 0; padding: 12px 18px; margin: 16px 0; font-family: 'Courier New', monospace; font-size: 0.9em; animation: slideInLeft 0.5s ease-out; position: relative; } .retro-update::before { content: "✦"; position: absolute; left: -12px; top: 50%; transform: translateY(-50%); color: #A0522D; font-size: 16px; } .retro-white { background: #FFFFFF; border-left: 4px solid #C4A46C; border-radius: 4px; padding: 16px 20px; margin: 20px 0; font-family: 'Georgia', serif; color: #3E2723; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.8); animation: fadeInUp 0.5s ease-out; position: relative; } .retro-white::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, #C4A46C, transparent); } .retro-white-center { background: #FFFFFF; border-left: 4px solid #C4A46C; border-radius: 4px; padding: 16px 20px; margin: 20px auto; font-family: 'Georgia', serif; color: #3E2723; text-align: center; max-width: 80%; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08); animation: fadeInUp 0.5s ease-out; } .retro-white-note { background: #FFFFFF; border: 1px dashed #C4A46C; border-radius: 8px; padding: 14px 18px; margin: 16px 0 16px 24px; font-family: 'Courier New', monospace; font-size: 0.9em; color: #5D3A1A; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); animation: fadeInRight 0.5s ease-out; position: relative; } .retro-white-note::before { content: "📝"; position: absolute; left: -30px; top: 50%; transform: translateY(-50%); font-size: 18px; } .retro-white-warning { background: #FFFFFF; border-left: 4px solid #D0112C; border-radius: 4px; padding: 14px 18px; margin: 16px 0; color: #8B3A2A; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06); animation: pulseWhite 0.6s ease-out; } @keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } } @keyframes pulseFadeIn { 0% { opacity: 0; transform: scale(0.95); } 50% { opacity: 0.8; transform: scale(1.02); } 100% { opacity: 1; transform: scale(1); } } @keyframes slideInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } } @keyframes fadeInUp { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } } @keyframes fadeInRight { from { opacity: 0; transform: translateX(15px); } to { opacity: 1; transform: translateX(0); } } @keyframes pulseWhite { 0% { opacity: 0; transform: scale(0.98); } 60% { opacity: 0.9; transform: scale(1.01); } 100% { opacity: 1; transform: scale(1); } }
