Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kerogs/template-article
Fake article made in HTML, SASS and JS. With darkmode
https://github.com/kerogs/template-article
Last synced: 22 days ago
JSON representation
Fake article made in HTML, SASS and JS. With darkmode
- Host: GitHub
- URL: https://github.com/kerogs/template-article
- Owner: kerogs
- License: mit
- Created: 2024-11-26T14:56:35.000Z (29 days ago)
- Default Branch: main
- Last Pushed: 2024-11-26T15:15:36.000Z (29 days ago)
- Last Synced: 2024-11-26T16:23:23.138Z (29 days ago)
- Language: HTML
- Homepage: https://codepen.io/kerogs/pen/jENObPY
- Size: 269 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# template-article
Fake article made in HTML, SASS and JS. With darkmode![preview](.ksinf/preview.png)
## How to use
This small piece of code makes it easy to set up pages to read articles. It also includes a light-mode and a dark-mode. You can change the colors via variables in ``style.scss``.You can only import CSS if you wish.
1. Copy code from ``index.htm`` and ``style.scss`` (and/or ``style.css``).
1. You can remove the header in the ``index.htm``, which is only displayed for decoration.
2. Import it into your site
3. Change the color in ``style.scss`` or ``style.css`` if you wish.## Improve the code
You can clone the repository and make PRs if you want to improve the code.### License MIT