websitedesign2022/docs/assets/css/main.css

70 lines
1.0 KiB
CSS
Raw Normal View History

2022-01-11 12:51:32 -06:00
body {
margin: 0px;
background-color: #ff7f50;
}
header {
display: block;
}
header img {
padding: 10px;
background-color: #a52a2a;
display: block;
margin-left: auto;
margin-right: auto;
width: 20%;
height: auto;
}
header nav {
display: flex;
justify-content: center;
width: 100%;
}
nav ul {
list-style-type: none;
margin: 0;
padding: 10px;
background-color: #d2691e;
}
nav li {
display: inline;
}
nav li a {
transition: background-color 1s;
display: inline-block;
color: #ffffff;
background-color: #a52a2a;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-family: "M PLUS 1", sans-serif;
}
nav li a:hover {
background-color: #d2691e;
}
.current {
background-color: #ff8f61;
}
.current:hover {
background-color: #ff7f61;
}
main {
margin: 10px;
padding: 10px;
background-color: #d2691e;
font-family: "Open Sans", sans-serif;
color: #ffffff;
}
main p {
font-family: "Roboto", sans-serif;
}