80 lines
1.1 KiB
CSS
80 lines
1.1 KiB
CSS
/* main html tag css styling */
|
|
body{
|
|
background-color:#E0E0E0;
|
|
}
|
|
footer{
|
|
width:100%;
|
|
text-align: center;
|
|
}
|
|
aside{
|
|
float:right;
|
|
}
|
|
header{
|
|
background:url('../images/banner.png');
|
|
height:100px;
|
|
}
|
|
header p{
|
|
float:right;
|
|
color:#E0E0E0;
|
|
text-decoration:none;
|
|
margin-right:1%;
|
|
}
|
|
/* child element styling */
|
|
nav ul{
|
|
list-style:none;
|
|
padding:0;
|
|
text-align:center;
|
|
}
|
|
nav ul li{
|
|
display:inline;
|
|
margin-right:2%;
|
|
}
|
|
nav ul li:hover{
|
|
text-decoration:underline;
|
|
color:#FF0000;
|
|
}
|
|
section h1{
|
|
text-align:center;
|
|
}
|
|
ul li a{
|
|
text-decoration: none;
|
|
}
|
|
/* class elements styling */
|
|
div.content{
|
|
width:75%;
|
|
margin-left:13%;
|
|
}
|
|
div.shopping-cart{
|
|
float:right;
|
|
|
|
}
|
|
section.login{
|
|
width:50%;
|
|
float:right;
|
|
margin-right:25%;
|
|
}
|
|
a.sign-in{
|
|
float:right;
|
|
color:#E0E0E0;
|
|
text-decoration:none;
|
|
margin-right:1%;
|
|
}
|
|
a.sign-in:hover{
|
|
text-decoration:none;
|
|
border-bottom: 1px solid #FF0000;
|
|
}
|
|
|
|
/* id element styling */
|
|
#itemRow{
|
|
width:70%;
|
|
height:30%;
|
|
margin-left:13%;
|
|
}
|
|
#iteminfo{
|
|
font-size:14px;
|
|
color: rgb(64,64,64);
|
|
}
|
|
div#shopping-cart{
|
|
text-align:left;
|
|
padding-left:40%;
|
|
} |