ui.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580
  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. 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. background-color: #124567;
  333. }
  334. span#button_ok a{
  335. background-color: #338833;
  336. }
  337. span#button_more a{
  338. background-color: #883333;
  339. }
  340. /******************************************
  341. * Styles for the main block that compose *
  342. * the site. Most of the pages share the *
  343. * same structure. *
  344. ******************************************/
  345. /* Content */
  346. div#content{
  347. margin: auto;
  348. width: 90%;
  349. max-width: 80em;
  350. min-width: 60em;
  351. }
  352. /* Sections */
  353. div.section{
  354. border-left: 0.1em solid #000011;
  355. border-right: 0.1em solid #000011;
  356. border-bottom: 0.1em solid #000011;
  357. border-radius: 1em;
  358. padding: 0 0 0.5em 0;
  359. background-color: #98c8ff;
  360. -webkit-filter: drop-shadow(0 0 0.4em #000011);
  361. filter: drop-shadow(0 0 0.4em #000011);
  362. -ms-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=0, Color='#000011')";
  363. filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=0, Color='#000011')";
  364. }
  365. /* Title for each section */
  366. div.section .section_title{
  367. font-size: 120%;
  368. font-style: bold;
  369. color: #ffffff;
  370. background-color: #0078ff;
  371. padding: 0.5em 2em 0.1em 1.5em;
  372. border-top-left-radius: 0.7em;
  373. border-top-right-radius: 0.7em;
  374. border: 0.1em solid #000011;
  375. margin: 0;
  376. }
  377. div.section a.go_to_section{
  378. margin-right: 2em;
  379. font-weight: bold;
  380. text-shadow: 0 0 0.0em #ffffff;
  381. }
  382. /* Entries */
  383. .entry{
  384. background-color: #ffffff;
  385. padding: 0.2em;
  386. margin: 0.4em;
  387. border: 0.1em solid #6D6990;
  388. border-radius: 0.3em;
  389. box-shadow: inset 0 0 0.2em #dde;
  390. transition: all .3s ease-in-out;
  391. }
  392. h3.entry_title{
  393. color: #275573;
  394. font-weight: bold;
  395. font-size: 1.3em;
  396. margin: 1em 1em 0.3em 0em;
  397. }
  398. h3.entry_title a{
  399. color: #275573;
  400. }
  401. /* Comments */
  402. div.comment{
  403. margin: 0.5em 1em 0.5em 1em;
  404. }
  405. div.comment span.comment_user{
  406. font-weight: bold;
  407. }
  408. div.comment span.comment_date{
  409. font-style: italic;
  410. font-size: 80%;
  411. }
  412. div.comment span.comment_date::before {
  413. content: " - ";
  414. font-size: 80%;
  415. }
  416. div.comment span.comment_date::before {
  417. content: " - ";
  418. font-size: 80%;
  419. }
  420. div.comment p.comment_text{
  421. margin: 0.5em 1em 0.5em 0.5em;
  422. }
  423. /* Comment form */
  424. div#comment_new{
  425. padding: 0.5em 1.5em 0.5em 1.5em;
  426. }
  427. div#comment_new textarea{
  428. width: 95%;
  429. }
  430. div#comment_new input[type='text']{
  431. width: 70%;
  432. }
  433. div#comment_new input[type='submit']{
  434. width: 25%;
  435. }
  436. /******************************************
  437. * Styles for the ad window. *
  438. ******************************************/
  439. div#ad{
  440. border: 0.1em solid #000011;
  441. width: 45%;
  442. max-width: 25em;
  443. min-width: 12em;
  444. max-height: 25em;
  445. position: fixed;
  446. bottom: -25em;
  447. left: 3em;
  448. margin-bottom: 0;
  449. box-shadow: 0 0 2em #111122;
  450. border-bottom-left-radius: 0em;
  451. border-bottom-right-radius: 0em;
  452. transition: bottom .5s ease-in-out;
  453. }
  454. div#ad h3 a{
  455. color: #ffffff
  456. }
  457. div#ad div#ad_details{
  458. text-align: right;
  459. color: #555555;
  460. font-size: 80%;
  461. font-weight: bold;
  462. margin: 0;
  463. }
  464. div#ad div#ad_details img{
  465. height: 0.8em;
  466. width: 0.8em;
  467. vertical-align: middle;
  468. margin: 0 0.5em 0 0.5em;
  469. }
  470. div#ad div.entry div#ad_image_container{
  471. max-height: 9.5em;
  472. margin: 0.3em 0.5em 0.3em 0.5em;
  473. text-align: center;
  474. }
  475. div#ad div.entry div#ad_image_container img{
  476. max-height: 9em;
  477. max-width: 100%;
  478. border: 0.1em solid #111111;
  479. }
  480. div#ad div.entry a{
  481. font-style: italic;
  482. font-size: 90%;
  483. margin-left: 0.6em;
  484. margin-right: 0.6em;
  485. }
  486. div#ad div.entry a img#ad_pinpoint{
  487. vertical-align: middle;
  488. max-height: 0.8em;
  489. }
  490. div#ad div#ad_policy{
  491. text-align: right;
  492. margin: 0;
  493. padding: 1.5em 1em 0.5em 0.5em;
  494. font-size: 85%;
  495. position: absolute;
  496. bottom: 1em;
  497. right: 1em;
  498. }