style.css 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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. .logo {
  42. width: 80px;
  43. height: 80px;
  44. /* Удалить, если будет установлена картинка */
  45. background-color: #00bcd4;
  46. }
  47. .org-name {
  48. font-size: 24px;
  49. color: rgb(80, 80, 80);
  50. }
  51. .header {
  52. display: flex;
  53. justify-content: space-between;
  54. align-items: center;
  55. padding: 20px 40px;
  56. background-color: white;
  57. }
  58. header {
  59. flex-shrink: 0;
  60. }
  61. main {
  62. background-color: white;
  63. height: 100%;
  64. padding: 20px;
  65. overflow: auto;
  66. position: relative;
  67. }
  68. footer {
  69. background-color: rgb(70, 70, 70);
  70. height: 40px;
  71. flex-shrink: 0;
  72. color: rgb(230, 230, 230);
  73. display: flex;
  74. justify-content: center;
  75. align-items: center;
  76. }
  77. nav {
  78. display: flex;
  79. justify-content: space-evenly;
  80. background-color: #B2EBF2;
  81. padding-top: 2px;
  82. }
  83. nav > .item > a {
  84. text-decoration: none;
  85. color: #00838F;
  86. font-size: 16px;
  87. font-weight: bold;
  88. text-transform: uppercase;
  89. padding: 10px;
  90. display: block;
  91. border-bottom: 2px solid transparent;
  92. }
  93. nav > .item > a:hover {
  94. color: #006064;
  95. border-color: #006064;
  96. }
  97. .body {
  98. display: grid;
  99. grid-template-columns: 200px 1fr;
  100. grid-template-rows: 1fr;
  101. grid-gap: 20px;
  102. }
  103. .catalog > .item {
  104. padding: 10px;
  105. color: black;
  106. }
  107. .catalog > .item:hover {
  108. color: #006064;
  109. background-color: #E0F7FA;
  110. cursor: pointer;
  111. }
  112. p {
  113. margin: 10px 0;
  114. }