site.less 8.0 KB

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