site.less 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. @import "twbs-203/bootstrap.less";
  2. @import "twbs-203/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 {
  13. padding: 11px 20px 9px;
  14. color: @white;
  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: @baseHeaderFontFamily; }
  19. #iconCarousel {
  20. a { color: @white; }
  21. @size: 275px;
  22. float: right;
  23. width: @size * .9 + 8;
  24. height: @size * .75;
  25. margin-right: 10px;
  26. margin-top: -20px;
  27. font-size: @size;
  28. text-align: center;
  29. text-shadow: 2px 2px 3px @grayDarker;
  30. .carousel-control {
  31. top: @size + 5;
  32. .square(23px);
  33. border-width: 3px;
  34. font-size: 17px;
  35. line-height: 24px;
  36. left: @size / 3 + 3;
  37. &.right {
  38. left: auto;
  39. right: @size / 3 + 3;
  40. }
  41. }
  42. }
  43. a[href^='http://'] {
  44. display: inline-block;
  45. &:after {
  46. font-family: FontAwesome;
  47. content: "\0020 \f08e";
  48. &:hover {
  49. text-decoration: none;
  50. }
  51. }
  52. }
  53. .hero-unit {
  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: @baseHeaderFontFamily;
  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. color: @grayDark;
  112. text-shadow: 0 -1px 0 rgba(255,255,255,.25);
  113. &:hover {
  114. text-shadow: 0 -1px 0 rgba(255,255,255,.25);
  115. color: @grayDark;
  116. }
  117. }
  118. .the-icons {
  119. li[class^="icon-"],
  120. li[class*=" icon-"] {
  121. cursor: pointer;
  122. margin-top: -3px;
  123. font-size: 14px;
  124. line-height: 24px;
  125. height: 24px;
  126. &:after {
  127. font-family: @baseFontFamily;
  128. font-style: normal;
  129. content: attr(class);
  130. }
  131. &:hover:before {
  132. font-size: 24px;
  133. text-indent: -4/3em;
  134. vertical-align: middle;
  135. }
  136. }
  137. }
  138. #why {
  139. .row {
  140. margin-bottom: 20px;
  141. }
  142. .icon-large {
  143. font-size: 22px;
  144. text-align: center;
  145. padding-right: 4px;
  146. }
  147. }
  148. #examples {
  149. .btn-toolbar {
  150. margin-top: 0;
  151. margin-bottom: 20px;
  152. }
  153. }
  154. #integration {
  155. .row { margin-bottom: 40px; }
  156. }
  157. #examples, #code {
  158. form {
  159. margin-bottom: 10px;
  160. input {
  161. line-height: 1; // fixes a safari placeholder alignment issue
  162. }
  163. }
  164. .rating {
  165. unicode-bidi: bidi-override;
  166. direction: rtl;
  167. font-size: 30px;
  168. span.star {
  169. font-family: FontAwesome;
  170. font-weight: normal;
  171. font-style: normal;
  172. display: inline-block;
  173. &:hover {
  174. cursor: pointer;
  175. }
  176. }
  177. span.star:before {
  178. content: "\f006"; // empty star
  179. padding-right: 5px;
  180. color: @grayLight;
  181. }
  182. span.star:hover:before, span.star:hover ~ span.star:before {
  183. content: "\f005"; // solid star
  184. color: #e3cf7a;
  185. }
  186. }
  187. }
  188. .modal {
  189. width: 560px;
  190. max-height: 510px;
  191. .modal-body {
  192. padding-bottom: 0;
  193. .row { margin-bottom: 15px; }
  194. div.thumbnail {
  195. text-align: center;
  196. div { margin-bottom: 5px; }
  197. }
  198. .icon6 {
  199. width: 325px;
  200. > div.thumbnail > div { .icon-size(340px); }
  201. }
  202. .icon5 {
  203. width: 185px;
  204. > div.thumbnail > div { .icon-size(180px); }
  205. }
  206. .icon4 {
  207. width: 215px;
  208. > div.thumbnail > div { .icon-size(100px); }
  209. }
  210. .icon3 {
  211. width: 120px;
  212. > div.thumbnail > div { .icon-size(50px); }
  213. }
  214. .icon2 {
  215. width: 75px;
  216. > div.thumbnail > div { .icon-size(20px); }
  217. }
  218. .icon1 {
  219. width: 60px;
  220. > div.thumbnail > div { .icon-size(12px); }
  221. }
  222. }
  223. }
  224. footer {
  225. color: @gray;
  226. margin-top: 20px;
  227. border-top: 1px solid @grayLighter;
  228. margin-top: 60px;
  229. padding-top: 20px;
  230. padding-bottom: 60px;
  231. ul {
  232. margin-left: 30px;
  233. line-height: 25px;
  234. }
  235. }