site.less 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  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, #all-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: 28px;
  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. .border-radius(20px);
  53. // #gradient > .radial( lighten(@red, 10%), @red);
  54. background-color: @red;
  55. &, h1 { color: @white; }
  56. h1 {
  57. font-size: 70px;
  58. letter-spacing: -1px;
  59. line-height: 1.2;
  60. }
  61. p {
  62. margin-top: 10px;
  63. margin-bottom: 15px;
  64. font-size: 28px;
  65. line-height: 34px;
  66. }
  67. text-shadow: 2px 2px 2px @grayDark;
  68. ul {
  69. margin-left: 50px;
  70. li {
  71. &.icon-large:before {
  72. text-indent: -2em;
  73. vertical-align: baseline;
  74. }
  75. font-size: 15px;
  76. line-height: 30px;
  77. text-shadow: 1px 1px 1px @grayDark;
  78. }
  79. }
  80. a { color: #fffeb8; }
  81. .btn-large {
  82. .buttonBackground(@white, #bbb);
  83. font-family: @serifFontFamily;
  84. color: @grayDark;
  85. margin-top: 15px;
  86. font-weight: bold;
  87. font-size: 18px;
  88. padding: 13px 22px;
  89. padding-left: 24px + 44;
  90. margin-right: 10px;
  91. .border-radius(6px);
  92. position: relative;
  93. text-align: left;
  94. i {
  95. position: absolute;
  96. // top: 13px;
  97. left: 22px;
  98. font-size: 46px;
  99. }
  100. &.btn-github {
  101. padding-left: 30px + 44;
  102. }
  103. }
  104. .hero-content {
  105. width: 500px;
  106. text-align: center;
  107. }
  108. }
  109. .btn-primary, .hero-unit .btn-primary {
  110. .buttonBackground(#fffeb8, #c49c38);
  111. *background-color: #e7d785;
  112. color: @grayDark;
  113. text-shadow: 0 -1px 0 rgba(255,255,255,.25);
  114. &:hover {
  115. text-shadow: 0 -1px 0 rgba(255,255,255,.25);
  116. color: @grayDark;
  117. }
  118. }
  119. .the-icons {
  120. list-style-type: none;
  121. margin-left: 0;
  122. li {
  123. cursor: pointer;
  124. line-height: 42px;
  125. height: 42px;
  126. padding-left: 12px;
  127. .border-radius(12px);
  128. [class^="icon-"],
  129. [class*=" icon-"] {
  130. width: 32px;
  131. font-size: 16px;
  132. }
  133. &:hover {
  134. background-color: lighten(@errorBackground, 6%);
  135. [class^="icon-"], [class*=" icon-"] { *font-size: 24px; *vertical-align: middle; }
  136. [class^="icon-"]:before,
  137. [class*=" icon-"]:before {
  138. font-size: 24px;
  139. vertical-align: middle;
  140. }
  141. }
  142. }
  143. }
  144. #why {
  145. .row {
  146. margin-bottom: 20px;
  147. }
  148. .icon-large {
  149. font-size: 22px;
  150. text-align: center;
  151. padding-right: 4px;
  152. }
  153. }
  154. #examples {
  155. .btn-toolbar {
  156. margin-top: 0;
  157. margin-bottom: 20px;
  158. }
  159. }
  160. #integration {
  161. .row { margin-bottom: 40px; }
  162. }
  163. #examples, #code {
  164. form {
  165. margin-bottom: 10px;
  166. input {
  167. line-height: 1; // fixes a safari placeholder alignment issue
  168. }
  169. }
  170. .rating {
  171. unicode-bidi: bidi-override;
  172. direction: rtl;
  173. font-size: 30px;
  174. span.star {
  175. font-family: FontAwesome;
  176. font-weight: normal;
  177. font-style: normal;
  178. display: inline-block;
  179. &:hover {
  180. cursor: pointer;
  181. }
  182. }
  183. span.star:before {
  184. content: "\f006"; // empty star
  185. padding-right: 5px;
  186. color: @grayLight;
  187. }
  188. span.star:hover:before, span.star:hover ~ span.star:before {
  189. content: "\f005"; // solid star
  190. color: #e3cf7a;
  191. }
  192. }
  193. }
  194. .modal {
  195. width: 560px;
  196. max-height: 520px;
  197. .modal-body {
  198. *overflow: hidden; // ie7 fix
  199. max-height: none;
  200. padding-bottom: 0;
  201. .row { margin-bottom: 15px; }
  202. div.thumbnail {
  203. text-align: center;
  204. div { margin-bottom: 5px; }
  205. }
  206. .icon6 {
  207. width: 325px;
  208. > div.thumbnail > div { .icon-size(340px); }
  209. }
  210. .icon5 {
  211. width: 185px;
  212. > div.thumbnail > div { .icon-size(180px); }
  213. }
  214. .icon4 {
  215. width: 215px;
  216. > div.thumbnail > div { .icon-size(100px); }
  217. }
  218. .icon3 {
  219. width: 120px;
  220. > div.thumbnail > div { .icon-size(50px); }
  221. }
  222. .icon2 {
  223. width: 75px;
  224. > div.thumbnail > div { .icon-size(20px); }
  225. }
  226. .icon1 {
  227. width: 60px;
  228. > div.thumbnail > div { .icon-size(12px); }
  229. }
  230. }
  231. }
  232. footer {
  233. color: @gray;
  234. border-top: 1px solid @grayLighter;
  235. margin-top: 60px;
  236. padding-top: 20px;
  237. padding-bottom: 60px;
  238. *zoom: 1; // ie7 hack
  239. ul {
  240. margin-left: 30px;
  241. line-height: 25px;
  242. }
  243. }