ui.css 12 KB

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