update readme, compile before starting light-server

This commit is contained in:
Ben Harris 2018-06-07 19:13:00 -04:00
parent b302cbc11a
commit 3568000f17
3 changed files with 31 additions and 28 deletions

View File

@ -1,57 +1,60 @@
# Tilde Team Hacker Bootstrap Theme # tilde team hacker bootstrap theme
The latest compiled CSS will be available [here](https://tilde.team/css/hacker.css) this is a fork of [brobin's hacker bootstrap](https://github.com/brobin/hacker-bootstrap)
The major changes from the original are a few tweaks to colors of code samples and font sizes. the latest compiled css will be available [here](https://tilde.team/css/hacker.css)
Feel free to use and modify as you like! the major changes from the original are a few tweaks to colors of code samples and font sizes.
feel free to use and modify as you like!
This is the style used on [tilde.team](https://tilde.team). this is the style used on [tilde.team](https://tilde.team).
---
Original README from [brobin](https://github.com/Brobin/hacker-bootstrap)
![](haxor.png) ![](haxor.png)
a bootstrap theme for 1337 h4x0rs. inspired by the classic green on black terminal style. this theme will make your website 1337.
A Bootstrap theme for 1337 h4x0rs. Inspired by the classic green on black terminal style. This theme will make your website 1337. check out the [example site](https://tilde-team.github.io/css/)!
Check out the [example site](http://brobin.github.io/hacker-bootstrap/)!
## Usage ## usage
You can pick up the latest [hacker.css](http://brobin.github.io/hacker-bootstrap/css/hacker.css) and reference the css in your page. you can pick up the latest [hacker.css](https://tilde.team/css/hacker.css) and reference the css in your page.
```html ```html
<link href="css/hacker.css" rel="stylesheet"> <link href="css/hacker.css" rel="stylesheet">
``` ```
**Or** you could be a real h4x0r. **or** you could be a real h4x0r.
**H4X0RS ONLY** **h4x0rs only**
Make sure you have bootstrap and less installed (they're listed as dependencies in `package.json`). Open up your h4x0r terminal and type the following: open up your h4x0r terminal and type the following:
```bash ```bash
$ npm install $ npm install
``` ```
Then compile by using the 1337 compile script:
if you want to make adjustments with live-reloading, try this:
```bash
$ npm run dev
```
if you just want to compile, you can do this:
```bash ```bash
$ npm run build $ npm run build
``` ```
you'll find the compiled css in dist/hacker.css to do with as you please
## Contributing ## contributing
Feel free to hack around and submit pull requests. Not every style is 100% comp1337, so any assistance is greatly appreciated. feel free to hack around and submit pull requests. not every style is 100% comp1337, so any assistance is greatly appreciated.
thanks for stopping by :)
## License ## license
MIT mit

View File

@ -6,8 +6,8 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>Hacker Bootstrap Theme</title> <title>tilde theme</title>
<link href="../dist/hacker.css" rel="stylesheet"> <link href="dist/hacker.css" rel="stylesheet">
<style> <style>
.tall-row { .tall-row {
@ -42,7 +42,7 @@
<span class="icon-bar"></span> <span class="icon-bar"></span>
<span class="icon-bar"></span> <span class="icon-bar"></span>
</button> </button>
<a class="navbar-brand" href="#">Hacker Bootstrap Theme</a> <a class="navbar-brand" href="#">tilde theme</a>
</div> </div>
<div id="navbar" class="navbar-collapse collapse"> <div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right"> <ul class="nav navbar-nav navbar-right">

View File

@ -6,7 +6,7 @@
"scripts": { "scripts": {
"build": "lessc less/hacker.less dist/hacker.css --clean-css=\"--s1 --advanced --compatibility=ie8\"", "build": "lessc less/hacker.less dist/hacker.css --clean-css=\"--s1 --advanced --compatibility=ie8\"",
"deploy": "scp dist/hacker.css ben@tilde.team:/var/www/html/tilde.team/public_html/css/.", "deploy": "scp dist/hacker.css ben@tilde.team:/var/www/html/tilde.team/public_html/css/.",
"dev": "light-server -s . -p 9000 -w \"index.html, **/*.less # npm run build\" -o" "dev": "npm run build && light-server -s . -p 9000 -w \"index.html, **/*.less # npm run build\" -o"
}, },
"repository": { "repository": {
"type": "git", "type": "git",