site.less 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352
  1. @import "bootstrap-2.3.2/bootstrap.less";
  2. @import "bootstrap-2.3.2/responsive-utilities.less";
  3. @import "sticky-footer.less";
  4. @import "mixins.less";
  5. @import "variables.less";
  6. @import "lazy.less";
  7. .navbar .brand {
  8. font-family: @serifFontFamily;
  9. .icon-flag { padding-right: 3px; }
  10. }
  11. .navbar .nav > li > a { padding: 12px 10px 9px; }
  12. .navbar .nav.pull-right { margin-right: -10px; }
  13. //.navbar, .jumbotron, #social-buttons { min-width: 990px; } // necessary fix for non-responsive layouts
  14. h1, h2, h3, h4, h5, h6 { font-family: @serifFontFamily; }
  15. #iconCarousel {
  16. a { color: @white; }
  17. @size: 220px;
  18. font-size: @size;
  19. text-align: center;
  20. line-height: @size + 5;
  21. text-shadow: 2px 2px 3px @grayDarker;
  22. .carousel-control {
  23. top: @size + 33px;
  24. .square(30px);
  25. background: none;
  26. border-width: 0;
  27. font-size: 30px;
  28. line-height: 25px;
  29. left: 300/2 - 33px;
  30. &.right {
  31. left: auto;
  32. right: 300/2 - 33px;
  33. }
  34. }
  35. }
  36. .jumbotron {
  37. background: @red;
  38. border-bottom: 1px solid @redDark;
  39. &, h1 { color: @white; }
  40. #gradient > .directional(@red, mix(@red, @redDark, 90%), -40deg);
  41. // background-color: @red;
  42. // &:after {
  43. // content:'';
  44. // display:block;
  45. // position:absolute;
  46. // top:0;
  47. // right:0;
  48. // bottom:0;
  49. // left:0;
  50. // background:url(../img/grain-tm400.png);
  51. // opacity:.5;
  52. // }
  53. h1 {
  54. font-size: 80px;
  55. letter-spacing: -2px;
  56. line-height: 1;
  57. }
  58. p {
  59. margin-top: 15px;
  60. margin-bottom: 15px;
  61. font-size: 30px;
  62. line-height: 1.3;
  63. font-weight: lighter;
  64. }
  65. .actions { margin-top: 25px;}
  66. text-shadow: 2px 2px 2px @grayDark;
  67. ul {
  68. margin-left: 50px;
  69. li {
  70. &.icon-large:before {
  71. text-indent: -2em;
  72. vertical-align: baseline;
  73. }
  74. font-size: 15px;
  75. line-height: 30px;
  76. text-shadow: 1px 1px 1px @grayDark;
  77. }
  78. }
  79. .btn-large {
  80. font-family: @serifFontFamily;
  81. font-weight: 500;
  82. font-size: 24px;
  83. padding: 17px 30px;
  84. letter-spacing: -1px;
  85. }
  86. .hero-content {
  87. text-align: center;
  88. }
  89. .shameless-self-promotion {
  90. font-size: 14px;
  91. margin-top: 25px;
  92. color: mix(@white, @red, 40%);
  93. text-shadow: none;
  94. a { color: mix(@white, @red, 70%); }
  95. a:hover { color: mix(@white, @red, 100%); }
  96. }
  97. }
  98. .jumbotron-index {
  99. padding: 40px 0;
  100. h1 {
  101. font-size: 80px;
  102. letter-spacing: -2px;
  103. line-height: 1;
  104. margin: 0 0 15px;
  105. }
  106. p {
  107. margin-top: 15px;
  108. margin-bottom: 15px;
  109. font-size: 30px;
  110. line-height: 1.3;
  111. }
  112. }
  113. .jumbotron-ad {
  114. padding: 20px 0;
  115. h1 { margin-top: 25px; }
  116. p { margin-bottom: 35px; }
  117. }
  118. .jumbotron-icon {
  119. padding: 20px 0 30px;
  120. #gradient > .directional(@grayLighter, mix(@grayLighter, @grayLight, 90%), -40deg);
  121. color: @grayDarker;
  122. text-shadow: 1px 1px 1px @white;
  123. border-bottom: solid 1px mix(@grayLight, @grayLighter, 50%);
  124. h1 {
  125. color: @grayDarker;
  126. font-size: 40px;
  127. small {
  128. letter-spacing: normal;
  129. font-family: @sansFontFamily;
  130. font-size: @baseFontSize;
  131. margin-left: 20px;
  132. }
  133. }
  134. .info-details {
  135. float: left;
  136. p {
  137. margin: 25px 0;
  138. font-weight: bold;
  139. }
  140. .dl-horizontal {
  141. dt { width: @horizontalComponentOffset - 100; }
  142. dd { margin-left: @horizontalComponentOffset - 85; }
  143. }
  144. }
  145. .icon-2 { font-size: 2em; }
  146. .icon-3 { font-size: 4em; }
  147. .icon-4 { font-size: 7em; }
  148. .icon-5 { font-size: 12em; }
  149. .icon-6 { font-size: 20em; }
  150. .icon-1, .icon-2, .icon-3, .icon-4, .icon-5, .icon-6 { margin-right: 1/14em; }
  151. }
  152. //.info-ad {
  153. // float: right;
  154. // width: 154px;
  155. // height: 219px;
  156. // margin-left: 15px;
  157. //}
  158. .stripe-ad {
  159. margin-bottom: 22px;
  160. .lead {
  161. margin-top: 10px;
  162. margin-right: 30px;
  163. }
  164. }
  165. .btn-primary {
  166. color: @grayDark;
  167. text-shadow: 0 -1px 0 rgba(255,255,255,.25);
  168. &:hover {
  169. text-shadow: 0 -1px 0 rgba(255,255,255,.25);
  170. color: @grayDark;
  171. }
  172. }
  173. section { margin-top: 40px; }
  174. .stacked {
  175. padding-top: 35px;
  176. height: 105px;
  177. }
  178. #social-buttons {
  179. ul.unstyled { margin: 0; }
  180. padding: 22px 0 17px;
  181. text-align: center;
  182. background-color: #f5f5f5;
  183. border-top: 1px solid #fff;
  184. border-bottom: 1px solid #ddd;
  185. .btn {
  186. // font-family: @serifFontFamily;
  187. font-weight: bold;
  188. // font-size: @baseFontSize;
  189. padding: 0px 5px;
  190. line-height: @baseLineHeight - 3;
  191. margin: 0;
  192. }
  193. .count.btn {
  194. background: @white;
  195. font-weight: normal;
  196. }
  197. }
  198. .the-icons {
  199. margin-top: 22px;
  200. .span3 {
  201. a {
  202. display: block;
  203. &, &:hover { color: @grayDarker; }
  204. cursor: pointer;
  205. line-height: 32px;
  206. height: 32px;
  207. padding-left: 10px;
  208. .border-radius(6px);
  209. [class^="icon-"],
  210. [class*=" icon-"] {
  211. width: 32px;
  212. font-size: 14px;
  213. display: inline-block;
  214. text-align: right;
  215. margin-right: 10px;
  216. }
  217. &:hover {
  218. background-color: @errorBackground;
  219. text-decoration: none;
  220. [class^="icon-"], [class*=" icon-"] {
  221. *font-size: 28px;
  222. *vertical-align: middle;
  223. }
  224. [class^="icon-"]:before,
  225. [class*=" icon-"]:before {
  226. font-size: 28px;
  227. vertical-align: -5px;
  228. }
  229. }
  230. }
  231. }
  232. }
  233. #why, #whats-new {
  234. .span4 { margin-bottom: 20px; }
  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. }
  311. @import "responsive.less";