Files
www/site.css
Aaron Gutierrez efcaab6150 more margin
2021-01-22 23:36:10 -08:00

85 lines
967 B
CSS

img#aaron {
width: 128px;
height: 128px;
}
body {
max-width: 780px;
margin: 0 auto;
padding: 20px;
}
h1 {
font-weight: normal;
}
header {
text-align: center;
}
footer {
margin-left: auto;
margin-right: auto;
text-align: center;
}
.img-grid {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
}
.img-grid a {
align-items: flex-end;
display: flex;
margin-bottom: 60px;
max-height: calc(100vw - 40px);
overflow: hidden;
}
.img-grid img {
display: block;
margin-left: auto;
margin-right: auto;
max-width: 100%;
}
.img-view {
align-items: center;
display: flex;
flex-direction: column;
}
.img-view img {
max-height: 100vh;
max-width: 100%;
}
div.nav {
display: flex;
justify-content: space-between;
width: 100%;
}
@media(min-width:600px) {
header {
text-align: left;
}
}
@media(prefers-color-scheme: dark) {
body {
background: #333;
color: #ccc;
}
a {
color: #8af;
}
a:visited {
color: #c8f;
}
}