Added radius CSS for header img
This commit is contained in:
parent
2262eb47e3
commit
f847723c2f
3 changed files with 25 additions and 2 deletions
|
@ -194,7 +194,6 @@ hr {
|
||||||
border-width: 0;
|
border-width: 0;
|
||||||
border-top: 1px solid #e1e1e1;
|
border-top: 1px solid #e1e1e1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Radius values:
|
/* Radius values:
|
||||||
|
|
||||||
10%-40%: Squircles
|
10%-40%: Squircles
|
||||||
|
|
|
@ -194,3 +194,15 @@ hr {
|
||||||
border-width: 0;
|
border-width: 0;
|
||||||
border-top: 1px solid #e1e1e1;
|
border-top: 1px solid #e1e1e1;
|
||||||
}
|
}
|
||||||
|
/* Radius values:
|
||||||
|
|
||||||
|
10%-40%: Squircles
|
||||||
|
50% (default): True circle
|
||||||
|
*/
|
||||||
|
.avatar {
|
||||||
|
width: 128px;
|
||||||
|
height: 128px;
|
||||||
|
object-fit: cover;
|
||||||
|
background-position: center;
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
|
@ -194,3 +194,15 @@ hr {
|
||||||
border-width: 0;
|
border-width: 0;
|
||||||
border-top: 1px solid #e1e1e1;
|
border-top: 1px solid #e1e1e1;
|
||||||
}
|
}
|
||||||
|
/* Radius values:
|
||||||
|
|
||||||
|
10%-40%: Squircles
|
||||||
|
50% (default): True circle
|
||||||
|
*/
|
||||||
|
.avatar {
|
||||||
|
width: 128px;
|
||||||
|
height: 128px;
|
||||||
|
object-fit: cover;
|
||||||
|
background-position: center;
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
Loading…
Reference in a new issue