View Single Post
Old 01-03-2024, 11:05 AM   #5
BeckyEbook
Guru
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 808
Karma: 2416112
Join Date: Jan 2017
Location: Poland
Device: Various
The previous thread is still relevant. No reader will handle all the capabilities of bootstrap, so most of its features won't be useful.

When creating ebooks one of the guiding principles is KISS (Keep It Simple Stupid!) and using bootstrap for this is the exact opposite.

But if you insist...

You can easily prepare the file itself.
1. download the latest version of booststrap
2. extract the two files (bootstrap.min.css and bootstrap.min.js)
3. add them to Sigil
4. add references to these files in the xhtml file.

It will look simpler like this:

Code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops">
<head>
  <title></title>
  <link href="../Styles/bootstrap.min.css" type="text/css" rel="stylesheet"/>
</head>
<body>
  <script src="../Misc/bootstrap.min.js"></script>
</body>
</html>
It doesn't make much sense to me, but perhaps you have a specific target audience for such files and they will only be read on a computer.
BeckyEbook is offline   Reply With Quote