site.less 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349
  1. ---
  2. ---
  3. @import "bootstrap-{{ site.bootstrap.version }}/bootstrap.less";
  4. @import "bootstrap-{{ site.bootstrap.version }}/responsive-utilities.less";
  5. @import "sticky-footer.less";
  6. @import "mixins.less";
  7. @import "variables.less";
  8. @import "lazy.less";
  9. .navbar .brand {
  10. font-family: @serifFontFamily;
  11. .icon-flag { padding-right: 3px; }
  12. }
  13. .navbar .nav > li > a { padding: 12px 10px 9px; }
  14. .navbar .nav.pull-right { margin-right: -10px; }
  15. .navbar, .jumbotron, #social-buttons { min-width: 990px; } // necessary fix for non-responsive layouts
  16. h1, h2, h3, h4, h5, h6 { font-family: @serifFontFamily; }
  17. #iconCarousel {
  18. a { color: @white; }
  19. @size: 220px;
  20. font-size: @size;
  21. text-align: center;
  22. line-height: @size + 5;
  23. text-shadow: 2px 2px 3px @grayDarker;
  24. .carousel-control {
  25. top: @size + 33px;
  26. .square(30px);
  27. background: none;
  28. border-width: 0;
  29. font-size: 30px;
  30. line-height: 25px;
  31. left: 300/2 - 33px;
  32. &.right {
  33. left: auto;
  34. right: 300/2 - 33px;
  35. }
  36. }
  37. }
  38. .jumbotron {
  39. background: @red;
  40. border-bottom: 1px solid @redDark;
  41. &, h1 { color: @white; }
  42. #gradient > .directional(@red, mix(@red, @redDark, 90%), -40deg);
  43. // background-color: @red;
  44. // &:after {
  45. // content:'';
  46. // display:block;
  47. // position:absolute;
  48. // top:0;
  49. // right:0;
  50. // bottom:0;
  51. // left:0;
  52. // background:url(../img/grain-tm400.png);
  53. // opacity:.5;
  54. // }
  55. h1 {
  56. font-size: 80px;
  57. letter-spacing: -2px;
  58. line-height: 1;
  59. }
  60. p {
  61. margin-top: 15px;
  62. margin-bottom: 15px;
  63. font-size: 30px;
  64. line-height: 1.3;
  65. font-weight: lighter;
  66. }
  67. .actions { margin-top: 25px;}
  68. text-shadow: 2px 2px 2px @grayDark;
  69. ul {
  70. margin-left: 50px;
  71. li {
  72. &.icon-large:before {
  73. text-indent: -2em;
  74. vertical-align: baseline;
  75. }
  76. font-size: 15px;
  77. line-height: 30px;
  78. text-shadow: 1px 1px 1px @grayDark;
  79. }
  80. }
  81. .btn-large {
  82. font-family: @serifFontFamily;
  83. font-weight: 500;
  84. font-size: 24px;
  85. padding: 17px 30px;
  86. letter-spacing: -1px;
  87. }
  88. .hero-content {
  89. text-align: center;
  90. }
  91. .shameless-self-promotion {
  92. font-size: 14px;
  93. margin-top: 25px;
  94. color: mix(@white, @red, 40%);
  95. text-shadow: none;
  96. a { color: mix(@white, @red, 70%); }
  97. a:hover { color: mix(@white, @red, 100%); }
  98. }
  99. }
  100. .jumbotron-index {
  101. padding: 40px 0;
  102. h1 {
  103. font-size: 80px;
  104. letter-spacing: -2px;
  105. line-height: 1;
  106. margin: 0 0 15px;
  107. }
  108. p {
  109. margin-top: 15px;
  110. margin-bottom: 15px;
  111. font-size: 30px;
  112. line-height: 1.3;
  113. }
  114. }
  115. .jumbotron-ad {
  116. padding: 20px 0;
  117. h1 { margin-top: 25px; }
  118. p { margin-bottom: 35px; }
  119. }
  120. .jumbotron-icon {
  121. padding: 20px 0 30px;
  122. #gradient > .directional(@grayLighter, mix(@grayLighter, @grayLight, 90%), -40deg);
  123. color: @grayDarker;
  124. text-shadow: 1px 1px 1px @white;
  125. border-bottom: solid 1px mix(@grayLight, @grayLighter, 50%);
  126. h1 {
  127. color: @grayDarker;
  128. font-size: 40px;
  129. small {
  130. letter-spacing: normal;
  131. font-family: @sansFontFamily;
  132. font-size: @baseFontSize;
  133. margin-left: 20px;
  134. }
  135. }
  136. .info-details {
  137. float: left;
  138. p {
  139. margin: 25px 0;
  140. font-weight: bold;
  141. }
  142. .dl-horizontal {
  143. dt { width: @horizontalComponentOffset - 100; }
  144. dd { margin-left: @horizontalComponentOffset - 85; }
  145. }
  146. }
  147. .icon-2 { font-size: 2em; }
  148. .icon-3 { font-size: 4em; }
  149. .icon-4 { font-size: 7em; }
  150. .icon-5 { font-size: 12em; }
  151. .icon-6 { font-size: 20em; }
  152. .icon-1, .icon-2, .icon-3, .icon-4, .icon-5, .icon-6 { margin-right: 1/14em; }
  153. }
  154. .info-ad {
  155. float: right;
  156. width: 154px;
  157. height: 219px;
  158. margin-left: 15px;
  159. }
  160. .stripe-ad {
  161. margin-bottom: 22px;
  162. .lead {
  163. margin-top: 10px;
  164. margin-right: 30px;
  165. }
  166. }
  167. .btn-primary {
  168. color: @grayDark;
  169. text-shadow: 0 -1px 0 rgba(255,255,255,.25);
  170. &:hover {
  171. text-shadow: 0 -1px 0 rgba(255,255,255,.25);
  172. color: @grayDark;
  173. }
  174. }
  175. section { margin-top: 40px; }
  176. #social-buttons {
  177. ul.unstyled { margin: 0; }
  178. padding: 22px 0 17px;
  179. text-align: center;
  180. background-color: #f5f5f5;
  181. border-top: 1px solid #fff;
  182. border-bottom: 1px solid #ddd;
  183. .btn {
  184. // font-family: @serifFontFamily;
  185. font-weight: bold;
  186. // font-size: @baseFontSize;
  187. padding: 0px 5px;
  188. line-height: @baseLineHeight - 3;
  189. margin: 0;
  190. }
  191. .count.btn {
  192. background: @white;
  193. font-weight: normal;
  194. }
  195. }
  196. .the-icons {
  197. margin-top: 22px;
  198. .span3 {
  199. a {
  200. display: block;
  201. &, &:hover { color: @grayDarker; }
  202. cursor: pointer;
  203. line-height: 32px;
  204. height: 32px;
  205. padding-left: 10px;
  206. .border-radius(6px);
  207. [class^="icon-"],
  208. [class*=" icon-"] {
  209. width: 32px;
  210. font-size: 14px;
  211. display: inline-block;
  212. text-align: right;
  213. margin-right: 10px;
  214. }
  215. &:hover {
  216. background-color: @errorBackground;
  217. text-decoration: none;
  218. [class^="icon-"], [class*=" icon-"] {
  219. *font-size: 28px;
  220. *vertical-align: middle;
  221. }
  222. [class^="icon-"]:before,
  223. [class*=" icon-"]:before {
  224. font-size: 28px;
  225. vertical-align: -5px;
  226. }
  227. }
  228. }
  229. }
  230. }
  231. #why, #whats-new {
  232. .row {
  233. margin-bottom: 20px;
  234. }
  235. h4 {
  236. [class^="icon-"]:before,
  237. [class*=" icon-"]:before {
  238. vertical-align: -10%;
  239. font-size: 28px;
  240. display: inline-block;
  241. width: 30/28em;
  242. text-align: center;
  243. margin-right: 5px;
  244. // color: mix(@grayLight, @grayLighter, 70%);
  245. // Gradient on the icons
  246. // background: -webkit-linear-gradient(mix(@grayLight, @grayLighter, 50%), mix(@gray, @grayLight, 50%));
  247. // -webkit-background-clip: text;
  248. // -webkit-text-fill-color: transparent;
  249. }
  250. }
  251. }
  252. .rating {
  253. unicode-bidi: bidi-override;
  254. direction: rtl;
  255. font-size: 30px;
  256. span.star {
  257. font-family: FontAwesome;
  258. font-weight: normal;
  259. font-style: normal;
  260. display: inline-block;
  261. &:hover {
  262. cursor: pointer;
  263. }
  264. }
  265. span.star:before {
  266. content: "\f006"; // empty star
  267. padding-right: 5px;
  268. color: @grayLight;
  269. }
  270. span.star:hover:before, span.star:hover ~ span.star:before {
  271. content: "\f005"; // solid star
  272. color: #e3cf7a;
  273. }
  274. }
  275. .label,
  276. .badge {
  277. background-color: @grayLighter;
  278. }
  279. .well.well-transparent {
  280. background-color: transparent;
  281. }
  282. footer {
  283. // #gradient > .vertical(@navbarInverseBackgroundHighlight, @navbarInverseBackground);
  284. background-color: @red;
  285. border-top: 1px solid mix(@red, @redDark, 50%);
  286. a {
  287. color: @white;
  288. text-shadow: 0 -1px 0 rgba(0,0,0,.25);
  289. &:hover {
  290. color: @white;
  291. }
  292. }
  293. color: mix(@red, @white, 35%);
  294. text-shadow: 0 -1px 0 rgba(0,0,0,.25);
  295. margin-top: 60px;
  296. padding-top: 45px;
  297. padding-bottom: 60px;
  298. *zoom: 1; // ie7 hack
  299. ul {
  300. // margin-left: 30px;
  301. line-height: 25px;
  302. }
  303. .project { margin-top: 10px; }
  304. }
  305. // makes dropdowns closer for split dropdown
  306. // Links
  307. .navbar .nav > li {
  308. &.dropdown-split-right > a { padding-left: 7px; }
  309. &.dropdown-split-left > a { padding-right: 0; }
  310. }