Files
profile/template-parts/critical-styles/styles-default.php
Andrey Kuvshinov 8fc8cbae32 add files
2025-07-09 21:21:17 +03:00

962 lines
22 KiB
PHP

<!--[critical-styles/styles-default]-->
<style>
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
font-weight: 400;
line-height: 1.5;
color: #212529;
text-align: left;
background-color: #fff;
}
article, aside, figcaption,
figure, footer, header,
hgroup, main, nav, section {
display: block;
}
ol,
ul,
dl {
margin-top: 0;
margin-bottom: 1rem;
}
ol ol,
ul ul,
ol ul,
ul ol {
margin-bottom: 0;
}
a:not([href]):not([tabindex]) {
color: inherit;
text-decoration: none;
}
img {
vertical-align: middle;
border-style: none;
}
svg {
overflow: hidden;
vertical-align: middle;
}
button,
input {
overflow: visible;
}
input[type="radio"],
input[type="checkbox"] {
box-sizing: border-box;
padding: 0;
}
input[type="checkbox"] {
-webkit-appearance: none;
opacity: 0;
position: absolute;
}
a {
color: #212529;
text-decoration: none;
background-color: transparent;
}
body {
margin: 0;
}
body,
html {
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-webkit-touch-callout: none;
min-height: 100%;
-webkit-text-size-adjust: 100%;
-webkit-font-smoothing: antialiased;
}
.col-12,
.col-sm-2,
.col-xl-3 {
position: relative;
width: 100%;
padding-right: 15px;
padding-left: 15px;
}
.row {
display: flex;
flex-wrap: wrap;
margin-right: -15px;
margin-left: -15px;
}
body {
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: space-between;
}
body .footer__inner,
body .main {
width: 100%;
max-width: 1200px;
margin: auto;
}
.col-12 {
min-height: auto;
}
.d-none {
display: none !important;
}
.d-inline-block {
display: inline-block !important;
}
.d-block {
display: block !important;
}
.d-flex {
display: flex !important;
}
.flex-column {
flex-direction: column;
}
.justify-content-center {
justify-content: center !important;
}
.justify-content-between {
justify-content: space-between !important;
}
.align-items-center {
align-items: center !important;
}
.position-relative {
position: relative;
}
.text-center {
text-align: center !important;
}
.align-baseline {
vertical-align: baseline !important;
}
h1 {
font-size: 1.25rem;
line-height: 1.1;
margin: 0.375rem 0 0.375rem;
}
h1:first-child {
margin: 0 0 0.25rem;
}
h2 {
font-size: 1.25rem;
line-height: 1.1;
margin: 0.375rem 0 0.375rem;
}
h2:first-child {
margin: 0 0 0.25rem;
}
h3 {
font-size: 1.125rem;
line-height: 1.1;
font-weight: 700;
margin: 0.375rem 0 0.375rem;
}
h4 {
font-size: 1.25rem;
line-height: 1.5;
font-weight: 700;
margin: 0.375rem 0 0.375rem;
}
h4:first-child {
margin: 0 0 0.25rem;
}
h5,h6 {
font-size: 1.125rem;
line-height: 1.5;
font-weight: 700;
margin: 0.375rem 0 0.5rem;
}
h5, h6:first-child {
margin: 0 0 0.25rem;
}
.w-100 {
width: 100% !important;
}
*,::after,::before {
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
border-color: #dee2e6 #dee2e6 #dee2e6!important;
}
.nav-tabs .nav-link {
margin-bottom: -1px;
background-color: #ececec!important;
border-top-left-radius: 0.25rem;
border-top-right-radius: 0.25rem;
}
.nav-tabs .nav-link.active, .nav-tabs .nav-link.active + a {
margin-bottom: -1px;
background-color: #fff!important;
border-top-left-radius: 0.25rem;
border-top-right-radius: 0.25rem;
}
/*.col-12 {
z-index: 10;
}*/
.header__nav {
background: #fff;
}
.header__nav__stick {
z-index: 15!important;
}
.header__widgets {
max-height: 30px;
}
.logo {
width: 15.5625rem;
max-width: 100%;
bottom: 0;
}
.header__social {
padding: 1.25rem 0 0;
}
.burger-menu__yellow a {
border-left-color: #ffc107
}
.burger-menu__blue a {
border-left-color: #007bff
}
.burger-menu__green a {
border-left-color: #28a745
}
.burger-menu__red a {
border-left-color: #dc3545
}
.burger-menu__orange a {
border-left-color: #fd7e14
}
.burger-menu__purple a {
border-left-color: #6f42c1
}
.burger-menu__gray a {
border-left-color: #999
}
.burger-menu__teal a {
border-left-color: #20c997
}
.burger-menu__black a {
border-left-color: #000
}
.burger-body {
padding: 0;
min-width: 15.625rem
}
.news__name {
font-size: 0.8125rem!important;
line-height: 1.2;
font-weight: 500;
color: #000;
transition: color .2s;
}
.news__list li + li {
margin: 1rem 0 0;
}
.icon {
display: inline-block;
vertical-align: middle;
border-radius: 4px;
width: 1.875rem;
height: 1.875rem;
text-align: center;
}
.icon>img {
max-width: 100%;
height: auto;
}
.icon .svg-icon {
fill: #fff;
max-height: 1.375rem;
max-width: 1.375rem;
stroke-width: 0;
pointer-events: none;
transform: translateX(0);
}
.header__currency__item>span:first-child {
margin-right: 0.625rem;
}
.burger-menu {
display: block;
position: relative;
z-index: 7;
}
.main {
position: relative;
flex: 1;
align-self: center;
}
.scroll-to-top {
font-size: 0.75rem;
stroke: #C0C0C0;
color: #C0C0C0;
display: flex;
flex-direction: column;
align-items: center;
position: fixed;
right: 50%;
opacity: 0;
padding: 5px;
border-radius: 25px 25px 2px 2px;
z-index: 200;
transform: translate(660px, 100px) scale(0);
transition: all 0.3s;
}
.scroll-to-top svg {
border-radius: 50%;
}
.scroll-to-top span {
text-shadow: 1px 1px #fff;
}
.subscribe-form input {
font-size: 10px;
color: #303030;
height: 30px;
width: 181px;
min-width: 181px;
padding: 2px 10px;
border: 1px solid #C0C0C0;
}
.subscribe-form button {
background: #303030;
border: 0;
font-size: 10px;
color: white;
border-radius: 4px;
height: 30px;
width: 88px;
min-width: 88px;
cursor: pointer;
transition: all 0.2s;
}
.flex {
flex: 1;
}
.cell {
margin: 0 0 1.875rem;
height: 264px;
}
.cell--main {
max-width: unset;
}
.cell--double {
overflow: hidden;
height: 558px;
max-height: 558px;
}
.article {
position: relative;
overflow: hidden;
display: block;
}
.article.cell {
border-radius: 6px;
}
.article__title {
font-weight: 700;
display: inline-block;
transition: opacity 0.25s;
margin-top: 0.625rem;
}
.article__detail {
min-width: 100%;
line-height: 1.1;
margin: 0.5625rem 0 0;
}
.article__data {
display: block;
line-height: 1.35;
font-size: 0.75rem;
font-weight: 500;
}
.article__author {
position: relative;
margin-right: 0.25rem;
text-decoration: underline;
font-weight: 400;
line-height: 1.2;
pointer-events: auto;
}
/*.article__author:first-child {
margin: 0;
}*/
.article,.article a {
color: #fff;
}
.article__frame {
background: #ececec;
display: block;
position: relative;
height: 100%;
border-radius: 6px;
}
.article__frame>img {
position: relative;
left: 50%;
transition: all 0.3s ease-out;
max-width: none;
height: 100%;
min-width:100%;
border-radius: 6px;
transform: translate(-50%, 0);
}
.article__frame--wide>img {
min-width: 100%;
height: auto;
top: 50%;
transform: translate(-50%, -50%);
}
.article__body {
position: absolute;
left: 0;
right: 0;
bottom: 0;
padding: 0.75rem 0.9375rem;
background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .6) 30%, rgba(0, 0, 0, .8));
background-repeat: no-repeat;
}
.article__title {
font-size: 1.125rem;
line-height: 1.15;
}
.article__author {
font-size: 0.75rem;
font-weight: 500;
margin-right: 5px;
}
.sticker-group {
position: absolute;
top: 0.625rem;
right: 0.625rem;
display: flex;
}
.sticker-group .sticker {
position: relative;
top: 0;
right: 0;
}
.sticker {
font-size: 0.625rem;
line-height: 1.3;
font-weight: 700;
text-transform: uppercase;
position: absolute;
top: 0.625rem;
right: 0.625rem;
transition: all 0.25s;
padding: 0.125rem 0.375rem;
}
.special {
position: relative;
overflow: hidden;
margin: 0 auto 1.875rem;
transition: all 0.20s ease-out;
}
.special a {
display: block;
}
.special img {
display: block;
max-width: 100%;
}
.special--gray {
background: #eee;
}
.footerMenu>.upDown {
position: absolute;
border-color: #fff;
border-style: solid;
border-width: 0 2px 2px 0;
transform: rotate(225deg);
height: 15px;
width: 15px;
top: 42%;
left: 49%;
cursor: pointer;
}
input.footerMenu {
opacity: 0;
}
.footer {
background: #303030;
position: fixed;
bottom: 0;
left: 0;
right: 0;
width: 100%;
min-height: 40px;
transition: all .35s;
z-index: 1;
max-width: 1200px;
margin: auto;
}
.footer,.footer a {
color: #fff;
text-decoration: none;
}
.footer-logo-top {
width: 100px;
height: 22px;
margin-top: 15px;
margin-left: 15px;
}
.OOO_IDR {
font-size: 12px;
font-weight: 400;
display: block;
line-height: 3.1;
padding: 0 1.6875rem;
position: absolute;
top: 5px;
right: 0;
}
.footer__inner {
display: none;
padding: 28px 15px 32px;
}
.footer__logo {
min-width: 136px;
width: 136px;
margin-right: 61px;
}
.footer__logo img {
position: relative;
width: 136px;
height: 30px;
transition: all .35s;
}
.footer-flex {
display: flex;
margin-top: 5px;
}
.footer__body {
position: relative;
}
.footer__age {
position: absolute;
top: 0;
right: 0;
color: #000;
text-align: center;
background: #fff;
border-radius: 50%;
width: 30px;
height: 30px;
font-size: 13px;
font-weight: 700;
line-height: 1.875rem;
}
.nav-footer {
display: flex;
flex-wrap: wrap;
padding-left: 0;
list-style: none;
font-size: 14px;
font-weight: 700;
margin: 7px 0 14px;
}
.footer__delimiter {
display: block;
height: 1px;
border-top: 1px solid #fff;
margin: 27px 0 27px;
}
.nav-footer-item {
margin-right: 20px;
}
.footer__copyright {
color:#505258!important;
}
.footer__copyright p {
font-size: 12px;
font-weight: 400;
text-align: left;
}
.footer__copyright p:first-child {
margin-bottom: 6px;
}
.footerMenu {
width: 100%;
height: 40px;
margin-bottom: 0;
}
#myFooter:checked ~ .footer__inner {
display: block;
}
#myFooter:checked ~ .footerMenu {
height: 0;
}
#myFooter:checked ~ .footerMenu>.upDown {
top: 5%;
transform: rotate(45deg);
}
/*#myFooter:checked ~ .footerMenu>.footer-logo-top {
position: absolute;
width: 136px;
height: 31px;
top: 78px;
left: 15px;
}*/
#myFooter:checked ~ .footerMenu>.footer-logo-top,
#myFooter:checked ~ .footerMenu>.OOO_IDR {
display: none;
}
.right-side{
padding: 0 0 1.875rem;
position: relative;
height: 100%;
}
.right-side .cell:last-child {
margin: 0 auto;
}
.popup-special {
background: rgba(0, 0, 0, 0.00001);
position: fixed;
bottom: 0;
right: 0;
display: flex;
justify-content: center;
align-items: center;
transition: all 0.35s;
transform-origin: right bottom;
z-index: 10;
}
.popup-special:after,.popup-special:before {
content: '+';
color: #556a43;
font-weight: 400;
font-size: 1.625rem;
line-height: 1.0;
position: absolute;
z-index: 1;
}
.popup-special:before {
top: -0.95625rem;
left: -0.5rem;
padding: 0 0.1875rem 0 0;
}
.popup-special:after {
top: -0.9625rem;
right: -0.5rem;
padding: 0 0 0 0.1875rem;
}
.popup-special img {
min-width: 100%;
transition: all 0.35s;
}
.popup-special__image {
display: none;
opacity: 0;
}
.popup-special__logo {
display: block;
opacity: 1;
}
.popup-special .popup-special__inner {
position: relative;
display: flex;
align-items: center;
flex-direction: column;
justify-content: center;
transition: all 0.35s;
border: 1px dashed #556a43;
}
.popup-special .popup-special__inner:after,.popup-special .popup-special__inner:before {
content: '+';
color: #556a43;
font-weight: 400;
font-size: 1.625rem;
line-height: 1.0;
position: absolute;
z-index: 1;
}
.popup-special .popup-special__inner:before {
bottom: -0.625rem;
left: -0.5625rem;
padding: 0 0.1875rem 0 0;
}
.popup-special .popup-special__inner:after {
bottom: -0.625rem;
right: -0.5625rem;
padding: 0 0 0 0.1875rem;
}
.popup-special .popup-special__inner img {
min-width: 100%;
}
.popup-special .popup-special__close {
border: 1px solid rgba(0, 0, 0, 0.6);
position: absolute;
width: 1.375rem;
height: 1.375rem;
border-radius: 50%;
top: -2.1875rem;
right: -0.625rem;
cursor: pointer;
z-index: 2;
}
.popup-special .popup-special__close:after,.popup-special .popup-special__close:before {
content: '';
position: absolute;
background: rgba(0, 0, 0, 0.6);
top: 0.625rem;
left: 0.25rem;
width: 0.75rem;
height: 1px;
}
.popup-special .popup-special__close:before {
transform: rotate(-45deg);
}
.popup-special .popup-special__close:after {
transform: rotate(45deg);
}
.popup-special.close{
transform: scale(0, 0);
}
#menuD {
opacity: 0;
}
.separator_line {
content: '';
display: block;
width: 250px;
margin: 1.25rem 0;
height: 1px;
border-top: 1px solid #000;
}
.burger {
background: #f6f6f6;
position: absolute;
top: 0;
left: 0;
z-index: 6;
padding: 2.9375rem 0.875rem 0.4375rem;
min-width: 16.5rem;
border: 1px solid #c4c4c4;
border-top: 3px solid #000;
display: none;
box-shadow: 2px 3px 3px 0 rgba(196, 196, 196, 0.75);
}
.burger-body__sub {
display: none;
list-style: none;
}
.burger-menu {
line-height: 1.1;
transition: all .25s;
font-weight: 700;
border-left: 0;
}
.burger-menu a, .burger-menu label span:first-child {
display: block;
padding: 0.75rem 0.875rem;
transition: all .25s;
color: #000;
border-left-width: 3px;
border-left-style: solid;
border-bottom: 1px solid #ececec;
}
.burger-menu__bn a {
border: none;
}
.burger-menu__sub a {
border-bottom: none;
border-left: none;
display: block;
padding: 0.75rem 0.875rem;
transition: all .25s;
color: #505050;
min-width: 200px;
}
.burger-menu .toggleSubmenu {
display: block;
}
.toggle-menu {
cursor: pointer;
}
.toggle-menu span,.toggle-menu span:after,.toggle-menu span:before {
content: '';
display: block;
position: absolute;
width: 20px;
height: 3px;
background: #000;
z-index: 9;
transition: .25s;
}
.toggle-menu span {
top: 23px;
left: 12px;
}
.toggle-menu:after {
content: '';
display: block;
position: absolute;
top: 15px;
left: 43px;
height: 19px;
border-right: 1px solid silver;
}
.toggle-menu span:before {
top: 6px;
}
.toggle-menu span:after {
top: -6px;
}
img {
max-width: 100%;
height: auto;
}
.icon--vk {
background: #4c75a3;
}
.icon--twitter {
background: #28aae1;
}
.icon--flipboard {
fill: #f52828;
}
@media (min-width: 768px) {
.header__nav::-webkit-scrollbar {
display: none;
}
.header__nav {
overflow-x: scroll;
overflow-y: hidden;
}
.header > .container-fluid {
padding-top: 1.875rem;
padding-bottom: 1.875rem;
}
.header.isSticky .nav .nav-item:first-child {
margin-right: 170px;
}
.header__nav .nav-link:before {
content: '';
position: absolute;
left: 0;
top: 0;
right: 0;
border-width: 3px 0 0;
border-style: solid;
transition: all 0.25s;
}
.header__nav .nav-link {
text-align: center;
border-color: transparent;
position: relative;
padding: 1.25rem 0.75rem 1rem;
font-weight: 700;
line-height: 1.4;
overflow: hidden;
color: #000;
}
.header__social {
float: right;
transition: all 0.30s;
}
.header__store + .header__store {
margin-left: 0.625rem;
}
.header__nav {
font-size: .875rem;
text-transform: uppercase;
border-bottom: 1px solid #000;
}
.header__nav:before {
content: '';
position: absolute;
border-top: 3px solid #000;
height: 3px;
left: 0;
top: 0;
right: 0;
}
}
@media (min-width: 992px) {
.logo {
margin: .625rem 0 .1875rem;
}
.header__nav .nav-link {
text-align: center;
border-color: transparent;
position: relative;
padding: 1.0625rem 0.75rem 1rem;
font-weight: 700;
line-height: 1.4;
overflow: hidden;
color: #000;
}
}
@media (max-width: 1200px) {
.cell--double {
height: 264px;
}
}
.tags-list a {
display: inline-block;
padding: 0.4375rem 0.5rem;
margin-right: 0.9375rem;
margin-bottom: 0.9375rem;
background: #ececec;
border: 0 none;
border-radius: 2px;
font-family: 'Roboto', sans-serif;
font-size: 0.75rem;
line-height: 1;
font-weight: 700;
}
.profile_onenews__body p a, .micromarking a, .profile_onenews p a {
color: #0d6efd;
text-decoration: underline;
}
.profile_onenews__body p a:hover, .micromarking a:hover, .profile_onenews p a:hover {
text-decoration: none;
}
#myFooter:checked ~ .footerMenu picture, #myFooter:checked ~ .footer-menu > .OOO_IDR {
display: none;
}
</style>
<!--[/critical-styles/styles-default]-->