chore: split out styles + only load where needed
This commit is contained in:
parent
f21e8b18ae
commit
67fcfdb051
26 changed files with 539 additions and 454 deletions
32
src/assets/styles/pages/about.css
Normal file
32
src/assets/styles/pages/about.css
Normal file
|
@ -0,0 +1,32 @@
|
|||
.avatar__wrapper {
|
||||
width: 100%;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.avatar__wrapper .avatar__wrapper--interior {
|
||||
width: 16rem;
|
||||
height: 16rem;
|
||||
border: 1px solid var(--blue-600);
|
||||
border-radius: var(--rounded-full);
|
||||
display: flex;
|
||||
padding: 1rem;
|
||||
background-color: var(--white);
|
||||
}
|
||||
|
||||
.avatar__wrapper,
|
||||
.avatar__wrapper .avatar__wrapper--interior {
|
||||
justify-content: center;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.avatar__wrapper .avatar__wrapper--interior > * {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 768px) {
|
||||
.avatar__wrapper .avatar__wrapper--interior {
|
||||
width: 24rem;
|
||||
height: 24rem;
|
||||
}
|
||||
}
|
Reference in a new issue