style.css 7.6 KB

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