site.less 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376
  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. .text-align-right { text-align: right; }
  7. .text-align-center { text-align: center; }
  8. // These accomodate navbar-fixed-top
  9. //#overview { padding-top: 60px; }
  10. //#new-icons, #all-icons, #examples, #integration, #code, #roadmap {
  11. // padding-top: 40px;
  12. //}
  13. .navbar .brand {
  14. // padding: 11px 20px 9px;
  15. color: @white;
  16. font-family: @serifFontFamily;
  17. .icon-flag { padding-right: 3px; }
  18. }
  19. //.navbar-inner { .border-radius(0); }
  20. .navbar .nav > li > a { padding: 12px 10px 9px; }
  21. h1, h2, h3, h4, h5, h6 { font-family: @serifFontFamily; }
  22. #iconCarousel {
  23. a { color: @white; }
  24. // border: solid 1px @white;
  25. @size: 280px;
  26. font-size: @size;
  27. text-align: center;
  28. line-height: @size + 5;
  29. text-shadow: 2px 2px 3px @grayDarker;
  30. .carousel-control {
  31. top: @size + 33px;
  32. .square(23px);
  33. border-width: 3px;
  34. font-size: 17px;
  35. line-height: 25px;
  36. left: @size / 2 - 23;
  37. &.right {
  38. left: auto;
  39. right: @size / 2 - 23;
  40. }
  41. }
  42. }
  43. //a[href^='http://'] {
  44. // &:after {
  45. // font-family: FontAwesome;
  46. // content: "\0020 \f08e";
  47. // &:hover {
  48. // text-decoration: none;
  49. // }
  50. // }
  51. //}
  52. .jumbotron {
  53. background: @red; /* Old browsers */
  54. // background: -moz-linear-gradient(45deg, #020031 0%, #6d3353 100%); /* FF3.6+ */
  55. // background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,#020031), color-stop(100%,#6d3353)); /* Chrome,Safari4+ */
  56. // background: -webkit-linear-gradient(45deg, @red 0%, mix(@red, @redDark, 50%) 100%); /* Chrome10+,Safari5.1+ */
  57. // background: -o-linear-gradient(45deg, #020031 0%,#6d3353 100%); /* Opera 11.10+ */
  58. // background: -ms-linear-gradient(45deg, #020031 0%,#6d3353 100%); /* IE10+ */
  59. // background: linear-gradient(45deg, #020031 0%,#6d3353 100%); /* W3C */
  60. // filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#020031', endColorstr='#6d3353',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
  61. // margin-bottom: 0;
  62. padding: 90px 0 48px;
  63. // .border-radius(0);
  64. // #gradient > .radial( lighten(@red, 10%), @red);
  65. // background-color: @red;
  66. &, h1 { color: @white; }
  67. // &:after {
  68. // content:'';
  69. // display:block;
  70. // position:absolute;
  71. // top:0;
  72. // right:0;
  73. // bottom:0;
  74. // left:0;
  75. // background:url(../img/grain-tm400.png);
  76. // opacity:.5;
  77. // }
  78. h1 {
  79. font-size: 80px;
  80. letter-spacing: -2px;
  81. line-height: 1;
  82. }
  83. p {
  84. margin-top: 15px;
  85. margin-bottom: 30px;
  86. font-size: 30px;
  87. line-height: 1.3;
  88. }
  89. text-shadow: 2px 2px 2px @grayDark;
  90. ul {
  91. margin-left: 50px;
  92. li {
  93. &.icon-large:before {
  94. text-indent: -2em;
  95. vertical-align: baseline;
  96. }
  97. font-size: 15px;
  98. line-height: 30px;
  99. text-shadow: 1px 1px 1px @grayDark;
  100. }
  101. }
  102. // a { color: #fffeb8; }
  103. .btn-large {
  104. //// .buttonBackground(@white, #bbb);
  105. font-family: @serifFontFamily;
  106. //// color: @grayDark;
  107. // margin-top: 15px;
  108. font-weight: bold;
  109. font-size: 18px;
  110. padding: 13px 22px;
  111. // padding-left: 24px + 40;
  112. margin-right: 10px;
  113. .border-radius(8px);
  114. // position: relative;
  115. text-align: left;
  116. // i {
  117. // position: absolute;
  118. // top: 8px;
  119. // left: 15px;
  120. // font-size: 46px;
  121. // }
  122. // &.btn-github {
  123. // padding-left: 24px + 42;
  124. // }
  125. }
  126. .hero-content {
  127. // width: 620px;
  128. text-align: center;
  129. }
  130. .shameless-self-promotion {
  131. font-size: 12px;
  132. margin-top: 15px;
  133. color: mix(@white, @red, 50%);
  134. text-shadow: none;
  135. }
  136. }
  137. .btn-primary {
  138. color: @grayDark;
  139. text-shadow: 0 -1px 0 rgba(255,255,255,.25);
  140. &:hover {
  141. text-shadow: 0 -1px 0 rgba(255,255,255,.25);
  142. color: @grayDark;
  143. }
  144. }
  145. section {
  146. padding-top: 40px;
  147. }
  148. #social-buttons {
  149. padding: 22px 0;
  150. text-align: center;
  151. background-color: #f5f5f5;
  152. border-top: 1px solid #fff;
  153. border-bottom: 1px solid #ddd;
  154. .btn {
  155. // font-family: @serifFontFamily;
  156. font-weight: bold;
  157. // font-size: @baseFontSize;
  158. padding: 0px 5px;
  159. line-height: @baseLineHeight - 3;
  160. }
  161. .count.btn {
  162. background: @white;
  163. font-weight: normal;
  164. }
  165. .watch, .fork {
  166. margin-right: 30px;
  167. }
  168. }
  169. .the-icons {
  170. list-style-type: none;
  171. margin: 0;
  172. li {
  173. cursor: pointer;
  174. line-height: 32px;
  175. height: 32px;
  176. padding-left: 12px;
  177. .border-radius(6px);
  178. // vertical-align: middle;
  179. [class^="icon-"],
  180. [class*=" icon-"] {
  181. width: 32px;
  182. font-size: 14px;
  183. }
  184. &:hover {
  185. background-color: lighten(@errorBackground, 6%);
  186. [class^="icon-"], [class*=" icon-"] {
  187. *font-size: 28px;
  188. *vertical-align: middle;
  189. }
  190. [class^="icon-"]:before,
  191. [class*=" icon-"]:before {
  192. font-size: 28px;
  193. vertical-align: -5px;
  194. }
  195. }
  196. }
  197. }
  198. #why, #whats-new {
  199. .row {
  200. margin-bottom: 20px;
  201. }
  202. h4 {
  203. // line-height: 28px;
  204. [class^="icon-"],
  205. [class*=" icon-"] {
  206. vertical-align: -10%;
  207. font-size: 28px;
  208. // width: 30px;
  209. // height: 30px;
  210. margin-right: 5px;
  211. }
  212. }
  213. }
  214. #examples {
  215. .btn-toolbar {
  216. margin-top: 0;
  217. margin-bottom: 20px;
  218. }
  219. }
  220. #integration {
  221. .row { margin-bottom: 40px; }
  222. }
  223. #examples, #code {
  224. form {
  225. margin-bottom: 25px;
  226. input {
  227. line-height: 1; // fixes a safari placeholder alignment issue
  228. }
  229. }
  230. .rating {
  231. unicode-bidi: bidi-override;
  232. direction: rtl;
  233. font-size: 30px;
  234. span.star {
  235. font-family: FontAwesome;
  236. font-weight: normal;
  237. font-style: normal;
  238. display: inline-block;
  239. &:hover {
  240. cursor: pointer;
  241. }
  242. }
  243. span.star:before {
  244. content: "\f006"; // empty star
  245. padding-right: 5px;
  246. color: @grayLight;
  247. }
  248. span.star:hover:before, span.star:hover ~ span.star:before {
  249. content: "\f005"; // solid star
  250. color: #e3cf7a;
  251. }
  252. }
  253. }
  254. #kyruus {
  255. color: @gray;
  256. font-size: 18px;
  257. &, li { line-height: 25px; }
  258. p {
  259. margin-bottom: 22px;
  260. strong { color: @grayDarker; }
  261. }
  262. ul {
  263. margin-top: 5px;
  264. margin-bottom: 22px;
  265. li { margin-top: 10px; }
  266. i {
  267. margin-top: 5px;
  268. // margin-right: .4em;
  269. // color: mix(@grayLight, @grayLighter, 50%);
  270. color: mix(@blue, @blueDark, 50%);
  271. }
  272. }
  273. .border {
  274. .icon-medkit { font-size: 224px; }
  275. border: solid 10px @grayLighter;
  276. padding: 1em 1.5em;
  277. margin-left: .2em;
  278. .border-radius(10px);
  279. a:hover .icon-medkit { text-decoration: none; }
  280. // a:hover i { text-decoration: underline; }
  281. }
  282. a {
  283. font-weight: bold;
  284. color: mix(@blue, @blueDark, 50%);
  285. &:hover {
  286. color: @blueDark;
  287. }
  288. }
  289. }
  290. .modal {
  291. width: 560px;
  292. max-height: 610px;
  293. .modal-body {
  294. *overflow: hidden; // ie7 fix
  295. max-height: none;
  296. padding-bottom: 0;
  297. .row { margin-bottom: 15px; }
  298. div.thumbnail {
  299. text-align: center;
  300. div { margin: 8px; }
  301. }
  302. .icon6 {
  303. width: 330px;
  304. > div.thumbnail > div { .icon-size(280px); }
  305. }
  306. .icon5 {
  307. width: 180px;
  308. > div.thumbnail > div { .icon-size(140px); }
  309. }
  310. .icon4 {
  311. width: 215px;
  312. > div.thumbnail > div { .icon-size(112px); }
  313. }
  314. .icon3 {
  315. width: 120px;
  316. > div.thumbnail > div { .icon-size(56px); }
  317. }
  318. .icon2 {
  319. width: 75px;
  320. > div.thumbnail > div { .icon-size(28px); }
  321. }
  322. .icon1 {
  323. width: 60px;
  324. > div.thumbnail > div { .icon-size(14px); }
  325. }
  326. }
  327. }
  328. .label,
  329. .badge {
  330. background-color: @grayLighter;
  331. }
  332. footer {
  333. color: @gray;
  334. border-top: 1px solid @grayLighter;
  335. margin-top: 60px;
  336. padding-top: 20px;
  337. padding-bottom: 60px;
  338. *zoom: 1; // ie7 hack
  339. ul {
  340. margin-left: 30px;
  341. line-height: 25px;
  342. }
  343. }