creative.less 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348
  1. @import "variables.less";
  2. @import "mixins.less";
  3. // Global Components
  4. html,
  5. body {
  6. height: 100%;
  7. width: 100%;
  8. }
  9. body {
  10. .serif-font;
  11. }
  12. hr {
  13. border-color: @theme-primary;
  14. border-width: 3px;
  15. max-width: 50px;
  16. }
  17. hr.light {
  18. border-color: white;
  19. }
  20. a {
  21. .transition-all;
  22. color: @theme-primary;
  23. &:hover,
  24. &:focus {
  25. color: darken(@theme-primary, 10%);
  26. }
  27. }
  28. h1,
  29. h2,
  30. h3,
  31. h4,
  32. h5,
  33. h6 {
  34. .sans-serif-font;
  35. }
  36. p {
  37. font-size: 16px;
  38. line-height: 1.5;
  39. margin-bottom: 20px;
  40. }
  41. .bg-primary {
  42. background-color: @theme-primary;
  43. }
  44. .bg-dark {
  45. background-color: @theme-dark;
  46. color: white;
  47. }
  48. .text-faded {
  49. color: fade(white, 70%);
  50. }
  51. section {
  52. padding: 100px 0;
  53. }
  54. aside {
  55. padding: 50px 0;
  56. }
  57. .no-padding {
  58. padding: 0;
  59. }
  60. // Navigation
  61. .navbar-default {
  62. background-color: white;
  63. border-color: fade(@theme-dark, 5%);
  64. .sans-serif-font;
  65. .transition-all;
  66. .navbar-header .navbar-brand {
  67. color: @theme-primary;
  68. .sans-serif-font;
  69. font-weight: 700;
  70. text-transform: uppercase;
  71. &:hover,
  72. &:focus {
  73. color: darken(@theme-primary, 10%);
  74. }
  75. }
  76. .nav {
  77. > li {
  78. > a,
  79. > a:focus {
  80. text-transform: uppercase;
  81. font-weight: 700;
  82. font-size: 13px;
  83. color: @theme-dark;
  84. &:hover {
  85. color: @theme-primary;
  86. }
  87. }
  88. &.active {
  89. > a,
  90. > a:focus {
  91. color: @theme-primary !important;
  92. background-color: transparent;
  93. &:hover {
  94. background-color: transparent;
  95. }
  96. }
  97. }
  98. }
  99. }
  100. @media (min-width: 768px) {
  101. background-color: transparent;
  102. border-color: fade(white, 30%);
  103. .navbar-header .navbar-brand {
  104. color: fade(white, 70%);
  105. &:hover,
  106. &:focus {
  107. color: white;
  108. }
  109. }
  110. .nav > li > a,
  111. .nav > li > a:focus {
  112. color: fade(white, 70%);
  113. &:hover {
  114. color: white;
  115. }
  116. }
  117. &.affix {
  118. background-color: white;
  119. border-color: fade(@theme-dark, 5%);
  120. .navbar-header .navbar-brand {
  121. color: @theme-primary;
  122. font-size: 14px;
  123. &:hover,
  124. &:focus {
  125. color: darken(@theme-primary, 10%);
  126. }
  127. }
  128. .nav > li > a,
  129. .nav > li > a:focus {
  130. color: @theme-dark;
  131. &:hover {
  132. color: @theme-primary;
  133. }
  134. }
  135. }
  136. }
  137. }
  138. // Homepage Header
  139. header {
  140. position: relative;
  141. width: 100%;
  142. min-height: auto;
  143. .background-cover;
  144. background-position: center;
  145. background-image: url('../img/header.jpg');
  146. text-align: center;
  147. color: white;
  148. .header-content {
  149. position: relative;
  150. text-align: center;
  151. padding: 100px 15px 100px;
  152. width: 100%;
  153. .header-content-inner {
  154. h1 {
  155. font-weight: 700;
  156. text-transform: uppercase;
  157. margin-top: 0;
  158. margin-bottom: 0;
  159. }
  160. hr {
  161. margin: 30px auto;
  162. }
  163. p {
  164. font-weight: 300;
  165. color: fade(white, 70%);
  166. font-size: 16px;
  167. margin-bottom: 50px;
  168. }
  169. }
  170. }
  171. @media (min-width: 768px) {
  172. min-height: 100%;
  173. .header-content {
  174. position: absolute;
  175. top: 50%;
  176. -webkit-transform: translateY(-50%);
  177. -ms-transform: translateY(-50%);
  178. transform: translateY(-50%);
  179. padding: 0 50px;
  180. .header-content-inner {
  181. max-width: 1000px;
  182. margin-left: auto;
  183. margin-right: auto;
  184. p {
  185. font-size: 18px;
  186. max-width: 80%;
  187. margin-left: auto;
  188. margin-right: auto;
  189. }
  190. }
  191. }
  192. }
  193. }
  194. // Sections
  195. .section-heading {
  196. margin-top: 0;
  197. }
  198. .service-box {
  199. max-width: 400px;
  200. margin: 50px auto 0;
  201. @media (min-width: 992px) {
  202. margin: 20px auto 0;
  203. }
  204. p {
  205. margin-bottom: 0;
  206. }
  207. }
  208. .portfolio-box {
  209. position: relative;
  210. display: block;
  211. max-width: 650px;
  212. margin: 0 auto;
  213. .portfolio-box-caption {
  214. color: white;
  215. opacity: 0;
  216. display: block;
  217. background: fade(@theme-primary, 90%);
  218. position: absolute;
  219. bottom: 0;
  220. text-align: center;
  221. width: 100%;
  222. height: 100%;
  223. .transition-all;
  224. .portfolio-box-caption-content {
  225. width: 100%;
  226. text-align: center;
  227. position: absolute;
  228. top: 50%;
  229. transform: translateY(-50%);
  230. .project-category,
  231. .project-name {
  232. .sans-serif-font;
  233. padding: 0 15px;
  234. }
  235. .project-category {
  236. text-transform: uppercase;
  237. font-weight: 600;
  238. font-size: 14px;
  239. }
  240. .project-name {
  241. font-size: 18px;
  242. }
  243. }
  244. }
  245. &:hover {
  246. .portfolio-box-caption {
  247. opacity: 1;
  248. }
  249. }
  250. @media (min-width: 768px) {
  251. .portfolio-box-caption {
  252. .portfolio-box-caption-content {
  253. .project-category {
  254. font-size: 16px;
  255. }
  256. .project-name {
  257. font-size: 22px;
  258. }
  259. }
  260. }
  261. }
  262. }
  263. .call-to-action {
  264. h2 {
  265. margin: 0 auto 20px;
  266. }
  267. }
  268. // Bootstrap Overrides
  269. .text-primary {
  270. color: @theme-primary;
  271. }
  272. .no-gutter > [class*='col-'] {
  273. padding-right:0;
  274. padding-left:0;
  275. }
  276. // Button Styles
  277. .btn-default {
  278. .button-variant(@theme-dark;white;white);
  279. }
  280. .btn-primary {
  281. .button-variant(white;@theme-primary;@theme-primary);
  282. }
  283. .btn {
  284. .sans-serif-font;
  285. border: none;
  286. border-radius: 300px;
  287. font-weight: 700;
  288. text-transform: uppercase;
  289. }
  290. .btn-xl {
  291. padding: 15px 30px;
  292. }
  293. // Extras
  294. // -- Highlight Color Customization
  295. ::-moz-selection {
  296. color: white;
  297. text-shadow: none;
  298. background: @theme-dark;
  299. }
  300. ::selection {
  301. color: white;
  302. text-shadow: none;
  303. background: @theme-dark;
  304. }
  305. img::selection {
  306. color: white;
  307. background: transparent;
  308. }
  309. img::-moz-selection {
  310. color: white;
  311. background: transparent;
  312. }
  313. body {
  314. webkit-tap-highlight-color: @theme-dark;
  315. }