ui.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555
  1. /******************************************
  2. * Hide elements intended for mobile. *
  3. ******************************************/
  4. .mobile{
  5. display: none;
  6. }
  7. /******************************************
  8. * Fonts used across the page *
  9. ******************************************/
  10. /* Glogal font */
  11. @font-face{
  12. font-family: font;
  13. src: url('/font/FreeSans.ttf')
  14. }
  15. /******************************************
  16. * Styles for html tags, without id or *
  17. * class. *
  18. ******************************************/
  19. /* Links */
  20. a{
  21. color: #4c9ed9;
  22. text-decoration: none;
  23. transition: all .2s ease-in-out;
  24. }
  25. a:hover{
  26. color: #347;
  27. text-shadow: 0 0 0.4em #265885;
  28. text-decoration: underline;
  29. }
  30. /* Fake links */
  31. .fake_a{
  32. color: #4c9ed9;
  33. text-decoration: none;
  34. transition: all .2s ease-in-out;
  35. }
  36. .fake_a:hover{
  37. color: #347;
  38. text-shadow: 0 0 0.4em #265885;
  39. text-decoration: underline;
  40. }
  41. /* Body */
  42. body{
  43. font-family: font;
  44. margin: 0;
  45. /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#b5d3e5+0,e5f4ff+10,e5f4ff+90,b5d3e5+100 */
  46. background: #b5d3e5; /* Old browsers */
  47. background: -moz-linear-gradient(left, #b5d3e5 0%, #e5f4ff 10%, #e5f4ff 90%, #b5d3e5 100%); /* FF3.6-15 */
  48. background: -webkit-linear-gradient(left, #b5d3e5 0%,#e5f4ff 10%,#e5f4ff 90%,#b5d3e5 100%); /* Chrome10-25,Safari5.1-6 */
  49. background: linear-gradient(to right, #b5d3e5 0%,#e5f4ff 10%,#e5f4ff 90%,#b5d3e5 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  50. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b5d3e5', endColorstr='#b5d3e5',GradientType=1 ); /* IE6-9 */
  51. }
  52. /* WARNING: If styles change dhere, make changes on commment scripts */
  53. input[type="text"], input[type="number"], input[type="date"]{
  54. border-radius: 0.3em;
  55. height: 1.5em;
  56. border: 0.2em solid #0078ff;
  57. color: #002255;
  58. background-color: #ccddff;
  59. margin: 0.1em;
  60. }
  61. input[type="button"], input[type="submit"], select{
  62. border-radius: 0.3em;
  63. height: 2em;
  64. border: 0.2em solid #0078ff;
  65. font-weight: bold;
  66. color: #ffffff;
  67. background-color: #124567;
  68. cursor: pointer;
  69. margin: 0.1em;
  70. letter-spacing: 0.1em;
  71. }
  72. textarea{
  73. border-radius: 0.3em;
  74. min-height: 2em;
  75. max-height: 15em;
  76. border: 0.2em solid #0078ff;
  77. color: #002255;
  78. background-color: #ccddff;
  79. resize: vertical;
  80. margin: 0.1em;
  81. }
  82. /******************************************
  83. * Common elements present across the *
  84. * whle site. *
  85. ******************************************/
  86. /* Icon for slider sections */
  87. img.slid{
  88. height: 0.9em;
  89. width: 0.9em;
  90. padding: 0.1em;
  91. cursor: pointer;
  92. vertical-align: middle;
  93. transition: opacity 0.5s ease-in-out;
  94. }
  95. /* Elements that should have the cursor as pointer */
  96. .pointer{
  97. cursor: pointer;
  98. }
  99. /* Elemnts not to be displayed */
  100. .hidden{
  101. display: none;
  102. }
  103. /* Elements with an italic font */
  104. .italic{
  105. font-style: italic;
  106. }
  107. /*Elements with a bold font*/
  108. .bold{
  109. font-weight: bold;
  110. }
  111. /******************************************
  112. * Styles for the site header that is *
  113. * always visible. *
  114. ******************************************/
  115. /* Header top container */
  116. div#header{
  117. margin: -0.5em auto 2.5em auto;
  118. padding: 0.5em 0 0 0;
  119. width: 100%;
  120. background-color: #0078ff;
  121. border-bottom: 0.1em solid #1a4d6a;
  122. box-shadow: 0 0 3em #dde;
  123. text-align: center;
  124. }
  125. div#header div#header_content{
  126. margin: 0 auto 0 auto;
  127. width: 95%;
  128. max-width: 80em;
  129. }
  130. /* Main image of the header, contains the logo */
  131. div#header img{
  132. display: inline-block;
  133. width: 10%;
  134. max-width: 5em;
  135. margin: 0;
  136. margin-left: -1em;
  137. margin-bottom: -0.8em;
  138. vertical-align: middle;
  139. -webkit-filter: drop-shadow(0 0 0.4em #dde);
  140. filter: drop-shadow(0 0 0.4em #dde);
  141. border: 0.1em solid #000011;
  142. border-radius: 100%;
  143. -ms-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=0, Color='#dde')";
  144. filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=0, Color='#dde')";
  145. }
  146. /* Section of the header containing links to sections */
  147. div#header_menu{
  148. display: inline-block;
  149. vertical-align: middle;
  150. width: 90%;
  151. margin-top: -0.2em;
  152. margin-left: -4%;
  153. background-color: #f5fbff;
  154. border-top-right-radius: 0.5em;
  155. border-bottom-right-radius: 0.5em;
  156. border: 0.1em solid #1a4d6a;
  157. }
  158. /* Table with the links to the sections */
  159. div#header_menu table{
  160. display: table;
  161. margin: auto 0 auto 0;
  162. width: 100%;
  163. border-collapse: collapse;
  164. border-spacing: 0;
  165. }
  166. div#header_menu table tbody{
  167. width: 100%;
  168. }
  169. div#header_menu table tbody tr{
  170. width: 100%;
  171. }
  172. /* Containers of the section links */
  173. div#header_menu table td{
  174. width: 12%;
  175. text-align: center;
  176. transition: all .3s ease-in-out;
  177. white-space: nowrap;
  178. }
  179. div#header_menu table td:hover{
  180. background-color: #0078ff;
  181. }
  182. div#header_menu table td:hover a{
  183. color: #ffffff;
  184. text-shadow: 0 0 0em #ffffff;
  185. }
  186. /* Actual links in the header */
  187. div#header_menu table a{
  188. display: inline-block;
  189. font-weight: bold;
  190. font-size: 115%;
  191. width: 100%;
  192. padding-top: 0.8em;
  193. padding-bottom: 0.8em;
  194. color: #0078ff
  195. }
  196. /******************************************
  197. * Styles for the site footer that is *
  198. * always visible. *
  199. ******************************************/
  200. /* Footer top container */
  201. div#footer{
  202. width: 100%;
  203. display: inline-block;
  204. background-color: #0078ff;
  205. border-top: 0.1em solid #1a4d6a;
  206. margin-top: 1em;
  207. padding: 0.5em 0 0.5em 0;
  208. width: 100%;
  209. box-shadow: 0 0 2em #dde;
  210. text-align: center;
  211. color: #ccddff
  212. }
  213. /* Table containing the footer elemnts */
  214. div#footer div#footer_table{
  215. width: 100%;
  216. display: table;
  217. }
  218. div#footer div#footer_table div.tr{
  219. width: 100%;
  220. display: table-row;
  221. }
  222. /* Each main section of the footer */
  223. div#footer div#footer_table div.td{
  224. display: table-cell;
  225. width: 33%;
  226. text-align: center;
  227. vertical-align: top;
  228. }
  229. /* Registry number */
  230. div#footer span#footer_info{
  231. font-size: 80%;
  232. font-style: italic;
  233. color: #222233;
  234. }
  235. /* Sponsor images and logos */
  236. div#footer div#footer_table div#footer_center img{
  237. max-height: 3.3em;
  238. min-height: 2em;
  239. min-width: 3em;
  240. max-width: 5em;
  241. border: 0.1em solid #111122;
  242. border-radius: 0.2em;
  243. margin: 0;
  244. margin: 0.1em 0.4em 0.1em 0.4em;
  245. vertical-align: middle;
  246. }
  247. div#footer div#footer_table div#footer_right a{
  248. font-weight: bold;
  249. color: #ffffff;
  250. }
  251. /* Images for language selection */
  252. img.lang{
  253. height: 1em;
  254. margin: 0.5em;
  255. border-radius: 0.2em;
  256. border: 0.15em solid #003;
  257. cursor: pointer;
  258. box-shadow: 0 0 0.7em #dde;
  259. transition: all .3s ease-in-out;
  260. }
  261. img.lang:hover{
  262. box-shadow: 0 0 1em #111;
  263. }
  264. /* Mobile app link image in the footer */
  265. img.app{
  266. height: 2em;
  267. border-radius: 0.4em;
  268. border: 0.15em solid #003;
  269. cursor: pointer;
  270. box-shadow: 0 0 0.5em #dde;
  271. transition: all .3s ease-in-out;
  272. }
  273. img.app:hover{
  274. box-shadow: 0 0 0.8em #dde;
  275. }
  276. /* Each of the social links in the footer */
  277. img.footer_social_icon{
  278. height: 2.2em;
  279. margin: 0.12em;
  280. transition: all .3s ease-in-out;
  281. -webkit-filter: drop-shadow(0 0 0.2em #dde);
  282. filter: drop-shadow(0 0 0.2em #dde);
  283. -ms-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=0, Color='#dde')";
  284. filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=0, Color='#dde')";
  285. }
  286. img.footer_social_icon:hover{
  287. -webkit-filter: drop-shadow(0 0 0.6em #111);
  288. filter: drop-shadow(0 0 0.6em #111);
  289. }
  290. /******************************************
  291. * Styles for the annoying cookie popup. *
  292. ******************************************/
  293. div#cookie_popup{
  294. font-size: 80%;
  295. color: #dddddd;
  296. text-align: center;
  297. position: fixed;
  298. background-color: #4c9ed8;
  299. border: 0.5em solid #265774;
  300. padding: 1em 10em 1em 10em;
  301. left: -9em;
  302. bottom: 9em;
  303. -ms-transform: rotate(30deg); /* IE 9 */
  304. -ms-transform-origin: 20% 40%; /* IE 9 */
  305. -webkit-transform: rotate(30deg); /* Chrome, Safari, Opera */
  306. -webkit-transform-origin: 20% 40%; /* Chrome, Safari, Opera */
  307. -moz-transform: rotate(30deg);
  308. -moz-transform-origin: 20% 40%; /* Chrome, Safari, Opera */
  309. transform: rotate(30deg);
  310. transform-origin: 20% 40%;
  311. box-shadow: 0 0 3em #265774;
  312. transition: bottom .5s ease-in-out;
  313. }
  314. div#cookie_popup span.button a{
  315. font-weight: bold;
  316. font-size: 100%;
  317. border: 0.2em solid #133442;
  318. border-radius: 0.2em;
  319. padding: 0.2em;
  320. color: #dddddd;
  321. }
  322. div#cookie_popup span#button_ok a{
  323. background-color: #338833;
  324. }
  325. div#cookie_popup span#button_more a{
  326. background-color: #883333;
  327. }
  328. /******************************************
  329. * Styles for the main block that compose *
  330. * the site. Most of the pages share the *
  331. * same structure. *
  332. ******************************************/
  333. /* Content */
  334. div#content{
  335. margin: auto;
  336. width: 90%;
  337. max-width: 80em;
  338. min-width: 60em;
  339. }
  340. /* Sections */
  341. div.section{
  342. border-left: 0.1em solid #000011;
  343. border-right: 0.1em solid #000011;
  344. border-bottom: 0.1em solid #000011;
  345. border-radius: 1em;
  346. padding: 0 0 0.5em 0;
  347. background-color: #98c8ff;
  348. -webkit-filter: drop-shadow(0 0 0.4em #000011);
  349. filter: drop-shadow(0 0 0.4em #000011);
  350. -ms-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=0, Color='#000011')";
  351. filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=0, Color='#000011')";
  352. }
  353. /* Title for each section */
  354. .section_title{
  355. font-size: 120%;
  356. font-style: bold;
  357. color: #ffffff;
  358. background-color: #0078ff;
  359. padding: 0.5em 2em 0.1em 1.5em;
  360. border-top-left-radius: 0.7em;
  361. border-top-right-radius: 0.7em;
  362. border: 0.1em solid #000011;
  363. margin: 0;
  364. }
  365. div.section a.go_to_section{
  366. margin-right: 2em;
  367. font-weight: bold;
  368. text-shadow: 0 0 0.0em #ffffff;
  369. }
  370. /* Entries */
  371. .entry{
  372. background-color: #ffffff;
  373. padding: 0.2em;
  374. margin: 0.4em;
  375. border: 0.1em solid #6D6990;
  376. border-radius: 0.3em;
  377. box-shadow: inset 0 0 0.2em #dde;
  378. transition: all .3s ease-in-out;
  379. }
  380. h3.entry_title{
  381. color: #275573;
  382. font-weight: bold;
  383. font-size: 1.3em;
  384. margin: 1em 1em 0.3em 0em;
  385. }
  386. h3.entry_title a{
  387. color: #275573;
  388. }
  389. /* Comments */
  390. div.comment{
  391. margin: 0.5em 1em 0.5em 1em;
  392. }
  393. div.comment span.comment_user{
  394. font-weight: bold;
  395. }
  396. div.comment span.comment_date{
  397. font-style: italic;
  398. font-size: 80%;
  399. }
  400. div.comment span.comment_date::before {
  401. content: " - ";
  402. font-size: 80%;
  403. }
  404. div.comment span.comment_date::before {
  405. content: " - ";
  406. font-size: 80%;
  407. }
  408. div.comment p.comment_text{
  409. margin: 0.5em 1em 0.5em 0.5em;
  410. }
  411. /* Comment form */
  412. div#comment_new{
  413. padding: 0.5em 1.5em 0.5em 1.5em;
  414. }
  415. div#comment_new textarea{
  416. width: 95%;
  417. }
  418. div#comment_new input[type='text']{
  419. width: 70%;
  420. }
  421. div#comment_new input[type='submit']{
  422. width: 25%;
  423. }
  424. /******************************************
  425. * Styles for the ad window. *
  426. ******************************************/
  427. div#ad{
  428. border: 0.1em solid #000011;
  429. width: 25%;
  430. max-width: 25em;
  431. min-width: 12em;
  432. max-height: 20em;
  433. position: fixed;
  434. bottom: -25em;
  435. left: 3em;
  436. margin-bottom: 0;
  437. box-shadow: 0 0 2em #111122;
  438. border-top-left-radius: 1em;
  439. border-top-right-radius: 1em;
  440. transition: bottom .5s ease-in-out;
  441. }
  442. div#ad h3{
  443. margin-top: 0.3em;
  444. }
  445. div#ad div#ad_details{
  446. text-align: right;
  447. color: #555555;
  448. font-size: 80%;
  449. font-weight: bold;
  450. margin: 0;
  451. }
  452. div#ad div#ad_details img{
  453. height: 0.8em;
  454. width: 0.8em;
  455. vertical-align: middle;
  456. margin: 0 0.5em 0 0.5em;
  457. }
  458. div#ad div.entry div#ad_image_container{
  459. max-height: 9.5em;
  460. margin: 0.3em 0.5em 0.3em 0.5em;
  461. text-align: center;
  462. }
  463. div#ad div.entry div#ad_image_container img{
  464. max-height: 9em;
  465. border: 0.1em solid #111111;
  466. }
  467. div#ad div.entry a{
  468. font-style: italic;
  469. font-size: 90%;
  470. margin-left: 0.6em;
  471. margin-right: 0.6em;
  472. }
  473. div#ad div.entry a img#ad_pinpoint{
  474. vertical-align: middle;
  475. max-height: 0.8em;
  476. }