ui.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540
  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-shadow: 0 0 0.0em #7799ff; */
  40. text-decoration: none;
  41. transition: all .2s ease-in-out;
  42. }
  43. a:hover{
  44. color: #347;
  45. text-shadow: 0 0 0.4em #265885;
  46. text-decoration: underline;
  47. }
  48. /* Body */
  49. body{
  50. font-family: font;
  51. margin: 0;
  52. /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#b5d3e5+0,e5f4ff+10,e5f4ff+90,b5d3e5+100 */
  53. background: #b5d3e5; /* Old browsers */
  54. background: -moz-linear-gradient(left, #b5d3e5 0%, #e5f4ff 10%, #e5f4ff 90%, #b5d3e5 100%); /* FF3.6-15 */
  55. background: -webkit-linear-gradient(left, #b5d3e5 0%,#e5f4ff 10%,#e5f4ff 90%,#b5d3e5 100%); /* Chrome10-25,Safari5.1-6 */
  56. background: linear-gradient(to right, #b5d3e5 0%,#e5f4ff 10%,#e5f4ff 90%,#b5d3e5 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  57. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b5d3e5', endColorstr='#b5d3e5',GradientType=1 ); /* IE6-9 */
  58. }
  59. /* WARNING: If styles change dhere, make changes on commment scripts */
  60. input[type="text"], input[type="number"], input[type="date"]{
  61. border-radius: 0.5em;
  62. height: 1.5em;
  63. border: 0.4em solid #9cd3d9;
  64. color: #cccccc;
  65. background-color: #223344;
  66. }
  67. input[type="button"], input[type="submit"], select{
  68. border-radius: 0.5em;
  69. height: 2.5em;
  70. border: 0.4em solid #9cd3d9;
  71. font-weight: bold;
  72. color: #ffffff;
  73. background-color: #335577;
  74. cursor: pointer;
  75. }
  76. textarea{
  77. border-radius: 0.5em;
  78. min-height: 2em;
  79. max-height: 15em;
  80. border: 0.4em solid #9cd3d9;
  81. color: #bbbbbb;
  82. background-color: #223344;
  83. resize: vertical;
  84. }
  85. /******************************************
  86. * Common elements present across the *
  87. * whle site. *
  88. ******************************************/
  89. /* Icon for slider sections */
  90. img.slid{
  91. height: 0.9em;
  92. width: 0.9em;
  93. padding: 0.1em;
  94. cursor: pointer;
  95. vertical-align: middle;
  96. transition: opacity 0.5s ease-in-out;
  97. }
  98. /* Elements that should have the cursor as pointer */
  99. .pointer{
  100. cursor: pointer;
  101. }
  102. /* Elemnts not to be displayed */
  103. .hidden{
  104. display: none;
  105. }
  106. /* Elements with an italic font */
  107. .italic{
  108. font-style: italic;
  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: #9bc1da;
  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: 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{
  313. font-weight: bold;
  314. font-size: 100%;
  315. border: 0.2em solid #133442;
  316. border-radius: 0.2em;
  317. padding: 0.1em;
  318. }
  319. div#cookie_popup span#button_ok{
  320. background-color: #338833;
  321. }
  322. div#cookie_popup span#button_more{
  323. background-color: #883333;
  324. }
  325. /******************************************
  326. * Styles for the main block that compose *
  327. * the site. Most of the pages share the *
  328. * same structure. *
  329. ******************************************/
  330. /* Content */
  331. div#content{
  332. margin: auto;
  333. width: 90%;
  334. max-width: 80em;
  335. min-width: 60em;
  336. }
  337. /* Sections */
  338. div.section{
  339. /* background-color: #7cbed9; */
  340. background-color: #9bc1da;
  341. /* border-radius: 0 0 0.6em 0.6em; */
  342. padding: 0.1em 0.3em 0.1em 0.1em;
  343. border: 0.2em solid #9cd3d9;
  344. /* border-top: 0.3em solid #003; */
  345. /* box-shadow: 0 0 0.3em #dde; */
  346. }
  347. /* Title for each section */
  348. div.section .section_title{
  349. font-size: 130%;
  350. font-style: bold;
  351. margin-top: 0.5em;
  352. }
  353. div.section a.go_to_section{
  354. color: #ddddff;
  355. font-weight: bold;
  356. text-shadow: 0 0 0.0em #ffffff;
  357. }
  358. /* Entries */
  359. div.entry{
  360. background-color: #ffffff;
  361. padding: 0.2em;
  362. margin: 0.4em;
  363. border: 0.2em solid #9cd3d9;
  364. box-shadow: inset 0 0 0.2em #dde;
  365. transition: all .3s ease-in-out;
  366. }
  367. td.entry{
  368. background-color: #ffffff;
  369. padding: 0.2em;
  370. margin: 0.4em;
  371. border: 0.2em solid #9cd3d9;
  372. box-shadow: inset 0 0 0.2em #dde;
  373. transition: all .3s ease-in-out;
  374. }
  375. /* Comments */
  376. div.comment{
  377. margin: 0.5em 1em 0.5em 1em;
  378. }
  379. div.comment span.comment_user{
  380. font-weight: bold;
  381. }
  382. div.comment span.comment_date{
  383. font-style: italic;
  384. font-size: 80%;
  385. }
  386. div.comment span.comment_date::before {
  387. content: " - ";
  388. font-size: 80%;
  389. }
  390. div.comment span.comment_date::before {
  391. content: " - ";
  392. font-size: 80%;
  393. }
  394. div.comment p.comment_text{
  395. margin: 0.5em 1em 0.5em 0.5em;
  396. }
  397. /* Comment form */
  398. div#comment_new{
  399. padding: 0.5em 1.5em 0.5em 1.5em;
  400. }
  401. div#comment_new textarea{
  402. width: 95%;
  403. }
  404. div#comment_new input[type='text']{
  405. width: 70%;
  406. }
  407. div#comment_new input[type='submit']{
  408. width: 25%;
  409. }
  410. /******************************************
  411. * Styles for the ad window. *
  412. ******************************************/
  413. div#ad{
  414. width: 25%;
  415. max-width: 25em;
  416. min-width: 12em;
  417. max-height: 20em;
  418. position: fixed;
  419. bottom: -25em;
  420. left: 3em;
  421. margin-bottom: 0;
  422. box-shadow: 0 0 2em #111122;
  423. border-top-left-radius: 1em;
  424. border-top-right-radius: 1em;
  425. transition: bottom .5s ease-in-out;
  426. }
  427. div#ad h3{
  428. margin-top: 0.3em;
  429. }
  430. div#ad div#ad_details{
  431. text-align: right;
  432. color: #555555;
  433. font-size: 80%;
  434. font-weight: bold;
  435. margin: 0;
  436. }
  437. div#ad div#ad_details img{
  438. height: 0.8em;
  439. width: 0.8em;
  440. vertical-align: middle;
  441. margin: 0 0.5em 0 0.5em;
  442. }
  443. div#ad div.entry div#ad_image_container{
  444. max-height: 9.5em;
  445. margin: 0.3em 0.5em 0.3em 0.5em;
  446. text-align: center;
  447. }
  448. div#ad div.entry div#ad_image_container img{
  449. max-height: 9em;
  450. border: 0.1em solid #111111;
  451. }
  452. div#ad div.entry a{
  453. font-style: italic;
  454. font-size: 90%;
  455. margin-left: 0.6em;
  456. margin-right: 0.6em;
  457. }
  458. div#ad div.entry a img#ad_pinpoint{
  459. vertical-align: middle;
  460. max-height: 0.8em;
  461. }