Files
profile/template-parts/critical-styles/styles-single-gallery.php

105 lines
2.3 KiB
PHP
Raw Permalink Normal View History

2025-07-09 21:21:17 +03:00
<!--[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]-->