mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-08 14:02:41 +00:00
css fix, pagination controls basic look
This commit is contained in:
@@ -140,7 +140,7 @@ body {
|
|||||||
margin-right: 40px;
|
margin-right: 40px;
|
||||||
color: black;
|
color: black;
|
||||||
|
|
||||||
&:nth-child(even) {
|
&:nth-child(even of .brewItem) {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
h2 {
|
h2 {
|
||||||
@@ -162,6 +162,34 @@ body {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.paginationControls {
|
||||||
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
|
translate: -50%;
|
||||||
|
width: 500px;
|
||||||
|
display: grid;
|
||||||
|
grid-template-areas: "previousPage currentPage nextPage";
|
||||||
|
|
||||||
|
.currentPage {
|
||||||
|
grid-area: currentPage;
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
display: block;
|
||||||
|
text-align: center;
|
||||||
|
color: white;
|
||||||
|
font-family: Open Sans;
|
||||||
|
font-weight: 900;
|
||||||
|
padding: 5px 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.previousPage {
|
||||||
|
grid-area: previousPage;
|
||||||
|
}
|
||||||
|
button.nextPage {
|
||||||
|
grid-area: nextPage;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user