Files
agroexpert/frontend/src/styles/components/shared.css
2024-03-01 17:47:03 +03:00

80 lines
1.1 KiB
CSS

.tag {
font-size: 1.1rem;
border: 1px solid white;
border-radius: 5rem;
color: white;
padding: 0.1rem 1.2rem;
}
.article-time {
display: flex;
align-items: center;
gap: 0.8rem;
margin-bottom: 0.5rem;
}
.span-2 {
grid-column: span 2;
}
.link::after {
content: '';
width: 1.5rem;
height: 0.9rem;
margin-left: 0.8rem;
display: inline-block;
background-repeat: no-repeat;
background-image: url('/icons/arrow.svg');
}
.doc {
display: flex;
gap: 1rem;
padding-bottom: 20px;
margin-top: 2rem;
border-bottom: 0.1rem solid rgba(0, 0, 0, 0.1);
}
.doc::before {
content: '';
height: 3rem;
flex-shrink: 0;
width: 3.6rem;
background-repeat: no-repeat;
background-image: url('/icons/doc.svg');
}
.doc:last-child {
border-bottom: none;
}
.mobile {
display: none !important;
}
@media (max-width: 1024px) {
.desktop {
display: none !important;
}
.mobile {
display: inherit !important;
}
}
@media (max-width: 1300px) {
.footer__socials {
margin: 2rem 0;
}
}
.suggestion-container {
display: flex;
width: 100%;
flex-wrap: wrap;
}
.border-top {
border-top: 1px solid var(--gray);
}