From f0f5488f5f81f219ec0a90171121ccecedbb102f Mon Sep 17 00:00:00 2001 From: harveyshao Date: Thu, 17 Mar 2022 13:30:59 +0800 Subject: [PATCH] opt some --- frame.js | 2 +- plugin/local/wiki/word.css | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/frame.js b/frame.js index fa0b6a99..56384ae7 100644 --- a/frame.js +++ b/frame.js @@ -507,7 +507,7 @@ Volcanos("onlayout", {help: "页面布局", list: [], _init: function(can, targe can.onengine.signal(can, chat.ONSIZE, can.request({}, {width: width, height: height})) }, topic: function(can, topic) { topic && (can._topic = topic) - can.user.topic(can, can._topic || can.misc.Search(can, chat.TOPIC) || Volcanos.meta.args.topic || ((can.base.isNight()||can.user.mod.isPod)? chat.BLACK: chat.WHITE)) + can.user.topic(can, can._topic || can.misc.Search(can, chat.TOPIC) || Volcanos.meta.args.topic || (can.base.isNight()? chat.BLACK: chat.WHITE)) can.page.ClassList.add(can, document.body, can.user.language(can)) }, background: function(can, url, target) { diff --git a/plugin/local/wiki/word.css b/plugin/local/wiki/word.css index a3159641..fdb7f579 100644 --- a/plugin/local/wiki/word.css +++ b/plugin/local/wiki/word.css @@ -51,6 +51,9 @@ fieldset.word ul.story li.H2 { font-weight:bold; font-size:2em; } +fieldset.word ul.story { + font-family:monospace; +} fieldset.word br.story { clear:both; }