theme.css 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  1. @font-face {
  2. font-family: 'Titillium';
  3. src: url('fonts/titillium-regular-webfont.woff') format('woff');
  4. font-style: normal;
  5. font-weight: 300;
  6. }
  7. @font-face {
  8. font-family: 'Titillium';
  9. src: url('fonts/titillium-regularitalic-webfont.woff') format('woff');
  10. font-style: italic;
  11. font-weight: 300;
  12. }
  13. @font-face {
  14. font-family: 'Titillium';
  15. src: url('fonts/titillium-bold-webfont.woff') format('woff');
  16. font-style: normal;
  17. font-weight: 700;
  18. }
  19. @font-face {
  20. font-family: 'Titillium';
  21. src: url('fonts/titillium-bolditalic-webfont.woff') format('woff');
  22. font-style: italic;
  23. font-weight: 700;
  24. }
  25. strong {
  26. font-weight: bold;
  27. }
  28. * {
  29. box-sizing: border-box;
  30. }
  31. html {
  32. scroll-behavior: smooth;
  33. }
  34. body {
  35. background-image: url('imgs/mascotte_left_mod.png'), url('imgs/mascotte_right.png'), linear-gradient(#eeeeee, #3088d4);
  36. background-repeat: no-repeat;
  37. background-attachment: fixed;
  38. background-position: bottom left, bottom right, top left;
  39. background-size: 338px, 372px, auto;
  40. background-color: #eeeeee;
  41. color: black;
  42. /* font-family: Roboto-slab, serif;*/
  43. font-family: Titillium, sans;
  44. font-size: 16pt;
  45. font-weight: 300;
  46. margin: 0;
  47. padding: 20pt;
  48. padding-top: 50pt;
  49. /* padding-bottom: 540px;*/
  50. }
  51. h1,h2,h3,h4,h5,h6 {
  52. font-family: Titillium, sans;
  53. font-weight: 700;
  54. text-align: center;
  55. }
  56. h1 {
  57. text-transform: uppercase;
  58. font-size: 28pt;
  59. text-shadow: 2px 2px 4px black;
  60. /* margin: 60pt;*/
  61. }
  62. section, #header {
  63. background-color: rgba(255,255,255,0.92);
  64. padding: 20pt;
  65. padding-bottom: 2pt;
  66. padding-top: 2pt;
  67. margin-bottom: 20pt;
  68. box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  69. border-radius: 9pt;
  70. }
  71. #header {
  72. color: white;
  73. background-image: url('imgs/elephant_throwing_cs_logo.png'), linear-gradient(rgba(117,175,227,0.7), rgba(182,213,240,0.7));
  74. background-repeat: no-repeat;
  75. background-position: bottom left;
  76. background-size: 200px, 500pt;
  77. padding-bottom: 10px;
  78. padding-top: 10px;
  79. }
  80. .lev1sect {
  81. font-variant: small-caps;
  82. text-shadow: 2px 2px 4px black;
  83. margin-top: 40pt;
  84. background-image: linear-gradient(rgba(117,175,227,0.7), rgba(182,213,240,0.7));
  85. /*background-image: linear-gradient(rgba(0,0,0,0.7), rgba(100,100,100,0.7));*/
  86. color: white;
  87. padding: 1px;
  88. border-radius: 9pt;
  89. }
  90. .lev1summ {
  91. font-variant: small-caps;
  92. font-weight: bold;
  93. }
  94. ul {
  95. padding-left: 20pt;
  96. }
  97. ul li {
  98. padding-left: 0;
  99. }
  100. a {
  101. color: #CC0000;
  102. text-decoration: none;
  103. }
  104. a:hover {
  105. text-decoration: underline;
  106. }
  107. a:active {
  108. color: #FF0000;
  109. }
  110. #content {
  111. width: 500pt;
  112. margin-right: auto;
  113. margin-left: auto;
  114. text-align: justify;
  115. /* -webkit-hyphens: auto;
  116. -ms-hyphens: auto;
  117. hyphens: auto;*/
  118. z-index: 0;
  119. }
  120. #hmenu {
  121. font-family: Titillium, sans;
  122. font-size: 14pt;
  123. background-color: rgba(0,0,0,0.85);
  124. color: white;
  125. position: fixed;
  126. top: 0;
  127. left: 0;
  128. width: 100%;
  129. height: 40px;
  130. margin: 0;
  131. padding: 0;
  132. /*padding-left: 40px;*/
  133. z-index: 2;
  134. /*display: none;*/
  135. }
  136. #hmenu ul {
  137. list-style-type: none;
  138. margin: 0;
  139. padding: 0;
  140. overflow: visible;
  141. }
  142. #hmenu ul li {
  143. width: 80pt;
  144. height: 40px;
  145. text-align: center;
  146. display: table-cell;
  147. vertical-align: middle;
  148. color: #3088D4;
  149. }
  150. #hmenu ul li:hover {
  151. background-color: rgba(255,255,255,0.10);
  152. cursor: pointer;
  153. }
  154. #hmenu .hil {
  155. background-color: rgba(255,255,255,0.10);
  156. color: #97C3E9;
  157. }
  158. #hmenu .hil:hover {
  159. cursor: default;
  160. }
  161. #hmenu ul li a {
  162. color: #3088D4;
  163. }
  164. #hmenu .ula {
  165. position: absolute;
  166. top: 40px;
  167. background-color: rgba(0,0,0,0.85);
  168. display: none;
  169. }
  170. #hmenu .ulb {
  171. background-color: rgba(0,0,0,0.85);
  172. left: 80pt;
  173. position: relative;
  174. top: -40px;
  175. display: none;
  176. }
  177. #hmenu .ula li, .ulb li {
  178. width: 80pt;
  179. display: block;
  180. float: none;
  181. text-align: center;
  182. height: 40px;
  183. line-height: 40px;
  184. vertical-align: middle;
  185. }
  186. #summicon {
  187. position: fixed;
  188. top: 0;
  189. left: 0;
  190. margin: 0;
  191. padding: 0;
  192. z-index: 2;
  193. display: none;
  194. }
  195. #summicon:hover {
  196. cursor: pointer;
  197. }
  198. #summcont {
  199. background-color: rgba(0,0,0,0.85);
  200. position: fixed;
  201. width: 200pt;
  202. height: calc(100% - 40px);
  203. top: 40px;
  204. left: 0;
  205. margin: 0;
  206. padding: 0;
  207. display: none;
  208. z-index: 1;
  209. }
  210. #summary {
  211. font-family: Titillium, sans;
  212. font-size: 14pt;
  213. width: 100%;
  214. height: 100%;
  215. margin: 0;
  216. padding: 0;
  217. padding-right: 5pt;
  218. overflow: auto;
  219. }
  220. #summary a {
  221. color: #3088D4;
  222. }
  223. #summary a:active {
  224. color: #97C3E9;
  225. }
  226. #summary ol {
  227. margin: 0;
  228. margin-left: 30px;
  229. padding: 0;
  230. counter-reset: item;
  231. }
  232. #summary ol li {
  233. display: block;
  234. position: relative;
  235. color: white;
  236. }
  237. #summary ol li:before {
  238. content: counters(item, '.') ':';
  239. counter-increment: item;
  240. position: absolute;
  241. margin-right: 100%;
  242. right: 5px; /* space between number and text */
  243. }
  244. .image {
  245. display: block;
  246. margin-left: auto;
  247. margin-right: auto;
  248. max-width: 100%;
  249. /* box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);*/
  250. border-radius: 9pt;
  251. }
  252. .anchor {
  253. position: relative;
  254. top: -80px;
  255. display: block;
  256. visibility: hidden;
  257. }
  258. .scrwide {
  259. position: absolute;
  260. display: table;
  261. top: 0;
  262. left: 0;
  263. height: 100%;
  264. width: 100%;
  265. }
  266. .scrwidein {
  267. display: table-cell;
  268. vertical-align: middle;
  269. }
  270. .sectcont {
  271. text-align: justify;
  272. width: 500pt;
  273. margin-left: auto;
  274. margin-right: auto;
  275. margin-bottom: 0;
  276. margin-top: 40px;
  277. }
  278. @media only screen and (max-width:540pt) {
  279. body {
  280. background-color: white;
  281. background-image: none;
  282. }
  283. #content, .sectcont {
  284. width: 100%;
  285. }
  286. .sectcont {
  287. padding: 20pt;
  288. }
  289. #content {
  290. text-align: left;
  291. -webkit-hyphens: none;
  292. -ms-hyphens: none;
  293. hyphens: none;
  294. }
  295. section {
  296. padding: 0pt;
  297. margin-bottom: 30pt;
  298. box-shadow: none;
  299. border-radius: 0;
  300. }
  301. }
  302. @media only screen and (max-width:400pt) {
  303. #summcont, .image {
  304. width: 100%;
  305. }
  306. #hmenu {
  307. font-size: 12pt;
  308. }
  309. /*#hmenu li, .ula li, .ulb li {
  310. width: 60pt;
  311. }*/
  312. }