@import "variables"; * { margin: 0; padding: 0; box-sizing: border-box; font-family: Tahoma, Arial, Helvetica, sans-serif; } img { display: block; width: 100%; } body { max-width: $pageWidth; margin: 0 auto; color: $color-black; overflow-x: hidden; } header { position: relative; display: flex; align-items: center; justify-content: space-evenly; background-color: $color1; color: $color-white; margin-bottom: 20px; > .logo { width: 180px; text-align: center; // Hide Anchor underline text-decoration: none; flex-shrink: 0; > .text { font-weight: 700; text-decoration: none; } } } main { display: grid; section { position: relative; } .article-title { font-weight: bold; margin-bottom: 20px; color: $color-black; line-height: 1; } article { background-color: $color-white; border-radius: $border-radius; padding: 20px; > h1 { font-size: 1.4rem; text-align: center; margin-bottom: 20px; } > .published { font-size: 0.8rem; font-style: italic; color: $color-grey; margin-bottom: 20px; } > p { margin: 20px 0; text-indent: 25px; text-align: justify; line-height: 1.5; } ol, ul { margin: 20px 0; padding-left: 25px; line-height: 1.5; text-align: justify; } .news-images { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); grid-auto-rows: 220px; grid-gap: 10px; padding-top: 40px; margin-top: 40px; border-top: 1px solid $color-grey; img { width: 100%; height: 100%; object-fit: cover; } } } } footer { text-align: center; background-color: $color-white; color: $color1; padding: 10px 0; position: relative; a { text-decoration: none; color: inherit; transition: color 100ms linear; &:hover { cursor: pointer; color: $color-secondary-a-0; } } .sign-in { color: $color1; &:hover { color: $color-secondary-a-0; cursor: pointer;} &.hide { opacity: 0; &::before { position: absolute; content: ""; top: 0; left: 0; right: 0; bottom: 0; z-index: 2; } } } } .main-article{ margin-bottom: 20px; } .block { margin-bottom: 20px; padding: 15px 5px; background-color: $color-grey; border-radius: $border-radius; text-decoration: none; color: $color-black; min-height: 90px; // transition: background-color 250ms linear, color 250ms linear; .normal { font-size: 1.2em; } .red { font-size: 1.5em; color: red; } .sub { font-size: 0.7em; } &.flex { display: flex; justify-content: space-around; align-items: center; > .image { width: 100px; } } > .icon { text-align: center; + div { margin-right: 5px; flex-grow: 1; max-width: 60%; } } } a.block { &:hover { cursor: pointer; background-color: $color1; color: $color-white; } } .notice-container { margin-bottom: 20px; .carousel { position: relative; width: 100%; overflow: hidden; background-color: $color-white; border-radius: $border-radius; > .slider { display: flex; flex-wrap: nowrap; position: absolute; height: 100%; z-index: 10; > .slide { width: 100%; display: flex; justify-content: center; align-items: center; overflow: hidden; > .image { position: relative; > img { width: 100%; height: 100%; display: block; object-position: center; position: relative; z-index: 2; } } > .content { display: flex; flex-direction: column; > h2 { margin-bottom: 20px; } > .text { max-height: 90px; overflow: hidden; columns: 1; line-height: 1.6; } > .full-text { display: none; } } &.expand { position: fixed; z-index: 200; left: 0; background-color: $color-white; right: 0; bottom: 0; > .image { height: auto; width: 100%; &.no { display: none; } } > .content { > h2 { font-size: 2rem; } > .text { display: none; } > .full-text { display: block; font-size: 1.6rem; max-height: none; columns: unset; overflow: auto; } } } } } > .navigation-dots { position: absolute; bottom: 10px; left: 50%; z-index: 11; transform: translateX(-50%); display: flex; div { width: 15px; height: 15px; background-color: rgba(0, 0, 0, 0.15); border-radius: 50%; margin: 0 5px; transition: background-color 250ms linear; &.active { background-color: rgba(0, 0, 0, 0.35); } &:hover:not(.active) { cursor: pointer; background-color: rgba(0, 0, 0, 1); } } } &.hide { &::before { background-color: $color-white; content: ""; position: absolute; top: 0; right: 0; left: 0; bottom: 0; z-index: 30; opacity: 1; } &.out { &::before { opacity: 0; transition: opacity 500ms linear; } } } } } .news-container { display: grid; grid-auto-rows: minmax(300px, auto); grid-gap: 10px; margin-bottom: 20px; > .news { background-color: $color-grey; border-radius: $border-radius; position: relative; display: flex; flex-direction: column; justify-content: center; overflow: hidden; > .caption { font-weight: bold; font-size: 1.4rem; margin-bottom: 20px; } > .text { max-height: 90px; overflow: hidden; columns: 1; line-height: 1.6; } } } .news-pagination { display: flex; justify-content: center; > a { display: block; color: $color-black; background-color: $color-white; margin: 0 2px; border-radius: $border-radius; text-decoration: none; &:hover { cursor: pointer; background-color: $color-green-500; color: $color-green-50; } &.active { cursor: default; font-weight: 700; background-color: $color-grey; color: $color-white; } } } // Кнопка Читать далее a { &.gradient-button { display: flex; justify-content: center; align-items: center; text-decoration: none; flex-shrink: 0; margin: 20px 0 0 0; color: $color-black; border-radius: $border-radius; background-color: #dce0e2; border: none; box-shadow: none; outline: none; &:hover { color: $color-white; background-color: $color-secondary-b-2; } } } .text-center { text-align: center !important; } .text-left { text-align: left !important; } .text-right { text-align: right !important; } .text-justify { text-align: justify !important; } .hidden { display: none !important; } .material-image { max-width: 450px; display: block; margin: 40px auto; } .material-image-caption { text-align: center; margin-top: -30px; margin-bottom: 30px; font-size: 0.8rem; font-style: italic; font-weight: normal; } .loading { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 150px; height: 150px; z-index: 1000; filter: url(#gaus); > .glob { position: absolute; width: 100%; height: 100%; top: 0; left: 0; animation: loading 1.5s ease-in-out infinite; animation-delay: calc(0.075s * var(--i)); &::before { content: ""; position: absolute; top: 0; left: 50%; height: 10px; width: 10px; transform: translateX(-50%); border-radius: 50%; } &:nth-child(1) { &::before { box-shadow: 0 0 10px #aa00ff; background-color: #aa00ff; } z-index: 6; } &:nth-child(2) { &::before { box-shadow: 0 0 10px #ff5722; background-color: #ff5722; } z-index: 5; } &:nth-child(3) { &::before { box-shadow: 0 0 10px #00c853; background-color: #00c853; } z-index: 4; } &:nth-child(4) { &::before { box-shadow: 0 0 10px #2962ff; background-color: #2962ff; } z-index: 7; } &:nth-child(5) { &::before { box-shadow: 0 0 10px #ffff00; background-color: #ffff00; } z-index: 2; } &:nth-child(6) { &::before { box-shadow: 0 0 10px #ff3d00; background-color: #ff3d00; } z-index: 1; } } } .loading-filter { width: 0; height: 0; position: fixed; left: -50px; top: -50px; } @keyframes navBackground { 0% { filter: hue-rotate(0deg); } 100% { filter: hue-rotate(360deg); } } @keyframes loading { 0% { transform: rotate(0deg); } 50%, 100% { transform: rotate(360deg); } } table{ //border-collapse: collapse; width: 100%; td{ border: 1px solid rgb(204, 199, 199); border-radius: 5px; padding: 5px 15px 15px 5px; text-align: left; vertical-align: top; } } .prnt{ }