1
0
mirror of https://github.com/stolksdorf/homebrewery.git synced 2025-12-13 13:35:57 +00:00

PHB standalone task is now working

This commit is contained in:
Scott Tolksdorf
2016-01-13 14:03:44 -05:00
parent f4b0c1b5b1
commit dab29762c6
5 changed files with 394 additions and 53 deletions

View File

@@ -1,6 +1,6 @@
@import (less) './client/homebrew/phb/phb.fonts.css';
@import (less) './client/homebrew/phb/phb.assets.less';
@import (less) './client/homebrew/phbStyle/phb.fonts.css';
@import (less) './client/homebrew/phbStyle/phb.assets.less';
//Colors
@background : #EEE5CE;
@noteGreen : #e0e5c1;
@@ -41,9 +41,9 @@
-moz-column-width : 8cm;
-webkit-column-gap : 1cm;
text-rendering : optimizeLegibility;
/*****************************
* BASE
*****************************/
//*****************************
// * BASE
// *****************************/
p{
padding-bottom : 0.8em;
line-height : 1.3em;
@@ -67,9 +67,9 @@
em{
font-style : italic;
}
/*****************************
* HEADERS
*****************************/
//*****************************
// * HEADERS
// *****************************/
h1,h2,h3,h4{
margin-top : 0.2em;
margin-bottom : 0.2em;
@@ -107,9 +107,9 @@
font-size : 13pt;
font-weight : 900;
}
/*****************************
* TABLE
*****************************/
//*****************************
// * TABLE
// *****************************/
table{
.useSansSerif();
width : 100%;
@@ -135,9 +135,9 @@
}
}
}
/*****************************
* NOTE
*****************************/
//*****************************
// * NOTE
// *****************************/
blockquote{
.useSansSerif();
box-sizing : border-box;
@@ -152,9 +152,9 @@
line-height : 1.1em;
}
}
/*****************************
* MONSTER STAT BLOCK
*****************************/
//*****************************
// * MONSTER STAT BLOCK
// *****************************/
hr+blockquote{
position : relative;
background-color : @monsterStatBackground;
@@ -241,9 +241,9 @@
left : -3px;
}
}
/*****************************
* FULL CLASS TABLE
*****************************/
//*****************************
// * FULL CLASS TABLE
// *****************************/
h5+hr+table{
margin-top : -5px;
margin-bottom : 50px;
@@ -259,9 +259,9 @@
border-image-width : 47px;
-webkit-column-span : all;
}
/*****************************
* FOOTER
*****************************/
//*****************************
// * FOOTER
// *****************************/
&:after{
content : "";
position : absolute;
@@ -302,9 +302,9 @@
color : #c9ad6a;
text-align : right;
}
/*****************************
* EXTRAS
*****************************/
//*****************************
// * EXTRAS
// *****************************/
hr{
visibility : hidden;
margin : 0px;

View File

@@ -39,3 +39,12 @@ var gulp = vitreumTasks(gulp, {
});
var rename = require('gulp-rename');
var less = require('gulp-less');
gulp.task('phb', function(){
gulp.src('./client/homebrew/phbStyle/phb.style.less')
.pipe(less())
.pipe(rename('phb.standalone.css'))
.pipe(gulp.dest('./'));
})

359
phb.standalone.css Normal file

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +0,0 @@
.phb{
background-color: red !important;
}

View File

@@ -1,23 +0,0 @@
___
| Level | Proficiency Bonus | Sorcery Points | Features | Cantrips Known | Spells Known | 1st |   2nd   |   3rd   |   4th   |   5th   |   6th   |   7th   |   8th   |   9th   |
| :---: | :---------------: | :------------: | :------- |:---:|:---: |:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
| 1st | +2 | <20> | Spellcasting, Sorcerous Origin | 4 | 2 | 2 | <20> | <20> | <20> | <20> | <20> | <20> | <20> | <20> |
| 2nd | +2 | 2 | Font of Magic | 4 | 3 | 3 | <20> | <20> | <20> | <20> | <20> | <20> | <20> | <20> |
| 3rd | +2 | 3 | Katie Magic| 4 | 4 | 4 | 2 | <20> | <20> | <20> | <20> | <20> | <20> | <20> |
| 4th | +2 | 4 | Metamagic | 5 | 5 | 4 | 2 | <20> | <20> | <20> | <20> | <20> | <20> | <20> |
| 5th | +3 | 5 | Metamagic | 5 | 6 | 4 | 2 | <20> | <20> | <20> | <20> | <20> | <20> | <20> |
| 6th | +3 | 6 | Metamagic | 5 | 7 | 4 | 2 | <20> | <20> | <20> | <20> | <20> | <20> | <20> |
| 7th | +3 | 7 | Metamagic | 5 | 8 | 4 | 2 | <20> | <20> | <20> | <20> | <20> | <20> | <20> |
| 8th | +3 | 8 | Metamagic | 6 | 9 | 4 | 2 | <20> | <20> | <20> | <20> | <20> | <20> | <20> |
| 9th | +4 | 9 | Metamagic | 6 | 10 | 4 | 2 | <20> | <20> | <20> | <20> | <20> | <20> | <20> |
| 10th| +4 | 10 | Metamagic | 6 | 11 | 4 | 2 | <20> | <20> | <20> | <20> | <20> | <20> | <20> |
| 11th| +4 | 11 | Metamagic | 6 | 12 | 4 | 2 | <20> | <20> | <20> | <20> | <20> | <20> | <20> |
| 12th| +4 | 12 | Metamagic | 6 | 12 | 4 | 2 | <20> | <20> | <20> | <20> | <20> | <20> | <20> |
| 13th| +5 | 13 | Metamagic | 6 | 13 | 4 | 2 | <20> | <20> | <20> | <20> | 1 | <20> | <20> |
| 14th| +5 | 14 | Metamagic | 6 | 13 | 4 | 2 | <20> | <20> | <20> | <20> | 1 | <20> | <20> |
| 15th| +5 | 15 | Metamagic | 6 | 14 | 4 | 2 | <20> | <20> | <20> | <20> | 1 | 1 | <20> |
| 16th| +5 | 16 | Metamagic | 6 | 14 | 4 | 2 | <20> | <20> | <20> | <20> | 1 | 1 | <20> |
| 17th| +6 | 17 | Metamagic | 6 | 15 | 4 | 2 | <20> | <20> | <20> | <20> | 1 | 1 | 1 |
| 18th| +6 | 18 | Metamagic | 6 | 15 | 4 | 2 | <20> | <20> | <20> | <20> | 1 | 1 | 1 |
| 19th| +6 | 19 | Metamagic | 6 | 15 | 4 | 2 | <20> | <20> | <20> | <20> | 1 | 1 | 1 |
| 20th| +6 | 20 | Metamagic | 6 | 15 | 4 | 2 | <20> | <20> | <20> | <20> | 2 | 1 | 1 |