Add new recipes & fix formatting on mobile
This commit is contained in:
+52
-42
@@ -1,37 +1,36 @@
|
||||
.cookbook {
|
||||
display: flex;
|
||||
flex-wrap: wrap; }
|
||||
.cookbook section {
|
||||
padding: 0 0.125in; }
|
||||
.cookbook section h1 {
|
||||
font-family: sans-serif;
|
||||
font-size: 24pt;
|
||||
font-weight: bold; }
|
||||
.cookbook section a {
|
||||
flex: 1 1 auto;
|
||||
min-width: 2in;
|
||||
max-width: 3.5in;
|
||||
column-count: 2;
|
||||
column-gap: 0.25in; }
|
||||
.cookbook h1 {
|
||||
font-family: sans-serif;
|
||||
font-size: 24pt;
|
||||
font-weight: bold; }
|
||||
.cookbook a {
|
||||
flex: 1 1 auto;
|
||||
min-width: 2in;
|
||||
max-width: 3.5in;
|
||||
border-radius: 0.0625in;
|
||||
break-inside: avoid;
|
||||
color: black;
|
||||
font-family: serif;
|
||||
font-size: 18pt;
|
||||
text-decoration: none;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0.0625in;
|
||||
padding-right: 0.125in;
|
||||
transition: all 0.25s; }
|
||||
.cookbook a:visited {
|
||||
color: black; }
|
||||
.cookbook a:hover {
|
||||
background: #23B7F2;
|
||||
color: white; }
|
||||
.cookbook a img {
|
||||
border: 0.01in solid silver;
|
||||
border-radius: 0.0625in;
|
||||
color: black;
|
||||
font-family: serif;
|
||||
font-size: 18pt;
|
||||
text-decoration: none;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0.0625in;
|
||||
padding-right: 0.125in;
|
||||
transition: all 0.25s; }
|
||||
.cookbook section a:visited {
|
||||
color: black; }
|
||||
.cookbook section a:hover {
|
||||
background: #23B7F2;
|
||||
color: white; }
|
||||
.cookbook section a img {
|
||||
border: 0.01in solid silver;
|
||||
border-radius: 0.0625in;
|
||||
margin-right: 0.125in;
|
||||
max-height: 0.5in;
|
||||
width: 0.5in; }
|
||||
margin-right: 0.125in;
|
||||
max-height: 0.5in;
|
||||
width: 0.5in; }
|
||||
|
||||
.recipe {
|
||||
margin: 0 auto;
|
||||
@@ -43,6 +42,11 @@
|
||||
margin-bottom: 0.25in;
|
||||
font-family: serif;
|
||||
font-size: 24pt; }
|
||||
.recipe h2 {
|
||||
font-size: 12pt;
|
||||
margin: 0;
|
||||
margin-bottom: 0.125in;
|
||||
text-transform: uppercase; }
|
||||
.recipe .ingredients {
|
||||
display: flex; }
|
||||
.recipe .ingredients .image img {
|
||||
@@ -52,16 +56,18 @@
|
||||
max-height: 3in; }
|
||||
.recipe .ingredients .list {
|
||||
margin-left: 0.25in; }
|
||||
.recipe .ingredients .list tr {
|
||||
vertical-align: top; }
|
||||
.recipe .ingredients .list tr td:nth-child(1) {
|
||||
font-family: sans-serif;
|
||||
font-size: 12pt;
|
||||
padding-right: 0.125in;
|
||||
text-align: right; }
|
||||
.recipe .ingredients .list tr td:nth-child(2) {
|
||||
font-family: sans-serif;
|
||||
font-size: 12pt; }
|
||||
.recipe .ingredients .list table {
|
||||
margin-bottom: 0.25in; }
|
||||
.recipe .ingredients .list table tr {
|
||||
vertical-align: top; }
|
||||
.recipe .ingredients .list table tr td:nth-child(1) {
|
||||
font-family: sans-serif;
|
||||
font-size: 12pt;
|
||||
padding-right: 0.125in;
|
||||
text-align: right; }
|
||||
.recipe .ingredients .list table tr td:nth-child(2) {
|
||||
font-family: sans-serif;
|
||||
font-size: 12pt; }
|
||||
.recipe .directions {
|
||||
margin-top: 0.25in; }
|
||||
.recipe .directions tr {
|
||||
@@ -85,4 +91,8 @@
|
||||
font-size: 9pt;
|
||||
white-space: nowrap; }
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.cookbook {
|
||||
column-count: 1; } }
|
||||
|
||||
/*# sourceMappingURL=style.css.map */
|
||||
|
||||
Reference in New Issue
Block a user