site.less 7.0 KB

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