ADD: Responsiveness
This commit is contained in:
parent
8395825aea
commit
236aa01d6e
7 changed files with 106 additions and 43 deletions
31
components/Person/Person.css
Normal file
31
components/Person/Person.css
Normal file
|
@ -0,0 +1,31 @@
|
|||
.Person {
|
||||
flex: 1 1;
|
||||
flex-basis: 300px;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
|
||||
& img {
|
||||
border: 4px solid var(--color-orange);
|
||||
border-radius: 50%;
|
||||
width: 150px;
|
||||
}
|
||||
|
||||
& span {
|
||||
font-family: 'Roboto Condensed', sans-serif;
|
||||
font-weight: bold;
|
||||
|
||||
&:not(:last-child):after {
|
||||
content: " | "
|
||||
}
|
||||
}
|
||||
|
||||
& p {
|
||||
text-align: center;
|
||||
white-space: pre-wrap;
|
||||
|
||||
&:first-of-type {
|
||||
margin-top: -1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue