style.css 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465
  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. /*
  164. * Sticky footer
  165. */
  166. #wrap {
  167. min-height: 100%;
  168. height: auto !important;
  169. height: 100%;
  170. margin: 0 auto -80px;
  171. }
  172. #push {
  173. height: 160px;
  174. }
  175. footer {
  176. height: 64px;
  177. padding-top: 16px;
  178. background-color: #f3f3f3;
  179. font-size: 11px;
  180. }
  181. footer .bracket:before {
  182. content: '{';
  183. font-family: "DejaVu Sans";
  184. font-size: 60px;
  185. float: left;
  186. margin: 11px 0 0 22px;
  187. color: #cccccc;
  188. transition-duration: 300ms;
  189. }
  190. footer:hover .bracket:before {
  191. color: #666666;
  192. transition-delay: 100ms;
  193. transition-duration: 300ms;
  194. }
  195. footer p {
  196. padding: 0;
  197. margin: 0;
  198. opacity: 0.4;
  199. margin-left: 60px;
  200. line-height: 16px;
  201. transition-duration: 300ms;
  202. }
  203. footer:hover p {
  204. opacity: 1;
  205. transition-delay: 100ms;
  206. transition-duration: 300ms;
  207. }
  208. @media (max-width: 767px) {
  209. #push {
  210. height: 120px;
  211. }
  212. footer {
  213. margin-left: -20px;
  214. margin-right: -20px;
  215. padding-left: 20px;
  216. padding-right: 20px;
  217. }
  218. }
  219. /*
  220. * Main
  221. */
  222. #main-container {
  223. margin-top: 25px;
  224. }
  225. #main-container .page-header {
  226. margin-top: 0;
  227. padding-bottom: 2px;
  228. }
  229. #main-container .page-header h2 {
  230. margin: 0;
  231. display: inline;
  232. }
  233. #main-container #homepage .span3 {
  234. margin-left: 15px;
  235. }
  236. #map {
  237. height: 600px;
  238. box-shadow: 0 0 4px #BBBBBB;
  239. }
  240. .leaflet-popup-content {
  241. margin: 8px 10px 6px 10px;
  242. }
  243. @media (min-width: 768px) and (max-width: 979px) {
  244. #map {
  245. height: 500px;
  246. }
  247. }
  248. @media (max-width: 767px) {
  249. #map {
  250. height: 400px;
  251. }
  252. #main-container .span3 {
  253. margin: 15px 0 0;
  254. }
  255. }
  256. .project-list .btn-small {
  257. padding-right: 6px;
  258. padding-left: 6px;
  259. }
  260. .project-choice {
  261. padding: 30px;
  262. background-color: #dddddd;
  263. -webkit-border-radius: 6px;
  264. -moz-border-radius: 6px;
  265. border-radius: 6px;
  266. }
  267. .same-height-hack {
  268. margin-bottom: -99999px;
  269. padding-bottom: 99999px;
  270. }
  271. .same-height-borderfix {
  272. margin-top: -15px;
  273. padding: 0;
  274. }
  275. .project-choice h3 {
  276. text-align: center;
  277. }
  278. /*
  279. * Forms & stuff
  280. */
  281. .control-group.required label:before {
  282. content: '*';
  283. color: red;
  284. padding-right: 5px;
  285. }
  286. .fieldlist, .formfield {
  287. margin: 0;
  288. padding: 0;
  289. list-style-type: none;
  290. display: inline-block;
  291. }
  292. .fieldlist li {
  293. margin: 0 0 2px 0;
  294. padding: 0;
  295. }
  296. .formfield li {
  297. display: inline;
  298. margin-right: 3px;
  299. }
  300. .formfield li .bootstrap-select {
  301. width: 190px;
  302. }
  303. .formfield li .bootstrap-select .filter-option {
  304. font-size: 0.9em !important;
  305. }
  306. .formfield li .bootstrap-select .dropdown-menu li {
  307. display: list-item;
  308. }
  309. .input-middle input:first-of-type {
  310. border-top-left-radius: 4px;
  311. border-bottom-left-radius: 4px;
  312. }
  313. .input-middle input:last-of-type {
  314. border-top-right-radius: 4px;
  315. border-bottom-right-radius: 4px;
  316. }
  317. .form-horizontal .help-block {
  318. margin-top: 0 !important;
  319. }
  320. pre#validator {
  321. height: 500px;
  322. background-color: white;
  323. overflow-x: auto;
  324. font-size: 12px;
  325. background-color: #333333;
  326. color: #ffffff;
  327. }
  328. /**
  329. * Schema Spec / RST
  330. */
  331. #format_spec {
  332. margin-bottom: 30px;
  333. }
  334. .rst .docinfo-name {
  335. text-align: left;
  336. padding-right: 7px;
  337. }
  338. .rst .title {
  339. font-size: 2.2em;
  340. line-height: normal;
  341. margin: 0;
  342. }
  343. .rst .subtitle {
  344. font-size: 1.5em;
  345. line-height: normal;
  346. margin: 0 0 25px 0;
  347. }
  348. .rst .section > :first-child {
  349. margin-top: 15px;
  350. }
  351. /**
  352. * API
  353. */
  354. .api-collection .api-doc-resource {
  355. background-color: #f0f0f0;
  356. margin-bottom: 5px;
  357. border: 1px #e5e5e5 solid;
  358. border-radius: 4px;
  359. }
  360. .api-collection .api-doc-heading {
  361. background-image: linear-gradient(to bottom, #f0f0f0, #eaeaea);
  362. border-radius: 4px 4px 0 0;
  363. padding: 6px 0;
  364. }
  365. .api-collection .api-doc-heading .path {
  366. color: #666666;
  367. font-weight: bold;
  368. font-size: 1.1em;
  369. }
  370. .api-collection .api-doc-body {
  371. background-color: #ffffff;
  372. border-radius: 0 0 4px 4px;
  373. }
  374. .api-collection .api-doc-inner {
  375. border-top: 1px #e5e5e5 solid;
  376. padding: 9px 15px;
  377. }
  378. .api-collection .description {
  379. margin-right: 10px;
  380. float: right;
  381. }
  382. .api-collection .label {
  383. margin: 0 5px 0 8px;
  384. cursor: pointer;
  385. }