diff --git a/client/homebrew/assets/accent.png b/client/homebrew/assets/accent.png new file mode 100644 index 000000000..c06dfc793 Binary files /dev/null and b/client/homebrew/assets/accent.png differ diff --git a/client/homebrew/editor/editor.jsx b/client/homebrew/editor/editor.jsx index 2dab48ceb..a1bf70b20 100644 --- a/client/homebrew/editor/editor.jsx +++ b/client/homebrew/editor/editor.jsx @@ -51,6 +51,11 @@ var Icons = [ snippet : "\\pagen\n\n", tooltip : "New Page" }, + { + icon : 'fa-arrows-v', + snippet : "
\n\n", + tooltip : "Vertical Spacing" + } ] diff --git a/client/homebrew/homePage/homePage.jsx b/client/homebrew/homePage/homePage.jsx index 796137db5..c122e2fc4 100644 --- a/client/homebrew/homePage/homePage.jsx +++ b/client/homebrew/homePage/homePage.jsx @@ -2,6 +2,7 @@ var React = require('react'); var _ = require('lodash'); var cx = require('classnames'); +var Statusbar = require('../statusbar/statusbar.jsx'); var PHB = require('../phb/phb.jsx'); var Editor = require('../editor/editor.jsx'); @@ -36,6 +37,7 @@ var HomePage = React.createClass({ var self = this; return(
+
diff --git a/client/homebrew/phb/phb.less b/client/homebrew/phb/phb.less index 0890bb9bf..1cf2b9f64 100644 --- a/client/homebrew/phb/phb.less +++ b/client/homebrew/phb/phb.less @@ -2,7 +2,10 @@ .pbhPages{ &>.phb{ margin-bottom : 40px; + margin-top : 40px; margin-left : 400px; + box-shadow : 1px 4px 14px #000; + } } @font-face { @@ -66,9 +69,32 @@ -moz-column-width : 8cm; -webkit-column-gap : 1cm; text-rendering : optimizeLegibility; - + position : relative; overflow: hidden; + //Accents + &:before, &:after{ + content : ""; + position: absolute; + height: 50px; + width: 100%; + + left: 0px; + background-size: cover; + width : 100%; + background-image : url('/assets/homebrew/assets/accent.png'); + } + &:before{ + top: 0px; + } + &:after{ + -moz-transform: scaleY(-1); + -o-transform: scaleY(-1); + -webkit-transform: scaleY(-1); + transform: scaleY(-1); + bottom : 0px; + } + p,ul,blockquote{ -webkit-column-break-inside : avoid; @@ -295,11 +321,12 @@ -webkit-column-span : all; &+p{ &::first-letter{ - float : left; - margin-top : 20px; - margin-bottom : 15px; - font-family : Solbera; - font-size : 7em; + float: left; + margin-top: 0.3em; + margin-bottom: 0.3em; + font-family: Solbera; + font-size: 10em; + color : #222; } } } diff --git a/client/homebrew/statusbar/statusbar.jsx b/client/homebrew/statusbar/statusbar.jsx index 0df0e3fad..14cc12450 100644 --- a/client/homebrew/statusbar/statusbar.jsx +++ b/client/homebrew/statusbar/statusbar.jsx @@ -4,6 +4,12 @@ var cx = require('classnames'); var Statusbar = React.createClass({ + getDefaultProps: function() { + return { + + }; + }, + render : function(){ var self = this; return(