版式:巨人研究所
此版式由 aircraft beeeee 为 巨人研究所 制作。
若需将本版式引入到你的页面中,请将以下文本放到任意位置:
[[include :giantfansites:theme:gri]]
示例
Zone-∞
可通过五个连字符“-----”创建水平分割线。若它未被放在其他部件(诸如引用块)中,则会左右延伸贯穿页面。这种将文件分割为多个部分的线就是分割线。
标题可通过在一行字起始处输入 1 至 6 个加号“+”来创建。
此为分页(tab view)。
看,这有更多文字。
多么精巧绝伦。
这是一个长的 tab,它有很多文字。
这是一个长的 tab,它有很多文字。
这是一个长的 tab,它有很多文字。
这是一个长的 tab,它有很多文字。
这是一个长的 tab,它有很多文字。
这是一个长的 tab,它有很多文字。
这是一个长的 tab,它有很多文字。
这是一个长的 tab,它有很多文字。
这是一个长的 tab,它有很多文字。
这是一个长的 tab,它有很多文字。
这是一个长的 tab,它有很多文字。
这是一个长的 tab,它有很多文字。
这是一个引用块,在一行字的起始处加上“> ”来创建。
更多文字
一条分割线
嵌套引用块
| 这是 | 表格 |
|---|---|
| 你应该老早 | 就知道怎么 |
| 做这个了吧 | |
脚1
这段文本
放在这里
你们就能
看到不同
格式以及
其它东西
看起来是
怎么运作
包括那些不存在
以及存在的链接!
[[div class="lightblock"]]
[[/div]]
[[div class="darkblock"]]
[[/div]]
[[div class="styled-quote"]]
[[/div]]
[[div class="dark-styled-quote"]]
[[/div]]
:root { --fade-in-delay: 0.1s; --anim-duration: 0.6s; --anim-ease: ease-out; --theme-base: "black-highlighter"; --theme-id: "gri-dark"; --theme-name: "巨人研究所"; --logo-image: url("http://brsandbox-pro.wikidot.com/local--files/simage/gri_logo.png"); --header-title: "巨人研究所"; --header-subtitle: "科学至上"; --body-font: 'Share Tech Mono', 'Fira Code', '仓耳渔阳体W03', monospace; --header-font: 'Orbitron', 'Dotted Songti Square', 'Noto Sans SC', sans-serif; --title-font: 'Orbitron', 'Dotted Songti Square', 'Noto Sans SC', sans-serif; --mono-font: 'Share Tech Mono', 'Fira Code', '仓耳渔阳体W03', monospace; /* 主色调 —— 更深邃的暗色背景,强对比橙/青点缀 */ --white-monochrome: 220, 215, 205; --pale-gray-monochrome: 170, 165, 155; --light-gray-monochrome: 110, 105, 100; --gray-monochrome: 55, 50, 45; --black-monochrome: 8, 10, 14; /* 更深的底色 */ --bright-accent: 220, 140, 70; /* 木星橙 */ --medium-accent: 170, 80, 45; --dark-accent: 70, 40, 35; --pale-accent: 200, 170, 130; --custom-text: 190, 180, 170; --tech-cyan: 60, 160, 190; /* 补充主题文字变量 */ --swatch-text-dark: var(--custom-text); --swatch-text-light: var(--bright-accent); --swatch-important-text: var(--bright-accent); --barColour: var(--light-gray-monochrome); --linkColour: var(--pale-accent); } /* ========== 基础动画定义 ========== */ @keyframes fadeInUp { 0% { opacity: 0; } 100% { opacity: 1; } } /* ========== 页面整体背景:深邃暗色 + 静态网格 ========== */ body { background-color: rgb(5, 6, 10) !important; } #page-content { background-color: rgba(8, 10, 14, 0.6); background-image: radial-gradient(circle, rgba(var(--bright-accent), 0.05) 1px, transparent 1px), radial-gradient(circle at 30% 40%, rgba(var(--bright-accent), 0.06) 0%, transparent 60%), radial-gradient(circle at 70% 80%, rgba(var(--tech-cyan), 0.05) 0%, transparent 50%); background-size: 24px 24px, 100% 100%, 100% 100%; } /* ========== 渐显动画:仅透明度,不影响布局 ========== */ #page-content > * { animation-name: fadeInUp; animation-duration: var(--anim-duration); animation-timing-function: var(--anim-ease); animation-fill-mode: both; animation-iteration-count: 1; } #page-content > :nth-child(1) { animation-delay: calc(1 * var(--fade-in-delay)); } #page-content > :nth-child(2) { animation-delay: calc(2 * var(--fade-in-delay)); } #page-content > :nth-child(3) { animation-delay: calc(3 * var(--fade-in-delay)); } #page-content > :nth-child(4) { animation-delay: calc(4 * var(--fade-in-delay)); } #page-content > :nth-child(5) { animation-delay: calc(5 * var(--fade-in-delay)); } #page-content > :nth-child(6) { animation-delay: calc(6 * var(--fade-in-delay)); } #page-content > :nth-child(7) { animation-delay: calc(7 * var(--fade-in-delay)); } #page-content > :nth-child(8) { animation-delay: calc(8 * var(--fade-in-delay)); } #page-content > :nth-child(9) { animation-delay: calc(9 * var(--fade-in-delay)); } #page-content > :nth-child(10) { animation-delay: calc(10 * var(--fade-in-delay)); } #page-content > :nth-child(11) { animation-delay: calc(11 * var(--fade-in-delay)); } #page-content > :nth-child(12) { animation-delay: calc(12 * var(--fade-in-delay)); } #page-content > :nth-child(13) { animation-delay: calc(13 * var(--fade-in-delay)); } #page-content > :nth-child(14) { animation-delay: calc(14 * var(--fade-in-delay)); } #page-content > :nth-child(15) { animation-delay: calc(15 * var(--fade-in-delay)); } #page-content > :nth-child(n+15) { animation-delay: calc(16 * var(--fade-in-delay)); } /* ========== 标题颜色与光效 ========== */ h1 { color: rgb(var(--bright-accent)); } h2 { color: rgb(var(--pale-accent)); } h3, h4, h5, h6 { color: rgb(var(--custom-text)); } h1, h2, h3, h4, h5, h6 { font-family: 'Orbitron', 'Dotted Songti Square', 'Noto Sans SC', sans-serif; letter-spacing: 0.04em; } /* ========== 自定义引用块 ========== */ blockquote, .blockquote { position: relative; overflow: hidden; background: rgba(20, 25, 32, 0.7); border-left: 4px solid rgb(var(--bright-accent)); padding: 0.8rem 1.2rem 0.8rem 1.6rem; border-radius: 0 8px 8px 0; box-shadow: inset 0 0 30px rgba(var(--bright-accent), 0.04), 0 0 20px rgba(var(--bright-accent), 0.03); } /* ========== 表格 ========== */ table.wiki-content-table td, table.wiki-content-table th { border: 1px solid rgba(var(--medium-accent), 0.4); transition: background 0.3s, box-shadow 0.3s, border-color 0.3s; } table.wiki-content-table th { background: rgba(var(--dark-accent), 0.3); color: rgb(var(--pale-accent)); } table.wiki-content-table tr:hover td { background: rgba(var(--bright-accent), 0.08); box-shadow: inset 0 0 20px rgba(var(--bright-accent), 0.08); border-color: rgba(var(--bright-accent), 0.4); } /* ========== 脚注 ========== */ .footnote { color: rgb(var(--pale-accent)); font-size: 0.85em; } /* ========== 分页标签 ========== */ .tabview .tabview-tabs .tab { position: relative; overflow: hidden; background: rgba(var(--dark-accent), 0.5); color: rgb(var(--white-monochrome)); border: 1px solid rgba(var(--medium-accent), 0.25); border-bottom: none; font-family: 'Orbitron', 'Noto Sans SC', sans-serif; letter-spacing: 0.04em; text-transform: uppercase; transition: background 0.3s, color 0.3s, box-shadow 0.3s, border-color 0.3s; } .tabview .tabview-tabs .tab.selected { background: rgba(var(--bright-accent), 0.15); color: rgb(var(--bright-accent)); border-color: rgb(var(--bright-accent)); box-shadow: 0 -2px 12px rgba(var(--bright-accent), 0.08); } /* ========== 块级元素 ========== */ .darkblock, .lightblock, .styled-quote, .dark-styled-quote { transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; } .darkblock { background: rgba(15, 20, 28, 0.7); border-radius: 6px; padding: 0.8rem 1.2rem; border: 1px solid rgba(var(--medium-accent), 0.15); } .lightblock { background: rgba(var(--pale-accent), 0.06); border-radius: 6px; padding: 0.8rem 1.2rem; border: 1px solid rgba(var(--pale-accent), 0.08); } .styled-quote { background: rgba(var(--bright-accent), 0.04); border-left: 4px solid rgb(var(--bright-accent)); padding: 0.8rem 1.2rem; border-radius: 0 6px 6px 0; } .dark-styled-quote { background: rgba(var(--dark-accent), 0.35); border-left: 4px solid rgb(var(--pale-accent)); padding: 0.8rem 1.2rem; border-radius: 0 6px 6px 0; } .darkblock:hover, .lightblock:hover, .styled-quote:hover, .dark-styled-quote:hover { transform: translateY(-3px); box-shadow: 0 0 40px rgba(var(--bright-accent), 0.12), 0 10px 30px rgba(0, 0, 0, 0.4); border-color: rgba(var(--bright-accent), 0.5); } /* ========== 评级模块 ========== */ .rate-box .rate-points { color: rgb(var(--pale-accent)); } .rate-box .rate-button { position: relative; overflow: hidden; color: rgb(var(--bright-accent)); transition: all 0.3s; } .rate-box .rate-button:hover { color: rgb(var(--tech-cyan)); } /* ========== 链接 ========== */ #page-content a { position: relative; text-decoration: none; transition: color 0.3s, text-shadow 0.3s; } #page-content a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.3s var(--anim-ease); } #page-content a:hover::after { transform: scaleX(1); transform-origin: left; } a:visited { color: rgb(150, 130, 120); } a:hover { color: rgb(var(--tech-cyan)); text-shadow: 0 0 16px rgba(var(--tech-cyan), 0.25); } /* ========== 侧边栏 ========== */ #side-bar .side-block { background: rgba(15, 20, 28, 0.7); border-color: rgba(var(--medium-accent), 0.2); transition: border-color 0.3s, box-shadow 0.3s; } #side-bar .side-block:hover { border-color: rgba(var(--bright-accent), 0.4); box-shadow: 0 0 20px rgba(var(--bright-accent), 0.06); } #side-bar .heading { color: rgb(var(--bright-accent)); font-family: 'Orbitron', 'Noto Sans SC', sans-serif; letter-spacing: 0.06em; } /* ========== 图片块 ========== */ .image-block img { border: 1px solid rgba(var(--medium-accent), 0.3); box-shadow: 0 0 30px rgba(var(--bright-accent), 0.05); transition: box-shadow 0.4s, border-color 0.4s, transform 0.4s; } .image-block:hover img { border-color: rgba(var(--bright-accent), 0.6); box-shadow: 0 0 45px rgba(var(--bright-accent), 0.18), 0 0 90px rgba(var(--tech-cyan), 0.08); transform: scale(1.01); } .image-block .image-caption { color: rgb(var(--pale-accent)); border-top: 1px solid rgba(var(--bright-accent), 0.2); font-family: 'Share Tech Mono', monospace; } /* ========== 水平分割线 ========== */ hr { border: none; height: 1px; background: linear-gradient(to right, transparent, rgba(var(--bright-accent), 0.5), rgba(var(--tech-cyan), 0.3), rgba(var(--bright-accent), 0.5), transparent); margin: 1.5rem 0; box-shadow: 0 0 20px rgba(var(--bright-accent), 0.05); } /* ========== 代码块 ========== */ code, .code { background: rgba(15, 20, 28, 0.8); color: rgb(var(--pale-accent)); border-radius: 4px; padding: 0.1rem 0.4rem; border: 1px solid rgba(var(--medium-accent), 0.1); transition: border-color 0.3s, box-shadow 0.3s; } code:hover, .code:hover { border-color: rgba(var(--bright-accent), 0.4); box-shadow: 0 0 16px rgba(var(--bright-accent), 0.06); } /* ========== 折叠块链接 ========== */ .collapsible-block .collapsible-block-link { color: rgb(var(--bright-accent)); font-family: 'Orbitron', 'Noto Sans SC', sans-serif; letter-spacing: 0.04em; transition: color 0.3s, text-shadow 0.3s; } .collapsible-block .collapsible-block-link::before { content: "▸ "; color: rgb(var(--tech-cyan)); } .collapsible-block .collapsible-block-link:hover { color: rgb(var(--tech-cyan)); text-shadow: 0 0 12px rgba(var(--tech-cyan), 0.3); } /* ========== 页脚 ========== */ #footer { border-top: 1px solid rgba(var(--medium-accent), 0.15); color: rgb(var(--pale-accent)); font-family: 'Share Tech Mono', monospace; } /* ========== 按钮 ========== */ .btn, .button { position: relative; overflow: hidden; background: rgba(var(--bright-accent), 0.08); border: 1px solid rgba(var(--bright-accent), 0.2); color: rgb(var(--bright-accent)); transition: all 0.2s; } .btn:hover, .button:hover { background: rgba(var(--bright-accent), 0.15); border-color: rgb(var(--bright-accent)); box-shadow: 0 0 24px rgba(var(--bright-accent), 0.06); } /* ========== 硬边风格 ========== */ #page-content .block, #page-content .darkblock, #page-content .lightblock { border-radius: 4px; } blockquote, .blockquote { border-radius: 0 4px 4px 0; } /* ========== 滚动条 ========== */ ::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-track { background: rgba(15, 20, 28, 0.9); border-left: 1px solid rgba(var(--medium-accent), 0.2); } ::-webkit-scrollbar-thumb { background: linear-gradient(135deg, rgb(var(--medium-accent)), rgb(var(--tech-cyan))); border-radius: 0; box-shadow: 0 0 10px rgba(var(--tech-cyan), 0.3); } ::-webkit-scrollbar-thumb:hover { background: rgb(var(--bright-accent)); } /* ========== 选中文本 ========== */ ::selection { background: rgba(var(--bright-accent), 0.35); color: rgb(var(--white-monochrome)); text-shadow: 0 0 8px rgba(var(--bright-accent), 0.4); } /* ========== 禁用滚动锚定 ========== */ html, body { overflow-anchor: none !important; scroll-behavior: auto !important; } /* ========== 降低动画偏好 ========== */ @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } } /* ========== 修复暗色背景下文字颜色 ========== */ #page-content { color: rgb(var(--custom-text)) !important; } h1, h2, h3, h4, h5, h6 { color: rgb(var(--custom-text)) !important; } h1 { color: rgb(var(--bright-accent)) !important; } h2 { color: rgb(var(--pale-accent)) !important; } #side-bar, #top-bar, #header { color: rgb(var(--white-monochrome)) !important; } a { color: rgb(var(--pale-accent)) !important; } a:visited { color: rgb(150, 130, 120) !important; } /* ========== 木星质感增强 ========== */ #page-content { background-image: radial-gradient(circle, rgba(var(--bright-accent), 0.05) 1px, transparent 1px), radial-gradient(circle at 30% 40%, rgba(var(--bright-accent), 0.06) 0%, transparent 60%), radial-gradient(circle at 70% 80%, rgba(var(--tech-cyan), 0.05) 0%, transparent 50%), linear-gradient(135deg, rgba(140, 70, 35, 0.12), rgba(25, 12, 8, 0.2)); background-size: 24px 24px, 100% 100%, 100% 100%, 100% 100%; } #page-content { position: relative; } #page-content::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; background: radial-gradient(ellipse at 25% 15%, rgba(220, 140, 70, 0.08), transparent 55%), radial-gradient(ellipse at 75% 55%, rgba(170, 80, 45, 0.06), transparent 50%), radial-gradient(ellipse at 45% 85%, rgba(60, 160, 190, 0.05), transparent 45%), repeating-linear-gradient( to bottom, transparent 0px, transparent 4px, rgba(255, 170, 110, 0.02) 4px, rgba(255, 170, 110, 0.02) 5px ); mix-blend-mode: overlay; } #page-content > * { position: relative; z-index: 1; }
脚注
1. 注

