_create.scss 1.12 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
form#wiki_revision {
  float: left;
  margin-right: flex-gutter(9);
  width: flex-grid(6, 9);

  label {
    display: block;
    margin-bottom: 7px ;
  }

  .CodeMirror-scroll {
    min-height: 550px;
    width: 100%;
  }

  .CodeMirror {
    @extend textarea;
    @include box-sizing(border-box);
    font-family: monospace;
    margin-bottom: 20px;
  }

  textarea {
    @include box-sizing(border-box);
    margin-bottom: 20px;
    min-height: 450px;
    width: 100%;
  }

  input[type="text"] {
    display: block;
    width: 50%;
  }

  #submit_delete {
    background: none;
    border: none;
    @include box-shadow(none);
    color: #999;
    float: right;
    font-weight: normal;
    text-decoration: underline;
  }

  input[type="submit"] {
    margin-top: 20px;
  }
}

#wiki_edit_instructions {
  color: #666;
  float: left;
  margin-top: lh();
  width: flex-grid(3, 9);

  &:hover {
    color: #333;
  }

  .markdown-example {
    background-color: #e3e3e3;
    line-height: 1.0;
    margin: 5px 0 7px;
    padding: {
      top: 5px;
      right: 2px;
      bottom: 5px;
      left: 5px;
    }
    text-shadow: 0 1px 0 #fff;
  }
}