aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md18
1 files changed, 11 insertions, 7 deletions
diff --git a/README.md b/README.md
index b5fa86c..75b0186 100644
--- a/README.md
+++ b/README.md
@@ -2,14 +2,18 @@
## Introduction
-cs16.css is a css library based on Counter Strike 1.6 UI.
+CSS library based on [cs16.css](https://cs16.samke.me/), adapted to modify default styles of elements. Attempts to "just work" everywhere.
## Installation
-You can install cs16.css simply by pasting this to your html `head` tag:
+You can install cs16.css simply by pasting this to your html `head` tag and adding `class="cs"` to your body (or wherever else you wish to enable "cs1.6 mode"):
```html
-<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/ekmas/cs16.css@main/css/cs16.min.css">
+<link
+ rel="stylesheet"
+ type="text/css"
+ href="https://git.estrogen.zone/css16-defaults.css.git/plain/css/cs16.min.css"
+/>
```
or you can download css file and font from this repo. Inside css folder are prefixed and minified versions of cs16.css you can use.
@@ -36,8 +40,8 @@ package.json
- `ArialPixel.ttf` - Main font.
- `package.json` - Here you can find all installed packages as well as scripts for creating prefixed and minified versions of cs16.css.
- `index.html`, `index.css`, `main.js` - Files for documentation page.
-- `src/cs16.css` - Main cs16.css file. Edit this file if you want to change styling.
-- `css/cs16.css`, `css/cs16.min.css` - Do not touch these files. These files are generated by `build:css` script from package.json.
+- `src/cs16.css` - Main cs16.css file. Edit this file if you want to change styling.
+- `css/cs16.css`, `css/cs16.min.css` - Do not touch these files. These files are generated by `build:css` script from package.json.
### Development
@@ -60,13 +64,13 @@ git checkout -b my-new-branch
#### Install dependencies
```bash
-pnpm install
+deno install
```
#### Build css/cs16.css and css/cs16.min.css
```bash
-pnpm run build:css
+deno task build:css
```
## License