mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
made scalable related card titles
This commit is contained in:
parent
370cf132eb
commit
25dade6c67
2 changed files with 54 additions and 10 deletions
|
@ -32,7 +32,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
.letters {
|
||||
.letters, .title {
|
||||
position: absolute;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
@ -50,3 +50,22 @@
|
|||
transparentize($content_bg, 0.4)
|
||||
);
|
||||
}
|
||||
|
||||
.title {
|
||||
text-transform: uppercase;
|
||||
padding: $gap / 2;
|
||||
box-sizing: border-box;
|
||||
align-items: flex-start;
|
||||
justify-content: flex-start;
|
||||
word-break: break-word;
|
||||
overflow: hidden;
|
||||
color: transparentize(white, 0.3);
|
||||
|
||||
.large & {
|
||||
font: $font_14_semibold;
|
||||
}
|
||||
|
||||
.medium & {
|
||||
font: $font_12_bold;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue