123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578 |
- @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{
-
- }
|