style.css 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501
  1. /*
  2. * Fonts
  3. */
  4. @font-face {
  5. font-family: 'ffdn';
  6. src: url('../fonts/ffdn.eot');
  7. src: url('../fonts/ffdn.eot?#iefix') format('embedded-opentype'),
  8. url('../fonts/ffdn.woff') format('woff'),
  9. url('../fonts/ffdn.ttf') format('truetype');
  10. font-weight: normal;
  11. font-style: normal;
  12. }
  13. @font-face {
  14. font-family: 'DejaVu Sans';
  15. src: local('DejaVu Sans');
  16. src: url('../fonts/dejavusans.eot');
  17. src: url('../fonts/dejavusans.eot?#iefix') format('embedded-opentype'),
  18. url('../fonts/dejavusans.woff') format('woff'),
  19. url('../fonts/dejavusans.ttf') format('truetype');
  20. font-weight: normal;
  21. font-style: normal;
  22. }
  23. @font-face {
  24. font-family: 'DejaVu Sans';
  25. src: local('DejaVu Sans Bold');
  26. src: url('../fonts/dejavusans-bold.eot');
  27. src: url('../fonts/dejavusans-bold.eot?#iefix') format('embedded-opentype'),
  28. url('../fonts/dejavusans-bold.woff') format('woff'),
  29. url('../fonts/dejavusans-bold.ttf') format('truetype');
  30. font-weight: bold;
  31. font-style: normal;
  32. }
  33. @font-face {
  34. font-family: 'DejaVu Sans';
  35. src: local('DejaVu Sans Oblique');
  36. src: url('../fonts/dejavusans-oblique.eot');
  37. src: url('../fonts/dejavusans-oblique.eot?#iefix') format('embedded-opentype'),
  38. url('../fonts/dejavusans-oblique.woff') format('woff'),
  39. url('../fonts/dejavusans-oblique.ttf') format('truetype');
  40. font-weight: normal;
  41. font-style: oblique;
  42. }
  43. @font-face {
  44. font-family: 'DejaVu Sans';
  45. src: local('DejaVu Sans Bold Oblique');
  46. src: url('../fonts/dejavusans-boldoblique.eot');
  47. src: url('../fonts/dejavusans-boldoblique.eot?#iefix') format('embedded-opentype'),
  48. url('../fonts/dejavusans-boldoblique.woff') format('woff'),
  49. url('../fonts/dejavusans-boldoblique.ttf') format('truetype');
  50. font-weight: bold;
  51. font-style: oblique;
  52. }
  53. /*
  54. * Global
  55. */
  56. html, body {
  57. height: 100%;
  58. font-family: 'DejaVu Sans';
  59. font-size: 13px;
  60. font-weight: normal;
  61. font-style: normal;
  62. }
  63. input, button, select, textarea {
  64. font-family: 'DejaVu Sans';
  65. }
  66. label, input, button, select, textarea, input[type="text"], input[type="password"],
  67. input[type="datetime"], input[type="datetime-local"], input[type="date"],
  68. input[type="month"], input[type="time"], input[type="week"], input[type="number"],
  69. input[type="email"], input[type="url"], input[type="search"], input[type="tel"],
  70. input[type="color"], .uneditable-input, .btn {
  71. font-size: 13px;
  72. }
  73. .btn-large {
  74. font-size: 17px;
  75. }
  76. h1 {
  77. font-size: 34px;
  78. }
  79. h2 {
  80. font-size: 28px;
  81. }
  82. h3 {
  83. font-size: 22px;
  84. }
  85. h4 {
  86. font-size: 17px;
  87. }
  88. h5 {
  89. font-size: 14px;
  90. }
  91. h6 {
  92. font-size: 11.9px;
  93. }
  94. h1 small {
  95. font-size: 22px;
  96. }
  97. h2 small {
  98. font-size: 17px;
  99. }
  100. h3 small {
  101. font-size: 14px;
  102. }
  103. h4 small {
  104. font-size: 14px;
  105. }
  106. /*
  107. * Navbar
  108. */
  109. input#search-input {
  110. position: relative;
  111. padding-left: 23px;
  112. }
  113. .navbar-search:before {
  114. content:'';
  115. display: block;
  116. width: 14px;
  117. height: 14px;
  118. background-image: url(../img/glyphicons-halflings.png);
  119. background-position: -48px 0;
  120. position: absolute;
  121. top: 9px;
  122. left: 8px;
  123. z-index:99;
  124. opacity: 0.5;
  125. }
  126. .navbar .brand {
  127. font-weight: normal !important;
  128. padding: 10px 20px 0 20px;
  129. line-height: 22px;
  130. }
  131. #ffdn-header {
  132. font-family: ffdn;
  133. font-size: 24px;
  134. letter-spacing: 1px;
  135. display: inline-block;
  136. vertical-align: text-bottom;
  137. }
  138. #ffdn-header span {
  139. display: inline-block;
  140. }
  141. .brand:hover #ffdn-header {
  142. -webkit-animation: lulz1 0.6s;
  143. animation: lulz1 0.6s;
  144. }
  145. @keyframes lulz1 {
  146. 0% {
  147. transform: scaleX(1);
  148. transform: scaleY(0.5);
  149. }
  150. 50% {
  151. transform: scaleX(1.5);
  152. }
  153. }
  154. @-webkit-keyframes lulz1 {
  155. 0% {
  156. -webkit-transform: scaleX(1);
  157. -webkit-transform: scaleY(0.5);
  158. }
  159. 50% {
  160. -webkit-transform: scaleX(1.5);
  161. }
  162. }
  163. .navbar #locale-selector {
  164. float: right;
  165. height: 36px;
  166. padding-top: 4px;
  167. cursor: pointer;
  168. opacity: 0.8;
  169. transition-duration: 200ms;
  170. }
  171. .navbar #locale-selector .flag {
  172. margin: 0 auto;
  173. }
  174. .navbar #locale-selector:hover {
  175. opacity: 1;
  176. transition-duration: 200ms;
  177. }
  178. .navbar #locale-selector .locale-name {
  179. color: #f8f8f8;
  180. text-align: center;
  181. font-weight: bold;
  182. line-height: 16px;
  183. }
  184. @media (max-width: 979px) {
  185. .navbar-search:before {
  186. top: 18px;
  187. left: 22px;
  188. }
  189. .navbar #locale-selector, .navbar .locale-divider {
  190. display: none;
  191. }
  192. }
  193. /*
  194. * Sticky footer
  195. */
  196. #wrap {
  197. min-height: 100%;
  198. height: auto !important;
  199. height: 100%;
  200. margin: 0 auto -80px;
  201. }
  202. #push {
  203. height: 160px;
  204. }
  205. footer {
  206. height: 64px;
  207. padding-top: 16px;
  208. background-color: #f3f3f3;
  209. font-size: 11px;
  210. }
  211. footer .bracket:before {
  212. content: '{';
  213. font-family: "DejaVu Sans";
  214. font-size: 60px;
  215. float: left;
  216. margin: 11px 0 0 22px;
  217. color: #cccccc;
  218. transition-duration: 300ms;
  219. }
  220. footer:hover .bracket:before {
  221. color: #666666;
  222. transition-delay: 100ms;
  223. transition-duration: 300ms;
  224. }
  225. footer p {
  226. padding: 0;
  227. margin: 0;
  228. opacity: 0.4;
  229. margin-left: 60px;
  230. line-height: 16px;
  231. transition-duration: 300ms;
  232. }
  233. footer:hover p {
  234. opacity: 1;
  235. transition-delay: 100ms;
  236. transition-duration: 300ms;
  237. }
  238. @media (max-width: 767px) {
  239. #push {
  240. height: 120px;
  241. }
  242. footer {
  243. margin-left: -20px;
  244. margin-right: -20px;
  245. padding-left: 20px;
  246. padding-right: 20px;
  247. }
  248. }
  249. /*
  250. * Main
  251. */
  252. #main-container {
  253. margin-top: 25px;
  254. }
  255. #main-container .page-header {
  256. margin-top: 0;
  257. padding-bottom: 2px;
  258. }
  259. #main-container .page-header h2 {
  260. margin: 0;
  261. display: inline;
  262. }
  263. #main-container #homepage .span3 {
  264. margin-left: 15px;
  265. }
  266. #map {
  267. height: 600px;
  268. box-shadow: 0 0 4px #BBBBBB;
  269. }
  270. .leaflet-popup-content {
  271. margin: 8px 10px 6px 10px;
  272. }
  273. @media (min-width: 768px) and (max-width: 979px) {
  274. #map {
  275. height: 500px;
  276. }
  277. }
  278. @media (max-width: 767px) {
  279. #map {
  280. height: 400px;
  281. }
  282. #main-container .span3 {
  283. margin: 15px 0 0;
  284. }
  285. }
  286. .project-list .btn-small {
  287. padding-right: 6px;
  288. padding-left: 6px;
  289. }
  290. .project-choice {
  291. padding: 30px;
  292. background-color: #dddddd;
  293. -webkit-border-radius: 6px;
  294. -moz-border-radius: 6px;
  295. border-radius: 6px;
  296. }
  297. .same-height-hack {
  298. margin-bottom: -99999px;
  299. padding-bottom: 99999px;
  300. }
  301. .same-height-borderfix {
  302. margin-top: -15px;
  303. padding: 0;
  304. }
  305. .project-choice h3 {
  306. text-align: center;
  307. }
  308. /*
  309. * Forms & stuff
  310. */
  311. .control-group.required label:before {
  312. content: '*';
  313. color: red;
  314. padding-right: 5px;
  315. }
  316. .fieldlist, .formfield {
  317. margin: 0;
  318. padding: 0;
  319. list-style-type: none;
  320. display: inline-block;
  321. }
  322. .fieldlist li {
  323. margin: 0 0 2px 0;
  324. padding: 0;
  325. }
  326. .formfield li {
  327. display: inline;
  328. margin-right: 3px;
  329. }
  330. .formfield li .bootstrap-select {
  331. width: 190px;
  332. }
  333. .formfield li .bootstrap-select .filter-option {
  334. font-size: 0.9em !important;
  335. }
  336. .formfield li .bootstrap-select .dropdown-menu li {
  337. display: list-item;
  338. }
  339. .input-middle input:first-of-type {
  340. border-top-left-radius: 4px;
  341. border-bottom-left-radius: 4px;
  342. }
  343. .input-middle input:last-of-type {
  344. border-top-right-radius: 4px;
  345. border-bottom-right-radius: 4px;
  346. }
  347. .form-horizontal .help-block {
  348. margin-top: 0 !important;
  349. }
  350. pre#validator {
  351. height: 500px;
  352. background-color: white;
  353. overflow-x: auto;
  354. font-size: 12px;
  355. background-color: #333333;
  356. color: #ffffff;
  357. }
  358. /**
  359. * Schema Spec / RST
  360. */
  361. #format_spec {
  362. margin-bottom: 30px;
  363. }
  364. .rst .docinfo-name {
  365. text-align: left;
  366. padding-right: 7px;
  367. }
  368. .rst .title {
  369. font-size: 2.2em;
  370. line-height: normal;
  371. margin: 0;
  372. }
  373. .rst .subtitle {
  374. font-size: 1.5em;
  375. line-height: normal;
  376. margin: 0 0 25px 0;
  377. }
  378. .rst .section > :first-child {
  379. margin-top: 15px;
  380. }
  381. /**
  382. * API
  383. */
  384. .api-collection .api-doc-resource {
  385. background-color: #f0f0f0;
  386. margin-bottom: 5px;
  387. border: 1px #e5e5e5 solid;
  388. border-radius: 4px;
  389. }
  390. .api-collection .api-doc-heading {
  391. background-image: linear-gradient(to bottom, #f0f0f0, #eaeaea);
  392. border-radius: 4px 4px 0 0;
  393. padding: 6px 0;
  394. }
  395. .api-collection .api-doc-heading .path {
  396. color: #666666;
  397. font-weight: bold;
  398. font-size: 1.1em;
  399. }
  400. .api-collection .api-doc-body {
  401. background-color: #ffffff;
  402. border-radius: 0 0 4px 4px;
  403. }
  404. .api-collection .api-doc-inner {
  405. border-top: 1px #e5e5e5 solid;
  406. padding: 9px 15px;
  407. }
  408. .api-collection .description {
  409. margin-right: 10px;
  410. float: right;
  411. }
  412. .api-collection .label {
  413. margin: 0 5px 0 8px;
  414. cursor: pointer;
  415. }