ui.css 12 KB

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