ui_green.css 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333
  1. /******************************************
  2. * Color scheme. *
  3. * *
  4. * background: #bfa *
  5. * link: #64a *
  6. * link-h: #317 *
  7. * section: #9a9 *
  8. * shadows: #ded *
  9. * shadows-h: #111 *
  10. * header: #aaa *
  11. * entry: #ded *
  12. * border: #333 *
  13. * extra1: #cfc *
  14. * extra2: #8a8 *
  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. font-family: font;
  31. src: url('/font/texgyreadventor-regular.otf')
  32. }
  33. /******************************************
  34. * Styles for html tags, without id or *
  35. * class. *
  36. ******************************************/
  37. /* Links */
  38. a{
  39. color: #64a;
  40. text-shadow: 0 0 0.5em #7799ff;
  41. text-decoration: none;
  42. transition: all .2s ease-in-out;
  43. }
  44. a:hover{
  45. color: #317;
  46. text-shadow: 0 0 0.4em #ffffff;
  47. text-decoration: underline;
  48. }
  49. /* Body */
  50. body{
  51. font-family: font;
  52. margin: 0;
  53. background-color: #bfa;
  54. }
  55. /******************************************
  56. * Common elements present across the *
  57. * whle site. *
  58. ******************************************/
  59. /* Icon for slider sections */
  60. img.slid{
  61. height: 1.2em;
  62. width: 1.2em;
  63. cursor: pointer;
  64. vertical-align: middle;
  65. transition: opacity 0.5s ease-in-out;
  66. }
  67. /* Elements that should have the cursor as pointer */
  68. .pointer{
  69. cursor: pointer;
  70. }
  71. /* Elemnts not to be displayed */
  72. .hidden{
  73. display: none;
  74. }
  75. /* Elements with an italic font */
  76. .italic{
  77. font-style: italic;
  78. }
  79. /******************************************
  80. * Styles for the site header that is *
  81. * always visible. *
  82. ******************************************/
  83. /* Header top container */
  84. div#header{
  85. margin: -1em auto 2.5em auto;
  86. padding: 1em 0 0 0;
  87. width: 95%;
  88. max-width: 80em;
  89. background-color: #aaa;
  90. border-radius: 0 0 0.3em 0.3em;
  91. border: 1px solid #333;
  92. box-shadow: 0 0 2em #ded;
  93. }
  94. div#header div#header_content{
  95. margin: 0;
  96. width: 100%;
  97. }
  98. /* Main image of the header, contains the logo */
  99. div#header img{
  100. display: inline-block;
  101. width: 10%;
  102. max-width: 15em;
  103. margin: 0.5em;
  104. margin-left: -1em;
  105. margin-bottom: -1.8em;
  106. /* padding: 1%; */
  107. vertical-align: middle;
  108. -webkit-filter: drop-shadow(0 0 0.4em #ded);
  109. /* filter: url(#drop-shadow); */
  110. filter: drop-shadow(0 0 0.4em #ded);
  111. -ms-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=0, Color='#ded')";
  112. filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=0, Color='#ded')";
  113. }
  114. /* Section of the header containing links to sections */
  115. div#header_menu{
  116. display: inline-block;
  117. vertical-align: middle;
  118. width: 90%;
  119. margin-top: -1em;
  120. margin-left: -4%;
  121. background-color: #cfc;
  122. border-radius: 0.5em;
  123. border: 0.2em solid #9a9;
  124. }
  125. /* Table with the links to the sections */
  126. div#header_menu table{
  127. display: table;
  128. margin: auto 0 auto 0;
  129. width: 100%;
  130. border-collapse: collapse;
  131. border-spacing: 0;
  132. }
  133. div#header_menu table tbody{
  134. width: 100%;
  135. }
  136. div#header_menu table tbody tr{
  137. width: 100%;
  138. }
  139. /* Containers of the section links */
  140. div#header_menu table td{
  141. width: 12%;
  142. text-align: center;
  143. transition: all .3s ease-in-out;
  144. white-space: nowrap;
  145. }
  146. div#header_menu table td:hover{
  147. background-color: #8a8;
  148. }
  149. /* Actual links in the header */
  150. div#header_menu table a{
  151. display: inline-block;
  152. font-weight: bold;
  153. font-size: 115%;
  154. width: 100%;
  155. padding-top: 0.8em;
  156. padding-bottom: 0.8em;
  157. }
  158. /******************************************
  159. * Styles for the site footer that is *
  160. * always visible. *
  161. ******************************************/
  162. /* Footer top container */
  163. div#footer{
  164. width: 100%;
  165. display: inline-block;
  166. }
  167. /* Table containing the footer elemnts */
  168. div#footer div#footer_table{
  169. width: 100%;
  170. display: table;
  171. }
  172. div#footer div#footer_table div.tr{
  173. width: 100%;
  174. display: table-row;
  175. }
  176. /* Each main section of the footer */
  177. div#footer div#footer_table div.td{
  178. display: table-cell;
  179. width: 33%;
  180. text-align: center;
  181. vertical-align: top;
  182. }
  183. div#footer div#footer_table div#footer_center{
  184. padding-top: 1em;
  185. }
  186. /* Images for language selection */
  187. img.lang{
  188. height: 1em;
  189. margin: 0.5em;
  190. border-radius: 0.2em;
  191. border: 0.15em solid #333;
  192. cursor: pointer;
  193. box-shadow: 0 0 0.7em #ded;
  194. transition: all .3s ease-in-out;
  195. }
  196. img.lang:hover{
  197. box-shadow: 0 0 1em #111;
  198. }
  199. /* Mobile app link image in the footer */
  200. img.app{
  201. height: 3em;
  202. /* margin: 0.5em; */
  203. border-radius: 0.4em;
  204. border: 0.15em solid #333;
  205. cursor: pointer;
  206. box-shadow: 0 0 0.5em #ded;
  207. transition: all .3s ease-in-out;
  208. }
  209. img.app:hover{
  210. box-shadow: 0 0 0.8em #ded;
  211. }
  212. /* Each of the social links in the footer */
  213. img.footer_social_icon{
  214. height: 2.2em;
  215. margin: 0.12em;
  216. transition: all .3s ease-in-out;
  217. -webkit-filter: drop-shadow(0 0 0.2em #ded);
  218. filter: drop-shadow(0 0 0.2em #ded);
  219. -ms-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=0, Color='#ded')";
  220. filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=0, Color='#ded')";
  221. }
  222. img.footer_social_icon:hover{
  223. -webkit-filter: drop-shadow(0 0 0.6em #111);
  224. filter: drop-shadow(0 0 0.6em #111);
  225. }
  226. /******************************************
  227. * Styles for the main block that compose *
  228. * the site. Most of the pages share the *
  229. * same structure.
  230. ******************************************/
  231. /* Content */
  232. div#content{
  233. margin: auto;
  234. width: 90%;
  235. max-width: 80em;
  236. min-width: 60em;
  237. }
  238. /* Sections */
  239. div.section{
  240. background-color: #9a9;
  241. border-radius: 0 0 0.6em 0.6em;
  242. padding: 0.3em 0.3em 0.5em 0.3em;
  243. border: 0.1em solid #333;
  244. border-top: 0.3em solid #333;
  245. box-shadow: 0 0 0.3em #ded;
  246. }
  247. /* Title for each section */
  248. div.section .section_title{
  249. font-size: 130%;
  250. font-style: bold;
  251. margin-top: 0.5em;
  252. }
  253. /* Entries */
  254. div.entry{
  255. background-color: #ded;
  256. padding: 0.2em;
  257. margin: 0.4em;
  258. border: 0.1em solid #333;
  259. box-shadow: inset 0 0 0.2em #ded;
  260. transition: all .3s ease-in-out;
  261. }
  262. /* Comments */
  263. div.comment{
  264. margin: 0.5em 1em 0.5em 1em;
  265. }
  266. div.comment span.comment_user{
  267. font-weight: bold;
  268. }
  269. div.comment span.comment_date{
  270. font-style: italic;
  271. font-size: 80%;
  272. }
  273. div.comment span.comment_date::before {
  274. content: " - ";
  275. font-size: 80%;
  276. }
  277. div.comment span.comment_date::before {
  278. content: " - ";
  279. font-size: 80%;
  280. }
  281. div.comment p.comment_text{
  282. margin: 0.5em 1em 0.5em 0.5em;
  283. }