style.styl 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. @import 'main.css'
  2. @import url(http://fonts.googleapis.com/css?family=Source\+Sans\+Pro:400,600,700)
  3. @import url(http://fonts.googleapis.com/css?family=Abril\+Fatface)
  4. _c1 = #4e9af3
  5. _c2 = darken(#5ef64f, 30%)
  6. _c3 = #ffb552
  7. _c4 = whitesmoke
  8. _c5 = #111
  9. _c6 = whitesmoke
  10. $transition
  11. transition: all 200ms ease
  12. html
  13. padding: 2rem
  14. background: currentcolor url(../img/abstract-bg.svg) right bottom no-repeat
  15. height: 100%
  16. background-attachment: fixed
  17. overflow-y: scroll
  18. body
  19. background: none
  20. font-family: 'Source Sans Pro', sans-serif
  21. line-height: 1.5
  22. color: _c6
  23. h1, h2, h3
  24. font-family: 'Abril Fatface', cursive
  25. color: white
  26. h1, h2, h3, h4, h5, h6
  27. margin-top: 0
  28. p
  29. margin-bottom: 1rem
  30. .navbar
  31. .navbar-brand, .navbar-nav > li > a
  32. color: _c6
  33. font-weight: bold
  34. @extend $transition
  35. &:hover
  36. color: _c1
  37. background: none
  38. .navbar-toggle
  39. background: _c5
  40. .icon-bar
  41. background: _c4
  42. .navbar-nav
  43. > li
  44. > a
  45. @media (max-width: 768px)
  46. background: _c5
  47. border-radius: 4px
  48. margin-bottom: 3px
  49. &:after
  50. content: '/'
  51. margin-left: 30px
  52. color: _c6
  53. @media (max-width: 768px)
  54. content: ''
  55. &:last-child
  56. > a
  57. &:after
  58. content: ''
  59. .container-fluid
  60. .jumbotron
  61. padding-left: 0
  62. padding-right: 0
  63. .jumbotron
  64. background: none
  65. margin-top: 75px
  66. margin-bottom: 75px
  67. h1
  68. font-size: 120px
  69. @media (max-width: 992px)
  70. font-size: 72px
  71. @media (max-width: 768px)
  72. font-size: 40px
  73. .lead
  74. font-size: 32px
  75. @media (max-width: 768px)
  76. font-size: 20px
  77. .portfolio-title
  78. padding: 10px 15px
  79. padding-left: 0
  80. font-weight: bold
  81. .filterable-portfolio
  82. margin-bottom: 3rem
  83. .nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus
  84. background: _c5
  85. color: _c4
  86. .nav-pills
  87. margin-bottom: 1rem
  88. a
  89. color: _c4
  90. @extend $transition
  91. &:hover
  92. background: none
  93. color: _c1
  94. .portfolio-item
  95. margin-bottom: 1rem
  96. &:hover
  97. img
  98. box-shadow: 0 0 0 5px rgba(black, 5%)
  99. filter: grayscale(50%)
  100. img
  101. border-radius: 4px
  102. filter: grayscale(100%)
  103. @extend $transition
  104. .posts
  105. margin-bottom: 3rem
  106. .post
  107. margin-bottom: 1rem
  108. &:hover
  109. img
  110. filter: grayscale(50%)
  111. img
  112. border-radius: 4px
  113. filter: grayscale(100%)
  114. @extend $transition
  115. margin-bottom: 1rem
  116. &:hover
  117. box-shadow: 0 0 0 5px rgba(black, 5%)
  118. .post-excerpt
  119. header
  120. h3
  121. margin-bottom: .25rem
  122. a
  123. color: _c4
  124. &:hover
  125. text-decoration: none
  126. .post-meta
  127. color: mix(_c4, _c5)
  128. a
  129. color: mix(_c4, _c5)
  130. border-bottom: 1px dotted _c5
  131. @extend $transition
  132. &:hover
  133. color: lighten(mix(_c4, _c5), 50%)
  134. border-bottom: 0
  135. .sidebar
  136. margin-bottom: 1rem
  137. ul
  138. padding: 0
  139. list-style: none
  140. li
  141. margin-bottom: .5rem
  142. a
  143. color: darken(mix(_c4, _c5), 20%)
  144. &:hover
  145. text-decoration: none
  146. border-bottom: 1px dotted mix(_c4, _c5)
  147. .widget
  148. margin-bottom: 3rem
  149. .contact-form
  150. background: _c5
  151. padding-top: 1em
  152. padding-bottom: 1em
  153. border-radius: 4px
  154. margin-bottom: 3rem
  155. .nav-pills>li.active>a, .nav-pills>li.active>a:hover, .nav-pills>li.active>a:focus
  156. background: _c5
  157. color: _c4
  158. a
  159. color: _c1
  160. .recent-projects
  161. li
  162. margin-bottom: 1rem
  163. img
  164. border-radius: 4px
  165. filter: grayscale(100%)
  166. @extend $transition
  167. &:hover
  168. filter: grayscale(50%)
  169. box-shadow: 0 0 0 5px rgba(black, 5%)
  170. .site-footer
  171. margin-bottom: 3rem
  172. span
  173. margin-right: .5em
  174. // *
  175. // background: rgba(blue, 5%)