Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed Issue - grid #340 #2815

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
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
107 changes: 107 additions & 0 deletions modules/grids/grid_340_by_kkomati.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Grid_340</title>
<style>

body{
margin: 0;
text-align: center;
background-color: #292d33;
color: white;
font-family: Roboto,sans-serif;
}
h2{
font-size: 3rem;
line-height: 1.1;
margin-top: 20px;
margin-bottom: 20px;
font-weight: 700;
font-weight: 100;
}
.container{
margin-top: 3%;
margin-right: 5% ;
margin-left: 5%;
display: grid;
grid-template-columns: repeat(4, minmax(250px, 1fr));
gap: 20px;
justify-content: center;
}
.image{
background-size: cover;
border-radius: 100%;
width: 255px;
height: 255px;
margin: 0 auto;
background-position: center;
border: 2px solid white;
}

.text h4{
font-size: 1.375rem;
line-height: 1.2;
text-transform: uppercase;
letter-spacing: 1px;
font-weight: 500;
margin-bottom: 10px;
}

.text p{
margin-top: 0;
padding: 0;
margin-bottom: 0.5rem;
}

.text h5{
font-size: 1.25rem;
line-height: 1.2;
margin-top: 20px;
margin-bottom: 20px;
font-weight: 700;
}

@media screen and (max-width: 600px) {
.container {
grid-template-columns: 1fr;
}
}
@media screen and (min-width: 769px) and (max-width: 1024px) {
.container {
grid-template-columns: repeat(auto-fill, minmax(250px, 2fr));
}
}
</style>
</head>
<body>
<h2>We bake fresh, handmade bread,<br> pastries and cakes every day</h2>
<div class="container">
<div class="image" style="background-image: url('./images_and_icons/image1_340.jpeg');"></div>
<div class="text">
<h4>Sourdough Loaf</h4>
<p>Ingredients:<br>flour, water, salt, and levain</p>
<h5><i><b>$4.65</b></i></h5>
</div>
<div class="image" style="background-image: url('./images_and_icons/image2_340.jpeg');"></div>
<div class="text">
<h4>Baguette</h4>
<p>Ingredients:<br>flour, water, salt, and yeast</p>
<h5><i><b>$3.05</b></i></h5>
</div>
<div class="text">
<h4>Farmer's Loaf</h4>
<p>Ingredients:<br>Flour, Water, Time, Yeast and Salt.</p>
<h5><i><b>$5.50</b></i></h5>
</div>
<div class="image" style="background-image: url('./images_and_icons/image3_340.jpeg');"></div>
<div class="text">
<h4>Round Bread</h4>
<p>Ingredients:<br>Flour, Yeast, Salt, Water</p>
<h5><i><b>$5.15</b></i></h5>
</div>
<div class="image" style="background-image: url('./images_and_icons/image4_340.jpeg');"></div>
</div>
</body>
</html>