Compare commits
2 commits
c35d2a7f53
...
bcd362995b
Author | SHA1 | Date | |
---|---|---|---|
Akemi Izuko | bcd362995b | ||
Akemi Izuko | f4d8a83d24 |
|
@ -21,7 +21,7 @@ const imageFiles = (await Astro.glob('../assets/cat-pics/*'));
|
||||||
style="font-family: var(--font-title);">
|
style="font-family: var(--font-title);">
|
||||||
Kuro Pics!
|
Kuro Pics!
|
||||||
</h1>
|
</h1>
|
||||||
<p class="text-center mb-4 text-xl">
|
<p class="text-center m-4 text-xl">
|
||||||
This is Kuro. She's about 6 years old. She likes squishy things,
|
This is Kuro. She's about 6 years old. She likes squishy things,
|
||||||
like extra towels on the bed.
|
like extra towels on the bed.
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -5,10 +5,17 @@
|
||||||
* The parent <main> must have a class called ".post-listing"
|
* The parent <main> must have a class called ".post-listing"
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
@media (min-width: 980px) {
|
||||||
main.post-listing {
|
main.post-listing {
|
||||||
width: 960px;
|
width: 960px;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
@media not (min-width: 980px) {
|
||||||
|
main.post-listing {
|
||||||
|
margin: 30px;
|
||||||
|
}
|
||||||
|
}
|
||||||
main.post-listing ul {
|
main.post-listing ul {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
|
Loading…
Reference in a new issue