miglioramenti stilistici
This commit is contained in:
+73
-32
@@ -15,6 +15,12 @@ $news-accent-bg: #f8e8b1;
|
||||
font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-family: 'Space Mono', monospace;
|
||||
font-weight: 700;
|
||||
font-size: 28px;
|
||||
}
|
||||
|
||||
.search {
|
||||
width: 100%;
|
||||
height: 2.5rem;
|
||||
@@ -185,11 +191,6 @@ $news-accent-bg: #f8e8b1;
|
||||
|
||||
row-gap: 0.5rem;
|
||||
padding: 1rem;
|
||||
.title {
|
||||
font-family: 'Source Sans Pro', sans-serif;
|
||||
font-weight: 700;
|
||||
font-size: 32px;
|
||||
}
|
||||
|
||||
.description {
|
||||
font-size: 16px;
|
||||
@@ -200,6 +201,7 @@ $news-accent-bg: #f8e8b1;
|
||||
gap: 0.5rem;
|
||||
flex-wrap: wrap;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
color: #555;
|
||||
}
|
||||
}
|
||||
@@ -211,66 +213,105 @@ $news-accent-bg: #f8e8b1;
|
||||
|
||||
.news-item {
|
||||
background: $news-bg;
|
||||
|
||||
color: #111;
|
||||
|
||||
@include neo-brutalist-card($size: 3px, $offset: 9px);
|
||||
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
|
||||
width: 22rem;
|
||||
max-height: 27rem;
|
||||
|
||||
|
||||
overflow: hidden;
|
||||
|
||||
::-webkit-scrollbar {
|
||||
width: 10px;
|
||||
}
|
||||
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background-color: #c67e14;
|
||||
border: 2px solid #222;
|
||||
|
||||
|
||||
&:hover {
|
||||
background-color: #e69419;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
a {
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
color: #c67e14;
|
||||
|
||||
|
||||
&:hover {
|
||||
text-decoration: underline solid 2px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
& > .title {
|
||||
// border-bottom: 2px solid #222;
|
||||
|
||||
border-top-left-radius: 9px;
|
||||
border-top-right-radius: 9px;
|
||||
|
||||
padding: 1rem;
|
||||
background: $news-accent-bg;
|
||||
|
||||
font-family: 'Source Sans Pro', sans-serif;
|
||||
font-weight: 700;
|
||||
font-size: 32px;
|
||||
line-height: 1;
|
||||
font-size: 26px;
|
||||
}
|
||||
|
||||
a.title {
|
||||
color: #83530c;
|
||||
}
|
||||
|
||||
& > .abstract {
|
||||
flex-grow: 1;
|
||||
|
||||
|
||||
padding: 1rem;
|
||||
|
||||
|
||||
overflow-y: auto;
|
||||
|
||||
|
||||
@extend .text;
|
||||
}
|
||||
& > .continue {
|
||||
|
||||
& > .content {
|
||||
display: flex;
|
||||
padding: 1rem;
|
||||
|
||||
display: grid;
|
||||
align-items: end;
|
||||
justify-content: end;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
|
||||
background: #fff8da;
|
||||
|
||||
& > .continue {
|
||||
padding: 1rem;
|
||||
|
||||
display: grid;
|
||||
align-items: end;
|
||||
justify-content: end;
|
||||
}
|
||||
|
||||
& > .description {
|
||||
font-size: 16px;
|
||||
line-height: 1.5;
|
||||
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
& > .tags {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
flex-wrap: wrap;
|
||||
font-size: 14px;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
& > .date {
|
||||
font-size: 14px;
|
||||
font-style: italic;
|
||||
font-weight: 600;
|
||||
color: #0008;
|
||||
}
|
||||
|
||||
& > .author {
|
||||
font-weight: 600;
|
||||
font-size: 15px;
|
||||
color: #555;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user