site.less 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  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. #new-icons, #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: 24px + 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. &.btn-github {
  98. padding-left: 30px + 44;
  99. }
  100. }
  101. .hero-content {
  102. width: 500px;
  103. text-align: center;
  104. }
  105. }
  106. .btn-primary, .hero-unit .btn-primary {
  107. .buttonBackground(#fffeb8, #c49c38);
  108. color: @grayDark;
  109. text-shadow: 0 -1px 0 rgba(255,255,255,.25);
  110. &:hover {
  111. text-shadow: 0 -1px 0 rgba(255,255,255,.25);
  112. color: @grayDark;
  113. }
  114. }
  115. .the-icons {
  116. li[class^="icon-"],
  117. li[class*=" icon-"] {
  118. cursor: pointer;
  119. margin-top: -3px;
  120. font-size: 14px;
  121. line-height: 24px;
  122. height: 24px;
  123. &:after {
  124. font-family: @baseFontFamily;
  125. font-style: normal;
  126. content: attr(class);
  127. }
  128. &:hover:before {
  129. font-size: 24px;
  130. text-indent: -4/3em;
  131. vertical-align: middle;
  132. }
  133. }
  134. }
  135. #why {
  136. .row {
  137. margin-bottom: 20px;
  138. }
  139. .icon-large {
  140. font-size: 22px;
  141. text-align: center;
  142. padding-right: 4px;
  143. }
  144. }
  145. #examples {
  146. .btn-toolbar {
  147. margin-top: 0;
  148. margin-bottom: 20px;
  149. }
  150. }
  151. #integration {
  152. .row { margin-bottom: 40px; }
  153. }
  154. #examples, #code {
  155. form {
  156. margin-bottom: 10px;
  157. input {
  158. line-height: 1; // fixes a safari placeholder alignment issue
  159. }
  160. }
  161. .rating {
  162. unicode-bidi: bidi-override;
  163. direction: rtl;
  164. font-size: 30px;
  165. span.star {
  166. font-family: FontAwesome;
  167. font-weight: normal;
  168. font-style: normal;
  169. display: inline-block;
  170. &:hover {
  171. cursor: pointer;
  172. }
  173. }
  174. span.star:before {
  175. content: "\f006"; // empty star
  176. padding-right: 5px;
  177. color: @grayLight;
  178. }
  179. span.star:hover:before, span.star:hover ~ span.star:before {
  180. content: "\f005"; // solid star
  181. color: #e3cf7a;
  182. }
  183. }
  184. }
  185. .modal {
  186. width: 560px;
  187. max-height: 510px;
  188. .modal-body {
  189. padding-bottom: 0;
  190. .row { margin-bottom: 15px; }
  191. div.thumbnail {
  192. text-align: center;
  193. div { margin-bottom: 5px; }
  194. }
  195. .icon6 {
  196. width: 325px;
  197. > div.thumbnail > div { .icon-size(340px); }
  198. }
  199. .icon5 {
  200. width: 185px;
  201. > div.thumbnail > div { .icon-size(180px); }
  202. }
  203. .icon4 {
  204. width: 215px;
  205. > div.thumbnail > div { .icon-size(100px); }
  206. }
  207. .icon3 {
  208. width: 120px;
  209. > div.thumbnail > div { .icon-size(50px); }
  210. }
  211. .icon2 {
  212. width: 75px;
  213. > div.thumbnail > div { .icon-size(20px); }
  214. }
  215. .icon1 {
  216. width: 60px;
  217. > div.thumbnail > div { .icon-size(12px); }
  218. }
  219. }
  220. }
  221. footer {
  222. color: @gray;
  223. margin-top: 20px;
  224. border-top: 1px solid @grayLighter;
  225. margin-top: 60px;
  226. padding-top: 20px;
  227. padding-bottom: 60px;
  228. ul {
  229. margin-left: 30px;
  230. line-height: 25px;
  231. li {
  232. &:before {
  233. font-size: 20px;
  234. vertical-align: top;
  235. }
  236. }
  237. }
  238. }