Skip to content

Commit 138caff

Browse files
committed
Improve demo page design
1 parent 2fb7590 commit 138caff

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

index.html

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,20 @@
3838
display: block;
3939
max-width: 1200px;
4040
margin: 0 auto;
41-
padding: 1rem;
41+
padding: 2rem 1rem;
4242
}
4343

4444
body > header {
45+
width: 768px;
46+
max-width: 90%;
47+
margin: 0 auto;
4548
padding: 1rem 1rem 1.5rem 1rem;
4649
border-radius: 4px;
4750
text-align: center;
51+
background-color: #fff1;
52+
border-radius: 70%;
53+
border-top-left-radius: 100%;
54+
border-bottom-right-radius: 100%;
4855
}
4956

5057
body > footer {
@@ -274,7 +281,7 @@ <h2>Examples, curated with love</h2>
274281

275282
//// generate controlled example avatar gallery ////
276283

277-
const size = 64;
284+
const size = 100;
278285

279286
const addAvatarGallery = (heading, description, seeds, options) => {
280287
const main = document.getElementById('main');

0 commit comments

Comments
 (0)