MIT License

项目介绍

sameerasw/my-internet 是一个托管在 GitHub 上的开源项目,主要使用 CSS 编写,采用 MIT License 许可证,目前获得 479 个 Star、136 次 Fork。

仓库全名
sameerasw/my-internet
开源许可证
MIT License
Star 数
479
Fork 数
136
未关闭 Issue
1.7k

README 摘要

Zen Internet themes repository Now also provides themes for Zero Browser Custom CSS for websites to make the internet beautiful. Transparency being the main feature, these themes also include removal of distractions and further useful features for each website. How to get transparency in Zen Contributors Contributing styles Please make sure you go through all the provided instructions before submitting a new theme…

完整内容见 GitHub 原始 README 或本页 。

常见问题

my-internet 用什么语言开发?

主要使用 CSS 编写,采用 MIT License 许可证,目前有 479 个 Star。

my-internet 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 my-internet 的源码?

可以直接克隆仓库:git clone https://github.com/sameerasw/my-internet.git,默认分支为 main;安装与运行步骤见仓库 README。

my-internet 最近还在维护吗?

仓库最近一次更新为 1 周前,当前有 1.7k 个未关闭 Issue;Star 数为 479,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Custom CSS to make the web transparent, beautiful and zen. Main style repo for the Zen Internet add-on

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
755
价值分
244
活跃状态
活跃

语言占比

CSS
JavaScript

README

Zen Internet themes repository

GitHub issue custom search in repo + GitHub issue custom search in repo = GitHub issue custom search in repo

GitHub issue custom search in repo GitHub contributors GitHub Discussions GitHub repo file or directory count (in path) Website Mozilla Add-on Rating Mozilla Add-on Users

Now also provides themes for Zero Browser

img

Custom CSS for websites to make the internet beautiful. Transparency being the main feature, these themes also include removal of distractions and further useful features for each website.

Screenshot

How to get transparency in Zen

web-preview-zen

Contributors

Contributing styles

Please make sure you go through all the provided instructions before submitting a new theme with a PR

  1. You can use the example.com.css as a starter for most websites to grab the stylesheet format.

  2. Make sure the file is named in the correct format [website domain].css (google.com.css and docs.google.com.css are 2 styles which are not merged unless you do #9.)

  3. Please respect auto theming for day and night themes. If the website does not have a dark theme, account for Dark Reader.

  4. Do not use wildcards such as applying transparency for all div elements since that is handled with force theming in the addon.

  5. Every property should include !important to make sure it gets applied.

  6. Do NOT leave commented out code. Now you can, but still DO NOT! But you can add descriptive comments… see #15.

  7. Don’t include www in the stylesheet file name.

  8. Add proper comments for each section of a feature at the beginning with a clear but compact description.

  9. For theming similar domains like app.arduino.cc, login.arduino.cc… i.e., similar urls with prefixes, you can add a “general style” with a leading + symbol when creating the stylesheet. ( +arduino.cc.css ) example

  10. Similarly, for theming websites with a shared domain but with different suffixes (like google.com, google.lk…), you can add the - symbol to the start of the stylesheet file name so it will replace the provided domain of the file name’s domain. (e…g, -google.com.css). example

  11. [optional] Each comment of the same file should have a unique domain specific identified prefix (yt-, ytm-, gh-, etc) which will help the extension separately apply themes.

    /* yt-transparency */
    :root {
      --colorBgApp: transparent !important;
    }
    
    /* yt-no footer */
    footer.app-footer {
      display: none !important;
    }
    
  12. Always make sure the first feature is transparency and also use the exact feature name without a difference allowing the global transparency toggle to work. Prefixes with - are acceptable.

  13. Don’t keep the Firefox selectors if you are copying from the userContent.css (i.e., remove @-moz-document domain(" ")).

  14. Once committed to the repository, GitHub Actions will parse the CSS file and regenerate the styles.json file; then it will be deployed to GitHub pages, allowing the addon to fetch it.

  15. [NEW!] Now you can add descriptive comments to the CSS file which will be skipped during parsing and generating the styles.json file. BUT, make sure to start those CSS comment text with the @ symbol as below examples. BUT, any comment inside a feature in the CSS selectors or in properties will be skipped anyway.

    /* yt-transparency */
    /* @this comment will be skipped */
    :root {
      --colorBgApp: transparent !important;
      /* @ this comment will be skipped, but leaving it will cause no harm */
      /* This will be skipped */
    }
    
    /* @ this comment will be skipped */
    /* yt-no footer */
    footer.app-footer, /* This will be skipped */
      footer {
      display: none !important;
    }
    
  16. Website mapping. Use the css-mapping.json to map existing CSS styles to other websites. Also can be used for websites that works well with forcing.

  17. You can add feature descriptions by separating the title and the rest of the text inside a feature comment by separating it with $. Check example.com.css for the samples.

    /* darkreader $ This is a example description */
    :root {
      --darkreader-background-ffffff: transparent !important;
    }
    

    This will show up like below while hovering the feature title. CleanShot 2025-07-20 at 4  54 37@2x

Thank you <3


Star History Chart

Browse the repository

Visit my website

评论

暂无评论