From f0588140405453ca09fd9dd5a04970863390842d Mon Sep 17 00:00:00 2001 From: Scott Tolksdorf Date: Sun, 5 Jun 2016 12:49:55 -0400 Subject: [PATCH] Adding in a new classTable block --- client/homebrew/navbar/navbar.jsx | 2 +- client/homebrew/phbStyle/phb.depricated.less | 31 ++++++++++++ client/homebrew/phbStyle/phb.style.less | 53 +++++++++----------- package.json | 2 +- 4 files changed, 58 insertions(+), 30 deletions(-) create mode 100644 client/homebrew/phbStyle/phb.depricated.less diff --git a/client/homebrew/navbar/navbar.jsx b/client/homebrew/navbar/navbar.jsx index d82486749..515f4b6b5 100644 --- a/client/homebrew/navbar/navbar.jsx +++ b/client/homebrew/navbar/navbar.jsx @@ -11,7 +11,7 @@ var Navbar = React.createClass({
The Homebrewery
- v2.2.0 + v2.2.1 {this.props.children} diff --git a/client/homebrew/phbStyle/phb.depricated.less b/client/homebrew/phbStyle/phb.depricated.less new file mode 100644 index 000000000..992dab35b --- /dev/null +++ b/client/homebrew/phbStyle/phb.depricated.less @@ -0,0 +1,31 @@ +.phb{ + //Double hr for full width elements + hr+hr+blockquote{ + column-span : all; + -webkit-column-span : all; + -moz-column-span : all; + } + + //***************************** + // * CLASS TABLE + // *****************************/ + hr+table{ + margin-top : -5px; + margin-bottom : 50px; + padding-top : 10px; + border-collapse : separate; + background-color : white; + border : initial; + border-style : solid; + border-image-outset : 37px 17px; + border-image-repeat : round; + border-image-slice : 150 200 150 200; + border-image-source : @frameBorderImage; + border-image-width : 47px; + } + h5+hr+table{ + column-span : all; + -webkit-column-span : all; + -moz-column-span : all; + } +} \ No newline at end of file diff --git a/client/homebrew/phbStyle/phb.style.less b/client/homebrew/phbStyle/phb.style.less index f53286d7b..4cbab9a7f 100644 --- a/client/homebrew/phbStyle/phb.style.less +++ b/client/homebrew/phbStyle/phb.style.less @@ -2,6 +2,7 @@ @import (less) 'shared/naturalcrit/styles/reset.less'; @import (less) './client/homebrew/phbStyle/phb.fonts.css'; @import (less) './client/homebrew/phbStyle/phb.assets.less'; +@import (less) './client/homebrew/phbStyle/phb.depricated.less'; //Colors @background : #EEE5CE; @noteGreen : #e0e5c1; @@ -256,28 +257,7 @@ hr+hr+blockquote{ .useColumns(0.96); } - //***************************** - // * CLASS TABLE - // *****************************/ - hr+table{ - margin-top : -5px; - margin-bottom : 50px; - padding-top : 10px; - border-collapse : separate; - background-color : white; - border : initial; - border-style : solid; - border-image-outset : 37px 17px; - border-image-repeat : round; - border-image-slice : 150 200 150 200; - border-image-source : @frameBorderImage; - border-image-width : 47px; - } - h5+hr+table{ - column-span : all; - -webkit-column-span : all; - -moz-column-span : all; - } + //***************************** // * FOOTER // *****************************/ @@ -335,12 +315,7 @@ text-indent : -1em; list-style-type : none; } - //Double hr for full width elements - hr+hr+blockquote{ - column-span : all; - -webkit-column-span : all; - -moz-column-span : all; - } + //Column Break pre, code{ visibility : hidden; @@ -411,4 +386,26 @@ column-span : all; -webkit-column-span : all; -moz-column-span : all; +} + + +//***************************** +// * CLASS TABLE +// *****************************/ + +.phb .classTable{ + margin-top : 25px; + margin-bottom : 40px; + border-collapse : separate; + background-color : white; + border : initial; + border-style : solid; + border-image-outset : 25px 17px; + border-image-repeat : round; + border-image-slice : 150 200 150 200; + border-image-source : @frameBorderImage; + border-image-width : 47px; + h5{ + margin-bottom: 10px; + } } \ No newline at end of file diff --git a/package.json b/package.json index 686405621..cba802d80 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "homebrewery", "description": "Create authentic looking D&D homebrews using only markdown", - "version": "2.2.0", + "version": "2.2.1", "scripts": { "postinstall": "gulp prod", "start": "node server.js"