This repository contains the files for a simple static website designed to display the content of a book. The website includes a table of contents for easy navigation and allows readers to toggle between a light and dark theme for their reading preference.
- Responsive Design: The website is built using Bootstrap, ensuring that it is accessible on a variety of devices and screen sizes.
- Theme Toggle: Users can switch between a light and dark mode to suit their reading preferences.
- Dynamic Font Size: Readers have the option to adjust the font size for better readability.
- Interactive Table of Contents: Clicking on a chapter title in the Table of Contents navigates directly to the chapter's content.
index.html
: The main HTML file containing the structure of the book website.style.css
: The stylesheet containing custom styles for the website, including theme-specific styles.script.js
: The JavaScript file that adds interactive functionality, such as theme toggling and font size adjustment.README.md
: This file, explaining the project and its structure.
To view the website, simply clone this repository and open the index.html
file in your web browser.
git clone https://github.com/araujo88/static-book-webpage-template.git
cd static-book-webpage-template
Open the index.html
file in your web browser to see the website in action.
Contributions to this project are welcome. To contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes.
- Commit your changes (
git commit -am 'Add some feature'
). - Push to the branch (
git push origin feature-branch
). - Create a new Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.