wysiwyg.scss 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. /* LISIBILITY */
  2. *{font-size:14px;}
  3. div{border: 1px dashed #D4D4D4;}
  4. p:after, ul:after{content:"¬"; color:red;}
  5. h1:before, h2:before, h3:before, h4:before, h5:before, h6:before{
  6. color:blue; font-weight: normal; font-size:10px; vertical-align: super;
  7. }
  8. h1:before{content:"h1 ";}
  9. h2:before{content:"h2 ";}
  10. h3:before{content:"h3 ";}
  11. h4:before{content:"h4 ";}
  12. h5:before{content:"h5 ";}
  13. h6:before{content:"h6 ";}
  14. h2{font-size:24px;}
  15. h3{font-size:18px;}
  16. h4{font-size:16px;}
  17. h5{font-size:14px;}
  18. h6{font-size:12px;}
  19. .side-note-4{}
  20. .side-note-5{}
  21. br:after{content:"·"; color:red; border: 1px solid #999;}
  22. /* LAYOUT AND GRAPHICS */
  23. @mixin full{ width:99%; }
  24. @mixin demi{ width:47%; }
  25. @mixin tiers{ width:29%; }
  26. @mixin quart{ width:23%; }
  27. @mixin right{ float:right; margin-left:2%; }
  28. @mixin left{ float:left; margin-right:2%; }
  29. @mixin center{ display:block; margin:0 auto; }
  30. img{height:auto; margin:0.5em 0;}
  31. p{ border: 1px dashed #848484; }
  32. div{border: 1px solid #1A1A1A;}
  33. img,p,div{ position:relative;
  34. &:before{font-size:10px; color:red; background-color: #1A1A1A; position:absolute; top:0; z-index:3000;}
  35. &.full{@include full; &:before{content:" full ";}}
  36. &.demi{ @include demi; margin-right:2%; &:before{content:" demi "; right:0;}}
  37. &.tiers{ @include tiers; margin-right:2%; &:before{content:" tiers "; right:0;}}
  38. &.quart{ @include quart; margin-right:2%; &:before{content:" quart "; right:0;}}
  39. &.demi-left{ @include demi; @include left; &:before{content:" demi-left "; left:0;}}
  40. &.demi-right{ @include demi; @include right; &:before{content:" demi-right "; right:0;}}
  41. &.demi-center{ @include demi; @include center; &:before{content:" demi-denter "; right:0;}}
  42. &.tiers-left{ @include tiers; @include left; &:before{content:" tiers-left "; left:0;}}
  43. &.tiers-right{ @include tiers; @include right; &:before{content:" tiers-right "; right:0;}}
  44. &.tiers-center{ @include tiers; @include center; &:before{content:" tiers-center "; right:0;}}
  45. &.quart-left{ @include quart; @include left; &:before{content:" quart-left "; left:0;}}
  46. &.quart-right{ @include quart; @include right; &:before{content:" quart-right "; right:0;}}
  47. &.quart-center{ @include quart; @include center; &:before{content:" quart-center "; right:0;}}
  48. }