Skip to content

Commit

Permalink
Update to most recent file
Browse files Browse the repository at this point in the history
  • Loading branch information
jakechood committed Nov 20, 2023
1 parent 962cda5 commit e66cc68
Show file tree
Hide file tree
Showing 2 changed files with 109 additions and 13 deletions.
51 changes: 38 additions & 13 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,36 +1,61 @@
<!-- index.html -->

<!-- Set document type as html and set language as English -->
<!doctype html5>
<!doctype html>
<html xml:lang="en">
<!-- URL Title -->
<title>Our</title>
<title>Our Menu</title>

<!-- Set heading -->
<html>
<!-- Full Page CSS -->
<link rel="stylesheet" href="CSS/styles.css">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IT-edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="viewport" content="width=viewport-width, initial-scale=1.0">

<!-- Open Master Head -->
<head>
<h1 align="center">
Our Menu
</h1>
</head>
<head>
<body>
<p>
<div class="container">
<div class="col-lg-3">
<div class="itemdescr">
<div class="itemtitle" align="right">Chicken</div>
Lorem ipsum dolor sit omet, sonsectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exervitation ullamco laboris nisi ut aliquip ex ea commodo consequot.
</div>
<div class="item" id="item1">
<div class="itemtitle" id="itemtitle1" align="center">Chicken</div>
<div class="itemdescr">
Lorem ipsum dolor sit omet, sonsectetur adipisicing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna
aliqua. Ut enim ad minim veniam, quis nostrud exervitation
ullamco laboris nisi ut aliquip ex ea commodo consequot.
</div>
</div>
</div>
<div class="col-lg-3">
<div class="item" id="item2">
<div class="itemtitle" id="itemtitle2" align="center">Beef</div>
<div class="itemdescr">
Lorem ipsum dolor sit omet, sonsectetur adipisicing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna
aliqua. Ut enim ad minim veniam, quis nostrud exervitation
ullamco laboris nisi ut aliquip ex ea commodo consequot.
</div>
</div>
</div>
<div class="col-lg-3">
<div class="item" id="item3">
<div class="itemtitle" id="itemtitle3" align="center">Sushi</div>
<div class="itemdescr">
Lorem ipsum dolor sit omet, sonsectetur adipisicing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna
aliqua. Ut enim ad minim veniam, quis nostrud exervitation
ullamco laboris nisi ut aliquip ex ea commodo consequot.
</div>
</div>
</div>
</p>
<!-- Close body -->
</body>

</head>
<!-- Close HTML -->
</html>
</html>
71 changes: 71 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
/********** Base styles **********/
* {
font-family: sans-serif;
}

h1 {
margin: 15px;
}

.container {
display: flex;
margin: 1rem;
}

.item {
position: relative;
border: 2px solid black;
padding: 0 0 .25rem .25rem;
background: rgb(151, 151, 151);
margin: .25rem;
}
.itemdescr {
position: relative;
padding: .5rem;
}
.itemtitle {
margin-left: 52%;
padding: .25rem;
border-left: 2px solid black;
border-bottom: 2px solid black;
width: auto;
position: center;
}

#itemtitle1 {
background: salmon;
}

#itemtitle2 {
background: red;
}

#itemtitle3 {
background: tan;
}

/********** Large devices only **********/
@media screen and (min-width: 992px) {
.col-lg-3 {
width: 33.333%;
}
}


/********** Medium devices only **********/
@media screen and (min-width: 768px) and (max-width: 991px) {
.col-lg-3 {
width: 48%;
}
#item3 {
width: 98%;
}
}

/********** Small devices only **********/
@media screen and (max-width: 767px) {
.col-lg-3 {
width: 98%;
height: auto;
}
}

0 comments on commit e66cc68

Please sign in to comment.