ui.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524
  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. padding-top: 1em;
  229. }
  230. div#footer div#footer_table div#footer_right a{
  231. font-weight: bold;
  232. color: #ffffff;
  233. }
  234. /* Images for language selection */
  235. img.lang{
  236. height: 1em;
  237. margin: 0.5em;
  238. border-radius: 0.2em;
  239. border: 0.15em solid #003;
  240. cursor: pointer;
  241. box-shadow: 0 0 0.7em #dde;
  242. transition: all .3s ease-in-out;
  243. }
  244. img.lang:hover{
  245. box-shadow: 0 0 1em #111;
  246. }
  247. /* Mobile app link image in the footer */
  248. img.app{
  249. height: 2em;
  250. /* margin: 0.5em; */
  251. border-radius: 0.4em;
  252. border: 0.15em solid #003;
  253. cursor: pointer;
  254. box-shadow: 0 0 0.5em #dde;
  255. transition: all .3s ease-in-out;
  256. }
  257. img.app:hover{
  258. box-shadow: 0 0 0.8em #dde;
  259. }
  260. /* Each of the social links in the footer */
  261. img.footer_social_icon{
  262. height: 2.2em;
  263. margin: 0.12em;
  264. transition: all .3s ease-in-out;
  265. -webkit-filter: drop-shadow(0 0 0.2em #dde);
  266. filter: drop-shadow(0 0 0.2em #dde);
  267. -ms-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=0, Color='#dde')";
  268. filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=0, Color='#dde')";
  269. }
  270. img.footer_social_icon:hover{
  271. -webkit-filter: drop-shadow(0 0 0.6em #111);
  272. filter: drop-shadow(0 0 0.6em #111);
  273. }
  274. /******************************************
  275. * Styles for the annoying cookie popup. *
  276. ******************************************/
  277. div#cookie_popup{
  278. font-size: 80%;
  279. /* display: inline-block; */
  280. color: #dddddd;
  281. text-align: center;
  282. position: fixed;
  283. background-color: #4c9ed8;
  284. border: 0.5em solid #265774;
  285. padding: 1em 10em 1em 10em;
  286. left: -9em;
  287. bottom: 9em;
  288. -ms-transform: rotate(30deg); /* IE 9 */
  289. -ms-transform-origin: 20% 40%; /* IE 9 */
  290. -webkit-transform: rotate(30deg); /* Chrome, Safari, Opera */
  291. -webkit-transform-origin: 20% 40%; /* Chrome, Safari, Opera */
  292. -moz-transform: rotate(30deg);
  293. -moz-transform-origin: 20% 40%; /* Chrome, Safari, Opera */
  294. transform: rotate(30deg);
  295. transform-origin: 20% 40%;
  296. box-shadow: 0 0 3em #265774;
  297. transition: bottom .5s ease-in-out;
  298. }
  299. div#cookie_popup span.button{
  300. font-weight: bold;
  301. font-size: 100%;
  302. border: 0.2em solid #133442;
  303. border-radius: 0.2em;
  304. padding: 0.1em;
  305. }
  306. div#cookie_popup span#button_ok{
  307. background-color: #338833;
  308. }
  309. div#cookie_popup span#button_more{
  310. background-color: #883333;
  311. }
  312. /******************************************
  313. * Styles for the main block that compose *
  314. * the site. Most of the pages share the *
  315. * same structure. *
  316. ******************************************/
  317. /* Content */
  318. div#content{
  319. margin: auto;
  320. width: 90%;
  321. max-width: 80em;
  322. min-width: 60em;
  323. }
  324. /* Sections */
  325. div.section{
  326. /* background-color: #7cbed9; */
  327. background-color: #9bc1da;
  328. /* border-radius: 0 0 0.6em 0.6em; */
  329. padding: 0.1em 0.3em 0.1em 0.1em;
  330. border: 0.2em solid #9cd3d9;
  331. /* border-top: 0.3em solid #003; */
  332. /* box-shadow: 0 0 0.3em #dde; */
  333. }
  334. /* Title for each section */
  335. div.section .section_title{
  336. font-size: 130%;
  337. font-style: bold;
  338. margin-top: 0.5em;
  339. }
  340. div.section a.go_to_section{
  341. color: #ddddff;
  342. font-weight: bold;
  343. text-shadow: 0 0 0.0em #ffffff;
  344. }
  345. /* Entries */
  346. div.entry{
  347. background-color: #ffffff;
  348. padding: 0.2em;
  349. margin: 0.4em;
  350. border: 0.2em solid #9cd3d9;
  351. box-shadow: inset 0 0 0.2em #dde;
  352. transition: all .3s ease-in-out;
  353. }
  354. td.entry{
  355. background-color: #ffffff;
  356. padding: 0.2em;
  357. margin: 0.4em;
  358. border: 0.2em solid #9cd3d9;
  359. box-shadow: inset 0 0 0.2em #dde;
  360. transition: all .3s ease-in-out;
  361. }
  362. /* Comments */
  363. div.comment{
  364. margin: 0.5em 1em 0.5em 1em;
  365. }
  366. div.comment span.comment_user{
  367. font-weight: bold;
  368. }
  369. div.comment span.comment_date{
  370. font-style: italic;
  371. font-size: 80%;
  372. }
  373. div.comment span.comment_date::before {
  374. content: " - ";
  375. font-size: 80%;
  376. }
  377. div.comment span.comment_date::before {
  378. content: " - ";
  379. font-size: 80%;
  380. }
  381. div.comment p.comment_text{
  382. margin: 0.5em 1em 0.5em 0.5em;
  383. }
  384. /* Comment form */
  385. div#comment_new{
  386. padding: 0.5em 1.5em 0.5em 1.5em;
  387. }
  388. div#comment_new textarea{
  389. width: 95%;
  390. }
  391. div#comment_new input[type='text']{
  392. width: 70%;
  393. }
  394. div#comment_new input[type='submit']{
  395. width: 25%;
  396. }
  397. /******************************************
  398. * Styles for the ad window. *
  399. ******************************************/
  400. div#ad{
  401. width: 25%;
  402. max-width: 25em;
  403. min-width: 12em;
  404. max-height: 20em;
  405. position: fixed;
  406. bottom: -25em;
  407. left: 3em;
  408. margin-bottom: 0;
  409. box-shadow: 0 0 2em #111122;
  410. border-top-left-radius: 1em;
  411. border-top-right-radius: 1em;
  412. transition: bottom .5s ease-in-out;
  413. }
  414. div#ad h3{
  415. margin-top: 0.3em;
  416. }
  417. div#ad div#ad_details{
  418. text-align: right;
  419. color: #555555;
  420. font-size: 80%;
  421. font-weight: bold;
  422. margin: 0;
  423. }
  424. div#ad div#ad_details img{
  425. height: 0.8em;
  426. width: 0.8em;
  427. vertical-align: middle;
  428. margin: 0 0.5em 0 0.5em;
  429. }
  430. div#ad div.entry div#ad_image_container{
  431. max-height: 9.5em;
  432. margin: 0.3em 0.5em 0.3em 0.5em;
  433. text-align: center;
  434. }
  435. div#ad div.entry div#ad_image_container img{
  436. max-height: 9em;
  437. border: 0.1em solid #111111;
  438. }
  439. div#ad div.entry a{
  440. font-style: italic;
  441. font-size: 90%;
  442. margin-left: 0.6em;
  443. margin-right: 0.6em;
  444. }
  445. div#ad div.entry a img#ad_pinpoint{
  446. vertical-align: middle;
  447. max-height: 0.8em;
  448. }