ui.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576
  1. /******************************************
  2. * Color scheme. *
  3. * *
  4. * background: #ddddff *
  5. * link: #4c9ed9 *
  6. * link-h: #bbf *
  7. * section: #4c9ed7 *
  8. * shadows: #dde *
  9. * shadows-h: #111 *
  10. * header: #9bc1da *
  11. * entry: #ffffff *
  12. * border: #003 *
  13. * extra1: #eeeeff *
  14. * extra2: #4c9ed8 *
  15. * extra3: # *
  16. * *
  17. ******************************************/
  18. /******************************************
  19. * Hide elements intended for mobile. *
  20. ******************************************/
  21. .mobile{
  22. display: none;
  23. }
  24. /******************************************
  25. * Fonts used across the page *
  26. ******************************************/
  27. /* Glogal font */
  28. @font-face{
  29. font-family: font;
  30. src: url('/font/FreeSans.ttf')
  31. }
  32. /******************************************
  33. * Styles for html tags, without id or *
  34. * class. *
  35. ******************************************/
  36. /* Links */
  37. a{
  38. color: #4c9ed9;
  39. text-decoration: none;
  40. transition: all .2s ease-in-out;
  41. }
  42. a:hover{
  43. color: #347;
  44. text-shadow: 0 0 0.4em #265885;
  45. text-decoration: underline;
  46. }
  47. /* Fake links */
  48. .fake_a{
  49. color: #4c9ed9;
  50. text-decoration: none;
  51. transition: all .2s ease-in-out;
  52. }
  53. .fake_a:hover{
  54. color: #347;
  55. text-shadow: 0 0 0.4em #265885;
  56. text-decoration: underline;
  57. }
  58. /* Body */
  59. body{
  60. font-family: font;
  61. margin: 0;
  62. /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#b5d3e5+0,e5f4ff+10,e5f4ff+90,b5d3e5+100 */
  63. background: #b5d3e5; /* Old browsers */
  64. background: -moz-linear-gradient(left, #b5d3e5 0%, #e5f4ff 10%, #e5f4ff 90%, #b5d3e5 100%); /* FF3.6-15 */
  65. background: -webkit-linear-gradient(left, #b5d3e5 0%,#e5f4ff 10%,#e5f4ff 90%,#b5d3e5 100%); /* Chrome10-25,Safari5.1-6 */
  66. background: linear-gradient(to right, #b5d3e5 0%,#e5f4ff 10%,#e5f4ff 90%,#b5d3e5 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  67. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b5d3e5', endColorstr='#b5d3e5',GradientType=1 ); /* IE6-9 */
  68. }
  69. /* WARNING: If styles change dhere, make changes on commment scripts */
  70. input[type="text"], input[type="number"], input[type="date"]{
  71. border-radius: 0.5em;
  72. height: 1.5em;
  73. border: 0.4em solid #9cd3d9;
  74. color: #cccccc;
  75. background-color: #223344;
  76. }
  77. input[type="button"], input[type="submit"], select{
  78. border-radius: 0.5em;
  79. height: 2.5em;
  80. border: 0.4em solid #9cd3d9;
  81. font-weight: bold;
  82. color: #ffffff;
  83. background-color: #335577;
  84. cursor: pointer;
  85. }
  86. textarea{
  87. border-radius: 0.5em;
  88. min-height: 2em;
  89. max-height: 15em;
  90. border: 0.4em solid #9cd3d9;
  91. color: #bbbbbb;
  92. background-color: #223344;
  93. resize: vertical;
  94. }
  95. /******************************************
  96. * Common elements present across the *
  97. * whle site. *
  98. ******************************************/
  99. /* Icon for slider sections */
  100. img.slid{
  101. height: 0.9em;
  102. width: 0.9em;
  103. padding: 0.1em;
  104. cursor: pointer;
  105. vertical-align: middle;
  106. transition: opacity 0.5s ease-in-out;
  107. }
  108. /* Elements that should have the cursor as pointer */
  109. .pointer{
  110. cursor: pointer;
  111. }
  112. /* Elemnts not to be displayed */
  113. .hidden{
  114. display: none;
  115. }
  116. /* Elements with an italic font */
  117. .italic{
  118. font-style: italic;
  119. }
  120. /******************************************
  121. * Styles for the site header that is *
  122. * always visible. *
  123. ******************************************/
  124. /* Header top container */
  125. div#header{
  126. margin: -0.5em auto 2.5em auto;
  127. padding: 0.5em 0 0 0;
  128. width: 100%;
  129. background-color: #0078ff;
  130. border-bottom: 0.1em solid #1a4d6a;
  131. box-shadow: 0 0 3em #dde;
  132. text-align: center;
  133. }
  134. div#header div#header_content{
  135. margin: 0 auto 0 auto;
  136. width: 95%;
  137. max-width: 80em;
  138. }
  139. /* Main image of the header, contains the logo */
  140. div#header img{
  141. display: inline-block;
  142. width: 10%;
  143. max-width: 5em;
  144. margin: 0;
  145. margin-left: -1em;
  146. margin-bottom: -0.8em;
  147. /* padding: 1%; */
  148. vertical-align: middle;
  149. -webkit-filter: drop-shadow(0 0 0.4em #dde);
  150. /* filter: url(#drop-shadow); */
  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. /* margin: -0.5em auto 2.5em auto; */
  219. padding: 0.5em 0 0.5em 0;
  220. width: 100%;
  221. /* background-color: #9bc1da; */
  222. /* border-radius: 0 0 0.3em 0.3em; */
  223. /* border-top: 0.2em solid #9cd3d9; */
  224. box-shadow: 0 0 2em #dde;
  225. text-align: center;
  226. color: #ccddff
  227. }
  228. /* Table containing the footer elemnts */
  229. div#footer div#footer_table{
  230. width: 100%;
  231. display: table;
  232. }
  233. div#footer div#footer_table div.tr{
  234. width: 100%;
  235. display: table-row;
  236. }
  237. /* Each main section of the footer */
  238. div#footer div#footer_table div.td{
  239. display: table-cell;
  240. width: 33%;
  241. text-align: center;
  242. vertical-align: top;
  243. }
  244. div#footer span#footer_info{
  245. font-size: 80%;
  246. font-style: italic;
  247. color: #222233;
  248. }
  249. div#footer div#footer_table div#footer_center{
  250. }
  251. div#footer div#footer_table div#footer_center a{
  252. font-weight: bold;
  253. }
  254. div#footer div#footer_table div#footer_center img{
  255. max-height: 3.3em;
  256. min-height: 2em;
  257. min-width: 3em;
  258. max-width: 5em;
  259. border: 0.1em solid #111122;
  260. margin: 0;
  261. margin: 0.1em 0.4em 0.1em 0.4em;
  262. vertical-align: middle;
  263. }
  264. div#footer div#footer_table div#footer_right a{
  265. font-weight: bold;
  266. color: #ffffff;
  267. }
  268. /* Images for language selection */
  269. img.lang{
  270. height: 1em;
  271. margin: 0.5em;
  272. border-radius: 0.2em;
  273. border: 0.15em solid #003;
  274. cursor: pointer;
  275. box-shadow: 0 0 0.7em #dde;
  276. transition: all .3s ease-in-out;
  277. }
  278. img.lang:hover{
  279. box-shadow: 0 0 1em #111;
  280. }
  281. /* Mobile app link image in the footer */
  282. img.app{
  283. height: 2em;
  284. /* margin: 0.5em; */
  285. border-radius: 0.4em;
  286. border: 0.15em solid #003;
  287. cursor: pointer;
  288. box-shadow: 0 0 0.5em #dde;
  289. transition: all .3s ease-in-out;
  290. }
  291. img.app:hover{
  292. box-shadow: 0 0 0.8em #dde;
  293. }
  294. /* Each of the social links in the footer */
  295. img.footer_social_icon{
  296. height: 2.2em;
  297. margin: 0.12em;
  298. transition: all .3s ease-in-out;
  299. -webkit-filter: drop-shadow(0 0 0.2em #dde);
  300. filter: drop-shadow(0 0 0.2em #dde);
  301. -ms-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=0, Color='#dde')";
  302. filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=0, Color='#dde')";
  303. }
  304. img.footer_social_icon:hover{
  305. -webkit-filter: drop-shadow(0 0 0.6em #111);
  306. filter: drop-shadow(0 0 0.6em #111);
  307. }
  308. /******************************************
  309. * Styles for the annoying cookie popup. *
  310. ******************************************/
  311. div#cookie_popup{
  312. font-size: 80%;
  313. /* display: inline-block; */
  314. color: #dddddd;
  315. text-align: center;
  316. position: fixed;
  317. background-color: #4c9ed8;
  318. border: 0078ff 0.5em solid #265774;
  319. padding: 1em 10em 1em 10em;
  320. left: -9em;
  321. bottom: 9em;
  322. -ms-transform: rotate(30deg); /* IE 9 */
  323. -ms-transform-origin: 20% 40%; /* IE 9 */
  324. -webkit-transform: rotate(30deg); /* Chrome, Safari, Opera */
  325. -webkit-transform-origin: 20% 40%; /* Chrome, Safari, Opera */
  326. -moz-transform: rotate(30deg);
  327. -moz-transform-origin: 20% 40%; /* Chrome, Safari, Opera */
  328. transform: rotate(30deg);
  329. transform-origin: 20% 40%;
  330. box-shadow: 0 0 3em #265774;
  331. transition: bottom .5s ease-in-out;
  332. }
  333. div#cookie_popup span.button a{
  334. font-weight: bold;
  335. font-size: 100%;
  336. border: 0.2em solid #133442;
  337. border-radius: 0.2em;
  338. padding: 0.2em;
  339. color: #dddddd;
  340. }
  341. div#cookie_popup span#button_ok a{
  342. background-color: #338833;
  343. }
  344. div#cookie_popup span#button_more a{
  345. background-color: #883333;
  346. }
  347. /******************************************
  348. * Styles for the main block that compose *
  349. * the site. Most of the pages share the *
  350. * same structure. *
  351. ******************************************/
  352. /* Content */
  353. div#content{
  354. margin: auto;
  355. width: 90%;
  356. max-width: 80em;
  357. min-width: 60em;
  358. }
  359. /* Sections */
  360. div.section{
  361. /* background-color: #9bc1da; */
  362. /* padding: 0.1em 0.3em 0.1em 0.1em; */
  363. /* border: -0.1em solid #9cd3d9; */
  364. /* border: 0.1em solid #000011; */
  365. border-left: 0.1em solid #000011;
  366. border-right: 0.1em solid #000011;
  367. border-bottom: 0.1em solid #000011;
  368. border-radius: 1em;
  369. padding: 0 0 0.5em 0;
  370. /* background: linear-gradient(135deg, transparent 1.2em, #98c8ff 0) top left; */
  371. background-color: #98c8ff;
  372. -webkit-filter: drop-shadow(0 0 0.4em #000011);
  373. /* filter: url(#drop-shadow); */
  374. filter: drop-shadow(0 0 0.4em #000011);
  375. -ms-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=0, Color='#000011')";
  376. filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=0, Color='#000011')";
  377. }
  378. /* Title for each section */
  379. .section_title{
  380. font-size: 120%;
  381. font-style: bold;
  382. /* margin-top: 0.5em; */
  383. color: #ffffff;
  384. background-color: #0078ff;
  385. /* background: linear-gradient(135deg, transparent 0.8em, #0078ff 0) top left; */
  386. padding: 0.5em 2em 0.1em 1.5em;
  387. border-top-left-radius: 0.7em;
  388. border-top-right-radius: 0.7em;
  389. border: 0.1em solid #000011;
  390. margin: 0;
  391. }
  392. div.section a.go_to_section{
  393. /* color: #222266; */
  394. margin-right: 2em;
  395. font-weight: bold;
  396. text-shadow: 0 0 0.0em #ffffff;
  397. }
  398. /* Entries */
  399. .entry{
  400. background-color: #ffffff;
  401. padding: 0.2em;
  402. margin: 0.4em;
  403. border: 0.1em solid #6D6990;
  404. border-radius: 0.3em;
  405. box-shadow: inset 0 0 0.2em #dde;
  406. transition: all .3s ease-in-out;
  407. }
  408. /* Comments */
  409. div.comment{
  410. margin: 0.5em 1em 0.5em 1em;
  411. }
  412. div.comment span.comment_user{
  413. font-weight: bold;
  414. }
  415. div.comment span.comment_date{
  416. font-style: italic;
  417. font-size: 80%;
  418. }
  419. div.comment span.comment_date::before {
  420. content: " - ";
  421. font-size: 80%;
  422. }
  423. div.comment span.comment_date::before {
  424. content: " - ";
  425. font-size: 80%;
  426. }
  427. div.comment p.comment_text{
  428. margin: 0.5em 1em 0.5em 0.5em;
  429. }
  430. /* Comment form */
  431. div#comment_new{
  432. padding: 0.5em 1.5em 0.5em 1.5em;
  433. }
  434. div#comment_new textarea{
  435. width: 95%;
  436. }
  437. div#comment_new input[type='text']{
  438. width: 70%;
  439. }
  440. div#comment_new input[type='submit']{
  441. width: 25%;
  442. }
  443. /******************************************
  444. * Styles for the ad window. *
  445. ******************************************/
  446. div#ad{
  447. border: 0.1em solid #000011;
  448. width: 25%;
  449. max-width: 25em;
  450. min-width: 12em;
  451. max-height: 20em;
  452. position: fixed;
  453. bottom: -25em;
  454. left: 3em;
  455. margin-bottom: 0;
  456. box-shadow: 0 0 2em #111122;
  457. border-top-left-radius: 1em;
  458. border-top-right-radius: 1em;
  459. transition: bottom .5s ease-in-out;
  460. }
  461. div#ad h3{
  462. margin-top: 0.3em;
  463. }
  464. div#ad div#ad_details{
  465. text-align: right;
  466. color: #555555;
  467. font-size: 80%;
  468. font-weight: bold;
  469. margin: 0;
  470. }
  471. div#ad div#ad_details img{
  472. height: 0.8em;
  473. width: 0.8em;
  474. vertical-align: middle;
  475. margin: 0 0.5em 0 0.5em;
  476. }
  477. div#ad div.entry div#ad_image_container{
  478. max-height: 9.5em;
  479. margin: 0.3em 0.5em 0.3em 0.5em;
  480. text-align: center;
  481. }
  482. div#ad div.entry div#ad_image_container img{
  483. max-height: 9em;
  484. border: 0.1em solid #111111;
  485. }
  486. div#ad div.entry a{
  487. font-style: italic;
  488. font-size: 90%;
  489. margin-left: 0.6em;
  490. margin-right: 0.6em;
  491. }
  492. div#ad div.entry a img#ad_pinpoint{
  493. vertical-align: middle;
  494. max-height: 0.8em;
  495. }