ui.css 12 KB

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