fix links for tags
[uweb.git] / en / globalcss / index.html
blob67b102b1be1ac6e8e048769613ead141fba571a0
1 <!doctype html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1" />
7 <link rel="stylesheet" href="../style.css#" type="text/css" />
8 <title>CSS styles</title>
9 <script type="text/javascript">
10 function findLang(){
11 let href = location.href;
12 for(let i=href.length-1;i>0;i--){
13 if('/'==href.charAt(i) && '/'==href.charAt(i-3))
14 return i;
16 return 0;
18 function nav2(page){
19 let i = findLang();
20 location.href = location.href.substring(0,i+1)+page;
22 function nav2Lang(lang){
23 let i = findLang();
24 let href = location.href;
25 location.href = location.href.substring(0,i-2)+lang+location.href.substring(i);
27 </script>
28 </head>
29 <body>
30 <header class='header'>
31 <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>
34 <a class="logo" href="javascript:void(0)" onclick="return nav2Lang('zh')">简体中文</a>
37 <nav>
38 </nav>
39 </header>
40 <br />
42 <div class="container">
43 <h1 class="title">CSS styles
44 <br>
45 <span class="subtitle"></span>
46 </h1>
47 <ul class="tags">
49 </ul>
50 <p><a>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>
51 <p><a href="i:0hcss/clearfont.css:../../zh/searchurl/txt/clearfont.css">Clearing font settings</a></p>
52 <p>The file &quot;night.css&quot; is used as night mode, click the following links to install one:<br>
53 <a href="i:0hnight.css:../../zh/searchurl/txt/night.css">webview 81+ night mode</a><br>
54 <a href="i:0hnight.css:../../zh/searchurl/txt/night_old.css">webview 80- night mode</a></p>
55 <h4 id="earliest-loaded-global-js">Earliest loaded global js</h4>
56 <p>The &quot;.js&quot; files under the folder &quot;css&quot; are loaded as earlier as possible on the page.</p>
58 </div>
59 <p>Last Modified: 20 April 2023<br>
60 support .js files under &#39;css&#39; folder<br>
61 <pre></pre>
62 </p>
64 <script id='jsgiscus'
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"
70 data-mapping="title"
71 data-strict="0"
72 data-reactions-enabled="1"
73 data-emit-metadata="0"
74 data-input-position="top"
75 data-theme="light"
76 data-lang="en"
77 data-loading="lazy"
78 crossorigin="anonymous" async>
79 </script>
81 </body>
82 </html>