Skip to content

Commit f6ba1be

Browse files
author
Marko D
committed
Center the whole content to make layout nicer.
1 parent 9e22503 commit f6ba1be

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

index.html

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
body {
1818
display: flex;
19+
align-items: center;
20+
justify-content: center;
1921
flex-direction: column;
2022
min-height: 100vh;
2123
text-align: center;
@@ -30,12 +32,7 @@
3032
}
3133

3234
main {
33-
flex: 1;
3435
padding: 20px;
35-
display: flex;
36-
align-items: center;
37-
justify-content: center;
38-
flex-direction: column;
3936
line-height: 1.5em;
4037
}
4138

0 commit comments

Comments
 (0)