ui.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579
  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. li{
  83. list-style-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAG0lEQVQImWNgIBqU//+PWwKGcUoQVECanVgAAJSsH/KywgEfAAAAAElFTkSuQmCC');
  84. }
  85. /******************************************
  86. * Common elements present across the *
  87. * whle site. *
  88. ******************************************/
  89. /* Icon for slider sections */
  90. img.slid{
  91. height: 0.9em;
  92. width: 0.9em;
  93. padding: 0.1em;
  94. cursor: pointer;
  95. vertical-align: middle;
  96. transition: opacity 0.5s ease-in-out;
  97. }
  98. /* Elements that should have the cursor as pointer */
  99. .pointer{
  100. cursor: pointer;
  101. }
  102. /* Elemnts not to be displayed */
  103. .hidden{
  104. display: none;
  105. }
  106. /* Elements with an italic font */
  107. .italic{
  108. font-style: italic;
  109. }
  110. /*Elements with a bold font*/
  111. .bold{
  112. font-weight: bold;
  113. }
  114. /*Stroked elements*/
  115. .stroke{
  116. text-decoration: line-through;
  117. }
  118. /*Underlined elements*/
  119. .underline{
  120. text-decoration: underline;
  121. }
  122. /******************************************
  123. * Styles for the site header that is *
  124. * always visible. *
  125. ******************************************/
  126. /* Header top container */
  127. div#header{
  128. margin: -0.5em auto 2.5em auto;
  129. padding: 0.5em 0 0 0;
  130. width: 100%;
  131. background-color: #0078ff;
  132. border-bottom: 0.1em solid #1a4d6a;
  133. box-shadow: 0 0 3em #dde;
  134. text-align: center;
  135. }
  136. div#header div#header_content{
  137. margin: 0 auto 0 auto;
  138. width: 95%;
  139. max-width: 80em;
  140. }
  141. /* Main image of the header, contains the logo */
  142. div#header img{
  143. display: inline-block;
  144. width: 10%;
  145. max-width: 5em;
  146. margin: 0;
  147. margin-left: -1em;
  148. margin-bottom: -0.8em;
  149. vertical-align: middle;
  150. -webkit-filter: drop-shadow(0 0 0.4em #dde);
  151. filter: drop-shadow(0 0 0.4em #dde);
  152. border: 0.1em solid #000011;
  153. border-radius: 100%;
  154. -ms-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=0, Color='#dde')";
  155. filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=0, Color='#dde')";
  156. }
  157. /* Section of the header containing links to sections */
  158. div#header_menu{
  159. display: inline-block;
  160. vertical-align: middle;
  161. width: 90%;
  162. margin-top: -0.2em;
  163. margin-left: -4%;
  164. background-color: #f5fbff;
  165. border-top-right-radius: 0.5em;
  166. border-bottom-right-radius: 0.5em;
  167. border: 0.1em solid #1a4d6a;
  168. }
  169. /* Table with the links to the sections */
  170. div#header_menu table{
  171. display: table;
  172. margin: auto 0 auto 0;
  173. width: 100%;
  174. border-collapse: collapse;
  175. border-spacing: 0;
  176. }
  177. div#header_menu table tbody{
  178. width: 100%;
  179. }
  180. div#header_menu table tbody tr{
  181. width: 100%;
  182. }
  183. /* Containers of the section links */
  184. div#header_menu table td{
  185. width: 12%;
  186. text-align: center;
  187. transition: all .3s ease-in-out;
  188. white-space: nowrap;
  189. }
  190. div#header_menu table td:hover{
  191. background-color: #0078ff;
  192. }
  193. div#header_menu table td:hover a{
  194. color: #ffffff;
  195. text-shadow: 0 0 0em #ffffff;
  196. }
  197. /* Actual links in the header */
  198. div#header_menu table a{
  199. display: inline-block;
  200. font-weight: bold;
  201. font-size: 115%;
  202. width: 100%;
  203. padding-top: 0.8em;
  204. padding-bottom: 0.8em;
  205. color: #0078ff
  206. }
  207. /******************************************
  208. * Styles for the site footer that is *
  209. * always visible. *
  210. ******************************************/
  211. /* Footer top container */
  212. div#footer{
  213. width: 100%;
  214. display: inline-block;
  215. background-color: #0078ff;
  216. border-top: 0.1em solid #1a4d6a;
  217. margin-top: 1em;
  218. padding: 0.5em 0 0.5em 0;
  219. width: 100%;
  220. box-shadow: 0 0 2em #dde;
  221. text-align: center;
  222. color: #ccddff
  223. }
  224. /* Table containing the footer elemnts */
  225. div#footer div#footer_table{
  226. width: 100%;
  227. display: table;
  228. }
  229. div#footer div#footer_table div.tr{
  230. width: 100%;
  231. display: table-row;
  232. }
  233. /* Each main section of the footer */
  234. div#footer div#footer_table div.td{
  235. display: table-cell;
  236. width: 33%;
  237. text-align: center;
  238. vertical-align: top;
  239. }
  240. /* Registry number */
  241. div#footer span#footer_info{
  242. font-size: 80%;
  243. font-style: italic;
  244. color: #222233;
  245. }
  246. /* Sponsor images and logos */
  247. div#footer div#footer_table div#footer_center img{
  248. max-height: 3.3em;
  249. min-height: 2em;
  250. min-width: 3em;
  251. max-width: 5em;
  252. border: 0.1em solid #111122;
  253. border-radius: 0.2em;
  254. margin: 0;
  255. margin: 0.1em 0.4em 0.1em 0.4em;
  256. vertical-align: middle;
  257. }
  258. div#footer div#footer_table div#footer_right a{
  259. font-weight: bold;
  260. color: #ffffff;
  261. }
  262. /* Images for language selection */
  263. img.lang{
  264. height: 1em;
  265. margin: 0.5em;
  266. border-radius: 0.2em;
  267. border: 0.15em solid #003;
  268. cursor: pointer;
  269. box-shadow: 0 0 0.7em #dde;
  270. transition: all .3s ease-in-out;
  271. }
  272. img.lang:hover{
  273. box-shadow: 0 0 1em #111;
  274. }
  275. /* Mobile app link image in the footer */
  276. img.app{
  277. height: 2em;
  278. border-radius: 0.4em;
  279. border: 0.15em solid #003;
  280. cursor: pointer;
  281. box-shadow: 0 0 0.5em #dde;
  282. transition: all .3s ease-in-out;
  283. }
  284. img.app:hover{
  285. box-shadow: 0 0 0.8em #dde;
  286. }
  287. /* Each of the social links in the footer */
  288. img.footer_social_icon{
  289. height: 2.2em;
  290. margin: 0.12em;
  291. transition: all .3s ease-in-out;
  292. -webkit-filter: drop-shadow(0 0 0.2em #dde);
  293. filter: drop-shadow(0 0 0.2em #dde);
  294. -ms-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=0, Color='#dde')";
  295. filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=0, Color='#dde')";
  296. }
  297. img.footer_social_icon:hover{
  298. -webkit-filter: drop-shadow(0 0 0.6em #111);
  299. filter: drop-shadow(0 0 0.6em #111);
  300. }
  301. /******************************************
  302. * Styles for the annoying cookie popup. *
  303. ******************************************/
  304. div#cookie_popup{
  305. font-size: 80%;
  306. color: #dddddd;
  307. text-align: center;
  308. position: fixed;
  309. background-color: #4c9ed8;
  310. border: 0.5em solid #265774;
  311. padding: 1em 10em 1em 10em;
  312. left: -9em;
  313. bottom: 9em;
  314. -ms-transform: rotate(30deg); /* IE 9 */
  315. -ms-transform-origin: 20% 40%; /* IE 9 */
  316. -webkit-transform: rotate(30deg); /* Chrome, Safari, Opera */
  317. -webkit-transform-origin: 20% 40%; /* Chrome, Safari, Opera */
  318. -moz-transform: rotate(30deg);
  319. -moz-transform-origin: 20% 40%; /* Chrome, Safari, Opera */
  320. transform: rotate(30deg);
  321. transform-origin: 20% 40%;
  322. box-shadow: 0 0 3em #265774;
  323. transition: bottom .5s ease-in-out;
  324. }
  325. div#cookie_popup span.button a{
  326. font-weight: bold;
  327. font-size: 100%;
  328. border: 0.2em solid #133442;
  329. border-radius: 0.2em;
  330. padding: 0.2em;
  331. color: #dddddd;
  332. }
  333. div#cookie_popup span#button_ok a{
  334. background-color: #338833;
  335. }
  336. div#cookie_popup span#button_more a{
  337. background-color: #883333;
  338. }
  339. /******************************************
  340. * Styles for the main block that compose *
  341. * the site. Most of the pages share the *
  342. * same structure. *
  343. ******************************************/
  344. /* Content */
  345. div#content{
  346. margin: auto;
  347. width: 90%;
  348. max-width: 80em;
  349. min-width: 60em;
  350. }
  351. /* Sections */
  352. div.section{
  353. border-left: 0.1em solid #000011;
  354. border-right: 0.1em solid #000011;
  355. border-bottom: 0.1em solid #000011;
  356. border-radius: 1em;
  357. padding: 0 0 0.5em 0;
  358. background-color: #98c8ff;
  359. -webkit-filter: drop-shadow(0 0 0.4em #000011);
  360. filter: drop-shadow(0 0 0.4em #000011);
  361. -ms-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=0, Color='#000011')";
  362. filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=0, Color='#000011')";
  363. }
  364. /* Title for each section */
  365. div.section .section_title{
  366. font-size: 120%;
  367. font-style: bold;
  368. color: #ffffff;
  369. background-color: #0078ff;
  370. padding: 0.5em 2em 0.1em 1.5em;
  371. border-top-left-radius: 0.7em;
  372. border-top-right-radius: 0.7em;
  373. border: 0.1em solid #000011;
  374. margin: 0;
  375. }
  376. div.section a.go_to_section{
  377. margin-right: 2em;
  378. font-weight: bold;
  379. text-shadow: 0 0 0.0em #ffffff;
  380. }
  381. /* Entries */
  382. .entry{
  383. background-color: #ffffff;
  384. padding: 0.2em;
  385. margin: 0.4em;
  386. border: 0.1em solid #6D6990;
  387. border-radius: 0.3em;
  388. box-shadow: inset 0 0 0.2em #dde;
  389. transition: all .3s ease-in-out;
  390. }
  391. h3.entry_title{
  392. color: #275573;
  393. font-weight: bold;
  394. font-size: 1.3em;
  395. margin: 1em 1em 0.3em 0em;
  396. }
  397. h3.entry_title a{
  398. color: #275573;
  399. }
  400. /* Comments */
  401. div.comment{
  402. margin: 0.5em 1em 0.5em 1em;
  403. }
  404. div.comment span.comment_user{
  405. font-weight: bold;
  406. }
  407. div.comment span.comment_date{
  408. font-style: italic;
  409. font-size: 80%;
  410. }
  411. div.comment span.comment_date::before {
  412. content: " - ";
  413. font-size: 80%;
  414. }
  415. div.comment span.comment_date::before {
  416. content: " - ";
  417. font-size: 80%;
  418. }
  419. div.comment p.comment_text{
  420. margin: 0.5em 1em 0.5em 0.5em;
  421. }
  422. /* Comment form */
  423. div#comment_new{
  424. padding: 0.5em 1.5em 0.5em 1.5em;
  425. }
  426. div#comment_new textarea{
  427. width: 95%;
  428. }
  429. div#comment_new input[type='text']{
  430. width: 70%;
  431. }
  432. div#comment_new input[type='submit']{
  433. width: 25%;
  434. }
  435. /******************************************
  436. * Styles for the ad window. *
  437. ******************************************/
  438. div#ad{
  439. border: 0.1em solid #000011;
  440. width: 45%;
  441. max-width: 25em;
  442. min-width: 12em;
  443. max-height: 25em;
  444. position: fixed;
  445. bottom: -25em;
  446. left: 3em;
  447. margin-bottom: 0;
  448. box-shadow: 0 0 2em #111122;
  449. border-bottom-left-radius: 0em;
  450. border-bottom-right-radius: 0em;
  451. transition: bottom .5s ease-in-out;
  452. }
  453. div#ad h3 a{
  454. color: #ffffff
  455. }
  456. div#ad div#ad_details{
  457. text-align: right;
  458. color: #555555;
  459. font-size: 80%;
  460. font-weight: bold;
  461. margin: 0;
  462. }
  463. div#ad div#ad_details img{
  464. height: 0.8em;
  465. width: 0.8em;
  466. vertical-align: middle;
  467. margin: 0 0.5em 0 0.5em;
  468. }
  469. div#ad div.entry div#ad_image_container{
  470. max-height: 9.5em;
  471. margin: 0.3em 0.5em 0.3em 0.5em;
  472. text-align: center;
  473. }
  474. div#ad div.entry div#ad_image_container img{
  475. max-height: 9em;
  476. max-width: 100%;
  477. border: 0.1em solid #111111;
  478. }
  479. div#ad div.entry a{
  480. font-style: italic;
  481. font-size: 90%;
  482. margin-left: 0.6em;
  483. margin-right: 0.6em;
  484. }
  485. div#ad div.entry a img#ad_pinpoint{
  486. vertical-align: middle;
  487. max-height: 0.8em;
  488. }
  489. div#ad div#ad_policy{
  490. text-align: right;
  491. margin: 0;
  492. padding: 1.5em 1em 0.5em 0.5em;
  493. font-size: 85%;
  494. position: absolute;
  495. bottom: 1em;
  496. right: 1em;
  497. }