refactor: resource attribution
This commit is contained in:
parent
1a61aeade0
commit
24bfa733ba
12 changed files with 169 additions and 99 deletions
17
assets/css/components/_attr.scss
Normal file
17
assets/css/components/_attr.scss
Normal file
|
@ -0,0 +1,17 @@
|
|||
.attr {
|
||||
position: absolute;
|
||||
background-color: $dark;
|
||||
font-size: 0.7em;
|
||||
color: $light;
|
||||
inline-size: fit-content;
|
||||
padding-block: 0.2em;
|
||||
padding-inline: 0.5em;
|
||||
opacity: 0.8;
|
||||
margin-block: 0 !important;
|
||||
margin-inline: auto;
|
||||
top: 0;
|
||||
|
||||
& a {
|
||||
color: $light;
|
||||
}
|
||||
}
|
|
@ -1,6 +1,7 @@
|
|||
.figure {
|
||||
inline-size: fit-content;
|
||||
margin: 16px auto;
|
||||
position: relative;
|
||||
|
||||
&--chart {
|
||||
margin: 0;
|
||||
|
|
|
@ -9,11 +9,18 @@ video {
|
|||
display: block;
|
||||
}
|
||||
|
||||
.picture {
|
||||
.picture__wrapper {
|
||||
position: relative;
|
||||
margin: auto;
|
||||
block-size: auto;
|
||||
width: fit-content;
|
||||
max-block-size: 50vh;
|
||||
|
||||
& .picture {
|
||||
display: block;
|
||||
inline-size: auto;
|
||||
max-inline-size: 100%;
|
||||
margin: auto;
|
||||
block-size: auto;
|
||||
max-block-size: 50vh;
|
||||
|
||||
& img {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue