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-04-15 09:03:07 -07:00

40 lines
No EOL
661 B
CSS

.banner {
margin: var(--sizing-base) 0;
padding: var(--sizing-md);
border: 1px solid;
border-radius: var(--rounded);
}
.banner.old-post {
border-color: var(--gray-light);
}
.banner.npm {
border-color: var(--brand-npm);
}
.banner.npm svg {
stroke: var(--brand-npm);
}
.banner.github {
border-color: var(--brand-github);
}
.banner.github svg {
stroke: var(--brand-github);
}
.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: var(--sizing-lg);
width: var(--sizing-lg);
margin-right: var(--sizing-xs);
}