123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- @font-face {
- font-family: Scada;
- font-weight: normal;
- font-style: normal;
- src: url(/assets/fonts/Scada-Regular.ttf);
- }
- @font-face {
- font-family: Scada;
- font-weight: normal;
- font-style: italic;
- src: url(/assets/fonts/Scada-Italic.ttf);
- }
- @font-face {
- font-family: Scada;
- font-weight: bold;
- font-style: normal;
- src: url(/assets/fonts/Scada-Bold.ttf);
- }
- @font-face {
- font-family: Scada;
- font-weight: bold;
- font-style: italic;
- src: url(/assets/fonts/Scada-BoldItalic.ttf);
- }
- * {
- margin: 0;
- box-sizing: border-box;
- }
- body {
- font-family: Scada;
- font-size: 16px;
- line-height: 1.4;
- width: 1100px;
- height: 100vh;
- margin-left: auto;
- margin-right: auto;
- background-color: #f5f5f5;
- display: flex;
- flex-direction: column;
- }
- .logo {
- width: 80px;
- height: 80px;
- /* Удалить, если будет установлена картинка */
- background-color: #00bcd4;
- }
- .org-name {
- font-size: 24px;
- color: rgb(80, 80, 80);
- }
- .header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 20px 40px;
- background-color: white;
- }
- header {
- flex-shrink: 0;
- }
- main {
- background-color: white;
- height: 100%;
- padding: 20px;
- overflow: auto;
- position: relative;
- }
- footer {
- background-color: rgb(70, 70, 70);
- height: 40px;
- flex-shrink: 0;
- color: rgb(230, 230, 230);
- display: flex;
- justify-content: center;
- align-items: center;
- }
- nav {
- display: flex;
- justify-content: space-evenly;
- background-color: #B2EBF2;
- padding-top: 2px;
- }
- nav > .item > a {
- text-decoration: none;
- color: #00838F;
- font-size: 16px;
- font-weight: bold;
- text-transform: uppercase;
- padding: 10px;
- display: block;
- border-bottom: 2px solid transparent;
- }
- nav > .item > a:hover {
- color: #006064;
- border-color: #006064;
- }
- .body {
- display: grid;
- grid-template-columns: 200px 1fr;
- grid-template-rows: 1fr;
- grid-gap: 20px;
- }
- .catalog > .item {
- padding: 10px;
- color: black;
- }
- .catalog > .item:hover {
- color: #006064;
- background-color: #E0F7FA;
- cursor: pointer;
- }
- p {
- margin: 10px 0;
- }
|