54 lines
957 B
CSS
54 lines
957 B
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
.header {
|
|
width: 100%;
|
|
line-height: 100px;
|
|
background-color: #f5f5f5;
|
|
text-align: center;
|
|
}
|
|
.header__h1 {
|
|
font-size: 50px;
|
|
color: #333;
|
|
}
|
|
.content {
|
|
padding: 1rem;
|
|
}
|
|
.content__h2 {
|
|
font-size: 30px;
|
|
color: #333;
|
|
text-align: center;
|
|
}
|
|
.content__courses{
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
margin-top: 1rem;
|
|
}
|
|
.content__courses-ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
.content__courses-ul-li {
|
|
width: 10rem;
|
|
height: 2.6rem;
|
|
margin: 1rem;
|
|
background-color: #f5f5f5;
|
|
border-radius: 10px;
|
|
box-shadow: 0 0 10px #333;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
.content__courses-ul-li:hover {
|
|
background-color: #bbbbbb;
|
|
transition: all 0.5s;
|
|
}
|
|
.content__courses-ul-li-a {
|
|
text-decoration: none;
|
|
color: #333;
|
|
font-size: 20px;
|
|
} |