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

latest #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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
133 changes: 133 additions & 0 deletions css/restaurant/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
#dining {
height: calc(100vh - 144px);
}


#dining-text-container {
border-bottom: 1px solid white;
display: flex;
justify-content: center;
}

#dining-text {
color: whit e;
padding: 5px;
border-bottom: 1px solid white;
font-size: xx-large;
}

.filler {
height: 747px;
border-top: 2px solid white;
border-bottom: 2px solid white;
}

.images-container {
margin-top: calc(4%);
height: 85%;
justify-content: center;
background: url(/media/image/dining2.jpeg);
background-position: 25%;
background-size: cover;
}

#main-section {
min-height: 100vh;
width: 70%;
margin: auto;
margin-top: 100px;
}

.content-container-row {
display: flex;
min-height: 350px;
margin-bottom: 100px;

}

.content-container-row:nth-of-type(even) {
flex-direction: row-reverse;
}

.image-container {
width: 50%;
}

.text-container {
width: 50%;
padding: 30px 30px 0 30px;
}

.text-container h3 {
text-align: center;
font-size: 3rem;
font-weight: 500;
margin: 0;
}

.text-container p {
text-align: center;
font-size: 1.3rem;
}

.text-container .view-book-button {
display: flex;
justify-content: center;
column-gap: 40px;
}

.view-book-button a {
padding: 3px 20px;
}

.view {
border: 1px double white;
}

.view:hover {
background-color: rgb(80, 80, 80);
transition: 0.2s;
}

.view:active {
background-color: white;
color: black;
transition: 0.1s;
}
.book {
border: 1px double white;
color: white;
background-color: #1C2143;
}

.book:hover {
background-color: #354084;
transition: 0.2s;
}

.book:active {
background-color: #1C2143;
color: white;
transition: 0.1s;
}

.first-image {
background: url(/media/image/cristoforo1.jpg);
background-size: 350px;
background-size: cover;
background-position: 25%;
}

.second-image {
background: url(/media/image/cristoforo1.jpg);
background-size: 350px;
background-size: cover;
background-position: 25%;
}

.third-image {
background: url(/media/image/cristoforo1.jpg);
background-size: 350px;
background-size: cover;
background-position: 25%;
}
1 change: 1 addition & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
color:#CACACA;
background-color:#80808002;
opacity:0.98;

}
#header-nav{
filter:brightness(144%) contrast(55%);
Expand Down
74 changes: 64 additions & 10 deletions restaurant/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/css/base.css">
<link rel="stylesheet" href="/css/style.css">
<link rel="stylesheet" href="/css/restaurant/style.css">
<script src="/js/htmx.min.js"></script>
<script src="/js/jquery.min.js" defer></script>
<title>C&M Restaurant</title>
Expand All @@ -23,17 +24,70 @@
<img src="/media/image/LOGO.png" alt="C&M Hotel-Restaurant" id="logo">
</div>
</div>
<nav id="header-nav">
<a href="/">Home</a>
<a href="/hotel">Hotel</a>
<a href="/restaurant">Restaurant</a>
<a href="/menu">Menu</a>
</nav>
</div>
</header>
</div>
</div>
<nav id="header-nav">
<a href="/">Home</a>
<a href="/hotel">Hotel</a>
<a href="/restaurant">Restaurant</a>
<a href="/menu">Menu</a>
</nav>
</div>
</header>
</div>
</div>
</main>
</div>

<!-- Temp -->
<div id="dining">
</div>

<div id="dining-text-container">
<h2 id="dining-text">DINING</h2>
</div>

<section class="filler">
<!-- THIS SHOULD BE CAROUSEL -->
<div class="images-container"></div>
</section>

<section id="main-section">
<div class="content-container-row">
<div class="image-container first-image"></div>
<div class="text-container">
<h3>C&M Restaurant</h3>
<p>Our restaurant combines modern elegance with a cozy atmosphere. Enjoy a diverse menu of fresh, globally-inspired dishes. Pair your meal with our curated wine selection for a delightful dining experience. Join us for a memorable culinary journey at "C&M" restaurant.</p>

<div class="view-book-button">
<a href="" class="view">View Menu</a>
<a href="" class="book">Book Now</a>
</div>

</div>
</div>

<div class="content-container-row">
<div class="image-container second-image"></div>
<div class="text-container">
<h3>Desserts</h3>
<p>Delight in decadent desserts, where each creation is a harmonious blend of flavor and elegance, crafted to satisfy the most refined palates.</p>
<div class="view-book-button">
<a href="" class="view">View Menu</a>
<a href="" class="book">Book Now</a>
</div>
</div>
</div>

<div class="content-container-row">
<div class="image-container third-image"></div>
<div class="text-container">
<h3>Culinary</h3>
<p>Experience the allure of French international cuisine, a symphony of refined flavors blending tradition and innovation.</p>
<div class="view-book-button">
<a href="" class="view">View Menu</a>
<a href="" class="book">Book Now</a>
</div>
</div>
</div>
</section>
</body>
</html>