Add images to creations on index page
This commit is contained in:
@@ -35,6 +35,33 @@
|
||||
font: 1.1rem/1.5 serif;
|
||||
}
|
||||
|
||||
.index .creations {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.index .creations .creation a {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.creation > a {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
|
||||
margin: 1rem;
|
||||
margin-bottom: 1.5rem;
|
||||
font: 1.1rem/1.5 serif;
|
||||
|
||||
width: 14rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.creation img {
|
||||
max-width: 14rem;
|
||||
max-height: 14rem;
|
||||
}
|
||||
|
||||
.source {
|
||||
font: 0.9rem/1.5 serif;
|
||||
}
|
||||
@@ -108,7 +135,7 @@
|
||||
font: 1.1rem/1.5 serif;
|
||||
}
|
||||
|
||||
.content img:not(.floated) {
|
||||
.content img:not(.floated, .creation img) {
|
||||
width: 100%;
|
||||
max-width: 36rem;
|
||||
height: auto;
|
||||
|
Reference in New Issue
Block a user