Web assets (stylesheets) for decisions produced by Tausi.
First, wrap your Akoma Ntoso HTML content with the .akoma-ntoso
class, such as:
<div class="akoma-ntoso">...</div>
Second, include the CSS as described below.
Use the assets directly from the jsDelivr CDN:
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/laws-africa/[email protected]/dist/css/tausi-web.min.css">
Install @laws-africa/tausi-web using npm:
$ npm install @laws-africa/tausi-web
Then use either the compiled CSS:
<link rel="stylesheet" type="text/css" href="tausi-web/dist/css/tausi-web.min.css">
Or use the SCSS files:
@import 'tausi-web/src/scss/tausi-web';
You can override variables when using SCSS by copying them from _variables.scss
into _custom.scss
and changing
their values.
To build changes:
- npm install
- npm run-script build
- git add dist/*
- update version in
package.json
- update version in URL above
- update version history below
- build as above
- tag release:
git tag vX.X.X
- push to GitHub:
git push; git push origin --tags
- Improved footnote styling
- Division and paragraph headings: left-align, reduce font size and line height
- Uppercase extra header text, parties listing
- Match space below republic head to rest of block (remove extra space above authority)
- Include changes from previous release in distribution
- Uppercase doc-date, judges, docket-number, and doc-authority in the header (in addition to republic-head and decision-action)
- Initial release
Proprietary.