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

issues #464 - fix images and padding #495

Merged
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
8 changes: 4 additions & 4 deletions Restaurant-website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Le Catering</title>
<link rel="stylesheet" href="css/style.css">
<link rel="shortcut icon" type="image/jpg" href="/images/img1.jpg">
<link rel="stylesheet" href="./public/css/style.css">
<link rel="shortcut icon" type="image/jpg" href="./public/images/img1.jpg">
</head>
<body>
<!-------Navbar-------------------------------------------------------------------------------------------------------------------------------->
Expand All @@ -27,7 +27,7 @@
<div id="about">
<!--image in about section-->
<section id="about-section-image">
<img src="images/img1.jpg">
<img src="./public/images/img1.jpg">
</section>
<!---content in about section-->
<section id="about-section">
Expand Down Expand Up @@ -107,7 +107,7 @@ <h3 class="menu-headings">
<!----section-image-->
</section>
<section id="menu-img">
<img src="images/img2.jpg">
<img src="./public/images/img2.jpg">
</section>
</div>
<hr>
Expand Down
4 changes: 2 additions & 2 deletions Restaurant-website/public/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ ul{

display:grid;
grid-template-rows:60px;
grid-template-columns: auto 100px 100px 100px;
grid-template-columns: auto 100px 80px 100px;
/*border:1px solid red;*/
width:100%;
height:100%;
Expand Down Expand Up @@ -63,7 +63,7 @@ a:hover{

/******home section background image******/
#home{
background:url("/images/img3.jpg") no-repeat center center/cover;
background:url(../images/img3.jpg) no-repeat center center/cover;
opacity:0.8;
margin-bottom:100px;
}
Expand Down