ui.css 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  1. /* Glogal font. */
  2. @font-face{
  3. font-family: font;
  4. src: url('/font/FreeSans.ttf')
  5. }
  6. /* Mobile or desktop specifics. */
  7. .mobile{
  8. display: none;
  9. }
  10. @media screen and max-width: 800px{
  11. .desktop{
  12. display: none;
  13. }
  14. }
  15. /* Common elements across the page. */
  16. a, .fake_a{
  17. color: #4c9ed9;
  18. text-decoration: none;
  19. transition: all .2s ease-in-out;
  20. }
  21. a:hover, .fake_a:hover{
  22. color: #347;
  23. text-shadow: 0 0 0.4em #265885;
  24. text-decoration: underline;
  25. }
  26. input[type="text"], input[type="number"], input[type="date"]{
  27. border-radius: 0.3em;
  28. height: 1.5em;
  29. border: 0.2em solid #0078ff;
  30. color: #002255;
  31. background-color: #ccddff;
  32. margin: 0.1em;
  33. }
  34. input[type="button"], input[type="submit"], select{
  35. border-radius: 0.3em;
  36. height: 2em;
  37. border: 0.2em solid #0078ff;
  38. font-weight: bold;
  39. color: #ffffff;
  40. background-color: #124567;
  41. cursor: pointer;
  42. margin: 0.1em;
  43. letter-spacing: 0.1em;
  44. }
  45. textarea{
  46. border-radius: 0.3em;
  47. min-height: 2em;
  48. max-height: 15em;
  49. border: 0.2em solid #0078ff;
  50. color: #002255;
  51. background-color: #ccddff;
  52. resize: vertical;
  53. margin: 0.1em;
  54. }
  55. li{
  56. list-style-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAG0lEQVQImWNgIBqU//+PWwKGcUoQVECanVgAAJSsH/KywgEfAAAAAElFTkSuQmCC');
  57. }
  58. img.slid{
  59. height: 0.9em;
  60. width: 0.9em;
  61. padding: 0.1em;
  62. cursor: pointer;
  63. vertical-align: middle;
  64. transition: opacity 0.5s ease-in-out;
  65. }
  66. /* Quick styles for varios elements used widely. */
  67. .pointer{cursor: pointer;}
  68. .hidden{display: none;}
  69. .italic{font-style: italic;}
  70. .bold{font-weight: bold;}
  71. .stroke{text-decoration: line-through;}
  72. .underline{text-decoration: underline;}
  73. /* Body */
  74. body{
  75. font-family: font;
  76. margin: 0;
  77. /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#b5d3e5+0,e5f4ff+10,e5f4ff+90,b5d3e5+100 */
  78. background: linear-gradient(to right, #b5d3e5 0%,#e5f4ff 10%,#e5f4ff 90%,#b5d3e5 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  79. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b5d3e5', endColorstr='#b5d3e5',GradientType=1 ); /* IE6-9 */
  80. }
  81. /* Header */
  82. header{
  83. margin: -0.5em auto 2.5em auto;
  84. padding: 0.5em 0 0 0;
  85. width: 100%;
  86. background-color: #0078ff;
  87. border-bottom: 0.1em solid #1a4d6a;
  88. box-shadow: 0 0 3em #dde;
  89. text-align: center;
  90. }
  91. header img{
  92. display: inline-block;
  93. width: 10%;
  94. max-width: 5em;
  95. margin: 1em;
  96. vertical-align: middle;
  97. filter: drop-shadow(0 0 0.4em #dde);
  98. border-radius: 100%;
  99. }
  100. header a{
  101. display: inline-block;
  102. vertical-align: middle;
  103. width: calc(((100% - 6em) / 6) - 2em);
  104. margin: 0;
  105. padding: 0.5em 0.1em;
  106. font-size: 110%;
  107. color: #ffffff;
  108. text-align: center;
  109. padding: 0.5em 0;
  110. border-top: 0.1em solid #1a4d6a;
  111. border-bottom: 0.1em solid #1a4d6a;
  112. transition: all .3s ease-in-out;
  113. overflow-x: hidden;
  114. white-space: nowrap;
  115. }
  116. header a:hover{
  117. border-top: 0.3em solid #1a4d6a;
  118. border-bottom: 0.3em solid #1a4d6a;
  119. padding: 0.3em 0.1em;
  120. color: #0078ff;
  121. background-color: #ffffff;
  122. text-shadow: 0 0 0em #ffffff;
  123. }
  124. /* Footer. */
  125. footer{
  126. width: 100%;
  127. display: inline-block;
  128. background-color: #0078ff;
  129. border-top: 0.1em solid #1a4d6a;
  130. margin: 1em 0 0 0;
  131. padding: 0;
  132. width: 100%;
  133. box-shadow: 0 0 2em #dde;
  134. text-align: center;
  135. color: #ccddff
  136. }
  137. footer > div{
  138. display: inline-block;
  139. vertical-align: middle;
  140. margin: 0;
  141. padding: 1em;
  142. text-align: center;
  143. }
  144. footer > div#footer_social{
  145. width: 22%;
  146. }
  147. footer > div#footer_social img{
  148. display: inline-block;
  149. vertical-align:center;
  150. height: 2.2em;
  151. margin: 0.12em;
  152. transition: all .3s ease-in-out;
  153. filter: drop-shadow(0 0 0.2em #ddddee);
  154. }
  155. footer > div#footer_social img:hover{
  156. filter: drop-shadow(0 0 0.6em #111);
  157. }
  158. footer > div#footer_sponsors{
  159. width: 55%;
  160. }
  161. footer > div#footer_sponsors img{
  162. display: inline-block;
  163. vertical-align:center;
  164. max-height: 3.3em;
  165. min-height: 2em;
  166. min-width: 3em;
  167. max-width: 5em;
  168. border: 0.1em solid #111122;
  169. border-radius: 0.2em;
  170. margin: 0.1em 0.4em 0.1em 0.4em;
  171. vertical-align: middle;
  172. }
  173. footer > div#footer_util{
  174. width: 22%;
  175. }
  176. footer > div#footer_util img.lang{
  177. height: 1em;
  178. margin: 0.5em;
  179. border-radius: 0.2em;
  180. border: 0.15em solid #003;
  181. cursor: pointer;
  182. box-shadow: 0 0 0.7em #dde;
  183. transition: all .3s ease-in-out;
  184. }
  185. footer > div#footer_util img.lang:hover{
  186. box-shadow: 0 0 1em #111;
  187. }
  188. footer > div#footer_util img.app{
  189. height: 2em;
  190. border-radius: 0.4em;
  191. border: 0.15em solid #003;
  192. cursor: pointer;
  193. box-shadow: 0 0 0.5em #dde;
  194. transition: all .3s ease-in-out;
  195. }
  196. footer > div#footer_util img.app:hover{
  197. box-shadow: 0 0 0.8em #dde;
  198. }
  199. /* Basic page structures. */
  200. main{
  201. margin: auto;
  202. width: 90%;
  203. max-width: 80em;
  204. min-width: 60em;
  205. }
  206. section{
  207. border-left: 0.1em solid #000011;
  208. border-right: 0.1em solid #000011;
  209. border-bottom: 0.1em solid #000011;
  210. border-radius: 1em;
  211. padding: 0 0 0.5em 0;
  212. background-color: #98c8ff;
  213. -webkit-filter: drop-shadow(0 0 0.4em #000011);
  214. filter: drop-shadow(0 0 0.4em #000011);
  215. -ms-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=0, Color='#000011')";
  216. filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=0, Color='#000011')";
  217. }
  218. section h3{
  219. font-size: 120%;
  220. font-style: bold;
  221. color: #ffffff;
  222. background-color: #0078ff;
  223. padding: 0.5em 2em 0.1em 1.5em;
  224. border-top-left-radius: 0.7em;
  225. border-top-right-radius: 0.7em;
  226. border: 0.1em solid #000011;
  227. margin: 0;
  228. }
  229. article{
  230. background-color: #ffffff;
  231. padding: 0.2em;
  232. margin: 0.4em;
  233. border: 0.1em solid #6D6990;
  234. border-radius: 0.3em;
  235. box-shadow: inset 0 0 0.2em #dde;
  236. transition: all .3s ease-in-out;
  237. }
  238. article h4{
  239. color: #275573;
  240. font-weight: bold;
  241. font-size: 1.3em;
  242. margin: 1em 1em 0.3em 0em;
  243. }
  244. article h4 a{
  245. color: #275573;
  246. }
  247. /* Posted omments */
  248. div.comment{
  249. margin: 0.5em 1em 0.5em 1em;
  250. }
  251. div.comment span.comment_user{
  252. font-weight: bold;
  253. }
  254. div.comment span.comment_date{
  255. font-style: italic;
  256. font-size: 80%;
  257. }
  258. div.comment span.comment_date::before {
  259. content: " - ";
  260. font-size: 80%;
  261. }
  262. div.comment p.comment_text{
  263. margin: 0.5em 1em 0.5em 0.5em;
  264. }
  265. /* Comment form */
  266. div#comment_new{
  267. padding: 0.5em 1.5em 0.5em 1.5em;
  268. }
  269. div#comment_new textarea{
  270. width: 95%;
  271. }
  272. div#comment_new input[type='text']{
  273. width: 70%;
  274. }
  275. div#comment_new input[type='submit']{
  276. width: 25%;
  277. }