index.html 3.2 KB

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