style.css 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502
  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. cursor: default;
  220. }
  221. footer:hover .bracket:before {
  222. color: #666666;
  223. transition-delay: 100ms;
  224. transition-duration: 300ms;
  225. }
  226. footer p {
  227. padding: 0;
  228. margin: 0;
  229. opacity: 0.4;
  230. margin-left: 60px;
  231. line-height: 16px;
  232. transition-duration: 300ms;
  233. }
  234. footer:hover p {
  235. opacity: 1;
  236. transition-delay: 100ms;
  237. transition-duration: 300ms;
  238. }
  239. @media (max-width: 767px) {
  240. #push {
  241. height: 120px;
  242. }
  243. footer {
  244. margin-left: -20px;
  245. margin-right: -20px;
  246. padding-left: 20px;
  247. padding-right: 20px;
  248. }
  249. }
  250. /*
  251. * Main
  252. */
  253. #main-container {
  254. margin-top: 25px;
  255. }
  256. #main-container .page-header {
  257. margin-top: 0;
  258. padding-bottom: 2px;
  259. }
  260. #main-container .page-header h2 {
  261. margin: 0;
  262. display: inline;
  263. }
  264. #main-container #homepage .span3 {
  265. margin-left: 15px;
  266. }
  267. #map {
  268. height: 600px;
  269. box-shadow: 0 0 4px #BBBBBB;
  270. }
  271. .leaflet-popup-content {
  272. margin: 8px 10px 6px 10px;
  273. }
  274. @media (min-width: 768px) and (max-width: 979px) {
  275. #map {
  276. height: 500px;
  277. }
  278. }
  279. @media (max-width: 767px) {
  280. #map {
  281. height: 400px;
  282. }
  283. #main-container .span3 {
  284. margin: 15px 0 0;
  285. }
  286. }
  287. .project-list .btn-small {
  288. padding-right: 6px;
  289. padding-left: 6px;
  290. }
  291. .project-choice {
  292. padding: 30px;
  293. background-color: #dddddd;
  294. -webkit-border-radius: 6px;
  295. -moz-border-radius: 6px;
  296. border-radius: 6px;
  297. }
  298. .same-height-hack {
  299. margin-bottom: -99999px;
  300. padding-bottom: 99999px;
  301. }
  302. .same-height-borderfix {
  303. margin-top: -15px;
  304. padding: 0;
  305. }
  306. .project-choice h3 {
  307. text-align: center;
  308. }
  309. /*
  310. * Forms & stuff
  311. */
  312. .control-group.required label:before {
  313. content: '*';
  314. color: red;
  315. padding-right: 5px;
  316. }
  317. .fieldlist, .formfield {
  318. margin: 0;
  319. padding: 0;
  320. list-style-type: none;
  321. display: inline-block;
  322. }
  323. .fieldlist li {
  324. margin: 0 0 2px 0;
  325. padding: 0;
  326. }
  327. .formfield li {
  328. display: inline;
  329. margin-right: 3px;
  330. }
  331. .formfield li .bootstrap-select {
  332. width: 190px;
  333. }
  334. .formfield li .bootstrap-select .filter-option {
  335. font-size: 0.9em !important;
  336. }
  337. .formfield li .bootstrap-select .dropdown-menu li {
  338. display: list-item;
  339. }
  340. .input-middle input:first-of-type {
  341. border-top-left-radius: 4px;
  342. border-bottom-left-radius: 4px;
  343. }
  344. .input-middle input:last-of-type {
  345. border-top-right-radius: 4px;
  346. border-bottom-right-radius: 4px;
  347. }
  348. .form-horizontal .help-block {
  349. margin-top: 0 !important;
  350. }
  351. pre#validator {
  352. height: 500px;
  353. background-color: white;
  354. overflow-x: auto;
  355. font-size: 12px;
  356. background-color: #333333;
  357. color: #ffffff;
  358. }
  359. /**
  360. * Schema Spec / RST
  361. */
  362. #format_spec {
  363. margin-bottom: 30px;
  364. }
  365. .rst .docinfo-name {
  366. text-align: left;
  367. padding-right: 7px;
  368. }
  369. .rst .title {
  370. font-size: 2.2em;
  371. line-height: normal;
  372. margin: 0;
  373. }
  374. .rst .subtitle {
  375. font-size: 1.5em;
  376. line-height: normal;
  377. margin: 0 0 25px 0;
  378. }
  379. .rst .section > :first-child {
  380. margin-top: 15px;
  381. }
  382. /**
  383. * API
  384. */
  385. .api-collection .api-doc-resource {
  386. background-color: #f0f0f0;
  387. margin-bottom: 5px;
  388. border: 1px #e5e5e5 solid;
  389. border-radius: 4px;
  390. }
  391. .api-collection .api-doc-heading {
  392. background-image: linear-gradient(to bottom, #f0f0f0, #eaeaea);
  393. border-radius: 4px 4px 0 0;
  394. padding: 6px 0;
  395. }
  396. .api-collection .api-doc-heading .path {
  397. color: #666666;
  398. font-weight: bold;
  399. font-size: 1.1em;
  400. }
  401. .api-collection .api-doc-body {
  402. background-color: #ffffff;
  403. border-radius: 0 0 4px 4px;
  404. }
  405. .api-collection .api-doc-inner {
  406. border-top: 1px #e5e5e5 solid;
  407. padding: 9px 15px;
  408. }
  409. .api-collection .description {
  410. margin-right: 10px;
  411. float: right;
  412. }
  413. .api-collection .label {
  414. margin: 0 5px 0 8px;
  415. cursor: pointer;
  416. }