theme.css 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  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-bottom: 540px;*/
  49. }
  50. h1,h2,h3,h4,h5,h6 {
  51. font-family: Titillium, sans;
  52. font-weight: 700;
  53. text-align: center;
  54. }
  55. h1 {
  56. text-transform: uppercase;
  57. font-size: 28pt;
  58. text-shadow: 2px 2px 4px black;
  59. /* margin: 60pt;*/
  60. }
  61. section, #header {
  62. background-color: rgba(255,255,255,0.92);
  63. padding: 20pt;
  64. padding-bottom: 2pt;
  65. padding-top: 2pt;
  66. margin-bottom: 20pt;
  67. box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  68. border-radius: 9pt;
  69. }
  70. #header {
  71. color: white;
  72. background-image: url('imgs/elephant_throwing_cs_logo.png'), linear-gradient(rgba(117,175,227,0.7), rgba(182,213,240,0.7));
  73. background-repeat: no-repeat;
  74. background-position: bottom left;
  75. background-size: 200px, 500pt;
  76. padding-bottom: 10px;
  77. padding-top: 10px;
  78. }
  79. .lev1sect {
  80. font-variant: small-caps;
  81. text-shadow: 2px 2px 4px black;
  82. margin-top: 40pt;
  83. background-image: linear-gradient(rgba(117,175,227,0.7), rgba(182,213,240,0.7));
  84. /*background-image: linear-gradient(rgba(0,0,0,0.7), rgba(100,100,100,0.7));*/
  85. color: white;
  86. padding: 1px;
  87. border-radius: 9pt;
  88. }
  89. .lev1summ {
  90. font-variant: small-caps;
  91. font-weight: bold;
  92. }
  93. ul {
  94. padding-left: 20pt;
  95. }
  96. ul li {
  97. padding-left: 0;
  98. }
  99. a {
  100. color: #CC0000;
  101. text-decoration: none;
  102. }
  103. a:hover {
  104. text-decoration: underline;
  105. }
  106. a:active {
  107. color: #FF0000;
  108. }
  109. #content {
  110. width: 500pt;
  111. margin-right: auto;
  112. margin-left: auto;
  113. text-align: justify;
  114. /* -webkit-hyphens: auto;
  115. -ms-hyphens: auto;
  116. hyphens: auto;*/
  117. z-index: 0;
  118. }
  119. #hmenu {
  120. font-family: Titillium, sans;
  121. font-size: 14pt;
  122. background-color: black;
  123. color: white;
  124. position: fixed;
  125. top: 0;
  126. left: 0;
  127. width: 100%;
  128. height: 40px;
  129. margin: 0;
  130. padding: 0;
  131. padding-left: 40px;
  132. z-index: 2;
  133. display: none;
  134. }
  135. #hmenu ul {
  136. list-style-type: none;
  137. margin: 0;
  138. padding: 0;
  139. overflow: hidden;
  140. }
  141. #hmenu li {
  142. float: left;
  143. }
  144. #hmenu li a {
  145. width: 80pt;
  146. height: 40px;
  147. text-align: center;
  148. display: table-cell;
  149. vertical-align: middle;
  150. }
  151. #hmenu li a:hover {
  152. background-color: #333333;
  153. }
  154. #menuicon {
  155. position: fixed;
  156. top: 0;
  157. left: 0;
  158. margin: 0;
  159. padding: 0;
  160. z-index: 2;
  161. }
  162. #menuicon:hover {
  163. cursor: pointer;
  164. }
  165. #summcont {
  166. background-color: rgba(0,0,0,0.85);
  167. position: fixed;
  168. width: 200pt;
  169. height: 100%;
  170. top: 0;
  171. left: 0;
  172. margin: 0;
  173. padding: 0;
  174. padding-top: 40px;
  175. display: none;
  176. z-index: 1;
  177. }
  178. #summary {
  179. font-family: Titillium, sans;
  180. font-size: 14pt;
  181. width: 100%;
  182. height: 100%;
  183. margin: 0;
  184. padding: 0;
  185. padding-right: 5pt;
  186. overflow: auto;
  187. }
  188. #summary a {
  189. color: #3088D4;
  190. }
  191. #summary a:active {
  192. color: #97C3E9;
  193. }
  194. #summary ol {
  195. margin: 0;
  196. margin-left: 30px;
  197. padding: 0;
  198. counter-reset: item;
  199. }
  200. #summary ol li {
  201. display: block;
  202. position: relative;
  203. color: white;
  204. }
  205. #summary ol li:before {
  206. content: counters(item, '.') ':';
  207. counter-increment: item;
  208. position: absolute;
  209. margin-right: 100%;
  210. right: 5px; /* space between number and text */
  211. }
  212. .image {
  213. display: block;
  214. margin-left: auto;
  215. margin-right: auto;
  216. max-width: 100%;
  217. /* box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);*/
  218. border-radius: 9pt;
  219. }
  220. @media only screen and (max-width:540pt) {
  221. body {
  222. background-color: white;
  223. background-image: none;
  224. }
  225. #content {
  226. width: 100%;
  227. }
  228. #content {
  229. text-align: left;
  230. -webkit-hyphens: none;
  231. -ms-hyphens: none;
  232. hyphens: none;
  233. }
  234. section {
  235. padding: 0pt;
  236. margin-bottom: 30pt;
  237. box-shadow: none;
  238. border-radius: 0;
  239. }
  240. }
  241. @media only screen and (max-width:300pt) {
  242. #summcont, .image {
  243. width: 100%;
  244. }
  245. }
  246. .anchor {
  247. position: relative;
  248. top: -40px;
  249. display: block;
  250. visibility: hidden;
  251. }