Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

My styles.css file:html , body, section, p , header, nav, footer, div, article, aside, ol , ul , li , h 1 , h 6

My styles.css file:html,
body,
section,
p,
header,
nav,
footer,
div,
article,
aside,
ol,
ul,
li,
h1,
h6{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: #E6E6E6;
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
div#container {
width: 940px;
background-color: #FFF;
border-radius: 8px;
margin: 10px auto;
padding: 10px;
box-shadow: 1px 1px 2px #A2A2A2,-1px -1px 2px #A2A2A2;
display: grid;
grid-template-columns: 1fr 3fr;
}
nav{
grid-column: 1/-1;
display: flex;
justify-content: space-between;
align-items: center;
}
#navTop{
display: flex;
align-items: flex-end;
}
nav #navTop>ul{
display: flex;
list-style: none;
}
nav #navTop>ul>li::after{
content: '|';
padding: .4rem;
}
nav #navTop>ul>li:last-child:after{
content: '';
}
#navTop ul a{
text-decoration: none;
color: rgb(0,138,230);
}
header{
grid-column: 1/-1;
}
header img{
width: 100%;
height: 400px;
}
#navMiddle{
background-color: rgb(0,91,220);
line-height: 30px;
}
header #navMiddle ul{
list-style: none;
display: flex;
justify-content: center;
align-items: center;
}
#navMiddle ul>li::after{
padding: .5rem;
content: '|';
color: white;
line-height: 20px;
text-align: middle;
}
#navMiddle ul>li>a{
color: white;
text-transform: uppercase;
text-decoration: none;
font-size: 14px;
font-weight: bold;
}
#navMiddle ul>li:last-child::after{
content: '';
}
aside ul{
display: flex;
flex-direction: column;
list-style: none;
height: 400px;
}
aside ul>li{
width: 250px;
background-color: #A2A2A2;
border: 2px solid #bfbfbf;
}
aside ul>li>a{
padding: .6rem;
color: #000;
text-transform: uppercase;
text-decoration: none;
font-weight: 600;
line-height: 30px;
}
.asideMessage{
display: flex;
gap: 10px;
margin-top: 5rem;
padding-top: 2rem;
border-top: 2px solid #a2a2a2;
}
main{
padding-top: 10px;
margin-left: 2rem;
margin-bottom: 2rem;
text-align: justify;
}
main hr{
background-color: #A2A2A2;
height: 1.5px;
}
main .details{
display: flex;
margin-top: 4rem;
gap: 2rem;
}
.details ul>li{
padding:.8rem 2rem;
list-style: none;
font-weight: bold;
}
.details ul>li>a{
text-decoration: none;
color: rgb(0,138,230);
}
.detailsImage{
border: 2px solid #A2A2A2;
padding: .5rem;
text-align: justify;
}
footer{
grid-column: 1/-1;
text-align: center;
margin:2rem 01rem 0;
}
footer #navBottom ul{
display: flex;
list-style: none;
justify-content: center;
align-items: center;
}
footer #navBottom>ul>li>a{
text-decoration: none;
color: rgb(0,138,230);
}
footer #navBottom>ul>li::after{
content: '|';
padding:.6rem ;
}
footer #navBottom>ul>li:last-child:after{
content: '';
}
.blue{
color: rgb(0,138,230);
}
My html file:

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Concepts of Database Management

Authors: Philip J. Pratt, Mary Z. Last

8th edition

1285427106, 978-1285427102

More Books

Students also viewed these Databases questions