kgroad-frontend2/src/widgets/report-details/ReportInformation/ReportInformation.scss

108 lines
1.7 KiB
SCSS

.report-information {
max-width: 646px;
display: flex;
flex-direction: column;
gap: 24px;
h2 {
margin-bottom: 4px;
text-align: start;
font-size: 42px;
font-weight: 500;
line-height: 50px;
color: rgb(0, 0, 0);
}
&__date-and-like {
display: flex;
align-items: center;
gap: 80px;
}
&__date {
display: flex;
align-items: center;
gap: 10px;
p {
font-size: 15px;
font-weight: 500;
line-height: 20px;
color: rgba(62, 50, 50, 0.75);
}
}
&__description {
margin-bottom: 4px;
font-size: 20px;
font-weight: 400;
line-height: 34px;
color: rgb(62, 50, 50);
}
&__author {
margin-bottom: 40px;
font-size: 20px;
font-weight: 400;
line-height: 34px;
color: rgb(102, 102, 102);
span {
color: rgb(72, 159, 225);
text-decoration: underline;
}
}
&__show-map {
width: fit-content;
display: flex;
align-items: center;
gap: 6px;
font-size: 20px;
font-weight: 400;
line-height: 34px;
text-decoration: underline;
color: rgb(102, 102, 102);
}
}
@media screen and (max-width: 1024px) {
.report-information {
max-width: 100%;
h2 {
font-size: 36px;
line-height: 43px;
}
&__description {
font-size: 18px;
}
}
}
@media screen and (max-width: 550px) {
.report-information {
h2 {
font-size: 24px;
line-height: 29px;
}
&__description {
font-size: 16px;
line-height: 140%;
}
&__author {
margin-bottom: 0px;
font-size: 16px;
line-height: 34px;
}
&__show-map {
font-size: 16px;
line-height: 34px;
}
}
}