site.less 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347
  1. @import "twbs-2.3.1/bootstrap.less";
  2. @import "twbs-2.3.1/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. #social-buttons {
  175. ul.unstyled { margin: 0; }
  176. padding: 22px 0 17px;
  177. text-align: center;
  178. background-color: #f5f5f5;
  179. border-top: 1px solid #fff;
  180. border-bottom: 1px solid #ddd;
  181. .btn {
  182. // font-family: @serifFontFamily;
  183. font-weight: bold;
  184. // font-size: @baseFontSize;
  185. padding: 0px 5px;
  186. line-height: @baseLineHeight - 3;
  187. margin: 0;
  188. }
  189. .count.btn {
  190. background: @white;
  191. font-weight: normal;
  192. }
  193. }
  194. .the-icons {
  195. margin-top: 22px;
  196. .span3 {
  197. a {
  198. display: block;
  199. &, &:hover { color: @grayDarker; }
  200. cursor: pointer;
  201. line-height: 32px;
  202. height: 32px;
  203. padding-left: 10px;
  204. .border-radius(6px);
  205. [class^="icon-"],
  206. [class*=" icon-"] {
  207. width: 32px;
  208. font-size: 14px;
  209. display: inline-block;
  210. text-align: right;
  211. margin-right: 10px;
  212. }
  213. &:hover {
  214. background-color: @errorBackground;
  215. text-decoration: none;
  216. [class^="icon-"], [class*=" icon-"] {
  217. *font-size: 28px;
  218. *vertical-align: middle;
  219. }
  220. [class^="icon-"]:before,
  221. [class*=" icon-"]:before {
  222. font-size: 28px;
  223. vertical-align: -5px;
  224. }
  225. }
  226. }
  227. }
  228. }
  229. #why, #whats-new {
  230. .row {
  231. margin-bottom: 20px;
  232. }
  233. h4 {
  234. [class^="icon-"]:before,
  235. [class*=" icon-"]:before {
  236. vertical-align: -10%;
  237. font-size: 28px;
  238. display: inline-block;
  239. width: 30/28em;
  240. text-align: center;
  241. margin-right: 5px;
  242. // color: mix(@grayLight, @grayLighter, 70%);
  243. // Gradient on the icons
  244. // background: -webkit-linear-gradient(mix(@grayLight, @grayLighter, 50%), mix(@gray, @grayLight, 50%));
  245. // -webkit-background-clip: text;
  246. // -webkit-text-fill-color: transparent;
  247. }
  248. }
  249. }
  250. .rating {
  251. unicode-bidi: bidi-override;
  252. direction: rtl;
  253. font-size: 30px;
  254. span.star {
  255. font-family: FontAwesome;
  256. font-weight: normal;
  257. font-style: normal;
  258. display: inline-block;
  259. &:hover {
  260. cursor: pointer;
  261. }
  262. }
  263. span.star:before {
  264. content: "\f006"; // empty star
  265. padding-right: 5px;
  266. color: @grayLight;
  267. }
  268. span.star:hover:before, span.star:hover ~ span.star:before {
  269. content: "\f005"; // solid star
  270. color: #e3cf7a;
  271. }
  272. }
  273. .label,
  274. .badge {
  275. background-color: @grayLighter;
  276. }
  277. .well.well-transparent {
  278. background-color: transparent;
  279. }
  280. footer {
  281. // #gradient > .vertical(@navbarInverseBackgroundHighlight, @navbarInverseBackground);
  282. background-color: @red;
  283. border-top: 1px solid mix(@red, @redDark, 50%);
  284. a {
  285. color: @white;
  286. text-shadow: 0 -1px 0 rgba(0,0,0,.25);
  287. &:hover {
  288. color: @white;
  289. }
  290. }
  291. color: mix(@red, @white, 35%);
  292. text-shadow: 0 -1px 0 rgba(0,0,0,.25);
  293. margin-top: 60px;
  294. padding-top: 45px;
  295. padding-bottom: 60px;
  296. *zoom: 1; // ie7 hack
  297. ul {
  298. // margin-left: 30px;
  299. line-height: 25px;
  300. }
  301. .project { margin-top: 10px; }
  302. }
  303. // makes dropdowns closer for split dropdown
  304. // Links
  305. .navbar .nav > li {
  306. &.dropdown-split-right > a { padding-left: 7px; }
  307. &.dropdown-split-left > a { padding-right: 0; }
  308. }