style.css 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522
  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. #map .leaflet-control-attribution {
  275. opacity: 0.8;
  276. font-size: 10px;
  277. }
  278. #map .legend {
  279. background: rgba(255,255,255,0.7);
  280. box-shadow: 0 0 15px rgba(0,0,0,0.2);
  281. border-radius: 5px;
  282. padding: 4px 6px;
  283. }
  284. #map .legend i {
  285. height: 8px;
  286. width: 8px;
  287. border: 1px solid #333;
  288. display: inline-block;
  289. vertical-align: middle;
  290. }
  291. @media (min-width: 768px) and (max-width: 979px) {
  292. #map {
  293. height: 500px;
  294. }
  295. }
  296. @media (max-width: 767px) {
  297. #map {
  298. height: 400px;
  299. }
  300. #main-container .span3 {
  301. margin: 15px 0 0;
  302. }
  303. }
  304. .project-list .btn-small {
  305. padding-right: 6px;
  306. padding-left: 6px;
  307. }
  308. .project-choice {
  309. padding: 30px;
  310. background-color: #dddddd;
  311. -webkit-border-radius: 6px;
  312. -moz-border-radius: 6px;
  313. border-radius: 6px;
  314. }
  315. .same-height-hack {
  316. margin-bottom: -99999px;
  317. padding-bottom: 99999px;
  318. }
  319. .same-height-borderfix {
  320. margin-top: -15px;
  321. padding: 0;
  322. }
  323. .project-choice h3 {
  324. text-align: center;
  325. }
  326. /*
  327. * Forms & stuff
  328. */
  329. .control-group.required label:before {
  330. content: '*';
  331. color: red;
  332. padding-right: 5px;
  333. }
  334. .fieldlist, .formfield {
  335. margin: 0;
  336. padding: 0;
  337. list-style-type: none;
  338. display: inline-block;
  339. }
  340. .fieldlist li {
  341. margin: 0 0 2px 0;
  342. padding: 0;
  343. }
  344. .formfield li {
  345. display: inline;
  346. margin-right: 3px;
  347. }
  348. .formfield li .bootstrap-select {
  349. width: 190px;
  350. }
  351. .formfield li .bootstrap-select .filter-option {
  352. font-size: 0.9em !important;
  353. }
  354. .formfield li .bootstrap-select .dropdown-menu li {
  355. display: list-item;
  356. }
  357. .input-middle input:first-of-type {
  358. border-top-left-radius: 4px;
  359. border-bottom-left-radius: 4px;
  360. }
  361. .input-middle input:last-of-type {
  362. border-top-right-radius: 4px;
  363. border-bottom-right-radius: 4px;
  364. }
  365. .form-horizontal .help-block {
  366. margin-top: 0 !important;
  367. }
  368. pre#validator {
  369. height: 500px;
  370. background-color: white;
  371. overflow-x: auto;
  372. font-size: 12px;
  373. background-color: #333333;
  374. color: #ffffff;
  375. }
  376. /**
  377. * Schema Spec / RST
  378. */
  379. #format_spec {
  380. margin-bottom: 30px;
  381. }
  382. .rst .docinfo-name {
  383. text-align: left;
  384. padding-right: 7px;
  385. }
  386. .rst .title {
  387. font-size: 2.2em;
  388. line-height: normal;
  389. margin: 0;
  390. }
  391. .rst .subtitle {
  392. font-size: 1.5em;
  393. line-height: normal;
  394. margin: 0 0 25px 0;
  395. }
  396. .rst .section > :first-child {
  397. margin-top: 15px;
  398. }
  399. /**
  400. * API
  401. */
  402. .api-collection .api-doc-resource {
  403. background-color: #f0f0f0;
  404. margin-bottom: 5px;
  405. border: 1px #e5e5e5 solid;
  406. border-radius: 4px;
  407. }
  408. .api-collection .api-doc-heading {
  409. background-image: linear-gradient(to bottom, #f0f0f0, #eaeaea);
  410. border-radius: 4px 4px 0 0;
  411. padding: 6px 0;
  412. }
  413. .api-collection .api-doc-heading .path {
  414. color: #666666;
  415. font-weight: bold;
  416. font-size: 1.1em;
  417. }
  418. .api-collection .api-doc-body {
  419. background-color: #ffffff;
  420. border-radius: 0 0 4px 4px;
  421. }
  422. .api-collection .api-doc-inner {
  423. border-top: 1px #e5e5e5 solid;
  424. padding: 9px 15px;
  425. }
  426. .api-collection .description {
  427. margin-right: 10px;
  428. float: right;
  429. }
  430. .api-collection .label {
  431. margin: 0 5px 0 8px;
  432. cursor: pointer;
  433. }