diff --git a/freepost/static/stylus/freepost.styl b/freepost/static/stylus/freepost.styl index 196bf47..e00a71b 100755 --- a/freepost/static/stylus/freepost.styl +++ b/freepost/static/stylus/freepost.styl @@ -169,8 +169,7 @@ body /* New submission page */ > form.submit - margin auto - max-width 30em + width 100% /* Page for a post */ > .post @@ -213,9 +212,6 @@ body /* The "new comment" form for this post page */ .new_comment - > textarea - height 5rem - > input[type=submit] margin 1em 0 @@ -262,26 +258,12 @@ body margin-bottom 3rem /* User home page */ - table.user - /* If one length specified: both horizontal and vertical spacing - * If two length specified: first sets the horizontal spacing, and - * the second sets the vertical spacing - */ - border-spacing 2em 1em - border-collapse separate - margin auto - width 80% - - tr - > td:first-child - font-weight bold - text-align right - vertical-align top - width 30% - - > td:last-child - text-align left - + > form > .user + display grid + grid-column-gap 3rem + grid-row-gap 1rem + grid-template-columns max-content auto + /* User activity */ > .user_activity diff --git a/freepost/static/stylus/reset.styl b/freepost/static/stylus/reset.styl index 83a48d4..cafd060 100755 --- a/freepost/static/stylus/reset.styl +++ b/freepost/static/stylus/reset.styl @@ -124,6 +124,9 @@ label -o-transition border-color ease-in-out .15s,box-shadow ease-in-out .15s transition border-color ease-in-out .15s,box-shadow ease-in-out .15s +textarea.form-control + height 8rem + /* When users vote, this