style.css 6.9 KB

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