This repository has been archived on 2025-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
coryd.dev-eleventy/src/assets/styles/components/banners.css
2024-03-02 07:51:44 -08:00

32 lines
No EOL
501 B
CSS

.banner {
margin: 1rem 0;
padding: .75rem;
border: 1px solid;
border-radius: var(--rounded-lg);
}
.banner.old-post {
border-color: var(--gray-light);
}
.banner.npm {
border-color: var(--brand-npm);
}
.banner.npm svg {
stroke: var(--brand-npm);
}
.banner p {
font-size: var(--font-size-sm);
line-height: var(--line-height-sm);
margin: 0 !important;
}
.banner p > svg {
display: inline;
vertical-align: middle;
height: .875rem;
width: .875rem;
margin-right: .125rem;
}