ui.css 12 KB

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