aboutsummaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2019-12-29 00:11:35 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2019-12-29 00:11:35 +0530
commitb57063e99c31b2131edd09379cc6ee0ed6cf45fb (patch)
tree3a0c618f901340f455e1f59ec8bd561e1d8de71e /html
parentc8dbf7510584a0480508eb81953556d32cd63e47 (diff)
Added Files
Diffstat (limited to 'html')
-rw-r--r--html/template.html296
1 files changed, 296 insertions, 0 deletions
diff --git a/html/template.html b/html/template.html
new file mode 100644
index 0000000..0ea8a81
--- /dev/null
+++ b/html/template.html
@@ -0,0 +1,296 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+ <meta charset="UTF-8">
+ <title>Recipe (Web2Recipe)</title>
+ <link href="https://fonts.googleapis.com/css?family=Raleway:400,400i,700,900|Playfair+Display:700i,700" rel="stylesheet">
+<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css">
+<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/simple-line-icons/2.4.1/css/simple-line-icons.min.css'>
+<style>
+body {
+ background: #bfb1ac;
+ font-family: "Raleway", sans-serif;
+}
+
+aside.context {
+ text-align: left;
+ text-transform: none;
+ padding-right: 20px;
+ color: #333;
+}
+aside.context a {
+ text-decoration: none;
+ color: #333;
+ padding: 3px 0;
+ border-bottom: 1px dashed;
+}
+aside.context a:hover {
+ border-bottom: 1px solid;
+}
+
+footer {
+ text-align: center;
+ width: 100%;
+}
+footer a {
+ text-decoration: none;
+ display: inline-block;
+ width: 30px;
+ height: 30px;
+ border-radius: 50%;
+ background: transparent;
+ border: 1px dashed #333;
+ color: #333;
+ margin: 0 3px;
+}
+footer a:hover {
+ background: rgba(0, 0, 0, 0.05);
+}
+footer a .icons {
+ margin-top: 8px;
+ display: inline-block;
+ font-size: 14px;
+}
+
+.main-content {
+ display: grid;
+ grid-template-areas: "navigation recipe-recipe recipe-image" "context context recipe-image";
+ grid-template-columns: min-content auto 35%;
+ grid-template-rows: auto min-content;
+ margin: auto;
+ min-height: 100vh;
+ max-height: calc(100vh - 4em);
+ background: #fff;
+ box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
+}
+
+.context__wrapper {
+ grid-area: context;
+ background: #f7f7f7;
+ color: #333;
+ padding: 15px 20px;
+ font: 400 12px/1.2 "Raleway", sans-serif;
+ display: grid;
+ align-items: center;
+ grid-template-columns: auto max-content;
+}
+
+.navigation {
+ grid-area: navigation;
+ border-right: 1px solid #eee;
+ writing-mode: vertical-rl;
+ text-orientation: mixed;
+ color: #dbc7b1;
+ text-transform: uppercase;
+ letter-spacing: 1px;
+ padding: 20px;
+ font: 16px "Playfair Display", serif;
+ text-align: center;
+}
+
+.recipe-image {
+ grid-area: recipe-image;
+ background: url("REPLACE-IMG") no-repeat left center/cover;
+}
+
+.recipe-name {
+ font: 900 45px Raleway;
+ text-transform: uppercase;
+ margin: 20px 0 5px;
+ letter-spacing: 2px;
+ color: #916953;
+ position: relative;
+}
+
+.recipe-serving {
+ font: 400 16px Raleway;
+ color: #916953;
+ margin: 20px 0;
+ max-width: 300px;
+}
+.recipe-serving svg {
+ width: 40px;
+}
+.recipe-serving svg path {
+ fill: #916953;
+}
+.recipe-serving p {
+ display: inline-block;
+ vertical-align: top;
+ margin: 12px 6px 6px;
+}
+
+::-webkit-scrollbar {
+ width: 10px;
+}
+
+::-webkit-scrollbar-track {
+ background: #f1f1f1;
+}
+
+::-webkit-scrollbar-thumb {
+ background: #dbc7b1;
+}
+
+::-webkit-scrollbar-thumb:hover {
+ background: #d69762;
+}
+
+.recipe-recipe {
+ grid-area: recipe-recipe;
+ color: #999;
+ overflow-y: auto;
+ overflow-x: hidden;
+ margin: 5px;
+ max-height: 100%;
+ padding: 50px 60px;
+ display: grid;
+ grid-gap: 20px;
+ grid-template-columns: 30px auto;
+ grid-template-rows: repeat(4, max-content);
+ line-height: 1.6;
+}
+.recipe-recipe__title {
+ grid-column: span 2;
+}
+.recipe-recipe__ingredients {
+ grid-column: span 2;
+ display: flex;
+ flex-wrap: wrap;
+}
+.recipe-recipe__ingredients__item {
+ flex: 1;
+ padding: 0 40px 0 0;
+}
+.recipe-recipe__ingredients__item h4 {
+ font: italic 20px/1.1 "Playfair Display", serif;
+ color: #d69762;
+ margin: 0 0 10px;
+ margin-top: 30px;
+}
+.recipe-recipe__ingredients__item ul {
+ margin: 0;
+ padding: 0;
+ list-style: none;
+}
+.recipe-recipe__ingredients__item ul li {
+ padding: 5px 0;
+}
+.recipe-recipe__number {
+ font: italic 30px/1 "Playfair Display", serif;
+ color: #d69762;
+ place-self: center;
+ margin-top: -15px;
+}
+.recipe-recipe__steps {
+ padding-right: 35px;
+}
+.recipe-recipe__subtitle {
+ font: italic 30px/1 "Playfair Display", serif;
+ color: #916953;
+ margin: 45px 0 10px;
+ grid-column: span 2;
+}
+.recipe-recipe__tips {
+ grid-column: span 2;
+ margin-top: 65px;
+ position: relative;
+ border: 2px solid #916953;
+ box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 4px #916953;
+ text-align: center;
+ padding: 35px;
+}
+.recipe-recipe__tips svg {
+ display: inline-block;
+ padding: 10px;
+ position: absolute;
+ margin: auto;
+ left: 0;
+ right: 0;
+ top: -40px;
+ width: auto;
+ background: #fff;
+ width: 60px;
+ fill: #916953;
+}
+.recipe-recipe__tips h4 {
+ font: 900 24px Raleway;
+ text-transform: uppercase;
+ margin: 10px 0 15px;
+ color: #543b2e;
+}
+@media screen and (max-width: 768px) {
+ .main-content {
+ margin: 0;
+ max-height: none;
+ grid-template-areas:
+ "recipe-image"
+ "recipe-recipe"
+ "context";
+ grid-template-columns: auto;
+ grid-template-rows: 300px auto max-content;
+ }
+ .navigation {
+ display: none;
+ }
+ .recipe-image {
+ height: 300px;
+ width: 100%;
+ }
+
+}
+/*
+@media screen and (max-width: 768px) {
+ .main-content {
+ margin: 0;
+ max-height: none;
+ grid-template-areas:
+ "recipe-image"
+ "recipe-recipe"
+ "context";
+ grid-template-columns: auto;
+ grid-template-rows: 300px auto max-content;
+ }
+ .navigation {
+ display: none;
+ }
+ .recipe-image {
+ height: 300px;
+ width: 100%;
+ }
+ .recipe-recipe {
+ padding: 25px;
+ &__title {
+ margin: 0;
+ text-align: center;
+ }
+ .recipe-serving {
+ margin: 20px auto;
+ }
+ }
+}
+*/
+</style>
+</head>
+<body>
+<!-- partial:index.partial.html -->
+<div class="main-content">
+ <div class="navigation">Generated by Web2Recipe</div>
+ <div class="recipe-image"></div>
+ <div class="recipe-recipe">
+ <div class="recipe-recipe__title">
+ <div class="recipe-name">REPLACE-RECIPE-TITLE</div>
+ <div class="recipe-recipe__ingredients">
+ <div class="recipe-recipe__ingredients__item">
+ <h4>Ingredients</h4>
+ REPLACE-INGREDIENTS
+ </div>
+ </div>
+ <div class="recipe-recipe__subtitle">Instructions</div>
+ REPLACE-INSTRUCTIONS
+ </div>
+</div>
+<!-- partial -->
+ <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js'></script>
+</body>
+</html> \ No newline at end of file