index.html 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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样式</title>
  8. <script type="text/javascript">
  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('en')">English</a>
  32. <nav>
  33. </nav>
  34. </header>
  35. <br />
  36. <div class="container">
  37. <h1 class="title">CSS样式
  38. <br>
  39. <span class="subtitle"></span>
  40. </h1>
  41. <ul class="tags">
  42. </ul>
  43. <p><a href="../index.html#">超微浏览器</a>自动装载&quot;css&quot;目录下所有.css文件作为全局样式供用户选用。点击以下配置链接可自动添加为全局样式:</p>
  44. <p><a href="i:0hcss/使用默认字体.css:../searchurl/txt/clearfont.css">强制使用默认字体</a><br>
  45. <a href="i:0hcss/配合透明状态栏.css:../searchurl/txt/margintop.css">配合透明状态栏(沉浸)</a></p>
  46. <p>文件&quot;night.css&quot;为用户自定义夜间模式样式,点击以下配置链接安装不同的夜间模式:<br>
  47. <a href="i:0hnight.css:../searchurl/txt/night.css">webview 81+ 夜间模式</a><br>
  48. <a href="i:0hnight.css:../searchurl/txt/night_old.css">webview 80- 夜间模式</a></p>
  49. </div>
  50. <p>Last Modified: 2 April 2024<br>
  51. add js function in README<br>
  52. <pre></pre>
  53. </p>
  54. <script id='jsgiscus'
  55. src='https://giscus.app/client.js'
  56. data-repo="torappinfo/uweb"
  57. data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE="
  58. data-category="Announcements"
  59. data-category-id="DIC_kwDOEgNLGc4CQjsh"
  60. data-mapping="title"
  61. data-strict="0"
  62. data-reactions-enabled="1"
  63. data-emit-metadata="0"
  64. data-input-position="top"
  65. data-theme="light"
  66. data-lang="en"
  67. data-loading="lazy"
  68. crossorigin="anonymous" async>
  69. </script>
  70. <footer class="site-footer">
  71. <div class="container">
  72. &copy; 2018-2024 Richard H. Cao
  73. </div>
  74. </footer>
  75. <!-- 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/>. -->
  76. </body>
  77. </html>