ui.css 12 KB

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