urlsnail/resources/sass/app.scss

99 lines
1.5 KiB
SCSS
Raw Normal View History

2024-05-25 13:59:45 +00:00
* {
box-sizing: border-box;
}
html {
margin: 0;
padding: 0;
}
2024-05-25 12:47:48 +00:00
body {
2024-05-25 13:59:45 +00:00
margin: 0;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Adjusted", "Segoe UI", "Liberation Sans", sans-serif;
background-color: #335C67;
}
h1 {
color: #FFF3B0;
text-align: center;
2024-05-25 12:47:48 +00:00
}
.container {
max-width: 40rem;
2024-05-25 13:59:45 +00:00
margin: 1em auto;
2024-05-25 12:47:48 +00:00
}
.bookmark {
2024-05-25 13:59:45 +00:00
display: grid;
align-items: center;
gap: 0px 0px;
grid-template-areas:
"title title"
"href href"
"description description"
"date tags";
margin-bottom: 1em;
padding: 0;
border: 2px solid #540B0E;
background-color: #FFF3B0;
2024-05-25 12:47:48 +00:00
&-title {
2024-05-25 13:59:45 +00:00
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;
2024-05-25 12:47:48 +00:00
}
&-tags {
2024-05-25 13:59:45 +00:00
font-size: 0.8em;
grid-area: tags;
text-align: right;
2024-05-25 12:47:48 +00:00
}
&-tag {
display: inline-block;
padding: 0.5ex 0.8ex;
margin: 0 0 0.2ex 0;
border-radius: 7px;
2024-05-25 13:59:45 +00:00
background-color: #9E2A2B;
color: #FFF3B0;
2024-05-25 12:47:48 +00:00
}
}