An open API service indexing awesome lists of open source software.

https://github.com/gotz1480/static-book-webpage-template

A basic template for a static book website in plain HTML, CSS and JS
https://github.com/gotz1480/static-book-webpage-template

Last synced: 6 months ago
JSON representation

A basic template for a static book website in plain HTML, CSS and JS

Awesome Lists containing this project

README

          

# Static Book Website

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.

## Features

- **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.

## Files Included

- `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.

## Usage

To view the website, simply clone this repository and open the `index.html` file in your web browser.

```bash
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.

## Contributing

Contributions to this project are welcome. To contribute:

1. Fork the repository.
2. Create a new branch (`git checkout -b feature-branch`).
3. Make your changes.
4. Commit your changes (`git commit -am 'Add some feature'`).
5. Push to the branch (`git push origin feature-branch`).
6. Create a new Pull Request.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.