全新氖蓝
博客总数
貼文總數
ブログ数
number of blogs
网站积分
網站積分
スコア
Score
创建时间
創建時間
作成時間
Date
正文:
正文:
Content :
依然存在海量bug,移动端几乎不适配,只是半成品,这个版式其实是打算给奈版作为第三套版式的,不过ai完还得让技术云员看一下
目前来说,现在只是优化了氖蓝结构,然后加了个动画,不过我打算给顶栏加一个框并且优化一下按钮
之后将正文盒模型收窄一下
修复了头像,然后几乎没有动过其他的
于是我们现在得到了相对没那么石山的,几乎没太大变化的版式
我需要测试之前的奈版版式
相对来说,只是简单的优化了一下,其他部分的表现我暂时不敢动,因为氖蓝版式不知道为什么一动顶栏就会出问题,不过万圣节版式是适配的
添加了一个duangduang的动画但是表现不佳,所以我选择删除
[[module css]]
/* Netboard 主题样式/原始设计:OxygenNine/整理:合并重复规则、修复断裂语法、统一变量与媒体查询/修改:Deepseek */
@import url('https://netboard.wikidot.com/local--files/css/MontserratAlternates-SemiBold.otf');
/* ---------- 变量 ---------- */
:root {
--themeColor: #0039E6;
--lightColor: #E2E2E2;
--lighterColor: #F2F2F2;
--exLighterColor: #FFF;
--darkColor: #222;
--darkerColor: #A9A9A9;
--exDarkerColor: #000;
--textColor: #222;
--titleColor: #444;
}
/* ---------- 动画关键帧 ---------- */
@keyframes c-blink {
0% {}
50% { color: transparent; }
100% {}
}
@keyframes rise-in {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: none; }
}
@keyframes fade-in {
from { opacity: 0; }
to { opacity: 1; }
}
/* ---------- 全局基础 ---------- */
body {
color: var(--textColor);
font-family: 'Noto Sans SC', sans-serif;
background-color: var(--lightColor);
overflow-wrap: break-word;
word-break: break-word;
}
a {
color: var(--themeColor);
text-decoration: none;
transition: color 0.3s, background 0.3s;
}
a:hover {
color: #fff;
background-color: var(--themeColor);
}
a.newpage {
color: #888;
}
h1, h2, h3, h4, h5, h6 {
font-family: '思源黑体';
font-weight: 900;
}
h1, h2, h3 {
color: var(--titleColor);
}
h1 {
border-bottom: 1px dotted #AAA;
}
/* ---------- 页面框架 ---------- */
#container {
margin: 0;
}
#content-wrap {
margin: 0.8em 1.5em;
}
#main-content {
box-sizing: border-box;
padding: 0.4em 0.9em 0.8em;
background: var(--lighterColor);
border: solid 2px #bfbfbf;
box-shadow: 1px 5px 10px rgb(0 0 0 / 20%);
animation: fade-in 0.6s ease-out 0.3s both;
}
#page-title {
color: var(--darkColor);
font-size: 240%;
font-family: '思源黑体';
font-weight: 900;
border-bottom: solid 2px #CCC;
padding-bottom: 0.2em;
animation: rise-in 0.45s ease-out 0.24s both;
}
#page-title::before {
color: var(--themeColor);
animation: c-blink 1.3s infinite;
content: '>';
}
div#main-content div.nav-computer > div {
float: right;
width: fit-content;
padding: 0 1em;
margin: 1em 0 1em 1em;
border-left: none;
background-color: var(--lighterColor);
border-right: solid 3px #BBB;
position: relative;
box-shadow: 0 0 5px rgb(0 0 0 / 20%);
}
/* ---------- 页眉 ---------- */
#header {
background: none;
background-size: 6rem;
height: 9em;
border-bottom: 3px solid #707080;
}
#header h1 {
padding-top: 0.9em;
text-align: center;
font-size: 3em;
border: none;
position: relative;
margin: 0 auto;
width: auto;
animation: rise-in 0.5s ease-out both;
}
#header h2 {
text-align: center;
font-size: 1.5em;
color: var(--darkColor);
font-family: 'Consolas';
width: auto;
animation: rise-in 0.5s ease-out 0.12s both;
}
#header h1 a {
color: var(--themeColor);
font-family: 'Montserrat';
transition: font-size 0.4s;
}
#header h1 a:hover {
background: none;
color: var(--themeColor);
font-size: 120%;
}
#header-extra-div-1 {
position: absolute;
top: 0;
left: 0;
right: 0;
width: 100%;
height: 2em;
}
#header-extra-div-1,
#footer {
background-image: linear-gradient(
45deg,
var(--themeColor),
color-mix(in srgb, var(--themeColor), #fff 40%)
);
}
div#extra-div-1 {
height: 134px;
width: 100%;
top: 0;
position: absolute;
background: url(https://netboard.wikidot.com/local--files/css/netboard);
background-size: 7em;
background-repeat: no-repeat;
background-position: 50% 50%;
z-index: -6;
opacity: 0.25;
}
/* 登录状态 / 账户选项 */
#header #login-status,
#login-status a {
color: #EEE;
font-weight: bold;
}
#login-status {
top: 3px;
}
#login-status .printuser a {
display: none;
}
#login-status a:hover {
background-color: #A0A0B2;
}
#account-options a,
#account-options,
a#account-topbutton {
color: #333;
font-weight: normal;
}
#account-options a:hover {
background-color: #EEE;
}
/* ---------- 顶栏 ---------- */
#top-bar {
right: 10em;
}
#top-bar ul li a:hover {
background-color: var(--themeColor);
}
#top-bar .nav-phone p {
height: 0;
margin: 0;
}
.yui-nav li a {
transition: none;
}
/* ---------- 侧栏 ---------- */
#side-bar {
background-color: var(--lighterColor);
border-top: 5px solid var(--darkerColor);
border-bottom: 5px solid var(--darkerColor);
top: 20px;
box-shadow: 0 0 15px rgb(0 0 0 / 20%);
}
#side-bar h1,
#side-bar h2,
#side-bar h3 {
border-bottom: 1px dotted #777;
}
#side-bar h1 { font-size: 170%; }
#side-bar h2 { font-size: 150%; }
#side-bar h3 { font-size: 120%; }
#side-bar ul {
display: block;
padding: 0;
list-style: none;
}
#side-bar ul li {
display: block;
}
#side-bar ul li a {
display: block;
}
#side-bar li ul {
border-left: 5px solid var(--lightColor);
margin-top: auto;
padding-left: 3px;
}
#side-bar a:hover {
background-color: var(--themeColor);
}
#side-bar ul li.folded > a::after {
content: "▾";
}
#side-bar ul li.unfolded > a::after {
content: "▴";
}
/* ---------- 页脚 ---------- */
#footer {
background-color: #707080;
color: #EEE;
}
#footer a {
color: #EEF;
}
#footer a:hover {
background-color: #669;
}
#page-info {
color: #555;
}
#page-info-break {
clear: inline-end;
}
/* ---------- 按钮 / 表单 / 弹窗 ---------- */
.page-options-bottom {
margin: 4px 0;
text-align: right;
height: 1%;
line-height: 230%;
}
.page-options-bottom a {
text-decoration: none;
background-color: var(--exLighterColor);
color: var(--themeColor);
}
.page-options-bottom a:hover {
background-color: #DDD;
color: var(--themeColor);
}
a.action-area-close {
color: #224;
background-color: #EEE;
text-decoration: none;
}
div.buttons input,
input.button,
button,
file,
a.button,
.owindow .button-bar a {
background-color: #F4F4F4;
border: 1px solid #AAA;
color: #020250;
}
div.buttons input:hover,
input.button:hover,
button:hover,
a.button:hover,
.owindow .button-bar a:hover {
background-color: #DDD;
color: #020250;
}
div.buttons input,
input.button,
button,
file,
a.button,
.owindow .button-bar a {
background-color: var(--exLighterColor);
color: var(--themeColor);
}
div.buttons input:hover,
input.button:hover,
button:hover,
a.button:hover,
.owindow .button-bar a:hover {
color: var(--themeColor);
}
.button,
.page-options-bottom .btn {
border: solid var(--darkerColor) 0.1px;
border-radius: 1em;
padding: 0 5px;
box-shadow: 0 1px 3px var(--darkerColor), 0 -1px 3px var(--exLighterColor);
}
.buttons .btn {
width: 7em;
display: inline;
}
div.buttons.alignleft {
text-align: center;
}
.owindow {
background: var(--lightColor);
}
.owindow .title {
background-color: var(--exLighterColor);
}
div#discuss-button-hovertip {
background: var(--exLighterColor);
}
input#edit-page-title {
max-width: 70vw;
}
input#np-title,
input.text,
textarea,
blockquote,
.code {
background-color: var(--exLighterColor);
}
form {
word-break: auto-phrase;
}
/* ---------- 评分组件 ---------- */
.page-rate-widget-box {
filter: drop-shadow(6px 2px 4px rgba(0, 0, 0, 0.2));
}
.page-rate-widget-box .rate-points {
background-color: #fff;
color: #000;
font-weight: bold;
padding: 0 6px;
border-radius: 8px 0 0 8px;
}
.page-rate-widget-box .cancel,
.page-rate-widget-box .cancel a {
border-radius: 0 8px 8px 0;
background: #c4c4c4;
}
span.rateup a:hover { background: #00E639; }
span.ratedown a:hover { background: #E60039; }
/* ---------- 评论 / 论坛 ---------- */
div.post-container {
margin-top: 1em;
border-left: solid 3px var(--lightColor);
}
.thread-container .post {
padding: 10px 0 10px 8px;
width: 99%;
margin-top: 0.3em;
}
.thread-container .post .head {
padding: 0.5em 0.9em;
background-color: var(--lightColor);
color: var(--darkColor);
border-radius: 1em;
box-shadow: 0 0 8px rgb(0 0 0 / 20%);
}
#thread-container-posts {
border-top: dashed 4px var(--themeColor);
}
.forum-group div.head {
background-color: #727280;
color: #FFF;
}
.thread-container .post .options a,
.thread-container .post .long .changes a,
.thread-container .post .short .options {
color: #727290;
}
#action-area .page-source,
#recent-posts-container .post .content {
overflow-wrap: break-word;
word-break: break-word;
}
/* ---------- 代码高亮 ---------- */
.hl-code,
.hl-identifier,
.hl-brackets {
color: var(--textColor);
}
.hl-special,
.hl-string {
color: var(--darkColor);
}
/* ---------- 自定义组件 ---------- */
.tag {
padding: 0 5px;
border: solid 1.5px;
border-radius: 10px;
width: fit-content;
height: fit-content;
box-shadow: 0 0 2px 0;
text-shadow: 0 0 1px;
}
.tag p {
margin: 0;
}
.tip {
width: fit-content;
height: auto;
border-style: dashed;
border-color: var(--lightColor);
padding: 0 5px;
border-radius: 5px;
overflow: auto !important;
text-align: center;
max-width: 200px !important;
max-height: 100px !important;
}
.tip::-webkit-scrollbar {
width: 3px;
}
.tip * {
margin: 0;
position: relative !important;
}
span.no-user {
display: none;
}
span.no-user-text {
display: unset !important;
}
.keyboard {
border-style: outset;
border-color: var(--lightColor);
background-color: var(--lighterColor);
border-width: 2px 2px 3px 2px;
border-radius: 3px;
display: inline-block;
min-width: 14px;
padding: 0 3px;
text-align: center;
transition: background-color 0.2s;
width: fit-content;
height: fit-content;
}
.keyboard:hover {
border-style: inset;
background-color: var(--lightColor);
transition: background-color 0.2s;
}
.keyboard a,
.keyboard a:hover {
color: unset;
background: unset;
}
/* ---------- 滚动条(Chrome 内核) ---------- */
::-webkit-scrollbar {
width: 4px;
background-color: var(--lighterColor);
}
::-webkit-scrollbar-thumb {
min-height: 5px;
min-width: 5px;
border-radius: 20px;
border: 1px solid color-mix(in srgb, var(--themeColor), #000 10%);
background-color: color-mix(in srgb, var(--themeColor), #fff 20%);
}
::-webkit-scrollbar-thumb:hover {
min-height: 4px;
min-width: 4px;
border-radius: 20px;
background-color: var(--themeColor);
}
::-webkit-scrollbar-thumb:active {
border-radius: 20px;
background-color: color-mix(in srgb, var(--themeColor), #000 20%);
}
/* ---------- 关闭菜单遮罩 ---------- */
.close-menu img {
display: none;
}
/* =============================================================
响应式
============================================================= */
/* 桌面 */
@media (min-width: 767px) {
.c * {
display: none;
}
#side-bar {
position: sticky;
top: 0;
max-height: 100vh;
overflow-y: auto;
}
}
/* 移动端 */
@media (max-width: 767px) {
.p * {
display: none;
}
/* 正文盒模型收紧 */
#main-content {
padding: 0.4em 0.6em;
}
/* 顶栏与搜索 */
#top-bar {
right: 0;
width: 100%;
}
#top-bar ul {
float: right;
}
#top-bar li ul {
position: absolute;
right: unset;
}
#top-bar ul:first-of-type :is(li:nth-last-of-type(1), li:nth-last-of-type(2)) ul {
position: absolute;
right: 0;
}
#search-top-box {
position: absolute;
left: 0;
top: 3px;
z-index: 10;
}
/* 页眉 / 内容 */
#header {
height: 140px;
}
#content-wrap {
margin-left: 0;
margin-right: 0;
max-width: 100%;
}
#main-content {
margin-left: 0;
}
#page-version-info {
max-width: 98%;
height: 200%;
}
/* 移动端侧栏 */
#side-bar {
position: fixed;
top: 0;
left: -37em;
width: 17em;
height: 100%;
overflow: auto;
z-index: 30;
transition: left 0.5s;
}
#side-bar:target {
display: block;
left: 0;
width: 50%;
z-index: 30;
background-size: contain;
}
#side-bar:target a.close-menu {
left: calc(50% + 25px);
padding-right: 50%;
transition: left 0.5s ease, padding-right 1s;
}
#side-bar a.close-menu {
top: 0;
text-align: center;
padding: 40vh 0 60vh;
backdrop-filter: brightness(0.9) blur(2px);
position: fixed;
left: -4em;
transition: left 0.25s, padding-right 0.4s;
}
#side-bar a.close-menu span {
position: absolute;
left: -13px;
opacity: 0.7;
}
#side-bar a.close-menu:hover {
background-color: unset;
color: var(--themeColor);
backdrop-filter: brightness(0.95) blur(1px);
}
/* 开侧栏按钮 */
#top-bar .open-side {
position: fixed;
top: 3rem;
left: 1rem;
border: 2px solid var(--darkerColor, #a9a9a9);
border-radius: 45%;
backdrop-filter: brightness(1.1) blur(1px);
font-weight: 900;
height: 40px;
width: 40px;
line-height: 40px;
text-align: center;
}
#top-bar .open-side a {
display: block;
height: 40px;
width: 40px;
font-size: 25px;
color: color-mix(in srgb, var(--themeColor, navy) 85%, transparent);
}
#top-bar .open-side a:hover {
background-color: unset;
text-decoration: none;
color: var(--themeColor);
}
#top-bar:target .open-side {
left: -5rem;
}
#top-bar .open-side:hover {
background-color: unset;
backdrop-filter: brightness(3) blur(2px);
text-decoration: none;
}
.open-side br {
display: none;
}
/* 弹窗 */
.owindow {
max-height: 80%;
left: 10% !important;
width: 80% !important;
overflow-x: hidden;
}
.owindow table td {
display: table-row;
word-break: break-word;
}
.owindow h1 {
display: block;
width: 100%;
}
.owindow .content > img {
display: block;
float: unset !important;
}
.owindow .button-bar {
position: absolute;
top: -5px;
right: -20px;
}
#edit-page-form :is(tr, tbody, table, td, textarea) {
display: block;
max-width: 100%;
}
}
/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
#header h1,
#header h2,
#page-title,
#main-content {
animation: none;
}
#page-title::before {
animation: none;
}
}
/* 桌面:正文收窄 宽度并居中 */
@media (min-width: 767px) {
#main-content {
width: 75%;
margin-left: auto;
margin-right: auto;
}
}
/* 正文盒模型水平居中(移动端/默认) */
#main-content {
margin-left: auto;
margin-right: auto;
}
@media (max-width: 767px) {
#main-content {
margin-left: auto;
margin-right: auto;
}
}
@media (min-width: 767px) {
/* 固定侧栏宽度,作为居中计算的基准(与移动端一致) */
#side-bar {
width: 17em;
}
#main-content {
width: 75%;
/* 左边缘 = 侧栏半宽 8.5em + 剩余空间居中偏移 (100% - 75%)/2 = 12.5% */
margin-left: calc(8.5em + 12.5%);
margin-right: auto;
}
}
/* =============================================================
优化补丁:按钮 / 评论区
============================================================= */
/* ---------- 按钮 ---------- */
div.buttons input,
input.button,
button,
a.button,
.owindow .button-bar a,
.page-options-bottom a {
border-radius: 0.6em;
cursor: pointer;
transition: background-color 0.2s, color 0.2s,
box-shadow 0.2s, transform 0.1s;
}
div.buttons input:hover,
input.button:hover,
button:hover,
a.button:hover,
.owindow .button-bar a:hover,
.page-options-bottom a:hover {
box-shadow: 0 2px 6px rgb(0 0 0 / 20%);
transform: translateY(-1px);
}
div.buttons input:active,
input.button:active,
button:active,
a.button:active {
transform: translateY(0);
box-shadow: inset 0 1px 3px rgb(0 0 0 / 20%);
}
div.buttons input:focus-visible,
input.button:focus-visible,
button:focus-visible,
a.button:focus-visible {
outline: 2px solid var(--themeColor);
outline-offset: 2px;
}
/* 底部操作栏按钮间距 */
.page-options-bottom a {
padding: 0.15em 0.6em;
margin-left: 0.25em;
}
/* ---------- 评论区 ---------- */
div.post-container {
border-left: 3px solid color-mix(in srgb, var(--themeColor), #fff 75%);
padding-left: 0.8em;
transition: border-color 0.3s;
}
div.post-container:hover {
border-left-color: var(--themeColor);
}
/* 头部圆角统一,hover 轻微浮起 */
.thread-container .post .head {
border-radius: 0.6em;
transition: box-shadow 0.25s, background-color 0.25s;
}
.thread-container .post:hover > .head {
box-shadow: 0 2px 12px rgb(0 0 0 / 18%);
}
/* 正文行距与内边距 */
.thread-container .post .content {
padding: 0.4em 0.5em;
line-height: 1.7;
}
/* 嵌套回复缩进 + 递减的左边框色 */
.thread-container .post .thread-container {
margin-left: 1em;
}
.thread-container .post .thread-container .post-container {
border-left-color: color-mix(in srgb, var(--themeColor), #fff 88%);
}
/* 帖子选项链接做成小胶囊 */
.thread-container .post .options a,
.thread-container .post .long .changes a,
.thread-container .post .short .options a {
padding: 0.1em 0.5em;
border-radius: 0.4em;
transition: background-color 0.2s, color 0.2s;
}
.thread-container .post .options a:hover,
.thread-container .post .long .changes a:hover,
.thread-container .post .short .options a:hover {
background-color: var(--themeColor);
color: #fff;
}
/* 帖子之间的分隔更轻 */
.thread-container .post {
padding-bottom: 0.6em;
}
/* =============================================================
补丁:收窄侧栏 + 正文动态边框
============================================================= */
/* ---------- 收窄侧栏 ---------- */
#side-bar {
width: 14em; /* 原 17em */
}
/* 正文居中基准同步:侧栏半宽 7em */
@media (min-width: 767px) {
#main-content {
width: 75%;
margin-left: calc(7em + 12.5%); /* 原 calc(8.5em + 12.5%) */
margin-right: auto;
}
}
/* 开屏动画:内容淡入上移 + 遮罩扫过 */
#content-wrap {
animation: open-fade 0.8s ease both;
}
@keyframes open-fade {
from {
opacity: 0;
transform: translateY(12px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* 开屏遮罩:载入后淡出 */
body::before {
content: '';
position: fixed;
inset: 0;
background: var(--exLighterColor);
z-index: 9999;
pointer-events: none;
animation: open-cover 0.8s ease forwards;
}
@keyframes open-cover {
to {
opacity: 0;
visibility: hidden;
}
}
[[/module]]打分:
評価:
Rating :
分享:https://netboard.wikidot.com/blog:3354
https://netboard.wikidot.com/blog:3354
主题:举报
内容:r18或政治化或攻击他人
发给:
| Master Administrator |
分享:https://netboard.wikidot.com/blog:3354
https://netboard.wikidot.com/blog:3354
主題:舉報
內容:18禁或政治化或攻擊他人
發給:
| Master Administrator |
https://netboard.wikidot.com/blog:3354
題名:報告
内容:アダルト/政治化/ネットいじめ
宛先:
| Master Administrator |
https://netboard.wikidot.com/blog:3354
https://netboard.wikidot.com/blog:3354
send your reason to following users
| Master Administrator |
评论数: 7
評論數: 7
コメント数: 7
Comments: 7
page revision: 11, last edited: 02 Nov 2026 02:52

ai的意义就是这个,让只看得懂css的人能够高效快速的制作css
另外我学的前端已经忘干净了()
此外这个顶栏还是很有问题,实际上我已经打了一大堆补丁了
灭烛见真火,忘剑得神兵
虽然但是,电脑端的版式也很崩
比如评论区头像不会显示之类的
"这个人怎么又在整活?"
那其实是我把头像去了(
慢慢改,bug太多了
灭烛见真火,忘剑得神兵
氖蓝新版式终于来了,移动端不行也正常,慢慢修吧,辛苦技术云员了()
为什么我要把日记写在别人的个人站里
这bot谁绷得住
灭烛见真火,忘剑得神兵
今日初绷
混的圈子很杂,基金会啥的都有,不混后室;
这是个人站
这是Netboard(一个位居WD发帖数前五的网站)
非常遗憾的是,氖蓝的顶栏不好改,所以最终止步于收缩正文大小,添加动画和评论区特效
灭烛见真火,忘剑得神兵