mirror of
https://github.com/TomHodson/tomhodson.github.com.git
synced 2025-06-26 10:01:18 +02:00
FIx image grid and footer css
This commit is contained in:
parent
fbea2d7d03
commit
27f62fd3d3
@ -134,6 +134,7 @@ figure.centered {
|
||||
}
|
||||
|
||||
section.image-grid-4x4 {
|
||||
aspect-ratio: 1 / 1;
|
||||
display: grid;
|
||||
grid-template-columns: 50% 50%;
|
||||
grid-template-rows: 50% 50%;
|
||||
@ -142,9 +143,12 @@ section.image-grid-4x4 {
|
||||
margin-bottom: 1em;
|
||||
place-items: stretch stretch;
|
||||
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
aspect-ratio: auto;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -16,3 +16,16 @@ footer {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media
|
||||
only screen and (max-width: $horizontal_breakpoint),
|
||||
only screen and (max-height: $vertical_breakpoint)
|
||||
{
|
||||
footer {
|
||||
padding-top: 10px;
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
margin: auto;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user