Skip to content
This repository was archived by the owner on Jan 14, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
Empty file modified .github/pull_request_template.md
100644 → 100755
Empty file.
Empty file modified .github/workflows/close.yml
100644 → 100755
Empty file.
Empty file modified GRADING.md
100644 → 100755
Empty file.
Empty file modified HOW-TO-GET-HELP.md
100644 → 100755
Empty file.
Empty file modified HOW-TO-SUBMIT.md
100644 → 100755
Empty file.
Empty file modified HOW_TO_MARK.md
100644 → 100755
Empty file.
Binary file added assets/chocolate cake.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/cupcake.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/fotor_2023-2-8_22_18_44.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/pavlova-with-summer-berries-1024x652.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/strawberry-cake1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/weding.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/welcome.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified design/cakes wireframe - desktop.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified design/cakes wireframe - mobile.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
82 changes: 76 additions & 6 deletions index.html
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,81 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Responsive Cake webpage</title>
<!-- Add a link to your css file here -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css" integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="style.css">
</head>

<body>
<!-- Add your markup here -->
</body>

</html>
<div class="wrapper">
<header class="header">
<div class="logo">
<img class="header-img" src="/assets/logo.png" alt="logo-image">
<h1 class="logo-name">Cake Art</h1>
</div>
<div class="menu-bar">
<ul class="menu">
<li><a class="nav-links" href="#welcome">Home</a></li>
<li><a class="nav-links" href="#cakes">Cakes</a></li>
<li><a class="nav-links" href="#contact-us">Contact Us</a></li>
</ul>
</div>
<div class="hamburger-menu">
<div class="container">
<div class="header"></div>
<div class="menu"></div>
<div class="content"></div>
<div class="footer"></div>
</div>
</div>

</header>

<main class="main">

<div class="welcome -text">
<h1>Welcome To Cake Art</h1>
<p>In cake art we make cakes with the best products and we give it a distinctive characteristic since the
client participates in the creation both choosing the ingredients and the decoration, resulting in a unique work.
We are not a factory, we are an art studio.</p>
</div>
<div class="welcome-img-wrapper">
<img class="welcome-img" src="/assets/welcome.jpg" alt="glazed cake">
</div>
</main>
<div class="img-wrapper-1">
<div class="img-wrapper-2">
<div class="cake">
<h2>Deserts</h2>
<img class="cake-img" src="/assets/pavlova-with-summer-berries-1024x652.jpg" alt="Pavlova con fresh fruits">
<h3></h3>
</div>
<div class="cake">
<h2>Cup Cake</h2>
<img class="cake-img" src="/assets/cupcake.jpg" alt="cup cakes">
<h3></h3>
</div>
</div>
<div class="img-wrapper-2">
<div class="cake">
<h2>Wedding Cake</h2>
<img class="cake-img" src="/assets/weding.jpg" alt="beautiful wedding cake">
<h3></h3>
</div>
<div class="cake">
<h2>Chocolate Cake</h2>
<img class="cake-img" src="/assets/chocolate cake.jpg" alt="chocolate cake">
<h3></h3>
</div>
</div>
</div>

<footer class="footer">
<a href=""><i class="fa-brands fa-facebook"></i></a>
<a href=""><i class="fa-brands fa-twitter"></i></a>
<a href=""><i class="fa-brands fa-instagram"></i></a>
</footer>
</div>

</body>

</html>

Empty file modified readme.md
100644 → 100755
Empty file.
213 changes: 212 additions & 1 deletion style.css
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1 +1,212 @@
/* Add your styling here */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body, html{
/* height: 100vh; */
}

.header {
/* grid-area: header; */
display: flex;
align-items: center;
background-color: rgb(185, 185, 116);

}
.main {
grid-area: content;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin-bottom: 1rem;
background-color: rgb(219, 218, 212);
}
.img-wrapper-1 {
grid-area: content;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-color: rgb(159, 110, 133);
}

.footer {
grid-area: footer;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
background-color: rgb(252, 195, 50);
}

.welcome-img{
width: 100%;
/* height: 400px; */
}
.logo {
display: flex;
flex-direction: row;
align-items: center;
}
.logo-name {
font-size: 1.5rem;
}

.cake-img {
width: 250px;
height: 250px;
}

.menues-bar{
display:block;
position: fixed;
visibility: hidden;
top: 0;
left: -100%;
width: 300px;
height:100% ;
margin: 0;
padding: 80px 0;
list-style: none;
background-color: rgb(209, 203, 203);
box-shadow: 1px 0px 6px rgba(0,0,0,.2);
border: solid 2px red;


}
.menues {
display: flex;
flex-direction: row;
justify-content: space-evenly;
align-items: center;
list-style: none;
}
font-family sans-serif{
font-size:20px;
font-weight: 600;
text-decoration: none;
transition-duration: .25s;

}
.menues:hover{
background-color:rgb(252, 252, 195);
}
li {
padding: auto;
}

.img-wrapper-2 {
display: flex;
justify-content: center;
flex-direction: row;
flex-wrap: wrap;

}

.header-img {
width: 5rem;
height: 5rem;
padding: 2rem;
}

@media only screen and (min-width: 500px) {
.wrapper {
grid-template-columns: 1fr 3fr;
grid-template-areas:
"header header"
"main main"
"img-wrapper img-wrapper"
"footer footer";
}
nav ul {
display: flex;
justify-content: space-between;
}
}

@media only screen and (min-width: 540px) {
.grid {
grid-template-rows: 15rem 4rem 20rem 13rem 10rem 3rem;
grid-gap: 1rem;
grid-template-areas:
"header header"
"nav nav"
"image welcome"
"cake cake"
"media media"
"footer footer"

}
.images-cakes {
grid-template-columns: repeat(4,1fr);
grid-template-rows: 20rem;
grid-template-areas:
"cake1 cake2 cake3 cake4";
}
.social-media {
display: flex;
justify-content: center;

align-items:center;
}
.insta {
padding: 0 5rem;
}
.hamburger {
display:none;
}
.title {
font-size:x-large;
max-width: 30rem;
}
.navigation {
display:block;
grid-area: nav;
background-color: #333;

}
.navigation__list {
display: flex;
list-style: none;
justify-content: flex-end;

}

.navigation__item {
padding: 0.5rem 0.5rem;
color: white;

}
.navigation__item:hover {
color: #FAF9F6;

}
.navigation__link {
color: var(--grey-dark);
font-weight: 600;
text-transform: uppercase;
text-decoration: none;
padding: 0 1rem;
}
h1 {
margin: 0 auto;
}
}

@media only screen and (min-width: 900px) {
.grid {
grid-template-columns: 1fr 4fr 4fr 1fr;
grid-template-rows: 15rem 4rem 22rem 15rem 10rem 3rem;
grid-gap: 1rem;
grid-template-areas:
"header header header header"
". nav nav ."
". image welcome ."
". cake cake ."
"media media media media"
"footer footer footer footer";
}
}