You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

93 lines
1.4 KiB

* {
box-sizing: border-box;
}
body {
font-family: Arial;
margin: 0;
}
a {
background-color: #555;
text-decoration: none;
padding-left: 10px;
padding-right: 10px;
}
a:link, a:visited {
color: white;
border: 1px solid #555;
border-radius: 0 14px;
}
a:hover {
color: #555;
background-color: #ebebeb;
border: 1px solid #ebebeb;
border-radius: 25px;
}
a:active { color: cadetblue; }
/* HEADER --------------------------------------------*/
.header .title {
background-color: cadetblue;
text-align: center;
padding: 60px;
color: #ebebeb;
}
.nav-bar {
display: flex;
justify-content: space-between;
padding: 5px;
align-items: center;
background-color: #555;
}
.header nav a {
padding: 5px 20px;
margin: 0 10px 0 10px;
text-align: center;
}
.nav-left {
display: flex;
justify-content: flex-start;
}
.nav-right {
display: flex;
justify-content: flex-end;
}
/* MAIN CONTENT --------------------------------------------*/
.main-content {
display: flex;
flex-wrap: wrap;
}
.side {
flex: 30%;
background-color: #f1f1f1;
padding: 20px;
}
.main {
flex: 70%;
background-color: #ebebeb;
padding: 20px;
}
/* RESPONSIVE -----------------------------------------------------*/
@media screen and (max-width: 700px) {
.main-content, .nav-bar {
flex-direction: column;
}
}