ui_orig.css 7.0 KB

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