Add instructions to markdown editor

This commit is contained in:
Andrew Miner
2015-05-14 11:06:29 -07:00
parent aff4c18987
commit 39b3cd6111
3 changed files with 16 additions and 3 deletions
+4
View File
@@ -11,6 +11,10 @@
.waiting.hideable: img(src='/images/wait.gif') .waiting.hideable: img(src='/images/wait.gif')
.markdown.hideable.hidden .markdown.hideable.hidden
.editor.hideable.hidden .editor.hideable.hidden
.instructions
p.
Edit using <a href="https://help.github.com/articles/github-flavored-markdown/" target="new">GitHub
Flavored Markdown</a>. Use <tt>[[Item Name]]</tt> to link to another item.
textarea textarea
.sizer .sizer
.creating.hideable.hidden .creating.hideable.hidden
+1 -1
View File
@@ -40,7 +40,7 @@ $font-family-input: monospace;
// Font Sizes ////////////////////////////////////////////////////////////////////////////////////// // Font Sizes //////////////////////////////////////////////////////////////////////////////////////
$font-size-small: 1.0em; $font-size-small: 1.25em;
$font-size-normal: 1.5em; $font-size-normal: 1.5em;
$font-size-large: 2.0em; $font-size-large: 2.0em;
$font-size-x-large: 3.0em; $font-size-x-large: 3.0em;
+11 -2
View File
@@ -67,7 +67,7 @@ All rights reserved.
width: 100%; width: 100%;
position: relative; position: relative;
min-height: 10em; min-height: 11.5em;
textarea, .sizer { textarea, .sizer {
width: 100%; width: 100%;
@@ -77,7 +77,7 @@ All rights reserved.
} }
textarea { textarea {
position: absolute; height: 100%; width: 100%; position: absolute; height: calc(100% - 1.5em); width: 100%;
background: $color-gray-faint; background: $color-gray-faint;
resize: none; resize: none;
@@ -89,6 +89,15 @@ All rights reserved.
} }
} }
.instructions {
margin-bottom: 0.75em;
p {
color: $color-gray-medium;
font-size: $font-size-small;
}
}
.sizer { .sizer {
padding-bottom: 1.5em; padding-bottom: 1.5em;
visibility: hidden; visibility: hidden;