add files
This commit is contained in:
94
template-parts/critical-styles/styles-404.php
Normal file
94
template-parts/critical-styles/styles-404.php
Normal file
@@ -0,0 +1,94 @@
|
||||
<!--[critical-styles/styles-404]-->
|
||||
|
||||
<style>
|
||||
.error-404 .searchform {
|
||||
max-width: 29.25rem;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
position: relative;
|
||||
}
|
||||
.error-404 .searchform input[type="text"],
|
||||
.error-404 .searchform input[type="search"] {
|
||||
height: 2rem;
|
||||
border-width: 1px;
|
||||
padding: 0.3125rem 0.625rem;
|
||||
}
|
||||
input[type="text"],
|
||||
input[type="search"] {
|
||||
background: #fff;
|
||||
width: 100%;
|
||||
font-size: 0.75rem;
|
||||
color:#505258;
|
||||
border: solid #C0C0C0;
|
||||
border-width: 1px 0;
|
||||
padding: 0.3125rem 0;
|
||||
height: 2rem;
|
||||
}
|
||||
.searchform {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin: .6875rem 0 0
|
||||
}
|
||||
.searchform__btn {
|
||||
background: 0 0;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
border: 0 none;
|
||||
padding: .3125rem;
|
||||
width: 1.875rem;
|
||||
height: 1.875rem;
|
||||
line-height: 2.3125rem;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
z-index: 2
|
||||
}
|
||||
.searchform__btn svg {
|
||||
flex: 1 0 auto;
|
||||
}
|
||||
.searchform input[type=search] {
|
||||
z-index: 1
|
||||
}
|
||||
.searchform__btn svg:first-child {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.searchform__btn svg:last-child {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.searchform__btn svg:first-child:last-child {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.error-404 {
|
||||
max-width: 37.5rem;
|
||||
text-align: center;
|
||||
font-size: 1.125rem;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-bottom: 5rem;
|
||||
}
|
||||
.error-404__content {
|
||||
margin: 1.625rem 0 0;
|
||||
}
|
||||
.error-404__content p {
|
||||
margin: 0 0 1.25rem;
|
||||
}
|
||||
|
||||
@media screen and (-webkit-min-device-pixel-ratio: 0) {
|
||||
.searchform input[type=search] {
|
||||
font-size: 1rem
|
||||
}
|
||||
}
|
||||
@media (min-width: 768px) and (max-width: 992px) {
|
||||
.searchform {
|
||||
position: relative;
|
||||
margin: 0.4375rem 0 0;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<!--[/critical-styles/styles-404]-->
|
||||
31
template-parts/critical-styles/styles-author.php
Normal file
31
template-parts/critical-styles/styles-author.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<!--[critical-styles/styles-author]-->
|
||||
|
||||
<style>
|
||||
.author .profile_onenews__picture img {
|
||||
max-width: 196px;
|
||||
width: 196px;
|
||||
max-height: 196px;
|
||||
height: 196px;
|
||||
}
|
||||
@media (min-width: 768px) and (max-width: 992px) {
|
||||
.author__img {
|
||||
margin-right: 30px;
|
||||
}
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
.author .profile_onenews__picture img {
|
||||
margin-right: 30px;
|
||||
}
|
||||
}
|
||||
@media (max-width: 767.98px) {
|
||||
.author .profile_onenews__picture img {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
.author__footer a {
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<!--[critical-styles/styles-author]-->
|
||||
140
template-parts/critical-styles/styles-default-desktop.php
Normal file
140
template-parts/critical-styles/styles-default-desktop.php
Normal file
@@ -0,0 +1,140 @@
|
||||
<!--[critical-styles/styles-default-desktop]-->
|
||||
|
||||
<style>
|
||||
.profile_onenews p, .profile_onenews li, .profile_onenews td {
|
||||
font-size: 1.125rem;
|
||||
line-height: 1.6;
|
||||
}
|
||||
.profile_onenews ul {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
.profile_onenews ul li {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
.attention {
|
||||
list-style: none;
|
||||
border-left: 2px solid #B51D1D;
|
||||
margin: 0 0 8px 0!important;
|
||||
padding: 0 0 0 8px;
|
||||
line-height: 1.2;
|
||||
font-size: 12px!important;
|
||||
font-style: italic;
|
||||
}
|
||||
figure figcaption p {
|
||||
font-size: 0.875rem!important;
|
||||
}
|
||||
figure figcaption span {
|
||||
line-height: 1.6;
|
||||
}
|
||||
.header .logo {
|
||||
width: 15.5625rem;
|
||||
}
|
||||
.header__widgets {
|
||||
background: #303030;
|
||||
padding: 0.4375rem 0;
|
||||
white-space: nowrap;
|
||||
z-index: 100;
|
||||
}
|
||||
.header__widgets,
|
||||
.header__widgets a {
|
||||
color: #fff;
|
||||
}
|
||||
.header__widgets > .row > .col-12 {
|
||||
transition: all 0.35s;
|
||||
}
|
||||
.header__currency .up {
|
||||
color: #45C707;
|
||||
}
|
||||
.header__currency .down {
|
||||
color: #B61D1D;
|
||||
}
|
||||
.header__currency__item > span + .header__currency__item > span {
|
||||
margin-left: 0.3125rem;
|
||||
}
|
||||
.header__currency__item > span:first-child {
|
||||
margin-right: 0.625rem;
|
||||
}
|
||||
.header__weather > span {
|
||||
margin: 0 0.3125rem;
|
||||
}
|
||||
.header__delimiter {
|
||||
border-width: 0 1px 0 0;
|
||||
border-style: solid;
|
||||
}
|
||||
@media (min-width: 992px) {
|
||||
.profile_onenews {
|
||||
padding: 0 4.375rem 0 0;
|
||||
}
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
|
||||
div.profile_onenews {
|
||||
line-height: 1.6;
|
||||
}
|
||||
.header__network {
|
||||
position: relative;
|
||||
width: 6.625rem;
|
||||
max-width: 6.625rem;
|
||||
padding-left: 10px;
|
||||
display: inline-table;
|
||||
border-radius: 5px;
|
||||
transform-style: preserve-3d;
|
||||
perspective: 200px;
|
||||
z-index: 4;
|
||||
}
|
||||
.header__network .icon {
|
||||
display: block;
|
||||
}
|
||||
.header__network .icon--network {
|
||||
min-width: 111px;
|
||||
}
|
||||
.header__network > li {
|
||||
cursor: pointer;
|
||||
list-style: none;
|
||||
}
|
||||
.header__network > li:hover > ul {
|
||||
transition:all 200ms ease-in-out 0ms;
|
||||
transform:rotateX(0deg);
|
||||
box-shadow: 4px 6px 10px rgba(0, 0, 0, 0.1);
|
||||
opacity: 1.0;
|
||||
}
|
||||
.header__network ul {
|
||||
background: #ececec;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
width: 9.375rem;
|
||||
max-width: 9.375rem;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
opacity: 0.0;
|
||||
z-index: 10;
|
||||
padding: 0.4375rem 0.5625rem 0.625rem;
|
||||
|
||||
transition: all 200ms ease-in-out 200ms;
|
||||
transform: rotateX(-90deg);
|
||||
transform-origin: 0% 0%;
|
||||
backface-visibility: hidden;
|
||||
box-shadow: 0 -50px 250px rgba(0, 0, 0, 0);
|
||||
}
|
||||
.header__network ul li {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin: 0 7px 0;
|
||||
}
|
||||
.header__network ul li .icon {
|
||||
margin: 0.5rem 0 0.4375rem;
|
||||
}
|
||||
.header .isSticky .logo {
|
||||
width: 144px;
|
||||
height: auto;
|
||||
position: absolute;
|
||||
left: 60px;
|
||||
bottom: -75px;
|
||||
max-width: none;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<!--[/critical-styles/styles-default-desktop]-->
|
||||
888
template-parts/critical-styles/styles-default-mobile.php
Normal file
888
template-parts/critical-styles/styles-default-mobile.php
Normal file
@@ -0,0 +1,888 @@
|
||||
<!--[critical-styles/styles-default-ьщишду]-->
|
||||
|
||||
<style>
|
||||
@media (min-width: 768px) and (max-width: 992px){
|
||||
.header__network {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.logo {
|
||||
height: 60px;
|
||||
}
|
||||
.header > .container-fluid {
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
#menuD:checked~.toggle-menu span, #menuM:checked~.toggle-menu span {
|
||||
top: 23px;
|
||||
left: 12px;
|
||||
}
|
||||
#sub_burgerD:checked ~ .burger-body__sub {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: -445px;
|
||||
left: 260px;
|
||||
background: #f6f6f6;
|
||||
}
|
||||
}
|
||||
|
||||
#readanother {
|
||||
padding: 0 10px 0;
|
||||
}
|
||||
#readanother strong {
|
||||
font-family: 'Roboto';
|
||||
font-size: 14px;
|
||||
line-height: 1;
|
||||
color: #B51D1D;
|
||||
text-transform: uppercase;
|
||||
margin: 0 0 12px 0;
|
||||
}
|
||||
#readanother ul {
|
||||
padding-left: 0;
|
||||
}
|
||||
#readanother li {
|
||||
list-style: none;
|
||||
border-left: 6px solid #B51D1D;
|
||||
margin: 0 0 20px 0;
|
||||
padding: 0 0 0 10px;
|
||||
line-height: 0;
|
||||
}
|
||||
#readanother li a {
|
||||
font-family: 'Roboto';
|
||||
font-weight: bold;
|
||||
font-size: 14px;
|
||||
line-height: 1.2;
|
||||
color: #000000;
|
||||
text-decoration: none;
|
||||
}
|
||||
.mr-3 a {
|
||||
display: inline-block;
|
||||
padding: 0.4375rem 0.5rem;
|
||||
margin-bottom: 0.9375rem;
|
||||
background: #ececec;
|
||||
border: 0 none;
|
||||
border-radius: 2px;
|
||||
font-family: "Roboto", sans-serif;
|
||||
font-size: .75rem;
|
||||
line-height: 1;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
#menuM:checked ~ .background_checked {
|
||||
width: 200%;
|
||||
display: block;
|
||||
height: 49px;
|
||||
background: #f6f6f6;
|
||||
position: absolute;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.cell__promo {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
max-height: 100%;
|
||||
z-index: 999;
|
||||
transition: all 0.65s;
|
||||
transform: translate(0, 150%);
|
||||
}
|
||||
.blog {
|
||||
background: #ECECEC;
|
||||
flex: 1;
|
||||
display: flex;
|
||||
min-height: 9.875rem;
|
||||
margin: 0 0 1.875rem;
|
||||
border-radius: 6px;
|
||||
}
|
||||
.blog__frame> img {
|
||||
display: block;
|
||||
height: 100%;
|
||||
max-height: 9.875rem;
|
||||
width: auto;
|
||||
max-width: none;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.publication__data {
|
||||
display: flex;
|
||||
line-height: 1.1;
|
||||
color:#505258;
|
||||
}
|
||||
.profile_onenews {
|
||||
margin: 0 0 1.875rem;
|
||||
}
|
||||
.tags-list {
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
.tags-list {
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
@media (min-width: 576px) {
|
||||
.tab-pane {
|
||||
max-width: unset!important;
|
||||
margin: 0!important;
|
||||
}
|
||||
}
|
||||
@media (max-width: 767.98px) {
|
||||
|
||||
.profile_onenews .profile_onenews__title {
|
||||
font-size: 1.4375rem!important;
|
||||
}
|
||||
figure figcaption p {
|
||||
font-size: 0.75rem!important;
|
||||
color:#505258!important;
|
||||
line-height: 1.2!important;
|
||||
}
|
||||
.burger {
|
||||
position: fixed!important;
|
||||
padding: 50px 40px 0 16px;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: scroll;
|
||||
}
|
||||
.right-side{
|
||||
display: none;
|
||||
}
|
||||
.blog__detail {
|
||||
margin-top: 0.625rem;
|
||||
color: #000;
|
||||
}
|
||||
.news__body, .news__body__inner, .news__body>div {
|
||||
height: 100%!important;
|
||||
max-height: 100%!important;
|
||||
}
|
||||
.news__tabs .nav-item:last-child {
|
||||
display: none;
|
||||
}
|
||||
.news__tabs .nav-item:first-child {
|
||||
width: 100%;
|
||||
}
|
||||
.news__tabs .nav-item:first-child .nav-link {
|
||||
border-radius: 6px 6px 0 0!important;
|
||||
}
|
||||
.toggle-menu:after, .news__body:after {
|
||||
display: none;
|
||||
}
|
||||
.header__network .icon--network {
|
||||
display: none;
|
||||
}
|
||||
.header__widgets {
|
||||
display: none;
|
||||
}
|
||||
.burger::-webkit-scrollbar {
|
||||
display: none
|
||||
}
|
||||
.article.cell--main {
|
||||
border: 0;
|
||||
margin: 0
|
||||
}
|
||||
.col-12 .d-flex .d-flex .d-block {
|
||||
width: 42px;
|
||||
height: 49px;
|
||||
}
|
||||
|
||||
.cell,
|
||||
.cell--main {
|
||||
height: auto!important;
|
||||
max-height: none!important;
|
||||
}
|
||||
.cell {
|
||||
margin: 0 0 1.25rem!important;
|
||||
min-height: 264px;
|
||||
}
|
||||
.article.cell:not(.cell--main) {
|
||||
border-radius: 0;
|
||||
border-bottom: 1px solid #C0C0C0;
|
||||
}
|
||||
.article.cell.cell--main {
|
||||
border: 0;
|
||||
margin: 0!important;
|
||||
}
|
||||
.article a,
|
||||
.article a.sticker--white {
|
||||
color: #000;
|
||||
}
|
||||
.article a.sticker:not(.sticker--white) {
|
||||
color: #FFF;
|
||||
}
|
||||
.article--main .article__title {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 700;
|
||||
line-height: 1.2;
|
||||
}
|
||||
.article__data {
|
||||
font-size: 0.75rem;
|
||||
font-weight: 400;
|
||||
color: #000;
|
||||
}
|
||||
.article .article__author {
|
||||
font-size: 0.75rem;
|
||||
font-weight: 400;
|
||||
margin-top: 0;
|
||||
margin-right: 8px;
|
||||
}
|
||||
.article__body {
|
||||
position: relative;
|
||||
background: transparent;
|
||||
padding: 0.4375rem 0 1.25rem 0;
|
||||
}
|
||||
.article__frame{
|
||||
border-radius: 6px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.article__frame > img {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
min-width: 100%;
|
||||
min-height: 100%;
|
||||
height: auto;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
.article__frame--wide > img {
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
.article__frame:before {
|
||||
content: '';
|
||||
display: block;
|
||||
padding-top: 56%;
|
||||
}
|
||||
.article__frame > img {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.footer__copyright {
|
||||
display: block;
|
||||
text-align: center;
|
||||
margin: 15px 0 0;
|
||||
}
|
||||
.nav-footer{
|
||||
display: block;
|
||||
}
|
||||
.nav-footer-item{
|
||||
margin-bottom: 8px;
|
||||
line-height: 1.8;
|
||||
font-size: 18px;
|
||||
}
|
||||
.blog {
|
||||
flex-direction: column;
|
||||
}
|
||||
.blog__frame {
|
||||
margin: 20px auto auto;
|
||||
}
|
||||
.blog__frame > img {
|
||||
max-height: none;
|
||||
min-width: 100%;
|
||||
height: auto;
|
||||
border-radius: 6px;
|
||||
max-width: 100%;
|
||||
}
|
||||
.blog__title {
|
||||
padding-bottom: 0!important;
|
||||
}
|
||||
.blog__body {
|
||||
padding: 0.9375rem;
|
||||
}
|
||||
.separator_line {
|
||||
width: 100%;
|
||||
}
|
||||
.arrow {
|
||||
border: solid black;
|
||||
border-width: 0 2px 2px 0;
|
||||
display: inline-block;
|
||||
padding: 5px;
|
||||
position: absolute;
|
||||
top: 17px;
|
||||
right: 10px;
|
||||
transform: rotate(45deg);
|
||||
transition: .25s;
|
||||
}
|
||||
|
||||
.burger-body__sub a {
|
||||
border-bottom: none;
|
||||
border-left: none;
|
||||
display: block;
|
||||
padding: 0.75rem 0.875rem;
|
||||
transition: all .25s;
|
||||
color: #505050;
|
||||
}
|
||||
.burger-menu a, .burger-menu label span:first-child {
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
.toggle-menu span {
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.main {
|
||||
padding-top: 3.9375rem;
|
||||
}
|
||||
.header__store {
|
||||
max-width: 5.625rem;
|
||||
max-height: 1.625rem;
|
||||
margin: 0 0 1.75rem;
|
||||
}
|
||||
.header__store:last-child {
|
||||
max-width: 6rem;
|
||||
}
|
||||
.header__network {
|
||||
margin-bottom: 3.125rem;
|
||||
}
|
||||
.header__network ul {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.header__network ul li {
|
||||
margin:0 1.5625rem 0.9375rem 0;
|
||||
}
|
||||
.header .header__nav .float-md-left {
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
}
|
||||
.header .header__nav .float-md-right {
|
||||
display: none!important;
|
||||
}
|
||||
.header .header__nav .nav {
|
||||
font-size: 0;
|
||||
height: 3.75rem;
|
||||
white-space: nowrap;
|
||||
overflow: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
.header .header__nav .nav .nav-link {
|
||||
font-size: 0.875rem;
|
||||
font-weight: 500;
|
||||
line-height: 1.2;
|
||||
padding: 0.9375rem 1.5625rem 0.9375rem 0;
|
||||
}
|
||||
.header .header__nav .nav .nav-item {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.header {
|
||||
background: white;
|
||||
position: fixed!important;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
.header .row {
|
||||
display: block;
|
||||
margin: 0 -1.875rem;
|
||||
}
|
||||
.header .logo {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.header .row > .col-12:nth-child(2) {
|
||||
border-top: 1px solid #C0C0C0;
|
||||
border-width: 1px 0 0;
|
||||
}
|
||||
.header .row > .col-12:last-child,
|
||||
.header .rubric,
|
||||
.header .searchform {
|
||||
display: none!important;
|
||||
}
|
||||
.header .header__nav {
|
||||
padding-top: 0;
|
||||
height: 3.125rem;
|
||||
overflow: hidden;
|
||||
}
|
||||
.logo {
|
||||
max-width: 8.125rem;
|
||||
max-height: 1.75rem;
|
||||
z-index: 12;
|
||||
}
|
||||
.special {
|
||||
padding: 1.875rem 0 0;
|
||||
}
|
||||
.partners__item.d-flex .partners__item__title {
|
||||
margin: 0 0 1.25rem 1.25rem;
|
||||
font-size: 1rem;
|
||||
}
|
||||
.partners__item.d-flex .partners__frame {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
min-width: 80px;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
}
|
||||
.partners__item.d-flex .partners__frame img {
|
||||
position: relative;
|
||||
max-width: none;
|
||||
min-width: auto;
|
||||
height: 100%;
|
||||
width: auto;
|
||||
left: 50%;
|
||||
transform: translate(-50%, 0%);
|
||||
}
|
||||
.profile_onenews {
|
||||
display: block;
|
||||
margin: 0.5rem 0 0.9375rem;
|
||||
}
|
||||
.profile_onenews .stick .ya-share2__item {
|
||||
margin: 0 0.9375rem 0.625rem 0;
|
||||
}
|
||||
.profile_onenews .stick:before {
|
||||
content: "Поделиться:";
|
||||
font-size: 0.5625rem;
|
||||
color: #C0C0C0;
|
||||
display: block;
|
||||
margin: 0.1875rem 0;
|
||||
}
|
||||
.author:before {
|
||||
top: 104px;
|
||||
left: 0;
|
||||
}
|
||||
aside.aside-img {
|
||||
float: none;
|
||||
font-size: 1rem;
|
||||
margin: 0.625rem 0;
|
||||
width: 100%;
|
||||
}
|
||||
.newslist__body a {
|
||||
margin: 0 0 1.6875rem!important;
|
||||
}
|
||||
.newslist__item .d-flex {
|
||||
flex-direction: column;
|
||||
}
|
||||
.newslist__frame {
|
||||
min-width: 100%;
|
||||
height: auto;
|
||||
max-height: none;
|
||||
margin-bottom: 1.25rem;
|
||||
border-radius: 6px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.newslist__frame img {
|
||||
width: 100%;
|
||||
}
|
||||
.newslist__frame {
|
||||
min-width: 100%;
|
||||
height: auto;
|
||||
max-height: none;
|
||||
margin-bottom: 1.25rem;
|
||||
border-radius: 6px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.newslist__result {
|
||||
margin: 0 0 1.875rem;
|
||||
}
|
||||
.newslist__item {
|
||||
padding: 1.0625rem 0 0.625rem;
|
||||
}
|
||||
.newslist__item+.newslist__item {
|
||||
margin: 0;
|
||||
padding: 1.0625rem 0 0.625rem;
|
||||
}
|
||||
.footer__copyright p {
|
||||
display: block;
|
||||
text-align: center;
|
||||
}
|
||||
.footer__delimiter,
|
||||
.footer-logo-top,
|
||||
.footer__logo,
|
||||
.OOO_IDR {
|
||||
display: none;
|
||||
}
|
||||
.special:before {
|
||||
content: "Реклама";
|
||||
font-size: 0.625rem;
|
||||
color: #C0C0C0;
|
||||
position: absolute;
|
||||
top: 0.4375rem;
|
||||
left: 50%;
|
||||
transform: translate(-50%, 0);
|
||||
}
|
||||
.story .story__title {
|
||||
font-size: 1.125rem;
|
||||
font-weight: 500;
|
||||
margin: 0 0 0.625rem;
|
||||
}
|
||||
.story img {
|
||||
min-width: 100%;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
float: left;
|
||||
transform: translate(0, 0);
|
||||
}
|
||||
.story__frame {
|
||||
margin: 0 0 0.625rem;
|
||||
}
|
||||
|
||||
#menuM:checked ~ .burger,
|
||||
#menuM:checked ~ .burger-body {
|
||||
display: block;
|
||||
}
|
||||
#menuM:checked ~ .toggle-menu::after {
|
||||
top: 0;
|
||||
left: 0;
|
||||
background: #f6f6f6;
|
||||
width: 100%;
|
||||
height: 49px;
|
||||
right: unset;
|
||||
border: none;
|
||||
z-index: 8;
|
||||
}
|
||||
#sub_burgerM:checked ~ .burger-body__sub {
|
||||
display: block;
|
||||
}
|
||||
#sub_burgerM:checked ~ .toggleSubmenu .arrow {
|
||||
transform: rotate(-135deg);
|
||||
}
|
||||
.partners__frame figure {
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
@media (max-width: 992px) {
|
||||
.right-side{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.news__body:after {
|
||||
position: fixed;
|
||||
height: 5rem;
|
||||
}
|
||||
.news__body > div {
|
||||
height: calc(100vh - 113px);
|
||||
max-height: calc(100vh - 113px);
|
||||
}
|
||||
.news__body > div {
|
||||
height: 516px;
|
||||
max-height: 516px;
|
||||
}
|
||||
.header__currency__item + .header__currency__item {
|
||||
margin-left: 0.625rem;
|
||||
}
|
||||
.footer__delimiter,
|
||||
.footer-logo-top,
|
||||
.footer__logo,
|
||||
.OOO_IDR {
|
||||
display: none;
|
||||
}
|
||||
.partners__item.d-flex {
|
||||
height: 100%;
|
||||
max-width: none;
|
||||
margin: 0;
|
||||
padding: 0 0 1.25rem;
|
||||
}
|
||||
.main {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
flex: 1;
|
||||
align-self: center;
|
||||
}
|
||||
.author {
|
||||
padding: 0 1.25rem 1.25rem;
|
||||
margin-top: 2.8125rem;
|
||||
}
|
||||
.author__title {
|
||||
line-height: 1.25;
|
||||
}
|
||||
.author__post {
|
||||
line-height: 1.1;
|
||||
}
|
||||
.ya-share2__list {
|
||||
display: inline-flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.ya-share2__icon {
|
||||
background-size: 1.875rem;
|
||||
width: 1.875rem;
|
||||
height: 1.875rem;
|
||||
}
|
||||
}
|
||||
@media (max-width: 992px) {
|
||||
body {
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
.scroll-to-top {
|
||||
padding: 0.3125rem 0.3125rem 0;
|
||||
border-radius: 45px 45px 4px 4px;
|
||||
right: 10px;
|
||||
top: 60px;
|
||||
transform: translate(0, 0) scale(0);
|
||||
stroke: #808080;
|
||||
color:#505258;
|
||||
font-size: 9px;
|
||||
}
|
||||
.scroll-to-top.active {
|
||||
background: rgba(255, 255, 255, 0.75);
|
||||
transform: translate(0, 0) scale(1);
|
||||
opacity: 1;
|
||||
box-shadow: 0 1px 5px 1px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
.scroll-to-top svg {
|
||||
max-width: 30px;
|
||||
max-height: 30px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.news__date {
|
||||
font-size: 0.75rem;
|
||||
margin: 0 0 0.625rem;
|
||||
}
|
||||
.news__time {
|
||||
font-size: 0.875rem;
|
||||
line-height: 1.55;
|
||||
font-weight: 500;
|
||||
min-width: 3.125rem;
|
||||
}
|
||||
.news__name {
|
||||
font-size: 1rem;
|
||||
}
|
||||
.sticker {
|
||||
font-size: 0.625rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
.header {
|
||||
z-index: 200;
|
||||
position: relative;
|
||||
}
|
||||
.header > .container-fluid {
|
||||
padding-left: 15px;
|
||||
padding-right: 15px;
|
||||
}
|
||||
.header > .row {
|
||||
padding-left: -15px;
|
||||
padding-right: -15px;
|
||||
}
|
||||
.header__social {
|
||||
float: right;
|
||||
padding-top: 0.9375rem;
|
||||
}
|
||||
.header__widgets {
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
.header__nav .nav-link {
|
||||
text-align: left;
|
||||
color: #000;
|
||||
font-size: 0.75rem;
|
||||
padding-left: 0.25rem;
|
||||
padding-right: 0.25rem;
|
||||
}
|
||||
.searchform__btn {
|
||||
padding: 0.625rem;
|
||||
width: 3.375rem;
|
||||
height: 3.375rem;
|
||||
line-height: 1.875rem;
|
||||
}
|
||||
.searchform input[type="search"] {
|
||||
height: 3.375rem;
|
||||
}
|
||||
/*.icon {
|
||||
line-height: 1.9;
|
||||
}*/
|
||||
.main {
|
||||
padding-bottom: 1.875rem;
|
||||
}
|
||||
.popup-special {
|
||||
margin: 0 1.5rem 3.25rem 0;
|
||||
}
|
||||
.popup-special__inner {
|
||||
width: 5.625rem;
|
||||
height: 5.625rem;
|
||||
padding: 0.4375rem;
|
||||
}
|
||||
.special {
|
||||
padding: 0;
|
||||
margin-bottom: 1.25rem;
|
||||
}
|
||||
.special--gray {
|
||||
background: transparent;
|
||||
}
|
||||
.waypoint:before {
|
||||
width: auto;
|
||||
left: -0.9375rem;
|
||||
right: -0.9375rem;
|
||||
transform: translate(0, 0);
|
||||
}
|
||||
.load-btn {
|
||||
display: none;
|
||||
}
|
||||
.related-links {
|
||||
margin: 1.875rem 0 1.875rem;
|
||||
}
|
||||
.related-links .related-links__title {
|
||||
font-size: 1rem;
|
||||
}
|
||||
.related-links__item-name {
|
||||
font-size: 1.0625rem;
|
||||
}
|
||||
.profile_onenews {
|
||||
font-size: 1rem;
|
||||
line-height: 1.6;
|
||||
}
|
||||
.profile_onenews p {
|
||||
margin: 0 0 1.3125rem;
|
||||
}
|
||||
.profile_onenews blockquote p {
|
||||
margin: 0;
|
||||
}
|
||||
.profile_onenews .profile_onenews__title {
|
||||
font-size: 2.375rem;
|
||||
line-height: 1.2;
|
||||
margin: 0 0 0.5rem;
|
||||
}
|
||||
.profile_onenews__subtitle {
|
||||
font-size: 1.5rem;
|
||||
line-height: 1.5;
|
||||
}
|
||||
.profile_onenews__body {
|
||||
margin: 0;
|
||||
}
|
||||
.mobile-only {
|
||||
display: inline-block;
|
||||
}
|
||||
.publication__data {
|
||||
font-size: 0.75rem;
|
||||
margin-bottom: 0.625rem;
|
||||
}
|
||||
.publication__author {
|
||||
font-size: 0.75rem;
|
||||
padding-left: 0.5rem;
|
||||
margin-left: 0.5rem;
|
||||
text-decoration: underline;
|
||||
}
|
||||
figure figcaption p {
|
||||
font-size: 0.75rem;
|
||||
line-height: 1.2;
|
||||
color:#505258;
|
||||
text-transform: none;
|
||||
margin: 0.1875rem 0 0.3125rem!important;
|
||||
}
|
||||
figure figcaption {
|
||||
font-size: 0.75rem;
|
||||
color:#505258;
|
||||
font-style: normal;
|
||||
text-transform: uppercase;
|
||||
padding: 0.375rem 0 0.5rem;
|
||||
}
|
||||
blockquote {
|
||||
font-size: 1.125rem;
|
||||
line-height: 25px;
|
||||
margin: 2.125rem 0 1rem!important;
|
||||
padding: 1.25rem 0 1.25rem 2.5rem;
|
||||
}
|
||||
blockquote.blockquote-img figure {
|
||||
min-width: 100%;
|
||||
margin: 0;
|
||||
}
|
||||
blockquote.blockquote-img figcaption {
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
.alignleft {
|
||||
margin-right: 0;
|
||||
float: none;
|
||||
}
|
||||
.ya-share2__list {
|
||||
display: inline-flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.ya-share2__icon {
|
||||
background-size: 1.875rem;
|
||||
width: 1.875rem;
|
||||
height: 1.875rem;
|
||||
}
|
||||
.search__result {
|
||||
margin: 0 0 1.875rem;
|
||||
}
|
||||
.search__item {
|
||||
padding: 1.0625rem 0 0.625rem;
|
||||
}
|
||||
.search__item + .search__item {
|
||||
padding: 1.0625rem 0 0.625rem;
|
||||
}
|
||||
.section__title {
|
||||
border-left: 3px solid;
|
||||
padding-left: 0.625rem;
|
||||
font-size: 1.25rem;
|
||||
font-weight: 900;
|
||||
line-height: 1.0;
|
||||
}
|
||||
body.branding .main {
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
@media (max-width: 1200px) {
|
||||
body .main,
|
||||
body .footer__inner {
|
||||
max-width: 100%;
|
||||
}
|
||||
.read-yzd.read-yzd__bg {
|
||||
background-color: #ECECEC;
|
||||
margin: 0 -0.9375rem;
|
||||
padding: 0.9375rem;
|
||||
display: block;
|
||||
}
|
||||
aside.aside-img {
|
||||
font-size: 1rem;
|
||||
margin: 0.625rem 0;
|
||||
}
|
||||
.story img {
|
||||
min-width: 550px;
|
||||
width: 550px;
|
||||
height: auto;
|
||||
float: right;
|
||||
}
|
||||
.story__frame {
|
||||
margin: 0 0 0.625rem;
|
||||
}
|
||||
body.branding .header__widgets {
|
||||
max-width: 882px;
|
||||
}
|
||||
}
|
||||
@media (min-width: 576px) and (max-width: 768px) {
|
||||
.container-fluid {
|
||||
max-width: 100%
|
||||
}
|
||||
}
|
||||
@media (min-width: 768px) and (max-width: 992px) {
|
||||
.news__date {
|
||||
margin: 0 0 0.3125rem
|
||||
}
|
||||
.header__nav > div:first-child {
|
||||
height: 3.3125rem
|
||||
}
|
||||
|
||||
.header__nav > div:first-child .nav {
|
||||
white-space: nowrap
|
||||
}
|
||||
|
||||
.header__nav > div:first-child .nav .nav-item {
|
||||
display: inline-block
|
||||
}
|
||||
.header > .container-fluid {
|
||||
padding-left: 15px;
|
||||
padding-right: 15px
|
||||
}
|
||||
.header .nav {
|
||||
flex-wrap: nowrap
|
||||
}
|
||||
}
|
||||
@media (min-width: 576px) and (max-width: 1200px) {
|
||||
|
||||
#sub_burgerD {
|
||||
opacity: 0;
|
||||
}
|
||||
.header__nav .nav-item:first-child {
|
||||
width: 42px;
|
||||
}
|
||||
.arrow {
|
||||
border: solid black;
|
||||
border-width: 0 2px 2px 0;
|
||||
display: inline-block;
|
||||
padding: 4px;
|
||||
position: absolute;
|
||||
top: 16px;
|
||||
right: 4px ;
|
||||
transform: rotate(-45deg);
|
||||
transition: .25s;
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<!--[critical-styles/styles-default-desktop]-->
|
||||
962
template-parts/critical-styles/styles-default.php
Normal file
962
template-parts/critical-styles/styles-default.php
Normal file
@@ -0,0 +1,962 @@
|
||||
<!--[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]-->
|
||||
519
template-parts/critical-styles/styles-header.php
Normal file
519
template-parts/critical-styles/styles-header.php
Normal file
@@ -0,0 +1,519 @@
|
||||
<!--[critical-styles/styles-header]-->
|
||||
|
||||
<style>
|
||||
#menuD {
|
||||
width: 20px;
|
||||
height: 18px;
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
left: 12px;
|
||||
cursor: pointer;
|
||||
z-index: 17;
|
||||
}
|
||||
header {
|
||||
z-index: 2;
|
||||
}
|
||||
.header__widgets {
|
||||
z-index: 500;
|
||||
}
|
||||
.header__currency__item > span + .header__currency__item > span {
|
||||
margin-left: 0.3125rem;
|
||||
}
|
||||
.header.isSticky > .container-fluid > .row > .col-12:first-child {
|
||||
z-index: 16!important;
|
||||
}
|
||||
.icon--network {
|
||||
max-height: 32px;
|
||||
}
|
||||
.icon--network img {
|
||||
max-height: 32px;
|
||||
}
|
||||
.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;
|
||||
}
|
||||
.header__currency__item>span:first-child {
|
||||
margin-right: 0.625rem;
|
||||
}
|
||||
.header .logo {
|
||||
width: 15.5625rem;
|
||||
}
|
||||
.header__widgets {
|
||||
background: #303030;
|
||||
padding: 0.4375rem 0;
|
||||
white-space: nowrap;
|
||||
z-index: 100;
|
||||
}
|
||||
.header__widgets,
|
||||
.header__widgets a {
|
||||
color: #fff;
|
||||
}
|
||||
.header__widgets > .row > .col-12 {
|
||||
transition: all 0.35s;
|
||||
}
|
||||
.header__currency .up {
|
||||
color: #45C707;
|
||||
}
|
||||
.header__currency .down {
|
||||
color: #B61D1D;
|
||||
}
|
||||
.header__currency__item > span + .header__currency__item > span {
|
||||
margin-left: 0.3125rem;
|
||||
}
|
||||
.header__currency__item > span:first-child {
|
||||
margin-right: 0.625rem;
|
||||
}
|
||||
.header__weather > span {
|
||||
margin: 0 0.3125rem;
|
||||
}
|
||||
.header__delimiter {
|
||||
border-width: 0 1px 0 0;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
@media (max-width: 767.98px) {
|
||||
.header__network .icon--network {
|
||||
display: none;
|
||||
}
|
||||
.header__widgets {
|
||||
display: none;
|
||||
}
|
||||
.header__store {
|
||||
max-width: 5.625rem;
|
||||
max-height: 1.625rem;
|
||||
margin: 0 0 1.75rem;
|
||||
}
|
||||
.header__store:last-child {
|
||||
max-width: 6rem;
|
||||
}
|
||||
.header__network {
|
||||
margin-bottom: 3.125rem;
|
||||
}
|
||||
.header__network ul {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.header__network ul li {
|
||||
margin:0 1.5625rem 0.9375rem 0;
|
||||
}
|
||||
.header .header__nav .float-md-left {
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
}
|
||||
.header .nav-link--feedback {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
padding-right: 1.5625rem;
|
||||
font-family: 'PT Sans', sans-serif;
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-size: 1rem;
|
||||
line-height: 1.3;
|
||||
}
|
||||
.header .nav-link--feedback:before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
border: 1px solid;
|
||||
width: 0.5rem;
|
||||
height: 0.5rem;
|
||||
right: 0.9375rem;
|
||||
top: 55%;
|
||||
transform: translate(0, -50%) rotate(135deg);
|
||||
border-color: #000 transparent transparent #000;
|
||||
}
|
||||
.header .header__nav .float-md-right {
|
||||
display: none!important;
|
||||
}
|
||||
.header .header__nav .nav {
|
||||
font-size: 0;
|
||||
height: 3.75rem;
|
||||
white-space: nowrap;
|
||||
overflow: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
.header .header__nav .nav .nav-link {
|
||||
font-size: 0.875rem;
|
||||
font-weight: 500;
|
||||
line-height: 1.2;
|
||||
padding: 0.9375rem 1.5625rem 0.9375rem 0;
|
||||
}
|
||||
.header .header__nav .nav .nav-item {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.header {
|
||||
background: white;
|
||||
position: fixed!important;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
.header .row {
|
||||
display: block;
|
||||
margin: 0 -1.875rem;
|
||||
}
|
||||
.header .logo {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.header .row > .col-12:nth-child(2) {
|
||||
border-top: 1px solid #C0C0C0;
|
||||
border-width: 1px 0 0;
|
||||
}
|
||||
.header .row > .col-12:last-child,
|
||||
.header .rubric,
|
||||
.header .searchform {
|
||||
display: none!important;
|
||||
}
|
||||
.header .header__nav {
|
||||
padding-top: 0;
|
||||
height: 3.125rem;
|
||||
overflow: hidden;
|
||||
}
|
||||
.logo {
|
||||
max-width: 8.125rem;
|
||||
max-height: 1.75rem;
|
||||
z-index: 12;
|
||||
}
|
||||
#menuM:checked ~ .burger,
|
||||
#menuM:checked ~ .burger-body {
|
||||
display: block;
|
||||
}
|
||||
#menuM:checked ~ .toggle-menu::after {
|
||||
top: 0;
|
||||
left: 0;
|
||||
background: #f6f6f6;
|
||||
width: 100%;
|
||||
height: 49px;
|
||||
right: unset;
|
||||
border: none;
|
||||
z-index: 8;
|
||||
}
|
||||
#sub_burgerM:checked ~ .burger-body__sub {
|
||||
display: block;
|
||||
}
|
||||
#sub_burgerM:checked ~ .toggleSubmenu .arrow {
|
||||
transform: rotate(-135deg);
|
||||
}
|
||||
}
|
||||
@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;
|
||||
}
|
||||
|
||||
.header__network {
|
||||
position: relative;
|
||||
width: 6.625rem;
|
||||
max-width: 6.625rem;
|
||||
padding-left: 10px;
|
||||
display: inline-table;
|
||||
border-radius: 5px;
|
||||
transform-style: preserve-3d;
|
||||
perspective: 200px;
|
||||
z-index: 4;
|
||||
}
|
||||
.header__network .icon {
|
||||
display: block;
|
||||
}
|
||||
.header__network .icon--network {
|
||||
min-width: 111px;
|
||||
}
|
||||
.header__network > li {
|
||||
cursor: pointer;
|
||||
list-style: none;
|
||||
}
|
||||
.header__network > li:hover > ul {
|
||||
transition:all 200ms ease-in-out 0ms;
|
||||
transform:rotateX(0deg);
|
||||
box-shadow: 4px 6px 10px rgba(0, 0, 0, 0.1);
|
||||
opacity: 1.0;
|
||||
}
|
||||
.header__network ul {
|
||||
background: #ececec;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
width: 9.375rem;
|
||||
max-width: 9.375rem;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
opacity: 0.0;
|
||||
z-index: 10;
|
||||
padding: 0.4375rem 0.5625rem 0.625rem;
|
||||
|
||||
transition: all 200ms ease-in-out 200ms;
|
||||
transform: rotateX(-90deg);
|
||||
transform-origin: 0% 0%;
|
||||
backface-visibility: hidden;
|
||||
box-shadow: 0 -50px 250px rgba(0, 0, 0, 0);
|
||||
}
|
||||
.header__network ul li {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin: 0 7px 0;
|
||||
}
|
||||
.header__network ul li .icon {
|
||||
margin: 0.5rem 0 0.4375rem;
|
||||
}
|
||||
.header .isSticky .logo {
|
||||
width: 144px;
|
||||
height: auto;
|
||||
position: absolute;
|
||||
left: 60px;
|
||||
bottom: -75px;
|
||||
max-width: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 991.98px) {
|
||||
.header__network {
|
||||
padding: 0;
|
||||
}
|
||||
.header__network li ul {
|
||||
margin-top: 15px;
|
||||
}
|
||||
.header__network ul {
|
||||
padding: 0;
|
||||
}
|
||||
.header__network li,
|
||||
.header__network ul {
|
||||
list-style: none;
|
||||
}
|
||||
.header__social .icon {
|
||||
position: relative;
|
||||
}
|
||||
.icon {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
border-radius: 4px;
|
||||
width: 1.875rem;
|
||||
height: 1.875rem;
|
||||
text-align: center;
|
||||
}
|
||||
.header {
|
||||
z-index: 200;
|
||||
position: relative;
|
||||
}
|
||||
.header > .container-fluid {
|
||||
padding-left: 15px;
|
||||
padding-right: 15px;
|
||||
}
|
||||
.header > .row {
|
||||
padding-left: -15px;
|
||||
padding-right: -15px;
|
||||
}
|
||||
.header__social {
|
||||
float: right;
|
||||
padding-top: 0.9375rem;
|
||||
}
|
||||
.header__widgets {
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
.header__nav .nav-link {
|
||||
text-align: left;
|
||||
color: #000;
|
||||
font-size: 0.75rem;
|
||||
padding-left: 0.25rem;
|
||||
padding-right: 0.25rem;
|
||||
}
|
||||
.header__currency__item + .header__currency__item {
|
||||
margin-left: 0.625rem;
|
||||
}
|
||||
}
|
||||
@media (min-width: 992px) {
|
||||
.header__title {
|
||||
position: relative;
|
||||
font-size: 24px;
|
||||
line-height: 1.08;
|
||||
margin-left: 35px;
|
||||
padding: 5px 0 2px 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.header__title a {
|
||||
position: relative;
|
||||
margin-right: 20px;
|
||||
}
|
||||
.header__title a:before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: -15px;
|
||||
width: 3px;
|
||||
height: 80%;
|
||||
border-left: 3px solid;
|
||||
transform: translate(0, -40%);
|
||||
}
|
||||
.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: 1199.98px) {
|
||||
.header__title {
|
||||
display: none;
|
||||
}
|
||||
body.branding .header__widgets {
|
||||
max-width: 882px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) and (max-width: 1199.98px) {
|
||||
.burger {
|
||||
overflow-y: scroll;
|
||||
max-height: calc(100vh - 120px);
|
||||
}
|
||||
.isSticky .burger {
|
||||
overflow-y: scroll;
|
||||
max-height: calc(100vh - 40px);
|
||||
}
|
||||
#menuD:checked ~ .toggle-menu {
|
||||
width: 100%;
|
||||
height: 47px;
|
||||
background: #f6f6f6;
|
||||
z-index: 8;
|
||||
padding-right: 272px;
|
||||
position: relative;
|
||||
top: 3px;
|
||||
left: 6px;
|
||||
}
|
||||
.p-none:hover .burger-body__sub {
|
||||
box-shadow: none;
|
||||
border: none;
|
||||
}
|
||||
#sub_burgerM:checked ~ .toggleSubmenu .arrow {
|
||||
transform: rotate(135deg);
|
||||
}
|
||||
#sub_burgerM ~ .burger-body__sub {
|
||||
position: relative!important;
|
||||
top: 0!important;
|
||||
left: 0!important;
|
||||
border: none!important;
|
||||
box-shadow: none!important;
|
||||
margin: 0!important;
|
||||
padding: 0!important;
|
||||
max-width: 250px;
|
||||
}
|
||||
}
|
||||
@media (min-width: 576px) and (max-width: 1199.98px) {
|
||||
|
||||
#sub_burgerD {
|
||||
opacity: 0;
|
||||
}
|
||||
.header__nav .nav-item:first-child {
|
||||
width: 42px;
|
||||
}
|
||||
}
|
||||
@media (min-width: 768px) and (max-width: 991.98px) {
|
||||
.header__network {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.logo {
|
||||
height: 60px;
|
||||
}
|
||||
|
||||
.header > .container-fluid {
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.header__nav > div:first-child {
|
||||
height: 3.3125rem
|
||||
}
|
||||
|
||||
.header__nav > div:first-child .nav {
|
||||
white-space: nowrap
|
||||
}
|
||||
|
||||
.header__nav > div:first-child .nav .nav-item {
|
||||
display: inline-block
|
||||
}
|
||||
.header > .container-fluid {
|
||||
padding-left: 15px;
|
||||
padding-right: 15px
|
||||
}
|
||||
.header .nav {
|
||||
flex-wrap: nowrap
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<!--[/critical-styles/styles-header]-->
|
||||
133
template-parts/critical-styles/styles-home.php
Normal file
133
template-parts/critical-styles/styles-home.php
Normal file
@@ -0,0 +1,133 @@
|
||||
<!--[critical-styles/styles-home]-->
|
||||
|
||||
<style>
|
||||
.nav {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
padding-left: 0;
|
||||
margin-bottom: 0;
|
||||
list-style: none;
|
||||
}
|
||||
.nav-link {
|
||||
display: block;
|
||||
padding: 0.5rem 1rem;
|
||||
}
|
||||
.nav-tabs.news__tabs > li:first-child a + a {
|
||||
display:none;
|
||||
}
|
||||
.nav-tabs.news__tabs > li:first-child a.active {
|
||||
display:none;
|
||||
}
|
||||
.nav-tabs.news__tabs > li:first-child a.active + a {
|
||||
display:block;
|
||||
}
|
||||
.news {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 0 0 1;
|
||||
}
|
||||
.news__tabs .nav-item:first-child .nav-link {
|
||||
border-radius: 6px 0 0 0;
|
||||
}
|
||||
.news__tabs .nav-item {
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
}
|
||||
.news__tabs {
|
||||
justify-content: space-between;
|
||||
border: 0 none;
|
||||
padding-bottom: 1px;
|
||||
}
|
||||
.news__tabs-content .tab-pane {
|
||||
padding: 0;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
|
||||
.tab-pane {
|
||||
display: none;
|
||||
}
|
||||
.tab-content .active {
|
||||
display: block;
|
||||
}
|
||||
.news__tabs .nav-link.active, .news__tabs .nav-link.active + a {
|
||||
background-color: #FFF;
|
||||
border-color: #D4D4D4;
|
||||
color: #000;
|
||||
font-weight: 700;
|
||||
}
|
||||
.news__tabs .nav-link {
|
||||
background-color: #ECECEC;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
font-size: 1.125rem;
|
||||
font-weight: 500;
|
||||
color: #BFBFBF;
|
||||
}
|
||||
.news__body {
|
||||
border-style: solid;
|
||||
border-color: #ECECEC;
|
||||
border-width: 0 1px 1px 1px;
|
||||
border-radius: 0 0 6px 6px;
|
||||
flex: 1;
|
||||
position: relative;
|
||||
max-height: 514px;
|
||||
}
|
||||
.news__body__inner {
|
||||
overflow-x: hidden;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
.news__body__inner::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
.news__body:after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: -1px;
|
||||
height: 2.5rem;
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0)), to(white));
|
||||
background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0, #fff 100%);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.news__body__inner {
|
||||
background-color: #fff;
|
||||
padding: 0.875rem 0.625rem;
|
||||
max-height: 514px;
|
||||
}
|
||||
.news__date {
|
||||
font-size: 0.625rem;
|
||||
line-height: 1.1;
|
||||
color:#505258;
|
||||
margin: 0 0 0.4375rem;
|
||||
}
|
||||
.news__list {
|
||||
margin: 0 0 1.125rem;
|
||||
padding: 0;
|
||||
list-style-type: none;
|
||||
}
|
||||
.news__list li {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
}
|
||||
.news__time {
|
||||
font-size: 0.75rem;
|
||||
font-weight: 700;
|
||||
line-height: 1.2;
|
||||
color: #B61D1D;
|
||||
min-width: 2.5rem;
|
||||
}
|
||||
.news__name.active {
|
||||
color: #B61D1D;
|
||||
}
|
||||
.article--main .article__title {
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
|
||||
<!--[/critical-styles/styles-home]-->
|
||||
116
template-parts/critical-styles/styles-search.php
Normal file
116
template-parts/critical-styles/styles-search.php
Normal file
@@ -0,0 +1,116 @@
|
||||
<!--[critical-styles/styles-search]-->
|
||||
|
||||
<style>
|
||||
.highlight {
|
||||
background:#ffcc00;
|
||||
font-weight:bold;
|
||||
}
|
||||
.search .search__title {
|
||||
font-size: 1.125rem;
|
||||
line-height: 1.30;
|
||||
margin: 0 0 0.625rem;
|
||||
}
|
||||
.search .searchform input[type="search"] {
|
||||
position: relative;
|
||||
opacity: 1.0;
|
||||
width: 100%;
|
||||
}
|
||||
.search .searchform {
|
||||
position: relative;
|
||||
}
|
||||
.searchform__btn {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
}
|
||||
.main .searchform__btn,
|
||||
.site-main .searchform__btn {
|
||||
float: right;
|
||||
}
|
||||
input[type="text"],
|
||||
input[type="search"] {
|
||||
background: #fff;
|
||||
width: 100%;
|
||||
font-size: 0.75rem;
|
||||
color:#505258;
|
||||
border: solid #C0C0C0;
|
||||
border-width: 1px 0;
|
||||
padding: 0.3125rem 0;
|
||||
height: 2rem;
|
||||
}
|
||||
.searchform {
|
||||
position: relative;
|
||||
}
|
||||
.searchform input[type="search"] {
|
||||
position: relative;
|
||||
opacity: 1.0;
|
||||
width: 100%;
|
||||
}
|
||||
.searchform .search__filter select {
|
||||
max-width: 120px;
|
||||
}
|
||||
.search__body,
|
||||
.search__body p {
|
||||
margin: 0 0 0.75rem;
|
||||
}
|
||||
.searchform__btn {
|
||||
background: transparent;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
border: 0 none;
|
||||
padding: 0.3125rem;
|
||||
cursor: pointer;
|
||||
width: 1.875rem;
|
||||
line-height: 2.3125rem;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
z-index: 2;
|
||||
}
|
||||
.search__filter {
|
||||
display: flex;
|
||||
margin: 0.75rem 0 1.25rem;
|
||||
}
|
||||
.search__filter__rubric,
|
||||
.search__filter__time {
|
||||
background: rgba(255, 255, 255, 0.01);
|
||||
margin-right: 20px;
|
||||
padding-left: 0;
|
||||
border-radius: 0;
|
||||
border: 0 none;
|
||||
height: auto;
|
||||
line-height: 1.1;
|
||||
}
|
||||
.search__filter__rubric .option,
|
||||
.search__filter__time .option {
|
||||
min-height: 32px;
|
||||
line-height: 22px;
|
||||
padding: 5px 10px;
|
||||
border-radius: 0;
|
||||
transform-origin: top left;
|
||||
box-shadow: 0 0 0 1px rgba(192, 192, 192, 0.5);
|
||||
}
|
||||
.search__filter__rubric:after,
|
||||
.search__filter__time:after {
|
||||
border-bottom-width: 1px;
|
||||
border-right-width: 1px;
|
||||
border-bottom-color: #000;
|
||||
border-right-color: #000;
|
||||
margin-top: -8px;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
.search .searchform input[type="search"] {
|
||||
font-size: 24px;
|
||||
min-height: 50px;
|
||||
}
|
||||
.search .searchform__btn {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
padding: 13px;
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<!--[/critical-styles/styles-search]-->
|
||||
105
template-parts/critical-styles/styles-single-gallery.php
Normal file
105
template-parts/critical-styles/styles-single-gallery.php
Normal file
@@ -0,0 +1,105 @@
|
||||
<!--[critical-styles/styles-single-gallery]-->
|
||||
|
||||
<style>
|
||||
.nav {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
padding-left: 0;
|
||||
margin-bottom: 0;
|
||||
list-style: none;
|
||||
}
|
||||
.nav-link {
|
||||
display: block;
|
||||
padding: 0.5rem 1rem;
|
||||
}
|
||||
.nav-tabs .nav-link {
|
||||
margin-bottom: -1px;
|
||||
border: 1px solid;
|
||||
border-color: #dee2e6 #dee2e6 #dee2e6 transparent;
|
||||
}
|
||||
.news {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 0 0 1;
|
||||
}
|
||||
.news__tabs .nav-item:first-child .nav-link {
|
||||
border-radius: 6px 0 0 0;
|
||||
}
|
||||
.news__tabs .nav-item {
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
}
|
||||
.news__tabs {
|
||||
justify-content: space-between;
|
||||
border: 0 none;
|
||||
padding-bottom: 1px;
|
||||
}
|
||||
.news__tabs-content .tab-pane {
|
||||
padding: 0;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
|
||||
.tab-pane {
|
||||
display: none;
|
||||
}
|
||||
.tab-content .active {
|
||||
display: block;
|
||||
}
|
||||
.news__tabs .nav-link.active {
|
||||
background-color: #FFF;
|
||||
border-color: #D4D4D4;
|
||||
color: #000;
|
||||
font-weight: 700;
|
||||
}
|
||||
.news__tabs .nav-link {
|
||||
background-color: #ECECEC;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
font-size: 1.125rem;
|
||||
font-weight: 500;
|
||||
color: #BFBFBF;
|
||||
}
|
||||
.news__body {
|
||||
border-style: solid;
|
||||
border-color: #ECECEC;
|
||||
border-width: 0 1px 1px 1px;
|
||||
border-radius: 0 0 6px 6px;
|
||||
flex: 1;
|
||||
position: relative;
|
||||
}
|
||||
.news__body__inner {
|
||||
background-color: #fff;
|
||||
padding: 0.875rem 0.625rem;
|
||||
}
|
||||
.news__date {
|
||||
font-size: 0.625rem;
|
||||
line-height: 1.1;
|
||||
color:#505258;
|
||||
margin: 0 0 0.4375rem;
|
||||
}
|
||||
.news__list {
|
||||
margin: 0 0 1.125rem;
|
||||
padding: 0;
|
||||
list-style-type: none;
|
||||
}
|
||||
.news__list li {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
}
|
||||
.news__time {
|
||||
font-size: 0.75rem;
|
||||
font-weight: 700;
|
||||
line-height: 1.2;
|
||||
color: #B61D1D;
|
||||
min-width: 2.5rem;
|
||||
}
|
||||
.news__name.active {
|
||||
color: #B61D1D;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<!--[/critical-styles/styles-single-gallery]-->
|
||||
200
template-parts/critical-styles/styles-single.php
Normal file
200
template-parts/critical-styles/styles-single.php
Normal file
@@ -0,0 +1,200 @@
|
||||
<!--[critical-styles/styles-single]-->
|
||||
|
||||
<style>
|
||||
.author {
|
||||
position: relative;
|
||||
margin: 0 0 30px;
|
||||
}
|
||||
|
||||
.author__title {
|
||||
font-size: 1.625rem;
|
||||
line-height: 1;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.author__post {
|
||||
font-size: .875rem;
|
||||
}
|
||||
|
||||
.author__footer {
|
||||
color:#505258;
|
||||
border-top: 1px solid silver;
|
||||
padding: 11px 0 0;
|
||||
font-size: 12px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.author__footer a {
|
||||
text-decoration: underline;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.author:before {
|
||||
content: '';
|
||||
background: #ececec;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
}
|
||||
@media (max-width: 991.98px) {
|
||||
.author:before {
|
||||
top: 104px;
|
||||
}
|
||||
}
|
||||
.nav {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
padding-left: 0;
|
||||
margin-bottom: 0;
|
||||
list-style: none;
|
||||
}
|
||||
.nav-link {
|
||||
display: block;
|
||||
padding: 0.5rem 1rem;
|
||||
}
|
||||
|
||||
.news {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 0 0 1;
|
||||
}
|
||||
.news__tabs .nav-item:first-child .nav-link {
|
||||
border-radius: 6px 0 0 0;
|
||||
}
|
||||
.news__tabs .nav-item {
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
}
|
||||
.news__tabs-content .tab-pane {
|
||||
padding: 0;
|
||||
height: 100%;
|
||||
}
|
||||
.news__tabs {
|
||||
justify-content: space-between;
|
||||
border: 0 none;
|
||||
padding-bottom: 1px;
|
||||
}
|
||||
.news__tabs-content .tab-pane {
|
||||
padding: 0;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
|
||||
.tab-pane {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.tab-content .active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.news__tabs .nav-link.active {
|
||||
background-color: #FFF;
|
||||
border-color: #D4D4D4;
|
||||
color: #000;
|
||||
font-weight: 700;
|
||||
}
|
||||
.news__tabs .nav-link {
|
||||
background-color: #ECECEC;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
font-size: 1.125rem;
|
||||
font-weight: 500;
|
||||
color: #BFBFBF;
|
||||
}
|
||||
.news__body {
|
||||
border-style: solid;
|
||||
border-color: #ECECEC;
|
||||
border-width: 0 1px 1px 1px;
|
||||
border-radius: 0 0 6px 6px;
|
||||
flex: 1;
|
||||
position: relative;
|
||||
}
|
||||
.news__body__inner {
|
||||
background-color: #fff;
|
||||
padding: 0.875rem 0.625rem;
|
||||
}
|
||||
.news__date {
|
||||
font-size: 0.625rem;
|
||||
line-height: 1.1;
|
||||
color:#505258;
|
||||
margin: 0 0 0.4375rem;
|
||||
}
|
||||
.news__list {
|
||||
margin: 0 0 1.125rem;
|
||||
padding: 0;
|
||||
list-style-type: none;
|
||||
}
|
||||
.news__list li {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
}
|
||||
.news__time {
|
||||
font-size: 0.75rem;
|
||||
font-weight: 700;
|
||||
line-height: 1.2;
|
||||
color: #B61D1D;
|
||||
min-width: 2.5rem;
|
||||
}
|
||||
.news__name.active {
|
||||
color: #B61D1D;
|
||||
}
|
||||
|
||||
.profile_onenews {
|
||||
margin: 0 0 1.875rem;
|
||||
}
|
||||
|
||||
|
||||
.author {
|
||||
position: relative;
|
||||
margin: 0 0 30px;
|
||||
padding-top: 16px;
|
||||
}
|
||||
.author__title {
|
||||
font-size: 26px;
|
||||
line-height: 1.0;
|
||||
font-weight: 700;
|
||||
}
|
||||
.author__post {
|
||||
font-size: 14px;
|
||||
}
|
||||
.author__footer {
|
||||
color:#505258;
|
||||
border-top: 1px solid #C0C0C0;
|
||||
padding: 11px 0 0;
|
||||
font-size: 12px;
|
||||
line-height: 1;
|
||||
}
|
||||
.author__footer a {
|
||||
text-decoration: underline;
|
||||
color: inherit;
|
||||
}
|
||||
.author__footer:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
.author:before {
|
||||
content: '';
|
||||
background: #ececec;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.profile_onenews .profile_onenews__title {
|
||||
margin: -0.625rem 0 0.1875rem;
|
||||
font-size: 2.375rem;
|
||||
line-height: 1.2;
|
||||
margin: 0 0 0.625rem;
|
||||
}
|
||||
.profile_onenews__title {
|
||||
font-weight: 400;
|
||||
}
|
||||
</style>
|
||||
|
||||
<!--[/critical-styles/styles-single]-->
|
||||
233
template-parts/critical-styles/styles-tag.php
Normal file
233
template-parts/critical-styles/styles-tag.php
Normal file
@@ -0,0 +1,233 @@
|
||||
<!--[critical-styles/styles-tag]-->
|
||||
|
||||
<style>
|
||||
.tag {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
margin-bottom: 1.875rem;
|
||||
}
|
||||
.tag__body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: flex-end;
|
||||
margin-bottom: 2.5rem;
|
||||
}
|
||||
.tag-main {
|
||||
position:absolute;
|
||||
width:100%;
|
||||
height:100%;
|
||||
background:rgba(0,0,0, 0.35);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: flex-end;
|
||||
|
||||
}
|
||||
.tag figure:first-child {
|
||||
margin: 0;
|
||||
}
|
||||
.tag figure img {
|
||||
width: 100%;
|
||||
}
|
||||
.tag__img {
|
||||
width: 100%;
|
||||
}
|
||||
.tag__body .tag__body__title {
|
||||
font-size: 3rem;
|
||||
font-weight: 500;
|
||||
line-height: 1;
|
||||
position: relative;
|
||||
color: #fff;
|
||||
}
|
||||
.tag__body .tag__body__title img {
|
||||
margin-top: -6px;
|
||||
}
|
||||
.tag__body .tag__body__title svg {
|
||||
content: '';
|
||||
position: absolute;
|
||||
width: 45px;
|
||||
height: 45px;
|
||||
left: 0;
|
||||
top: 0.1875rem;
|
||||
transform: translate(-54px, 0);
|
||||
}
|
||||
.tag__body .tag__body__text {
|
||||
font-size: 1rem;
|
||||
line-height: 1.5;
|
||||
}
|
||||
.tag__body,
|
||||
.tag__body a {
|
||||
color: white;
|
||||
}
|
||||
.taglist__body,
|
||||
.taglist__body p {
|
||||
margin: 0 0 0.75rem;
|
||||
}
|
||||
.taglist {
|
||||
margin: 0 0 3.75rem;
|
||||
}
|
||||
.taglist__body {
|
||||
font-size: 1rem;
|
||||
line-height: 1.6;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
.taglist__frame {
|
||||
display: block;
|
||||
width: 100%;
|
||||
margin-top: .125rem;
|
||||
margin-right: 1.25rem;
|
||||
overflow: hidden;
|
||||
}
|
||||
.taglist__frame img {
|
||||
height: auto;
|
||||
}
|
||||
.taglist__title {
|
||||
font-size: 1.5rem;
|
||||
line-height: 1.30;
|
||||
font-weight: 700;
|
||||
margin: 0 0 0.625rem;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
.taglist__text {
|
||||
font-size: 0.875rem;
|
||||
|
||||
}
|
||||
.taglist .taglist__title {
|
||||
margin: 0 0 0.625rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
.taglist .taglist__title a {
|
||||
font-size: 1.25rem;
|
||||
line-height: 1.2;
|
||||
color: #212529;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.tag__body .tag__body__title {
|
||||
margin: 0 0 1.5625rem;
|
||||
}
|
||||
.tag-main {
|
||||
position: absolute;
|
||||
padding: 2.5rem 2.5rem 3.625rem 1.5625rem;
|
||||
}
|
||||
.tag__body__text {
|
||||
padding-left: 51px;
|
||||
}
|
||||
.taglist__frame {
|
||||
display: block;
|
||||
margin-top: .125rem;
|
||||
min-width: 14rem;
|
||||
width: 14rem;
|
||||
margin-right: 1.25rem;
|
||||
overflow: hidden;
|
||||
}
|
||||
.taglist__frame img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
@media (max-width: 767.98px) {
|
||||
.tag__body {
|
||||
margin-bottom: 1.25rem;
|
||||
}
|
||||
.tag-mobile__text {
|
||||
margin-bottom: 2.5rem;
|
||||
font-size: 14px;
|
||||
}
|
||||
.tag-main {
|
||||
padding: 0 2.5rem 1.25rem 0.9375rem;
|
||||
}
|
||||
.tag-tablet {
|
||||
display: none;
|
||||
}
|
||||
.tag {
|
||||
width: 109%;
|
||||
margin-left: -15px;
|
||||
overflow: unset;
|
||||
}
|
||||
.tag__body .tag__body__title {
|
||||
font-size: 2rem;
|
||||
margin-left: 0.625rem;
|
||||
}
|
||||
.tag__body__text {
|
||||
font-size: 0.875rem;
|
||||
line-height: 21px;
|
||||
}
|
||||
.tag__img {
|
||||
position: absolute;
|
||||
max-width: none;
|
||||
width: auto;
|
||||
min-height: 100%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, 0);
|
||||
}
|
||||
.taglist__title {
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
.taglist__body {
|
||||
margin-top: 20px;
|
||||
}
|
||||
.taglist__body h3 {
|
||||
margin-top: 20px;
|
||||
font-size: 18px;
|
||||
line-height: 20px;
|
||||
}
|
||||
.taglist__frame img {
|
||||
width: 100%;
|
||||
}
|
||||
.tag__body__title img {
|
||||
width: 100%;
|
||||
max-width: 24px;
|
||||
margin-bottom: -2px;
|
||||
margin-right: 8px;
|
||||
display: unset;
|
||||
}
|
||||
|
||||
.tag .profile_onenews__picture {
|
||||
position: relative;
|
||||
display:block;
|
||||
}
|
||||
.tag__body .tag__body__text {
|
||||
font-size: 0.875rem;
|
||||
line-height: 21px;
|
||||
padding: 1.0625rem 1.25rem;
|
||||
}
|
||||
.tag__body__title img {
|
||||
width: 100%;
|
||||
max-width: 24px;
|
||||
margin-bottom: -2px;
|
||||
margin-right: 8px;
|
||||
display: unset;
|
||||
}
|
||||
|
||||
.tag .profile_onenews__picture {
|
||||
position: relative;
|
||||
display:block;
|
||||
}
|
||||
.tag__body .tag__body__text {
|
||||
font-size: 0.875rem;
|
||||
line-height: 21px;
|
||||
padding: 1.0625rem 1.25rem;
|
||||
}
|
||||
.tag__body .tag__body__title {
|
||||
position: absolute;
|
||||
font-size: 2rem;
|
||||
font-weight: 500;
|
||||
line-height: 1;
|
||||
z-index: 2;
|
||||
}
|
||||
.tag__body {
|
||||
position: relative;
|
||||
|
||||
color: #000;
|
||||
background: none;
|
||||
}
|
||||
.tag__body .tag__body__title h1 {
|
||||
font-size: 1.5rem;
|
||||
line-height: 1.30;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<!--[/critical-styles/styles-tag]-->
|
||||
Reference in New Issue
Block a user