0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-14 19:22:52 +00:00

Move rules out of body and into more specific elements

This commit is contained in:
Gazook89
2024-09-05 11:13:08 -05:00
parent 2e332d7699
commit e0be7a5db3

View File

@@ -1,7 +1,22 @@
body { .vaultPage {
height : 100vh; height : 100%;
overflow-y : hidden;
background-color : #2C3E50;
.content { height : 100%; } *:not(input) { user-select : none; }
.content {
background : #2C3E50;
height: 100%;
.dataGroup {
width : 100%;
height : 100%;
background : white;
&.form .brewLookup {
position : relative;
padding : 50px clamp(20px, 4vw, 50px);
small { small {
font-size : 10pt; font-size : 10pt;
@@ -14,35 +29,14 @@ body {
padding-inline : 5px; padding-inline : 5px;
background : lightgrey; background : lightgrey;
border-radius : 5px; border-radius : 5px;
font-family : monospace;
} }
*:not(input) { user-select : none; }
}
.vaultPage {
height : 100%;
overflow-y : hidden;
background-color : #2C3E50;
.content {
background : #2C3E50;
.dataGroup {
width : 100%;
height : 100%;
background : white;
&.form .brewLookup {
position : relative;
padding : 50px clamp(20px, 4vw, 50px);
h1, h2, h3, h4 { h1, h2, h3, h4 {
font-family : 'CodeBold'; font-family : 'CodeBold';
letter-spacing : 2px; letter-spacing : 2px;
} }
legend { legend {
h3 { h3 {
margin-block : 30px 20px; margin-block : 30px 20px;
@@ -144,8 +138,6 @@ body {
} }
} }
#searchButton { #searchButton {
position : absolute; position : absolute;
right : 20px; right : 20px;
@@ -167,7 +159,6 @@ body {
font-family : 'BookInsanityRemake'; font-family : 'BookInsanityRemake';
font-size : 0.34cm; font-size : 0.34cm;
h3 { h3 {
font-family : 'Open Sans'; font-family : 'Open Sans';
font-weight : 900; font-weight : 900;