ui.css 12 KB

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