5 <meta name=
"viewport" content=
"width=device-width, initial-scale=1" />
6 <link rel=
"canonical" href=
"https://jamesfengcao.gitlab.io/uweb/zh/globalcss/" />
8 <link rel=
"stylesheet" href=
"../style.css#" type=
"text/css" />
12 let href
= location
.href
;
13 for(let i
=href
.length
-1;i
>0;i
--){
14 if('/'==href
.charAt(i
) && '/'==href
.charAt(i
-3))
21 location
.href
= location
.href
.substring(0,i
+1)+page
;
23 function nav2Lang(lang
){
25 let href
= location
.href
;
26 location
.href
= location
.href
.substring(0,i
-2)+lang
+location
.href
.substring(i
);
31 <header class='header'
>
32 <a class=
"logo" href=
"javascript:void(0)" onclick=
"return nav2('index.html#')">首页
</a> <a class=
"logo" href=
"javascript:void(0)" onclick=
"return nav2('tags/index.html#')">标签
</a>
35 <a class=
"logo" href=
"javascript:void(0)" onclick=
"return nav2Lang('en')">English
</a>
43 <div class=
"container">
44 <h1 class=
"title">CSS样式
46 <span class=
"subtitle"></span>
51 <p><a href=
"../index.html#">超微浏览器
</a>自动装载
"css
"目录下所有.css文件作为全局样式供用户选用。点击以下配置链接可自动添加为全局样式:
</p>
52 <p><a href=
"i:0hcss/使用默认字体.css:../searchurl/txt/clearfont.css">强制使用默认字体
</a><br>
53 <a href=
"i:0hcss/配合透明状态栏.css:../searchurl/txt/margintop.css">配合透明状态栏(沉浸)
</a></p>
54 <p>文件
"night.css
"为用户自定义夜间模式样式,点击以下配置链接安装不同的夜间模式:
<br>
55 <a href=
"i:0hnight.css:../searchurl/txt/night.css">webview
81+ 夜间模式
</a><br>
56 <a href=
"i:0hnight.css:../searchurl/txt/night_old.css">webview
80- 夜间模式
</a></p>
59 <p>Last Modified:
2 April
2024<br>
60 add js function in README
<br>
65 src='https://giscus.app/client.js'
66 data-repo=
"torappinfo/uweb"
67 data-repo-id=
"MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE="
68 data-category=
"Announcements"
69 data-category-id=
"DIC_kwDOEgNLGc4CQjsh"
72 data-reactions-enabled=
"1"
73 data-emit-metadata=
"0"
74 data-input-position=
"top"
78 crossorigin=
"anonymous" async
>
81 <footer class=
"site-footer">
82 <div class=
"container">
83 © 2018-
2025 Richard H. Cao
86 <!-- This document is licensed under the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is available at <https://www.gnu.org/licenses/>. -->