site.less 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. @import "tw-bs-201/bootstrap.less";
  2. @import "tw-bs-201/mixins.less";
  3. @import "mixins.less";
  4. @import "variables.less";
  5. @import "font-museo.less";
  6. @import "font-awesome.less";
  7. // These accomodate navbar-fixed-top
  8. #overview { padding-top: 60px; }
  9. #base-icons, #extended-icons, #examples, #integration, #code, #roadmap {
  10. padding-top: 40px;
  11. }
  12. .navbar .brand { padding: 11px 20px 9px; }
  13. .navbar-inner { .border-radius(0); }
  14. .navbar .nav > li > a { padding: 12px 10px 9px; }
  15. h1, h2, h3, h4, h5, h6 { font-family: @baseHeaderFontFamily; }
  16. #iconCarousel {
  17. a { color: @white; }
  18. @size: 275px;
  19. float: right;
  20. width: @size * .9 + 8;
  21. height: @size * .75;
  22. margin-right: 10px;
  23. margin-top: -20px;
  24. font-size: @size;
  25. text-align: center;
  26. text-shadow: 2px 2px 3px @grayDarker;
  27. .carousel-control {
  28. top: @size + 5;
  29. .square(23px);
  30. border-width: 3px;
  31. font-size: 17px;
  32. line-height: 24px;
  33. left: @size / 3 + 3;
  34. &.right {
  35. left: auto;
  36. right: @size / 3 + 3;
  37. }
  38. }
  39. }
  40. a[href^='http://'] {
  41. display: inline-block;
  42. &:after {
  43. font-family: FontAwesome;
  44. content: "\0020 \f08e";
  45. &:hover {
  46. text-decoration: none;
  47. }
  48. }
  49. }
  50. .hero-unit {
  51. background-color: @red;
  52. &, h1 { color: @white; }
  53. h1 {
  54. font-size: 70px;
  55. letter-spacing: -1px;
  56. line-height: 1.2;
  57. }
  58. p {
  59. margin-top: 10px;
  60. margin-bottom: 15px;
  61. font-size: 28px;
  62. line-height: 34px;
  63. }
  64. text-shadow: 2px 2px 2px @grayDark;
  65. ul {
  66. margin-left: 50px;
  67. li {
  68. &.icon-large:before {
  69. text-indent: -2em;
  70. vertical-align: baseline;
  71. }
  72. font-size: 15px;
  73. line-height: 30px;
  74. text-shadow: 1px 1px 1px @grayDark;
  75. }
  76. }
  77. a { color: #fffeb8; }
  78. .btn-large {
  79. .buttonBackground(@white, #bbb);
  80. font-family: @baseHeaderFontFamily;
  81. color: @grayDark;
  82. margin-top: 15px;
  83. font-weight: bold;
  84. font-size: 18px;
  85. padding: 13px 22px;
  86. padding-left: 22px + 44;
  87. margin-right: 10px;
  88. .border-radius(6px);
  89. position: relative;
  90. text-align: left;
  91. i {
  92. position: absolute;
  93. top: 12px;
  94. left: 22px;
  95. font-size: 46px;
  96. }
  97. }
  98. .hero-content {
  99. width: 500px;
  100. text-align: center;
  101. }
  102. }
  103. .btn-primary, .hero-unit .btn-primary {
  104. .buttonBackground(#fffeb8, #c49c38);
  105. color: @grayDark;
  106. text-shadow: 0 -1px 0 rgba(255,255,255,.25);
  107. &:hover {
  108. text-shadow: 0 -1px 0 rgba(255,255,255,.25);
  109. color: @grayDark;
  110. }
  111. }
  112. .the-icons {
  113. li[class^="icon-"],
  114. li[class*=" icon-"] {
  115. cursor: pointer;
  116. margin-top: -3px;
  117. font-size: 14px;
  118. line-height: 24px;
  119. height: 24px;
  120. &:after {
  121. font-family: @baseFontFamily;
  122. font-style: normal;
  123. content: attr(class);
  124. }
  125. &:hover:before {
  126. font-size: 24px;
  127. text-indent: -4/3em;
  128. vertical-align: middle;
  129. }
  130. }
  131. }
  132. #why {
  133. .row {
  134. margin-bottom: 20px;
  135. }
  136. .icon-large {
  137. font-size: 22px;
  138. text-align: center;
  139. padding-right: 4px;
  140. }
  141. }
  142. #examples {
  143. .btn-toolbar {
  144. margin-top: 0;
  145. margin-bottom: 20px;
  146. }
  147. }
  148. #integration {
  149. .row { margin-bottom: 40px; }
  150. }
  151. #examples, #code {
  152. form {
  153. margin-bottom: 10px;
  154. input {
  155. line-height: 1; // fixes a safari placeholder alignment issue
  156. }
  157. }
  158. .rating {
  159. unicode-bidi: bidi-override;
  160. direction: rtl;
  161. font-size: 30px;
  162. span.star {
  163. font-family: FontAwesome;
  164. font-weight: normal;
  165. font-style: normal;
  166. display: inline-block;
  167. &:hover {
  168. cursor: pointer;
  169. }
  170. }
  171. span.star:before {
  172. content: "\f006"; // empty star
  173. padding-right: 5px;
  174. color: @grayLight;
  175. }
  176. span.star:hover:before, span.star:hover ~ span.star:before {
  177. content: "\f005"; // solid star
  178. color: #e3cf7a;
  179. }
  180. }
  181. }
  182. .modal {
  183. width: 560px;
  184. max-height: 510px;
  185. .modal-body {
  186. padding-bottom: 0;
  187. .row { margin-bottom: 15px; }
  188. div.thumbnail {
  189. text-align: center;
  190. div { margin-bottom: 5px; }
  191. }
  192. .icon6 {
  193. width: 325px;
  194. > div.thumbnail > div { .icon-size(340px); }
  195. }
  196. .icon5 {
  197. width: 185px;
  198. > div.thumbnail > div { .icon-size(180px); }
  199. }
  200. .icon4 {
  201. width: 215px;
  202. > div.thumbnail > div { .icon-size(100px); }
  203. }
  204. .icon3 {
  205. width: 120px;
  206. > div.thumbnail > div { .icon-size(50px); }
  207. }
  208. .icon2 {
  209. width: 75px;
  210. > div.thumbnail > div { .icon-size(20px); }
  211. }
  212. .icon1 {
  213. width: 60px;
  214. > div.thumbnail > div { .icon-size(12px); }
  215. }
  216. }
  217. }
  218. footer {
  219. color: @gray;
  220. margin-top: 20px;
  221. border-top: 1px solid @grayLighter;
  222. margin-top: 60px;
  223. padding-top: 20px;
  224. padding-bottom: 60px;
  225. ul {
  226. margin-left: 30px;
  227. line-height: 25px;
  228. li {
  229. &:before {
  230. font-size: 20px;
  231. vertical-align: top;
  232. }
  233. }
  234. }
  235. }