Question: Structural and Heading Styles In the Structural Styles section create a style rule for thehtml element that sets the background color of the browser window
Structural and Heading Styles
In the Structural Styles section create a style rule for thehtml element that sets the background color of the browser window to rgb(173, 189, 227).
Create a style rule for the body element that sets the background color to rgb(227, 210, 173) and sets the body font to the font stack: Century Gothic, sans-serif.
Create a style rule to display the body footer with a background color of rgb(208, 184, 109) and set the top and bottom padding space to 5 pixels.
Create a style rule for the address element to display the text in a normal font with a font size of 0.9em, horizontally center the text, and set the top and bottom padding to 10 pixels.
Go to the Heading Styles section and create a style rule to set the font weight of all h1 and h2 headings to normal.
Navigation Styles
Go to the Navigation Styles section and create a style rule for the nav > ul selector that removes all list markers, sets the line height to 2em, and sets the font size to 0.9em.
For every previously visited or unvisited hypertext link within the navigation list, create a style rule to remove the underlining from the hypertext link and to set the text color to rgb(43, 59, 125).
For every hovered or active link within the navigation list, create a style rule to set the text color to rgb(212, 35, 35).
HELP MY CODES ARE SHOWN BELOW:
mw_styles.css
@charset "utf-8";
/*
New Perspectives on HTML5 and CSS3, 7th Edition
Tutorial 2
Case Problem 2
Bike the Mountains Tour Style Sheet
Author:Xavier Phillips
Date: 1/16/2023
Filename: mw_styles.css
*/
/* Structural Styles */
html {background-color: rgb(173, 189,227);}
body {background-color: rgb(227,210,172); font-family: Century Gothic, sans-serif;}
body > footer {background-color: rgb(208, 184, 109); padding-top: 5px; padding-bottom: 5px;}
address {font-weight: normal; font-size:0.9em; text-align: center; padding-top: 10px; padding-bottom: 10px; }
/* Heading Styles */
h1 {font-weight: normal;}
h2 {font-weight: normal;}
/* Navigation Styles */
/* Select all ul within nav elements */
nav > ul
{
list-style-type: none; /* to remove list markers */
line-height: 2em; /* to set line height */
font-size: 0.9em; /* to set font size */
}
/* select all unvisited links */
nav ul a:link
{
text-decoration: none; /* to remove underline */
color: rgb(43, 59, 125); /* to set link color */
}
/* select all a tags which are visited under ul tag of nav tag */
nav ul a:visited
{
text-decoration: none; /* to remove underline */
color: rgb(43, 59, 125); /* to set link color */
}
/* select all hover links */
nav ul a:hover
{
color:rgb(212, 35, 35); /* set link color*/
}
/* select all active links */
nav ul a:active
{
color:rgb(212, 35, 35); /* set link color */
}
/* Article Styles */
article#tour_summary h1 { font-size:2.2em; letter-spacing:0.2em; }
font-size:1.2em
article#tour_summary > p:first-of-type::first-line
{
font-variant: small-caps; font-size:1.2em;
}
/* Aside Styles */
article#tour_summary h1 { font-size:2.2em; letter-spacing:0.2em; }
font-size:1.2em
article#tour_summary > p:first-of-type::first-line
{
font-variant: small-caps; font-size:1.2em;
}
/* Blockquote Styles */
aside#tour_itinerary h2:nth-of-type(odd) {
color: rgb(79, 91, 40);
}
aside#tour_itinerary p:nth-of-type(odd){
color: rgb(79, 91, 40);
}
aside#tour_itinerary h2:nth-of-type(even) {
color: rgb(81, 95, 175);
}
aside#tour_itinerary p:nth-of-type(even){
color: rgb(81, 95, 175);
}
since the only difference I can see in the code is of boldness of h2 Day 1 and h2 Day2
they can be changed by removing any weight or bold tag given to them in the code
Since you have not given the full code I can't comment on that but the code for those fond will look like this
if you have any doubt you can ask in comments
aside#tour_itinerary h1 {
font-size: 1.2em;
}
aside#tour_itinerary h2 {
font-size: 0.9em;
}
aside#tour_itinerary p {
font-size: 0.8em;
}
mw_tour.html
- Home
- Learn More
- Testimonials
- Route Maps
- Register
- Lodging
- Meals
- Training
- Equipment
- Forums
- FAQs
- Contact Us
Bike the Mountains Tour
The Bike the Mountains Tour rises from the town of Littleton,
Colorado and explores the Colorado Front Range. Our tour
crosses the Continental Divide twice, giving you the
opportunity to bike the highest paved roads in the
United States. This tour is a classic showcase of Colorado's
Rocky Mountain scenery.
The Bike the Mountains Tour is amazing. I highly
recommend it and would gladly return.
— Steve H.
Not designed for the weekend cyclist, this tour is offered
only for those fit enough to ride high mountain passes. We
provide sag wagons and support. Your lodging and meals are
also part of the registration fee.
We guarantee tough climbs, amazing sights, sweaty jerseys,
and lots of fun.
This is the seventh year we've offered the Bike the Mountains
Tour. It is our most popular tour and riders are returning
again and again. Our experienced tour leaders will be there
to guide, help, encourage, draft, and lead you
every stroke of the way. Come join us!
Itinerary
Day 1
We start from the foothills above Littleton, Colorado,
promptly at 9am. The first day is a chance to get
your legs in shape, test your gearing, and prepare for
what's to come.
Day 2
Day 2 starts with a climb up Bear Creek Canyon to Lookout
Mountain, followed by a swift and winding descent into the
town of Golden. Refresh yourself at the famous Coors Brewery.
Day 3
Day 3 takes you along the Peak to Peak Highway. This
55-mile route showcases the mountains of the Front Range,
providing amazing vistas from Golden Gate Canyon State Park
to Rocky Mountain National Park.
Day 4
Now for the supreme challenge: Day 4 brings some real
high-altitude cycling through Rocky Mountain National Park
and up Trail Ridge Road. It's an amazing ride, high above
timberline, topping out at over 11,000 feet.
Day 5
We start Day 5 on the west side of the Continental Divide.
From Grand Lake, you'll bike to Winter Park and then over
Berthoud Pass, and back to the eastern side of
the Continental Divide.
Day 6
On Day 6, we ride
back to Littleton over Squaw Pass and Bear Creek and then
enjoy a celebratory dinner as we share memories of a great
tour.
Mountain Wheels ⊗
Littleton, CO 80123 ⊗
(303) 555-5499
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
