Initial commit
This commit is contained in:
79
frontend/src/styles/components/shared.css
Normal file
79
frontend/src/styles/components/shared.css
Normal file
@@ -0,0 +1,79 @@
|
||||
.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);
|
||||
}
|
||||
Reference in New Issue
Block a user