update AI engines
[uweb.git] / en / globalcss / index.html
blobe4b4e407742de75a3b725ee849129d92f865cdc8
1 <!doctype html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1" />
6 <link rel="canonical" href="https://jamesfengcao.gitlab.io/uweb/en/globalcss/" />
8 <link rel="stylesheet" href="../style.css#" type="text/css" />
9 <title>CSS styles</title>
10 <script>
11 function findLang(){
12 let href = location.href;
13 for(let i=href.length-1;i>0;i--){
14 if('/'==href.charAt(i) && '/'==href.charAt(i-3))
15 return i;
17 return 0;
19 function nav2(page){
20 let i = findLang();
21 location.href = location.href.substring(0,i+1)+page;
23 function nav2Lang(lang){
24 let i = findLang();
25 let href = location.href;
26 location.href = location.href.substring(0,i-2)+lang+location.href.substring(i);
28 </script>
29 </head>
30 <body>
31 <header class='header'>
32 <a class="logo" href="javascript:void(0)" onclick="return nav2('index.html#')">Home</a> <a class="logo" href="javascript:void(0)" onclick="return nav2('tags/index.html#')">Tags</a>
35 <a class="logo" href="javascript:void(0)" onclick="return nav2Lang('zh')">简体中文</a>
38 <nav>
39 </nav>
40 </header>
41 <br />
43 <div class="container">
44 <h1 class="title">CSS styles
45 <br>
46 <span class="subtitle"></span>
47 </h1>
48 <ul class="tags">
50 </ul>
51 <p><a href="../index.html#">Uweb browser</a> loads all &quot;.css&quot; files under the folder &quot;css&quot; as global css. Click the following links to install global css files:</p>
52 <p><a href="i:0hcss/clearfont.css:../../zh/searchurl/txt/clearfont.css">Clearing font settings</a></p>
53 <p>The file &quot;night.css&quot; is used as night mode, click the following links to install one:<br>
54 <a href="i:0hnight.css:../../zh/searchurl/txt/night.css">webview 81+ night mode</a><br>
55 <a href="i:0hnight.css:../../zh/searchurl/txt/night_old.css">webview 80- night mode</a></p>
56 <h4 id="earliest-loaded-global-js">Earliest loaded global js</h4>
57 <p>The &quot;.js&quot; files under the folder &quot;css&quot; are loaded as earlier as possible on the page.</p>
58 <p>Click the following links to install early loaded global js:<br>
59 <a href="i:0hcss/nojscopy.js::document.addEventListener(%22copy%22,(e)=>{e.preventDefault()})">No webpage clipboard copy</a></p>
61 </div>
62 <p>Last Modified: 13 October 2024<br>
63 add css/nojscopy.js to disable webpage clipboard copy<br>
64 <pre></pre>
65 </p>
67 <script id='jsgiscus'
68 src='https://giscus.app/client.js'
69 data-repo="torappinfo/uweb"
70 data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE="
71 data-category="Announcements"
72 data-category-id="DIC_kwDOEgNLGc4CQjsh"
73 data-mapping="title"
74 data-strict="0"
75 data-reactions-enabled="1"
76 data-emit-metadata="0"
77 data-input-position="top"
78 data-theme="light"
79 data-lang="en"
80 data-loading="lazy"
81 crossorigin="anonymous" async>
82 </script>
84 <footer class="site-footer">
85 <div class="container">
86 &copy; 2018-2025 Richard H. Cao
87 </div>
88 </footer>
89 <!-- 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/>. -->
92 </body>
93 </html>