Blog-style website for karathan using the self-made Stellar Theme powered by HTML5Up http://blog.karathan.at

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. ///
  2. /// Stellar by HTML5 UP
  3. /// html5up.net | @ajlkn
  4. /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
  5. ///
  6. /* Main */
  7. #main {
  8. @include color(invert);
  9. border-radius: _size(border-radius-main);
  10. > .main {
  11. @include padding(5em, 5em);
  12. border-top: solid 1px _palette(invert, border);
  13. &:first-child {
  14. border-top: 0;
  15. }
  16. > .image.main:first-child {
  17. margin: -5em 0 5em -5em;
  18. width: calc(100% + 10em);
  19. border-top-right-radius: _size(border-radius-main);
  20. border-top-left-radius: _size(border-radius-main);
  21. border-bottom-right-radius: 0;
  22. border-bottom-left-radius: 0;
  23. img {
  24. border-top-right-radius: _size(border-radius-main);
  25. border-top-left-radius: _size(border-radius-main);
  26. border-bottom-right-radius: 0;
  27. border-bottom-left-radius: 0;
  28. }
  29. }
  30. }
  31. @include breakpoint('<=large') {
  32. > .main {
  33. @include padding(4em, 4em);
  34. > .image.main:first-child {
  35. margin: -4em 0 4em -4em;
  36. width: calc(100% + 8em);
  37. }
  38. }
  39. }
  40. @include breakpoint('<=medium') {
  41. > .main {
  42. @include padding(4em, 3em);
  43. > .image.main:first-child {
  44. margin: -4em 0 4em -3em;
  45. width: calc(100% + 6em);
  46. }
  47. }
  48. }
  49. @include breakpoint('<=small') {
  50. > .main {
  51. @include padding(3em, 2em);
  52. > .image.main:first-child {
  53. margin: -3em 0 2em -2em;
  54. width: calc(100% + 4em);
  55. }
  56. }
  57. }
  58. @include breakpoint('<=xsmall') {
  59. > .main {
  60. @include padding(3em, 1.5em);
  61. > .image.main:first-child {
  62. margin: -3em 0 1.5em -1.5em;
  63. width: calc(100% + 3em);
  64. }
  65. }
  66. }
  67. @include breakpoint('<=xxsmall') {
  68. border-radius: 0;
  69. > .main {
  70. @include padding(2.5em, 1em);
  71. > .image.main:first-child {
  72. margin: -2.5em 0 1.5em -1em;
  73. width: calc(100% + 2em);
  74. border-radius: 0;
  75. img {
  76. border-radius: 0;
  77. }
  78. }
  79. }
  80. }
  81. }