1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-27 07:38:29 -04:00
jarv.is/components/notes/Meta.module.scss

71 lines
1021 B
SCSS

.meta {
display: flex;
flex-wrap: wrap;
font-size: 0.825em;
line-height: 2.3;
letter-spacing: 0.04em;
color: var(--medium);
a {
color: inherit;
background: none;
padding-bottom: 0;
}
> div {
display: inline-flex;
margin-right: 1.6em;
white-space: nowrap;
&:last-of-type {
margin-right: 0;
}
}
}
.icon {
margin-right: 0.6em;
}
.date,
.edit {
a {
display: inline-flex;
}
}
.tags {
white-space: normal;
display: inline-flex;
flex-wrap: wrap;
.tag {
text-transform: lowercase;
white-space: nowrap;
margin-right: 0.75em;
&::before {
content: "#"; // cosmetically hashtagify tags
padding-right: 0.125em;
color: var(--light);
}
&:last-of-type {
margin-right: 0;
}
}
}
.title {
margin: 0.3em 0 0.5em -0.03em; // TODO: why is this indented slightly?
font-size: 2.1em;
line-height: 1.3;
font-weight: 700;
a {
background: none;
padding-bottom: 0;
color: inherit;
}
}