site.less 7.0 KB

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