add styles rfo
This commit is contained in:
126
frontend/src/styles/rfo/rfo.css
Normal file
126
frontend/src/styles/rfo/rfo.css
Normal file
@@ -0,0 +1,126 @@
|
||||
.header-rfo {
|
||||
width: 100%;
|
||||
height: 400px;
|
||||
background-image: url('https://agroexpert.press/wp-content/themes/agroexpert/frontend/img/rfo-background.png');
|
||||
background-size: cover; /* Заполняет весь блок, обрезая края */
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
.header__inner_rfo{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.3);
|
||||
padding-bottom: 22px;
|
||||
}
|
||||
|
||||
.header-rfo-line{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 30%;
|
||||
}
|
||||
|
||||
.header-rfo-logoline{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4rem;
|
||||
font-weight: 700;
|
||||
font-size: 1.4rem;
|
||||
line-height: 1.6rem;
|
||||
margin: 0 15px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.header-rfo-menuline{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8rem;
|
||||
font-weight: 700;
|
||||
font-size: 1.4rem;
|
||||
line-height: 1.6rem;
|
||||
margin: 0 15px;
|
||||
}
|
||||
|
||||
.header-rfo-menuline li{
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.content-rfo{
|
||||
margin-top: -152px;
|
||||
width: 1200px;
|
||||
max-width: 1200px;
|
||||
}
|
||||
|
||||
.rfo__rubric{
|
||||
font-family: var(--second-family);
|
||||
font-weight: 700;
|
||||
font-size: 2.4rem;
|
||||
line-height: 150%;
|
||||
text-transform: uppercase;
|
||||
color: #000;
|
||||
margin-bottom: 22px;
|
||||
}
|
||||
|
||||
|
||||
.rfo-single__image{
|
||||
display: inline-block;
|
||||
border-radius: 12px;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.rfo-single__image IMG{
|
||||
border: 8px solid white; /* голубая рамка */
|
||||
border-radius: 22px;
|
||||
width: 98%;
|
||||
}
|
||||
|
||||
.tag {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
background-color: #f0f0f0; /* светлый фон */
|
||||
color: #333;
|
||||
font-size: 12px;
|
||||
padding: 4px 10px;
|
||||
border-top-left-radius: 10px;
|
||||
border-top-right-radius: 0;
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
.article-single--rfo {
|
||||
display: flex;
|
||||
margin: 22px 0 42px 0;
|
||||
}
|
||||
|
||||
.article-single--rfo p {
|
||||
font-weight: 500;
|
||||
font-size: 1.5rem;
|
||||
line-height: 2rem;
|
||||
margin-bottom: 2.5rem;
|
||||
}
|
||||
|
||||
.article-info--rfo{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
flex: 0 0 180px;
|
||||
padding: 0 18px 0 0;
|
||||
}
|
||||
|
||||
.article-info-element--rfo{
|
||||
display: flex;
|
||||
border-bottom: 1px solid var(--gray);
|
||||
gap: 4px;
|
||||
padding: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.article-text--rfo{
|
||||
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user