mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-04 08:12:39 +00:00
261 lines
7.0 KiB
Plaintext
261 lines
7.0 KiB
Plaintext
body {
|
|
height: 100vh;
|
|
|
|
.content {
|
|
height: 100%;
|
|
}
|
|
|
|
small {
|
|
font-size: 10pt;
|
|
color: #555;
|
|
|
|
a {
|
|
color: #333;
|
|
}
|
|
}
|
|
|
|
code {
|
|
background: lightgrey;
|
|
border-radius: 5px;
|
|
padding-inline: 5px
|
|
}
|
|
|
|
*:not(input) {
|
|
user-select: none;
|
|
}
|
|
}
|
|
|
|
.archivePage {
|
|
overflow-y: hidden;
|
|
height: 100%;
|
|
background-color: #2C3E50;
|
|
|
|
h1,
|
|
h2,
|
|
h3 {
|
|
font-family: 'Open Sans';
|
|
color: white;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.content {
|
|
display: grid;
|
|
grid-template-columns: 500px 2fr;
|
|
background: #2C3E50;
|
|
|
|
.dataGroup {
|
|
width: 100%;
|
|
height: 100%;
|
|
background: white;
|
|
|
|
&.form .brewLookup {
|
|
position: relative;
|
|
padding: 50px;
|
|
|
|
.formTitle {
|
|
color: black;
|
|
font-size: 30px;
|
|
border-bottom: 2px solid;
|
|
margin: 20px 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.formContents {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
label {
|
|
margin: 10px 0;
|
|
}
|
|
|
|
input {
|
|
margin: 0 10px;
|
|
}
|
|
|
|
#searchButton {
|
|
position: absolute;
|
|
right: 10px;
|
|
bottom: 20px;
|
|
|
|
i {
|
|
margin-left: 10px;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.resultsContainer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
border-left: 2px solid;
|
|
height: 100%;
|
|
font-family: "BookInsanityRemake";
|
|
font-size: .34cm;
|
|
|
|
|
|
.foundBrews {
|
|
position: relative;
|
|
background-color: #2C3E50;
|
|
width: 100%;
|
|
max-height: 100%;
|
|
height: 100%;
|
|
padding: 50px;
|
|
overflow-y: scroll;
|
|
|
|
h3 {
|
|
font-size: 25px;
|
|
}
|
|
|
|
&.noBrews {
|
|
display: grid;
|
|
place-items: center;
|
|
color: white;
|
|
}
|
|
|
|
&.searching {
|
|
display: grid;
|
|
place-items: center;
|
|
color: white;
|
|
|
|
h3 {
|
|
position: relative;
|
|
}
|
|
|
|
h3.searchAnim::after {
|
|
content: "";
|
|
width: max-content;
|
|
height: 1em;
|
|
position: absolute;
|
|
right: 0;
|
|
top: 50%;
|
|
translate: 100% -50%;
|
|
animation: trailingDots 2s ease infinite;
|
|
}
|
|
}
|
|
|
|
.totalBrews {
|
|
position: fixed;
|
|
bottom: 0;
|
|
right: 17px;
|
|
font-size: 11px;
|
|
font-weight: 800;
|
|
color: white;
|
|
background-color: #333;
|
|
padding: 8px 10px;
|
|
z-index: 1000;
|
|
font-family: 'Open Sans';
|
|
}
|
|
|
|
.brewItem {
|
|
background-image: url('/assets/parchmentBackground.jpg');
|
|
width: 48%;
|
|
margin-right: 40px;
|
|
color: black;
|
|
|
|
&:nth-child(even of .brewItem) {
|
|
margin-right: 0;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 0.75cm;
|
|
line-height: 0.988em;
|
|
font-family: "MrEavesRemake";
|
|
font-weight: 800;
|
|
color: var(--HB_Color_HeaderText);
|
|
}
|
|
|
|
.info {
|
|
font-family: ScalySansRemake;
|
|
font-size: 1.2em;
|
|
|
|
>span {
|
|
margin-right: 12px;
|
|
line-height: 1.5em;
|
|
}
|
|
}
|
|
}
|
|
|
|
.paginationControls {
|
|
position: absolute;
|
|
left: 50%;
|
|
translate: -50%;
|
|
width: auto;
|
|
display: grid;
|
|
place-items: center;
|
|
grid-template-areas: "previousPage currentPage nextPage";
|
|
grid-template-columns: 50px 1fr 50px;
|
|
|
|
.pages {
|
|
grid-area: currentPage;
|
|
height: 100%;
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: space-evenly;
|
|
text-align: center;
|
|
padding: 5px 8px;
|
|
|
|
.pageNumber {
|
|
color: white;
|
|
font-family: Open Sans;
|
|
font-weight: 900;
|
|
text-underline-position: under;
|
|
margin-inline: 10px;
|
|
cursor: pointer;
|
|
|
|
&.currentPage {
|
|
color: gold;
|
|
text-decoration: underline;
|
|
pointer-events: none;
|
|
}
|
|
|
|
&.firstPage {
|
|
margin-right: -5px;
|
|
}
|
|
|
|
&.lastPage {
|
|
margin-left: -5px;
|
|
}
|
|
}
|
|
}
|
|
|
|
button {
|
|
width: max-content;
|
|
border-radius: 5px;
|
|
|
|
&.previousPage {
|
|
grid-area: previousPage;
|
|
}
|
|
|
|
&.nextPage {
|
|
grid-area: nextPage;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
hr {
|
|
visibility: hidden;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@keyframes trailingDots {
|
|
|
|
0%,
|
|
32% {
|
|
content: '.';
|
|
}
|
|
|
|
33%,
|
|
65% {
|
|
content: '..';
|
|
}
|
|
|
|
66%,
|
|
100% {
|
|
content: '...';
|
|
}
|
|
} |