Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Apr 30, 2024
1 parent d7b9df6 commit 37b78c3
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
:root {
color-scheme: dark;
}
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}
html, body {
background-color: #000;
color: #fff;
Expand Down Expand Up @@ -49,19 +55,21 @@
padding: 0.25em;
}
#toc {
margin: 0 auto;
display: flex;
flex-wrap: wrap;
justify-content: center; /* Centers the items in the container */
width: 100%; /* Set to the desired width or keep it fluid */
max-width: 100%;
}
#toc>div {
display: inline-block;
width: 400px;
max-width: 100%;
padding: 5px;
}
.thumbnail {
width: 400px;
max-width: 100%;
height: 240px;
display: block;
background-size: cover;
Expand Down

0 comments on commit 37b78c3

Please sign in to comment.