site.less 5.5 KB

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