style.css 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  1. @font-face {
  2. font-family: Scada;
  3. font-weight: normal;
  4. font-style: normal;
  5. src: url(/assets/fonts/Scada-Regular.ttf);
  6. }
  7. @font-face {
  8. font-family: Scada;
  9. font-weight: normal;
  10. font-style: italic;
  11. src: url(/assets/fonts/Scada-Italic.ttf);
  12. }
  13. @font-face {
  14. font-family: Scada;
  15. font-weight: bold;
  16. font-style: normal;
  17. src: url(/assets/fonts/Scada-Bold.ttf);
  18. }
  19. @font-face {
  20. font-family: Scada;
  21. font-weight: bold;
  22. font-style: italic;
  23. src: url(/assets/fonts/Scada-BoldItalic.ttf);
  24. }
  25. * {
  26. margin: 0;
  27. box-sizing: border-box;
  28. }
  29. body {
  30. font-family: Scada;
  31. font-size: 16px;
  32. line-height: 1.4;
  33. width: 1100px;
  34. height: 100vh;
  35. margin-left: auto;
  36. margin-right: auto;
  37. background-color: #f5f5f5;
  38. display: flex;
  39. flex-direction: column;
  40. }
  41. header {
  42. display: -webkit-box;
  43. display: -webkit-flex;
  44. display: -ms-flexbox;
  45. display: flex;
  46. }
  47. header > .site-info {
  48. position: relative;
  49. }
  50. header > .site-info > .beta {
  51. position: absolute;
  52. top: 1px;
  53. left: 1px;
  54. z-index: 1;
  55. }
  56. header > .site-info > .version {
  57. font-size: 10px;
  58. position: absolute;
  59. bottom: 8px;
  60. left: 10px;
  61. color: #666699;
  62. z-index: 1;
  63. }
  64. header > div > .logo {
  65. background-image: linear-gradient(0deg, #b2b2cb 0%, white 25%, white 75%, #b2b2cb 100%);
  66. height: 100%;
  67. width: 295px;
  68. border: 1px solid white;
  69. display: -webkit-box;
  70. display: -webkit-flex;
  71. display: -ms-flexbox;
  72. display: flex;
  73. -webkit-box-align: center;
  74. -webkit-align-items: center;
  75. -ms-flex-align: center;
  76. align-items: center;
  77. -webkit-box-pack: center;
  78. -webkit-justify-content: center;
  79. -ms-flex-pack: center;
  80. justify-content: center;
  81. }
  82. header > div > .logo object {
  83. width: 273px;
  84. height: 144px;
  85. }
  86. header > div > .logo .logo-link-to-main {
  87. display: none;
  88. }
  89. header > .header-org-name {
  90. background-color: #666699;
  91. border: 1px solid white;
  92. border-left: 0;
  93. text-shadow: 2px 2px 2px #222277;
  94. font-family: Arial, Helvetica, sans-serif;
  95. color: white;
  96. text-align: center;
  97. padding: 5px;
  98. flex-grow: 1;
  99. display: flex;
  100. flex-direction: column;
  101. justify-content: space-evenly;
  102. }
  103. header > .header-org-name > .org-type {
  104. font-size: 12px;
  105. }
  106. header > .header-org-name > .org-caption {
  107. font-size: 30px;
  108. font-weight: 700;
  109. }
  110. header > .header-org-name > .org-caption-by {
  111. font-size: 20px;
  112. }
  113. header > .header-org-mission {
  114. background-color: #cc0000;
  115. border: 1px solid white;
  116. border-top: 0;
  117. border-left: 0;
  118. text-align: center;
  119. font-size: 16px;
  120. color: white;
  121. text-shadow: 1px 1px 2px black;
  122. font-family: Arial, Helvetica, sans-serif;
  123. padding: 5px;
  124. }
  125. header {
  126. flex-shrink: 0;
  127. }
  128. main {
  129. background-color: white;
  130. height: 100%;
  131. overflow: hidden;
  132. position: relative;
  133. }
  134. footer {
  135. background-color: rgb(70, 70, 70);
  136. height: 40px;
  137. flex-shrink: 0;
  138. color: rgb(230, 230, 230);
  139. display: flex;
  140. justify-content: center;
  141. align-items: center;
  142. }
  143. .body {
  144. display: grid;
  145. grid-template-columns: 200px 1fr;
  146. grid-template-rows: 1fr;
  147. grid-gap: 20px;
  148. }
  149. .catalog > .item {
  150. padding: 10px;
  151. color: black;
  152. }
  153. .catalog > .item:hover {
  154. color: #006064;
  155. background-color: #E0F7FA;
  156. cursor: pointer;
  157. }
  158. p {
  159. margin: 10px 0;
  160. }
  161. .page {
  162. position: absolute;
  163. top: 0;
  164. left: 0;
  165. right: 0;
  166. bottom: 0;
  167. display: flex;
  168. flex-direction: row;
  169. justify-content: center;
  170. align-items: center;
  171. }
  172. .page.active {
  173. z-index: 10;
  174. }
  175. .page > * {
  176. width: 40vh;
  177. }
  178. .page h2 {
  179. color: rgb(99, 99, 99);
  180. font-size: 40px;
  181. }
  182. .page p {
  183. color: rgb(44, 44, 44);
  184. font-size: 20px;
  185. }
  186. .page button {
  187. border: 2px solid #2196F3;
  188. border-radius: 10px;
  189. width: 50%;
  190. padding: 5px;
  191. font-size: 20px;
  192. font-family: Scada;
  193. color: #ffffff;
  194. background-color: #2196F3;
  195. margin-top: 10px;
  196. outline: none;
  197. transition: color 200ms ease-in-out, background-color 200ms ease-in-out;
  198. }
  199. .page button:hover {
  200. color: #2196F3;
  201. background-color: #ffffff;
  202. cursor: pointer;
  203. transition: color 200ms ease-in-out, background-color 200ms ease-in-out;
  204. }
  205. .dots {
  206. position: absolute;
  207. bottom: 0;
  208. left: 0;
  209. right: 0;
  210. display: flex;
  211. justify-content: center;
  212. z-index: 20;
  213. }
  214. .dots > div {
  215. width: 16px;
  216. height: 16px;
  217. border-radius: 50%;
  218. background-color: rgba(33, 150, 243, 0.35);
  219. margin: 10px;
  220. }
  221. .dots > div.active {
  222. background-color: rgb(33, 150, 243);
  223. }
  224. .dots > div:hover:not(.active) {
  225. background-color: rgba(33, 150, 243, 0.75);
  226. cursor: pointer;
  227. }