Skip to content

Commit f772b45

Browse files
committed
various improvements to fonts, colours and accessibility
1 parent 48bd493 commit f772b45

27 files changed

+68
-65
lines changed

css/about.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ nav {
6161
text-decoration: none;
6262
z-index: 2;
6363
}
64-
.logo h1 {
64+
.logo h2 {
6565
font-size: 1rem;
6666
font-weight: 400;
6767
margin-left: 1.5rem;
@@ -275,7 +275,7 @@ main {
275275
max-width: 100%;
276276
padding: 0 25px;
277277
}
278-
.logo h1 {
278+
.logo h2 {
279279
margin-left: 0;
280280
}
281281
.logo img {

css/contact.css

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ nav {
5454
text-decoration: none;
5555
z-index: 2;
5656
}
57-
.logo h1 {
57+
.logo h2 {
5858
font-size: 1rem;
5959
font-weight: 400;
6060
margin-left: 1.5rem;
@@ -224,11 +224,10 @@ nav {
224224
border-radius: 5px;
225225
box-shadow: 1px 3px 5px rgba(0, 0, 0, .4);
226226
}
227-
.contact-form .left {
227+
.contact-form .left img {
228+
width: 100%;
228229
height: 100%;
229-
background: url(../assets/contact/contact_form.webp);
230-
background-repeat: no-repeat;
231-
background-size: cover;
230+
object-fit: cover;
232231
border-top-left-radius: 5px;
233232
border-bottom-left-radius: 5px;
234233
}
@@ -321,7 +320,7 @@ nav {
321320
max-width: 100%;
322321
padding: 0 25px;
323322
}
324-
.logo h1 {
323+
.logo h2 {
325324
margin-left: 0;
326325
}
327326
.logo img {

css/dining.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ nav {
6161
text-decoration: none;
6262
z-index: 2;
6363
}
64-
.logo h1 {
64+
.logo h2 {
6565
font-size: 1rem;
6666
font-weight: 400;
6767
margin-left: 1.5rem;
@@ -274,7 +274,7 @@ nav {
274274
max-width: 100%;
275275
padding: 0 25px;
276276
}
277-
.logo h1 {
277+
.logo h2 {
278278
margin-left: 0;
279279
}
280280
.logo img {

css/events.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ nav {
6767
text-decoration: none;
6868
z-index: 2;
6969
}
70-
.logo h1 {
70+
.logo h2 {
7171
font-size: 1rem;
7272
font-weight: 400;
7373
margin-left: 1.5rem;
@@ -377,7 +377,7 @@ nav {
377377
max-width: 100%;
378378
padding: 0 25px;
379379
}
380-
.logo h1 {
380+
.logo h2 {
381381
margin-left: 0;
382382
}
383383
.logo img {

css/gallery.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ nav {
6060
text-decoration: none;
6161
z-index: 2;
6262
}
63-
.logo h1 {
63+
.logo h2 {
6464
font-size: 1rem;
6565
font-weight: 400;
6666
margin-left: 1.5rem;
@@ -292,7 +292,7 @@ nav {
292292
max-width: 100%;
293293
padding: 0 25px;
294294
}
295-
.logo h1 {
295+
.logo h2 {
296296
margin-left: 0;
297297
}
298298
.logo img {

css/menu.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ nav {
6969
text-decoration: none;
7070
z-index: 2;
7171
}
72-
.logo h1 {
72+
.logo h2 {
7373
font-size: 1rem;
7474
font-weight: 400;
7575
margin-left: 1.5rem;
@@ -467,7 +467,7 @@ nav {
467467
max-width: 100%;
468468
padding: 0 25px;
469469
}
470-
.logo h1 {
470+
.logo h2 {
471471
margin-left: 0;
472472
}
473473
.logo img {

css/packages.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ nav {
7070
text-decoration: none;
7171
z-index: 2;
7272
}
73-
.logo h1 {
73+
.logo h2 {
7474
font-size: 1rem;
7575
font-weight: 400;
7676
margin-left: 1.5rem;
@@ -468,7 +468,7 @@ nav {
468468
max-width: 100%;
469469
padding: 0 25px;
470470
}
471-
.logo h1 {
471+
.logo h2 {
472472
margin-left: 0;
473473
}
474474
.logo img {

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<!-- logo -->
2929
<div class="logo">
3030
<img draggable="false" src="./assets/logo/logo.svg" alt="logo">
31-
<h1><a class="logo" href="./index.html">Sharland's</a></h1>
31+
<h2><a class="logo" href="./index.html">Sharland's</a></h2>
3232
</div>
3333
<!-- links -->
3434
<div class="links-wrapper">

pages/about.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<!-- logo -->
3030
<div class="logo">
3131
<img draggable="false" src="../assets/logo/logo.svg" alt="logo">
32-
<h1><a class="logo" href="../index.html">Sharland's</a></h1>
32+
<h2><a class="logo" href="../index.html">Sharland's</a></h2>
3333
</div>
3434
<!-- links -->
3535
<div class="links-wrapper">
@@ -66,7 +66,7 @@ <h1><a class="logo" href="../index.html">Sharland's</a></h1>
6666
</header>
6767
<main>
6868
<!-- banner -->
69-
<img width="1939" height="1920" draggable="false" class="banner" src="../assets/about/top_banner.webp" alt="">
69+
<img fetchpriority="high" width="1939" height="1920" draggable="false" class="banner" src="../assets/about/top_banner.webp" alt="flower banner">
7070
<!-- profile image & border -->
7171
<div class="img-wrapper">
7272
<img width="600" height="600" draggable="false" src="../assets/about/about.webp" alt="wedding couple">

pages/contact.html

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<!-- logo -->
3030
<div class="logo">
3131
<img draggable="false" src="../assets/logo/logo.svg" alt="logo">
32-
<h1><a class="logo" href="../index.html">Sharland's</a></h1>
32+
<h2><a class="logo" href="../index.html">Sharland's</a></h2>
3333
</div>
3434
<!-- links -->
3535
<div class="links-wrapper">
@@ -74,18 +74,22 @@ <h1>Have a question about your perfect day?</h1>
7474
<p>Don't hesitate to get in touch, our team is always happy to help</p>
7575
</div>
7676
<div class="contact-form">
77-
<div class="left"></div>
77+
<div class="left">
78+
<img fetchpriority="high" width="2560" height="1440" draggable="false" src="../assets/contact/contact_form.webp" alt="bridal registry">
79+
</div>
7880
<div class="right">
7981
<div class="contact">
8082
<img draggable="false" src="../assets/contact/wedding_rings.svg" alt="">
8183
<h2>get in touch</h2>
8284
<img draggable="false" src="../assets/contact/wedding_rings.svg" alt="">
8385
</div>
84-
<input class="input" type="text" placeholder="Name:">
85-
<input class="input" type="email" placeholder="Email:">
86-
<input class="input" type="text" placeholder="Number:">
87-
<textarea class="input" placeholder="Insert your message here:" maxlength="500"></textarea>
88-
<button>submit</button>
86+
<form>
87+
<input name="name" class="input" type="text" placeholder="Name:" autocomplete="off">
88+
<input name="email" class="input" type="email" placeholder="Email:" autocomplete="off">
89+
<input name="phone number" class="input" type="text" placeholder="Number:" autocomplete="off">
90+
<textarea name="insert your message" class="input" placeholder="Insert your message here:" maxlength="500"></textarea>
91+
<button>submit</button>
92+
</form>
8993
</div>
9094
</div>
9195
</div>

pages/dining.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<!-- logo -->
3030
<div class="logo">
3131
<img draggable="false" src="../assets/logo/logo.svg" alt="logo">
32-
<h1><a class="logo" href="../index.html">Sharland's</a></h1>
32+
<h2><a class="logo" href="../index.html">Sharland's</a></h2>
3333
</div>
3434
<!-- links -->
3535
<div class="links-wrapper">
@@ -74,7 +74,7 @@ <h1>Dining Experience</h1>
7474
<p>Browse our expansive menus, and enjoy top quality food and drink</p>
7575
</div>
7676
<div class="img-container">
77-
<img width="2560" height="1440" draggable="false" src="../assets/dining/standard.webp" alt="stir fry">
77+
<img fetchpriority="high" width="2560" height="1440" draggable="false" src="../assets/dining/standard.webp" alt="stir fry">
7878
<div class="title">
7979
<a href="./menu_standard_package.html"><h2>standard package</h2></a>
8080
</div>

pages/events_birthdays.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<!-- logo -->
3030
<div class="logo">
3131
<img draggable="false" src="../assets/logo/logo.svg" alt="logo">
32-
<h1><a class="logo" href="../index.html">Sharland's</a></h1>
32+
<h2><a class="logo" href="../index.html">Sharland's</a></h2>
3333
</div>
3434
<!-- links -->
3535
<div class="links-wrapper">
@@ -78,7 +78,7 @@ <h1>birthday events</h1>
7878
<div class="grid-container">
7979
<!-- birthday cake -->
8080
<div class="left img-left">
81-
<img width="2560" height="1440" draggable="false" src="../assets/events/birthdays/cake.webp" alt="birthday cake">
81+
<img fetchpriority="high" width="2560" height="1440" draggable="false" src="../assets/events/birthdays/cake.webp" alt="birthday cake">
8282
</div>
8383
<div class="right content-one">
8484
<h2>birthday cake</h2>

pages/events_business.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<!-- logo -->
3030
<div class="logo">
3131
<img draggable="false" src="../assets/logo/logo.svg" alt="logo">
32-
<h1><a class="logo" href="../index.html">Sharland's</a></h1>
32+
<h2><a class="logo" href="../index.html">Sharland's</a></h2>
3333
</div>
3434
<!-- links -->
3535
<div class="links-wrapper">
@@ -78,7 +78,7 @@ <h1>business events</h1>
7878
<div class="grid-container">
7979
<!-- conference rooms -->
8080
<div class="left img-one">
81-
<img width="2560" height="1440" draggable="false" src="../assets/events/business/conference_room.webp" alt="conference room">
81+
<img fetchpriority="high" width="2560" height="1440" draggable="false" src="../assets/events/business/conference_room.webp" alt="conference room">
8282
</div>
8383
<div class="right content-one">
8484
<h2>conference rooms</h2>

pages/events_christmas.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<!-- logo -->
3030
<div class="logo">
3131
<img draggable="false" src="../assets/logo/logo.svg" alt="logo">
32-
<h1><a class="logo" href="../index.html">Sharland's</a></h1>
32+
<h2><a class="logo" href="../index.html">Sharland's</a></h2>
3333
</div>
3434
<!-- links -->
3535
<div class="links-wrapper">
@@ -78,7 +78,7 @@ <h1>christmas events</h1>
7878
<div class="grid-container">
7979
<!-- christmas dinner -->
8080
<div class="left img-one">
81-
<img width="2560" height="1440" draggable="false" src="../assets/events/christmas/dinner.webp" alt="christmas dinner">
81+
<img fetchpriority="high" width="2560" height="1440" draggable="false" src="../assets/events/christmas/dinner.webp" alt="christmas dinner">
8282
</div>
8383
<div class="right content-one">
8484
<h2>christmas dinner</h2>

pages/gallery.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<!-- logo -->
3131
<div class="logo">
3232
<img draggable="false" src="../assets/logo/logo.svg" alt="logo">
33-
<h1><a class="logo" href="../index.html">Sharland's</a></h1>
33+
<h2><a class="logo" href="../index.html">Sharland's</a></h2>
3434
</div>
3535
<!-- links -->
3636
<div class="links-wrapper">
@@ -75,7 +75,7 @@ <h1>Wedding Gallery</h1>
7575
<p>Browse through our portfolio of images taken at our wedding venues</p>
7676
</div>
7777

78-
<img draggable="false" width="2560" height="1440" src="../assets/gallery/gallery_1.webp" alt="couple stood up">
78+
<img fetchpriority="high" draggable="false" width="2560" height="1440" src="../assets/gallery/gallery_1.webp" alt="couple stood up">
7979
<img draggable="false" width="2560" height="1440" src="../assets/gallery/gallery_2.webp" alt="couple sat down">
8080
<img draggable="false" width="2560" height="1440" src="../assets/gallery/gallery_3.webp" alt="couple confetti">
8181
<img draggable="false" width="2560" height="1440" src="../assets/gallery/gallery_4.webp" alt="couple camper van">

pages/menu_appetizers.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<!-- logo -->
3030
<div class="logo">
3131
<img draggable="false" src="../assets/logo/logo.svg" alt="logo">
32-
<h1><a class="logo" href="../index.html">Sharland's</a></h1>
32+
<h2><a class="logo" href="../index.html">Sharland's</a></h2>
3333
</div>
3434
<!-- links -->
3535
<div class="links-wrapper">
@@ -67,7 +67,7 @@ <h1><a class="logo" href="../index.html">Sharland's</a></h1>
6767
<main>
6868
<!-- banner -->
6969
<div class="img-container">
70-
<img width="2560" height="600" draggable="false" src="../assets/menu/banners/appetizers.webp" alt="assortment of appetizers">
70+
<img fetchpriority="high" width="2560" height="600" draggable="false" src="../assets/menu/banners/appetizers.webp" alt="assortment of appetizers">
7171
<div class="banner-title">
7272
<h1>appetizers</h1>
7373
<p>Take a bite out of our delicious starters</p>

pages/menu_beverages.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<!-- logo -->
3030
<div class="logo">
3131
<img draggable="false" src="../assets/logo/logo.svg" alt="logo">
32-
<h1><a class="logo" href="../index.html">Sharland's</a></h1>
32+
<h2><a class="logo" href="../index.html">Sharland's</a></h2>
3333
</div>
3434
<!-- links -->
3535
<div class="links-wrapper">
@@ -67,7 +67,7 @@ <h1><a class="logo" href="../index.html">Sharland's</a></h1>
6767
<main>
6868
<!-- banner -->
6969
<div class="img-container">
70-
<img width="2560" height="600" draggable="false" src="../assets/menu/banners/drinks.webp" alt="lemongrass cocktail">
70+
<img fetchpriority="high" width="2560" height="600" draggable="false" src="../assets/menu/banners/drinks.webp" alt="lemongrass cocktail">
7171
<div class="banner-title">
7272
<h1>beverages</h1>
7373
<p>Indulge yourself with the finest quality drinks</p>

pages/menu_deluxe_package.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<!-- logo -->
3030
<div class="logo">
3131
<img draggable="false" src="../assets/logo/logo.svg" alt="logo">
32-
<h1><a class="logo" href="../index.html">Sharland's</a></h1>
32+
<h2><a class="logo" href="../index.html">Sharland's</a></h2>
3333
</div>
3434
<!-- links -->
3535
<div class="links-wrapper">
@@ -67,7 +67,7 @@ <h1><a class="logo" href="../index.html">Sharland's</a></h1>
6767
<main>
6868
<!-- banner -->
6969
<div class="img-container">
70-
<img width="2560" height="600" draggable="false" src="../assets/menu/banners/deluxe.webp" alt="food platter">
70+
<img fetchpriority="high" width="2560" height="600" draggable="false" src="../assets/menu/banners/deluxe.webp" alt="food platter">
7171
<div class="banner-title">
7272
<h1>deluxe package</h1>
7373
<p>Where incredible flavours meet delicous food</p>

pages/menu_desserts.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<!-- logo -->
3030
<div class="logo">
3131
<img draggable="false" src="../assets/logo/logo.svg" alt="logo">
32-
<h1><a class="logo" href="../index.html">Sharland's</a></h1>
32+
<h2><a class="logo" href="../index.html">Sharland's</a></h2>
3333
</div>
3434
<!-- links -->
3535
<div class="links-wrapper">
@@ -67,7 +67,7 @@ <h1><a class="logo" href="../index.html">Sharland's</a></h1>
6767
<main>
6868
<!-- banner -->
6969
<div class="img-container">
70-
<img width="2560" height="600" draggable="false" src="../assets/menu/banners/desserts.webp" alt="chocolate muffins">
70+
<img fetchpriority="high" width="2560" height="600" draggable="false" src="../assets/menu/banners/desserts.webp" alt="chocolate muffins">
7171
<div class="banner-title">
7272
<h1>desserts</h1>
7373
<p>Nothing's sweeter than our delicious treats</p>

pages/menu_pescatarian.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<!-- logo -->
3030
<div class="logo">
3131
<img draggable="false" src="../assets/logo/logo.svg" alt="logo">
32-
<h1><a class="logo" href="../index.html">Sharland's</a></h1>
32+
<h2><a class="logo" href="../index.html">Sharland's</a></h2>
3333
</div>
3434
<!-- links -->
3535
<div class="links-wrapper">
@@ -67,7 +67,7 @@ <h1><a class="logo" href="../index.html">Sharland's</a></h1>
6767
<main>
6868
<!-- banner -->
6969
<div class="img-container">
70-
<img width="2560" height="600" src="../assets/menu/banners/pescatarian.webp" alt="grilled salmon salad">
70+
<img fetchpriority="high" width="2560" height="600" src="../assets/menu/banners/pescatarian.webp" alt="grilled salmon salad">
7171
<div class="banner-title">
7272
<h1>pescatarian</h1>
7373
<p>Fresh from the ocean to your plate</p>

0 commit comments

Comments
 (0)