diff --git a/CSS/style.css b/CSS/style.css new file mode 100644 index 0000000..05870d0 --- /dev/null +++ b/CSS/style.css @@ -0,0 +1,203 @@ +@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Young+Serif&display=swap'); + +@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Outfit:wght@100..900&family=Young+Serif&display=swap'); + +* { + box-sizing: border-box; + padding: 0; + margin: 0; +} + +body { + background: hsl(30, 54%, 90%); + font-family: "outfit", sans-serif; +} + +.container { + background: #fff; + max-width: 600px; + margin: 30px auto; + padding: 2rem; + border-radius: 10px; +} + +/* Simple omelette section CSS */ + +.container .form-wrap-1 h1 { + font-family: "Young serif", sans-serif; + font-size: 33px; + font-weight: 300; + margin-top: 20px; +} + +.container .form-wrap-1 p { + color: hsl(30, 10%, 34%); + margin-top: 10px; + font-size: 13px; + +} + +.container .form-wrap-1 img { + width: 100%; + border-radius: 10px; +} + +/* Preparation time section CSS */ + +.container .form-wrap-1 .list-1 { + background: hsl(330, 100%, 98%); + margin-top: 20px; + padding: 20px; + border-radius: 10px; +} + +.container .form-wrap-1 .list-1 h4 { + color: hsl(332, 51%, 32%); +} + +.container .form-wrap-1 .list-1 ul { + font-size: 13px; + line-height: 1.8rem; + margin-top: 10px; + text-indent: 20px; + margin-left: 20px; +} + +.container .form-wrap-1 .list-1 ul li { + color: hsl(30, 10%, 34%); +} + +.container .form-wrap-1 .list-1 ul li span { + font-weight: 600; + color: hsl(30, 10%, 34%); +} + +/* Ingredient section CSS */ + +.container .form-wrap-2 .list-2 { + margin-top: 20px; +} + +.container .form-wrap-2 .list-2 h2 { + font-family: "Young serif", sans-serif; + color: hsl(14, 45%, 36%); +} + +.container .form-wrap-2 .list-2 ul { + font-size: 13px; + color: hsl(30, 10%, 34%); + line-height: 1.8rem; + margin-top: 10px; + text-indent: 20px; + margin-left: 20px; +} + +.container .form-wrap-2 .list-2 ul li::marker { + color: hsl(14, 45%, 36%); +} + +/* Separator line */ + +.separator-line { + border: 0.5px solid hsl(30, 18%, 87%); + margin-top: 20px; +} + +/* Instructions section CSS */ + +.container .form-wrap-2 .list-3 { + margin-top: 20px; +} + +.container .form-wrap-2 .list-3 h2 { + font-family: "Young serif", sans-serif; + color: hsl(14, 45%, 36%); +} + +.container .form-wrap-2 .list-3 ol { + font-size: 13px; + color: hsl(30, 10%, 34%); + line-height: 1.5rem; + margin-top: 10px; + margin-left: 20px; +} + +.container .form-wrap-2 .list-3 ol li { + padding-left: 10px; +} + +.container .form-wrap-2 .list-3 ol li::marker { + color: hsl(14, 45%, 36%); + font-weight: 600; +} + +.container .form-wrap-2 .list-3 ol li span { + font-weight: 600; + color: hsl(30, 10%, 34%); +} + +/* Nutrition section CSS */ + +.container .form-wrap-2 .table-1 { + margin-top: 20px; +} + +.container .form-wrap-2 .table-1 h2 { + font-family: "Young serif", sans-serif; + color: hsl(14, 45%, 36%); +} + +.container .form-wrap-2 .table-1 p { + color: hsl(30, 10%, 34%); + margin-top: 10px; + font-size: 13px; +} + +.container .form-wrap-2 .table-1 table { + margin-top: 15px; + font-size: 13px; + color: hsl(30, 10%, 34%); + text-align: left; + text-indent: 20px; + width: 100%; +} + +/*.container .form-wrap-2 .table-1 table th { + padding-left: 20px; + padding-bottom: 10px; +} + +.container .form-wrap-2 .table-1 table td { + color: hsl(14, 45%, 36%); + padding-bottom: 10px; +}*/ + + +.container .form-wrap-2 .table-1 table th { + border-bottom: 0.5px solid hsl(30, 18%, 87%); + padding: 5px; +} + +.container .form-wrap-2 .table-1 table td { + color: hsl(14, 45%, 36%); + border-bottom: 0.5px solid hsl(30, 18%, 87%); + padding: 5px; +} + +/*.container .form-wrap-2 .table-1 table span { + color: hsl(30, 10%, 34%); + align-items: center; +}*/ + +/*.container .form-wrap-2 .table-1 table td:nth-child(odd) { + border-bottom: 0.5px solid hsl(30, 18%, 87%); + padding-bottom: 10px; +}*/ + + + + + + +/*.attribution { font-size: 11px; text-align: center; } +.attribution a { color: hsl(228, 45%, 44%); }*/ \ No newline at end of file diff --git a/CSS/utilities.css b/CSS/utilities.css new file mode 100644 index 0000000..e69de29 diff --git a/assets/fonts/outfit/OFL.txt b/assets/fonts/outfit/OFL.txt new file mode 100644 index 0000000..fbebef7 --- /dev/null +++ b/assets/fonts/outfit/OFL.txt @@ -0,0 +1,93 @@ +Copyright 2021 The Outfit Project Authors (https://github.com/Outfitio/Outfit-Fonts) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/assets/fonts/outfit/Outfit-VariableFont_wght.ttf b/assets/fonts/outfit/Outfit-VariableFont_wght.ttf new file mode 100644 index 0000000..96106f0 Binary files /dev/null and b/assets/fonts/outfit/Outfit-VariableFont_wght.ttf differ diff --git a/assets/fonts/outfit/README.txt b/assets/fonts/outfit/README.txt new file mode 100644 index 0000000..702665a --- /dev/null +++ b/assets/fonts/outfit/README.txt @@ -0,0 +1,71 @@ +Outfit Variable Font +==================== + +This download contains Outfit as both a variable font and static fonts. + +Outfit is a variable font with this axis: + wght + +This means all the styles are contained in a single file: + Outfit-VariableFont_wght.ttf + +If your app fully supports variable fonts, you can now pick intermediate styles +that aren’t available as static fonts. Not all apps support variable fonts, and +in those cases you can use the static font files for Outfit: + static/Outfit-Thin.ttf + static/Outfit-ExtraLight.ttf + static/Outfit-Light.ttf + static/Outfit-Regular.ttf + static/Outfit-Medium.ttf + static/Outfit-SemiBold.ttf + static/Outfit-Bold.ttf + static/Outfit-ExtraBold.ttf + static/Outfit-Black.ttf + +Get started +----------- + +1. Install the font files you want to use + +2. Use your app's font picker to view the font family and all the +available styles + +Learn more about variable fonts +------------------------------- + + https://developers.google.com/web/fundamentals/design-and-ux/typography/variable-fonts + https://variablefonts.typenetwork.com + https://medium.com/variable-fonts + +In desktop apps + + https://theblog.adobe.com/can-variable-fonts-illustrator-cc + https://helpx.adobe.com/nz/photoshop/using/fonts.html#variable_fonts + +Online + + https://developers.google.com/fonts/docs/getting_started + https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide + https://developer.microsoft.com/en-us/microsoft-edge/testdrive/demos/variable-fonts + +Installing fonts + + MacOS: https://support.apple.com/en-us/HT201749 + Linux: https://www.google.com/search?q=how+to+install+a+font+on+gnu%2Blinux + Windows: https://support.microsoft.com/en-us/help/314960/how-to-install-or-remove-a-font-in-windows + +Android Apps + + https://developers.google.com/fonts/docs/android + https://developer.android.com/guide/topics/ui/look-and-feel/downloadable-fonts + +License +------- +Please read the full license text (OFL.txt) to understand the permissions, +restrictions and requirements for usage, redistribution, and modification. + +You can use them in your products & projects – print or digital, +commercial or otherwise. + +This isn't legal advice, please consider consulting a lawyer and see the full +license for all details. diff --git a/assets/fonts/outfit/static/Outfit-Black.ttf b/assets/fonts/outfit/static/Outfit-Black.ttf new file mode 100644 index 0000000..487752b Binary files /dev/null and b/assets/fonts/outfit/static/Outfit-Black.ttf differ diff --git a/assets/fonts/outfit/static/Outfit-Bold.ttf b/assets/fonts/outfit/static/Outfit-Bold.ttf new file mode 100644 index 0000000..0a081bc Binary files /dev/null and b/assets/fonts/outfit/static/Outfit-Bold.ttf differ diff --git a/assets/fonts/outfit/static/Outfit-ExtraBold.ttf b/assets/fonts/outfit/static/Outfit-ExtraBold.ttf new file mode 100644 index 0000000..0977ed5 Binary files /dev/null and b/assets/fonts/outfit/static/Outfit-ExtraBold.ttf differ diff --git a/assets/fonts/outfit/static/Outfit-ExtraLight.ttf b/assets/fonts/outfit/static/Outfit-ExtraLight.ttf new file mode 100644 index 0000000..938fe31 Binary files /dev/null and b/assets/fonts/outfit/static/Outfit-ExtraLight.ttf differ diff --git a/assets/fonts/outfit/static/Outfit-Light.ttf b/assets/fonts/outfit/static/Outfit-Light.ttf new file mode 100644 index 0000000..c18b0c1 Binary files /dev/null and b/assets/fonts/outfit/static/Outfit-Light.ttf differ diff --git a/assets/fonts/outfit/static/Outfit-Medium.ttf b/assets/fonts/outfit/static/Outfit-Medium.ttf new file mode 100644 index 0000000..7ae796b Binary files /dev/null and b/assets/fonts/outfit/static/Outfit-Medium.ttf differ diff --git a/assets/fonts/outfit/static/Outfit-Regular.ttf b/assets/fonts/outfit/static/Outfit-Regular.ttf new file mode 100644 index 0000000..826899c Binary files /dev/null and b/assets/fonts/outfit/static/Outfit-Regular.ttf differ diff --git a/assets/fonts/outfit/static/Outfit-SemiBold.ttf b/assets/fonts/outfit/static/Outfit-SemiBold.ttf new file mode 100644 index 0000000..6b37eeb Binary files /dev/null and b/assets/fonts/outfit/static/Outfit-SemiBold.ttf differ diff --git a/assets/fonts/outfit/static/Outfit-Thin.ttf b/assets/fonts/outfit/static/Outfit-Thin.ttf new file mode 100644 index 0000000..7d84201 Binary files /dev/null and b/assets/fonts/outfit/static/Outfit-Thin.ttf differ diff --git a/assets/fonts/young-serif/OFL.txt b/assets/fonts/young-serif/OFL.txt new file mode 100644 index 0000000..9ebbfde --- /dev/null +++ b/assets/fonts/young-serif/OFL.txt @@ -0,0 +1,93 @@ +Copyright 2023 The Young Serif Project Authors (https://github.com/noirblancrouge/YoungSerif) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/assets/fonts/young-serif/YoungSerif-Regular.ttf b/assets/fonts/young-serif/YoungSerif-Regular.ttf new file mode 100644 index 0000000..f454fbe Binary files /dev/null and b/assets/fonts/young-serif/YoungSerif-Regular.ttf differ diff --git a/assets/images/favicon-32x32.png b/assets/images/favicon-32x32.png new file mode 100644 index 0000000..1e2df7f Binary files /dev/null and b/assets/images/favicon-32x32.png differ diff --git a/assets/images/image-omelette.jpeg b/assets/images/image-omelette.jpeg new file mode 100644 index 0000000..dac3a46 Binary files /dev/null and b/assets/images/image-omelette.jpeg differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..2aa5e4d --- /dev/null +++ b/index.html @@ -0,0 +1,85 @@ + + + + + + + + + + Frontend Mentor | Recipe page + + + +
+
+ image omelette +

Simple Omelette Recipe

+

An easy and quick dish, perfect for any meal. This classic omelette combines beaten eggs cooked to perfection, optionally filled with your choice of cheese, vegetables, or meats.

+ +
+

Preparation time

+
    +
  • Total: Approximately 10 minutes
  • +
  • Preparation: 5 minutes
  • +
  • Cooking: 5 minutes
  • +
+
+
+ +
+
+

Ingredients

+
    +
  • 2-3 large eggs
  • +
  • Salt, to taste
  • +
  • Pepper, to taste
  • +
  • 1 tablespoon of butter or oil
  • +
  • Optional fillings: cheese, diced vegetables, cooked meats, herbs
  • +
+
+
+ +
+

Instructions

+
    +
  1. Beat the eggs: In a bowl, beat the eggs with a pinch of salt and pepper until they are well mixed. + You can add a tablespoon of water or milk for a fluffier texture.
  2. +
  3. Heat the pan: Place a non-stick frying pan over medium heat and add butter or oil.
  4. +
  5. Cook the omelette: Once the butter is melted and bubbling, pour in the eggs. Tilt the pan to ensure + the eggs evenly coat the surface.
  6. +
  7. Add fillings (optional): When the eggs begin to set at the edges but are still slightly runny in the + middle, sprinkle your chosen fillings over one half of the omelette.
  8. +
  9. Fold and serve: As the omelette continues to cook, carefully lift one edge and fold it over the + fillings. Let it cook for another minute, then slide it onto a plate.
  10. +
  11. Enjoy: Serve hot, with additional salt and pepper if needed.
  12. +
+
+
+ +
+

Nutrition

+

The table below shows nutritional values per serving without the additional fillings.

+ + + + + + + + + + + + + + + + + +
Calories277kcal
Carbs0g
Protein20g
Fat22g
+
+
+
+ + \ No newline at end of file