style.css 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  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. height: 100%;
  66. width: 295px;
  67. display: -webkit-box;
  68. display: -webkit-flex;
  69. display: -ms-flexbox;
  70. display: flex;
  71. -webkit-box-align: center;
  72. -webkit-align-items: center;
  73. -ms-flex-align: center;
  74. align-items: center;
  75. -webkit-box-pack: center;
  76. -webkit-justify-content: center;
  77. -ms-flex-pack: center;
  78. justify-content: center;
  79. }
  80. header > div > .logo object {
  81. width: 150px;
  82. height: 144px;
  83. }
  84. header > div > .logo .logo-link-to-main {
  85. display: none;
  86. }
  87. header > .header-org-name {
  88. border-left: 0;
  89. text-shadow: 1px 1px 4px #d6d6d6;
  90. color: #5a5a5a;
  91. text-align: center;
  92. padding: 5px;
  93. flex-grow: 1;
  94. display: flex;
  95. flex-direction: column;
  96. justify-content: space-evenly;
  97. }
  98. header > .header-org-name > .org-type {
  99. font-size: 14px;
  100. }
  101. header > .header-org-name > .org-caption {
  102. font-size: 35px;
  103. font-weight: 700;
  104. }
  105. header > .header-org-name > .org-caption-by {
  106. font-size: 20px;
  107. }
  108. header {
  109. flex-shrink: 0;
  110. }
  111. main {
  112. background-color: white;
  113. height: 100%;
  114. overflow: hidden;
  115. position: relative;
  116. border-radius: 20px;
  117. box-shadow: 0 0 16px #e8e8e8;
  118. margin-top: 10px;
  119. }
  120. footer {
  121. height: 40px;
  122. flex-shrink: 0;
  123. color: rgb(70, 70, 70);
  124. display: flex;
  125. justify-content: center;
  126. align-items: center;
  127. }
  128. .body {
  129. display: grid;
  130. grid-template-columns: 200px 1fr;
  131. grid-template-rows: 1fr;
  132. grid-gap: 20px;
  133. }
  134. .catalog > .item {
  135. padding: 10px;
  136. color: black;
  137. }
  138. .catalog > .item:hover {
  139. color: #006064;
  140. background-color: #E0F7FA;
  141. cursor: pointer;
  142. }
  143. p {
  144. margin: 10px 0;
  145. }
  146. .page {
  147. position: absolute;
  148. top: 0;
  149. left: 0;
  150. right: 0;
  151. bottom: 0;
  152. display: none;
  153. flex-direction: row;
  154. justify-content: center;
  155. align-items: center;
  156. }
  157. .page.active {
  158. z-index: 10;
  159. display: flex;
  160. }
  161. .page > * {
  162. width: 40vh;
  163. }
  164. .page h2 {
  165. color: rgb(99, 99, 99);
  166. font-size: 40px;
  167. }
  168. .page p {
  169. color: rgb(44, 44, 44);
  170. font-size: 18px;
  171. }
  172. .page button {
  173. border: 2px solid #2196F3;
  174. border-radius: 10px;
  175. width: 50%;
  176. padding: 5px;
  177. font-size: 16px;
  178. font-family: Scada;
  179. color: #ffffff;
  180. background-color: #2196F3;
  181. margin-top: 10px;
  182. outline: none;
  183. transition: color 200ms ease-in-out, background-color 200ms ease-in-out;
  184. }
  185. .page button:hover {
  186. color: #2196F3;
  187. background-color: #ffffff;
  188. cursor: pointer;
  189. transition: color 200ms ease-in-out, background-color 200ms ease-in-out;
  190. }
  191. .dots {
  192. position: absolute;
  193. bottom: 0;
  194. left: 0;
  195. right: 0;
  196. display: flex;
  197. justify-content: center;
  198. z-index: 20;
  199. }
  200. .dots > div {
  201. width: 16px;
  202. height: 16px;
  203. border-radius: 50%;
  204. background-color: rgba(33, 150, 243, 0.35);
  205. margin: 10px;
  206. }
  207. .dots > div.active {
  208. background-color: rgb(33, 150, 243);
  209. }
  210. .dots > div:hover:not(.active) {
  211. background-color: rgba(33, 150, 243, 0.75);
  212. cursor: pointer;
  213. }