theme.css 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360
  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-color: #eeeeee;
  36. background-image: url('imgs/mascotte_left_mod.png'), url('imgs/mascotte_right.png'), linear-gradient(#eeeeee, #3088d4);
  37. background-repeat: no-repeat;
  38. background-attachment: fixed;
  39. background-position: bottom left, bottom right, top left;
  40. background-size: 338px, 372px, auto;
  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. ul {
  91. padding-left: 15pt;
  92. }
  93. ul li {
  94. padding-left: 0;
  95. }
  96. a {
  97. color: #CC0000;
  98. text-decoration: none;
  99. }
  100. a:hover {
  101. text-decoration: underline;
  102. }
  103. a:active {
  104. color: #FF0000;
  105. }
  106. #content {
  107. width: 500pt;
  108. margin-right: auto;
  109. margin-left: auto;
  110. text-align: justify;
  111. /* -webkit-hyphens: auto;
  112. -ms-hyphens: auto;
  113. hyphens: auto;*/
  114. z-index: 0;
  115. }
  116. #hmenu {
  117. font-family: Titillium, sans;
  118. font-size: 14pt;
  119. background-color: rgba(0,0,0,0.85);
  120. color: white;
  121. position: fixed;
  122. top: 0;
  123. left: 0;
  124. width: 100%;
  125. height: 40px;
  126. margin: 0;
  127. padding: 0;
  128. /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4);*/
  129. /*padding-left: 40px;*/
  130. z-index: 2;
  131. /*display: none;*/
  132. }
  133. #hmenu ul {
  134. list-style-type: none;
  135. margin: 0;
  136. padding: 0;
  137. overflow: visible;
  138. }
  139. #hmenu ul li {
  140. width: 80pt;
  141. height: 40px;
  142. text-align: center;
  143. display: table-cell;
  144. vertical-align: middle;
  145. color: #3088D4;
  146. }
  147. #hmenu ul li:hover {
  148. background-color: rgba(255,255,255,0.10);
  149. cursor: default;
  150. }
  151. #hmenu ul li a {
  152. width: 80pt;
  153. line-height: 40px;
  154. display: block;
  155. color: #3088D4;
  156. }
  157. #hmenu .ula {
  158. position: absolute;
  159. top: 40px;
  160. background-color: rgba(0,0,0,0.85);
  161. display: none;
  162. }
  163. #hmenu .ulb {
  164. background-color: rgba(0,0,0,0.85);
  165. left: 80pt;
  166. position: relative;
  167. top: -40px;
  168. display: none;
  169. }
  170. #hmenu .ula li, .ulb li {
  171. width: 80pt;
  172. height: 40px;
  173. display: block;
  174. float: none;
  175. text-align: center;
  176. line-height: 40px;
  177. vertical-align: middle;
  178. }
  179. #hmenu .ula li:hover, .ulb li:hover {
  180. text-decoration: underline;
  181. }
  182. #hmenu .hil {
  183. background-color: rgba(255,255,255,0.10);
  184. color: #97C3E9;
  185. }
  186. #hmenu .hil:hover {
  187. cursor: default;
  188. text-decoration: none;
  189. }
  190. #hmenu .ula li.hil:hover, .ulb li.hil:hover {
  191. text-decoration: none;
  192. }
  193. #summicon {
  194. position: fixed;
  195. top: 0;
  196. left: 0;
  197. margin: 0;
  198. padding: 0;
  199. z-index: 2;
  200. display: none;
  201. }
  202. #summicon:hover {
  203. cursor: pointer;
  204. }
  205. #summcont {
  206. background-color: rgba(0,0,0,0.85);
  207. position: fixed;
  208. width: 300pt;
  209. height: calc(100% - 40px);
  210. top: 40px;
  211. left: 0;
  212. margin: 0;
  213. padding: 0;
  214. display: none;
  215. z-index: 1;
  216. }
  217. #summary {
  218. font-family: Titillium, sans;
  219. font-size: 14pt;
  220. width: 100%;
  221. height: 100%;
  222. margin: 0;
  223. padding: 0;
  224. padding-right: 5pt;
  225. overflow: auto;
  226. }
  227. #summary a {
  228. color: #3088D4;
  229. }
  230. #summary a:active {
  231. color: #97C3E9;
  232. }
  233. #summary ol {
  234. margin: 0;
  235. margin-left: 30px;
  236. padding: 0;
  237. counter-reset: item;
  238. }
  239. #summary ol li {
  240. display: block;
  241. position: relative;
  242. color: white;
  243. }
  244. #summary ol li:before {
  245. content: counters(item, '.') ':';
  246. counter-increment: item;
  247. position: absolute;
  248. margin-right: 100%;
  249. right: 5px; /* space between number and text */
  250. }
  251. .lev1summ, .prili {
  252. margin-top: 10pt;
  253. }
  254. .lev1summ a {
  255. font-variant: small-caps;
  256. font-weight: bold;
  257. }
  258. .lev2summ a {
  259. font-variant: normal;
  260. font-weight: normal;
  261. }
  262. .image {
  263. display: block;
  264. margin-left: auto;
  265. margin-right: auto;
  266. max-width: 100%;
  267. /* box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);*/
  268. border-radius: 9pt;
  269. }
  270. .imager {
  271. display: block;
  272. float: right;
  273. margin: 0;
  274. margin-left: 10pt;
  275. margin-top: 5pt;
  276. /* box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);*/
  277. /* border-radius: 9pt;*/
  278. }
  279. .anchor {
  280. position: relative;
  281. top: -80px;
  282. display: block;
  283. visibility: hidden;
  284. }
  285. .scrwide {
  286. position: absolute;
  287. display: table;
  288. top: 0;
  289. left: 0;
  290. height: 100%;
  291. width: 100%;
  292. }
  293. .scrwidein {
  294. display: table-cell;
  295. vertical-align: middle;
  296. }
  297. .sectcont {
  298. text-align: justify;
  299. width: 500pt;
  300. margin-left: auto;
  301. margin-right: auto;
  302. margin-bottom: 0;
  303. margin-top: 40px;
  304. }
  305. .transrfh {
  306. position: fixed;
  307. bottom: 10px;
  308. right: 10px;
  309. width: 166px;
  310. border-radius: 6px;
  311. background-color: rgba(0,0,0,0.85);
  312. color: white;
  313. text-align: center;
  314. font-size: 10pt;
  315. padding: 2px 6px 4px 6px;
  316. }
  317. .transrfh a {
  318. color: #81d5ff;
  319. }
  320. @media only screen and (max-width:540pt) {
  321. body {
  322. background-color: white;
  323. background-image: none;
  324. }
  325. #content, .sectcont {
  326. width: 100%;
  327. }
  328. .sectcont {
  329. padding: 20pt;
  330. }
  331. #content, .sectcont {
  332. text-align: left;
  333. -webkit-hyphens: none;
  334. -ms-hyphens: none;
  335. hyphens: none;
  336. }
  337. section {
  338. padding: 0pt;
  339. margin-bottom: 30pt;
  340. box-shadow: none;
  341. border-radius: 0;
  342. }
  343. }
  344. @media only screen and (max-width:400pt) {
  345. #summcont, .image {
  346. width: 100%;
  347. }
  348. #hmenu {
  349. font-size: 12pt;
  350. }
  351. #hmenu ul li,
  352. #hmenu ul li a,
  353. #hmenu .ula li,
  354. #hmenu .ulb li {
  355. width: 60pt;
  356. }
  357. #hmenu .ulb {
  358. left: 60pt;
  359. }
  360. }