0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-26 03:02:40 +00:00

css fix, pagination controls basic look

This commit is contained in:
Víctor Losada Hernández
2024-02-12 23:18:37 +01:00
parent 05a7defcb8
commit d233e2b4a5

View File

@@ -140,7 +140,7 @@ body {
margin-right: 40px;
color: black;
&:nth-child(even) {
&:nth-child(even of .brewItem) {
margin-right: 0;
}
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 {
visibility: hidden;
}