site.less 5.0 KB

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