urlsnail/resources/sass/components/_bookmark.scss
Annika Backstrom 0b1fe6d491
Remove Livewire
Seems like overkill for this stage of things. It's also not clear to me
how to use Livewire for only a subset of interactive functionality on
the page.
2024-05-26 13:02:44 +01:00

88 lines
1.4 KiB
SCSS

.bookmark {
display: grid;
align-items: center;
gap: 0px 0px;
grid-template-areas:
"title title"
"description description"
"href href"
"date tags";
margin-bottom: 1em;
padding: 0;
border: 2px solid #540B0E;
background-color: #FFF3B0;
border-radius: 7px;
overflow: hidden;
a {
&,
&:active,
&:visited {
color: #9E2A2B;
}
&:hover {
color: #000;
}
}
&-title {
margin: 0;
padding: 1ex;
background-color: #E09F3E;
grid-area: title;
font-weight: bold;
}
&-href,
&-description,
&-date,
&-tags {
padding: 1ex;
margin: 0;
}
&-href,
&-description,
&-date {
font-size: 0.9em;
}
&-href {
grid-area: href;
}
&-description {
grid-area: description;
> p {
border-left: 3px solid #9E2A2B;
margin: 0;
padding: 0.5ex 0 0.5ex 1ex;
}
}
&-date {
grid-area: date;
}
&-tags {
font-size: 0.8em;
grid-area: tags;
text-align: right;
}
&-tag {
display: inline-block;
padding: 0.5ex 0.8ex;
margin: 0 0 0.2ex 0;
border-radius: 7px;
background-color: #9E2A2B;
color: #FFF3B0;
}
}