_elements.scss 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. html {
  2. box-sizing: border-box;
  3. }
  4. ::-moz-selection {
  5. background-color: $color__background_selection;
  6. }
  7. ::selection {
  8. background-color: $color__background_selection;
  9. }
  10. *,
  11. *:before,
  12. *:after {
  13. box-sizing: inherit;
  14. }
  15. body {
  16. background-color: $color__background-body;
  17. }
  18. a {
  19. @include link-transition;
  20. color: $color__link;
  21. }
  22. a:visited {
  23. }
  24. a:hover,
  25. a:active {
  26. color: $color__link-hover;
  27. outline: 0;
  28. text-decoration: none;
  29. }
  30. a:focus {
  31. outline: thin;
  32. outline-style: dotted;
  33. text-decoration: underline;
  34. }
  35. h1,
  36. h2,
  37. h3,
  38. h4,
  39. h5,
  40. h6 {
  41. clear: both;
  42. margin: $size__spacing-unit 0;
  43. }
  44. h1:not(.site-title),
  45. h2 {
  46. @include post-section-dash;
  47. }
  48. hr {
  49. background-color: $color__text-light;
  50. border: 0;
  51. height: 2px;
  52. }
  53. @import "lists";
  54. img {
  55. height: auto;
  56. max-width: 100%;
  57. position: relative;
  58. }
  59. figure {
  60. margin: 0;
  61. }
  62. blockquote {
  63. border-left: 2px solid $color__link;
  64. margin-left: 0;
  65. padding: 0 0 0 $size__spacing-unit;
  66. > p {
  67. margin: 0 0 $size__spacing-unit;
  68. }
  69. cite {
  70. color: $color__text-light;
  71. }
  72. }
  73. @import "tables";