wysiwyg.less 2.0 KB

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