index.html 3.1 KB

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