-.diary_post .richtext {
- margin-top: $lineheight;
- }
-
-.comments .richtext {
- margin-left: 70px;
- margin-top: 0;
-}
-
-/* Rules for rich text editors */
-
-input.richtext_title[type="text"] {
- width: 50%;
- width: calc(100% - 235px);
-
- @media only screen and (max-width:768px) {
- width: 100%;
- }
-}
-
-.richtext_container {
- margin-bottom: $lineheight;
-
- .richtext_content {
- width: 50%;
- width: calc(100% - 235px);
- display: inline-block;
- vertical-align: top;
-
- @media only screen and (max-width:768px) {
- width: 100%;
- }
-
- .richtext_preview {
- display: inline-block;
- padding: $lineheight;
- background-color: $offwhite;
- overflow-x: auto;
-
- &.loading {
- background-image: image-url("loading.gif");
- background-repeat: no-repeat;
- background-position: center;
- }
-
- > :first-child {
- margin-top: 0px;
- }
- }
- }
-
- .richtext_help {
- display: inline-block;
- vertical-align: top;
- margin-left: 15px;
- background-color: $offwhite;
- padding: $lineheight/2;
- width: 220px;
-
- ul {
- margin-bottom: 0;
- }
-
- h4.heading, li {
- border-bottom: 1px solid $grey;
- margin-bottom: $lineheight/4;
- padding-bottom: $lineheight/4;
- }
-
- li h4, li span, li p {
- display: inline-block;
- vertical-align: top;
- font-size: 11px;
- }
-
- li h4 {
- width: 40%;
- margin: 0;
- }
-
- li span, li p {
- width: 50%;
- margin-left: $lineheight/2;
- margin-bottom: $lineheight/4;
- white-space: nowrap;
- }
- }
-}
-