Guest User

Untitled

a guest
Jul 23rd, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. /*
  2. LAYOUT TOOLS
  3. */
  4. .floatLeft { float: left; }
  5. .floatRight { float: right; }
  6. .clear { clear: both; }
  7. .layoutCenter { margin: 0 auto; } // don't forget to set width of element
  8. .textCenter { text-align: center; }
  9. .textRight { text-align: right; }
  10. .textLeft { text-align: left; }
  11.  
  12. /*
  13. PRINT TOOLS
  14. */
  15. .page-break { page-break-before: always; }
  16.  
  17.  
  18. /*
  19. TYPOGRAPHIC TOOLS
  20. */
  21. .callOut { font-size: 125%; font-weight: bold; }
  22. .strikeOut { text-decoration: line-through; }
  23. .underline { text-decoration: underline; }
  24. .uppercase { text-transform: uppercase; }
  25. .resetTypeStyle { font-weight: normal; font-style: normal; font-size: 100%;
  26. text-decoration: none; background-color: none; word-spacing: normal;
  27. letter-spacing: 0px; text-transform: none; text-indent: 0px; }
  28.  
  29.  
  30. /*
  31. DISPLAY VALUES
  32. */
  33. .hide { display: none; }
  34. .show { display: block; }
  35. .invisible { visibility: hidden; }
  36. .hiddenText { text-indent: -999999px; }
  37.  
  38. /*
  39. CLEARFIX
  40. */
  41. .clearfix:after {
  42. visibility: hidden;
  43. display: block;
  44. font-size: 0;
  45. content: " ";
  46. clear: both;
  47. height: 0;
  48. }
  49. * html .clearfix { zoom: 1; } /* IE6 */
  50. *:first-child+html .clearfix { zoom: 1; } /* IE7 */
  51.  
  52. /*
  53. Page center
  54. */
  55.  
  56. @mixin centrize($width: '400px', $height: '300px') {
  57. position: absolute;
  58. top: 50%;
  59. left: 50%;
  60. width: $width;
  61. height: $height;
  62. margin-left: -#{$width/2};
  63. margin-top: -#{$height/2};
  64. }
Add Comment
Please, Sign In to add comment