123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273 |
- @import "variables";
- @import "fonts";
- @import "layouts/desktop/desktop";
- @import "components/main_page";
- @import "components/podcasts";
- @import "components/post";
- @import "components/archive";
- @import "components/search";
- @import "grid";
- body{
- -webkit-font-smoothing: antialiased;
- -webkit-text-size-adjust: 100%;
- font: 12px/22px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
- .fixed_social_links{
- position: fixed;
- right: 0;
- width: 50px;
- height: 135px;
- background: @border-gray;
- top: 0;
- bottom: 0;
- margin: auto;
- z-index: 999;
- .icons-container{
- display: flex;
- flex-direction: column;
- width: 100%;
- }
- a{
- text-align: center;
- svg{
- &.icon-vk{
- height: 18px;
- width: 50px;
- fill: #0A5DFE;
- margin-top: 15px;
- }
- &.icon-ok{
- width: 23px;
- height: 35px;
- fill: orange;
- }
- &.icon-tg{
- width: 30px;
- height: 50px;
- }
- }
- }
- }
- ul{
- list-style: none;
- padding: 0;
- }
- .button-gray{
- padding: 0 16px 0 20px;
- height: 32px;
- background-color: #f5f5f5;
- border-radius: 36px;
- }
- a{
- text-decoration: none;
- color: #3E3E42;
- outline: none;
- transition: .3s cubic-bezier(.645,.045,.355,1);
- &:hover{
- color: #3b5573;
- text-decoration: none;
- }
- }
- .button{
- position: relative;
- display: inline-flex;
- justify-content: center;
- align-items: center;
- margin: 0;
- border: none;
- cursor: pointer;
- outline: 0;
- z-index: 10;
- transition: .3s cubic-bezier(.645, .045, .355, 1);
- -webkit-appearance: none;
- border-radius: 50px;
- background: #f5f5f5;
- padding: 3px 12px;
- color: #ff7f00;
- white-space: nowrap;
- &_gray{
- padding: 0 16px 0 20px;
- height: 32px;
- background-color: #f5f5f5;
- border-radius: 36px;
- }
- }
- .hidden{
- display:none;
- }
- }
- div.picture-cont-16x9{
- position: relative;
- width: 100%;
- padding-bottom: 56.25%;
- overflow: hidden;
- picture{
- position: absolute;
- top:0;
- left: 0;
- width: 100%;
- height: 100%;
- img{
- aspect-ratio: 16/9;
- object-fit: cover;
- height: 100%;
- }
- }
- }
- .sidemenu_overlay, .sidemenu_rubrics_overlay{
- display: none;
- z-index: 99999;
- .sidemenu_content{
- max-height: calc( 100% - 50px );
- overflow: scroll;
- }
- &.active{
- display: block;
- }
- }
- @media(max-width: 700px){
- .fixed_social_links{ display: none}
- }
- @media(max-width: @size-mobile){
- //.post h1{ font-size: 25px; hyphens: auto;} Убрал по просьбе редакции, см. телеграм чат от 2023-12-13
- .post h1{
- font-size: 25px;
- @media (resolution: 150dpi) {
- font-size: 18px;
- }
- }
- .post h2{ font-size: 23px}
- .post h3{ font-size: 16px}
- .post h4{ font-size: 14px}
- .post h5{ font-size: 14px}
- .post .text h6{ font-size: 14px}
- .sidemenu_overlay, .sidemenu_rubrics_overlay {
- display: block;
- }
- .hamburger, .dots{
- position: relative;
- width: 20px;
- &.is-active{
- .hamburger-box{
- transform: rotate(45deg);
- &:before{
- top: 0;
- transform: rotate(90deg);
- }
- &:after{
- display: none;
- }
- }
- }
- .hamburger-box{
- display: block;
- position: absolute;
- height: 2px;
- width: 100%;
- top: 0px;
- bottom: 0;
- margin: auto;
- background: black;
- &:before{
- content: "";
- display: block;
- position: absolute;
- height: 2px;
- width: 100%;
- top: -6px;
- background: black;
- }
- &:after{
- content: "";
- display: block;
- position: absolute;
- height: 2px;
- width: 100%;
- top: 6px;
- background: black;
- }
- }
- }
- }
- .desktop-search{
- display: flex;
- @media(max-width: @size-mobile){
- display: none;
- }
- .search_form{
- display: flex;
- flex-grow: 1;
- align-items: center;
- border: 1px solid #eaeaea;
- border-radius: 50px;
- h6{
- margin: 0;
- margin-right: 15px;
- }
- input{
- display: block;
- border: none;
- flex-grow: 1;
- border-top-left-radius: 50px;
- border-bottom-left-radius: 50px;
- outline: none;
- padding: 4px 3px 4px 26px;
- width: 20%;
- background-image: url(/img/search.svg);
- background-repeat: no-repeat;
- background-size: 14px;
- background-position: 9px 8px;
- }
- button{
- display: block;
- border: none;
- background: #f5f5f5;
- color: #f6911f;
- border-top-right-radius: 50px;
- border-bottom-right-radius: 50px;
- padding: 4px 10px;
- outline: none;
- }
- }
- @media(max-width: 375px){
- display: none;
- }
- }
- .header-banner{
- .header-banner_desktop{
- display: block;
- position: relative;
- min-height: 200px;
- text-align: center;
- }
- .header-banner_mobile{
- position: relative;
- .placeholder{
- position: absolute;
- opacity: 1;
- transition: .3s;
- z-index: 2;
- height: 100%;
- top: 0;
- left: 0;
- margin: auto;
- right: 0;
- background: url(/img/adv_placeholder.jpg) no-repeat;
- background-size: contain;
- background-position: center;
- &::after{
- //content: "загрузка рекламы";
- position: absolute;
- bottom: 102px;
- font-size: 8px;
- color: gray;
- margin: auto;
- width: 100%;
- left: 0;
- text-transform: uppercase;
- }
- }
- }
- }
|