_layout.scss 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. /**
  2. * Reset some basic elements
  3. */
  4. body {
  5. height:100%;
  6. }
  7. header, section {
  8. width: 100%;
  9. position: relative;
  10. }
  11. section {
  12. padding: $spacing-unit 0;
  13. }
  14. .main-wrapper,.error-wrapper {
  15. min-width: 320px;
  16. min-height: 100%;
  17. height: auto;
  18. position: relative;
  19. }
  20. /**
  21. * Site header
  22. */
  23. #header {
  24. background-color: $light-blue;;
  25. }
  26. /**
  27. * Site banner
  28. */
  29. #banner {
  30. background-color: $light-blue;
  31. padding-bottom: 0;
  32. height: 330px;
  33. overflow: hidden;
  34. .wrapper {
  35. height: 100%;
  36. position: relative;
  37. padding: 0;
  38. svg {
  39. position: absolute;
  40. bottom: 0;
  41. }
  42. }
  43. }
  44. /**
  45. * About me
  46. */
  47. #about {
  48. .wrapper {
  49. .content {
  50. text-indent: 2em;
  51. text-align:justify;
  52. color: $grey-color;
  53. margin: 20px 10%;
  54. }
  55. }
  56. a {
  57. &:not(:last-child) {
  58. margin-right: 20px;
  59. }
  60. }
  61. .avatar {
  62. position: relative;
  63. left: 50%;
  64. margin-left: -75px;
  65. }
  66. }
  67. /**
  68. * Blog
  69. */
  70. #blog {
  71. background-color: $blue;
  72. height: auto;
  73. #sky {
  74. position: absolute;
  75. max-height: 150px;
  76. }
  77. .wrapper {
  78. position: relative;
  79. background: url(../images/cloud.png) 15% bottom no-repeat;
  80. background-size: 100px 73px;
  81. padding: 0;
  82. .content {
  83. position: relative;
  84. margin: 20px auto;
  85. width: 100%;
  86. h1 {
  87. margin: 0 0 40px 0;
  88. }
  89. }
  90. }
  91. }
  92. /**
  93. * Projects
  94. */
  95. /**
  96. * Comments
  97. */
  98. #comments {
  99. padding-top: 0;
  100. }
  101. /**
  102. * Site footer
  103. */
  104. #footer {
  105. width: 100%;
  106. position: absolute;
  107. bottom: -150px;
  108. .footer-border {
  109. width: 100%;
  110. height:30px;
  111. background: url(../images/wave.png);
  112. background-size: 100px 30px;
  113. background-repeat: repeat-x;
  114. }
  115. .footer-content {
  116. background-color: $blue;
  117. padding: 30px 0;
  118. border: 1px solid $blue;
  119. }
  120. .social-wrapper {
  121. width: 100%;
  122. }
  123. }
  124. /**
  125. * 404
  126. */
  127. .error-content {
  128. background-color: $blue;
  129. padding: 2em;
  130. }