1
0
mirror of https://github.com/actix/actix-website synced 2025-06-29 08:14:58 +02:00

Features on the home page

This commit is contained in:
Armin Ronacher
2018-05-23 20:15:15 +02:00
parent 28b4708ab3
commit 8246cf132b
3 changed files with 105 additions and 0 deletions

View File

@ -282,6 +282,41 @@ img {
max-width: 1000px;
}
.actix-showcase {
margin-top: 2rem;
margin-bottom: 2rem;
}
.actix-showcase ul {
list-style: none;
margin: 0;
padding: 0;
line-height: 2;
}
.actix-showcase input[type="radio"] {
display: none;
}
.actix-showcase div.feature {
display: none;
}
.actix-showcase input[type="radio"]:checked + div.feature {
display: block;
}
.actix-showcase label {
display: block;
font-weight: bold;
color: #156060;
cursor: pointer;
}
.actix-showcase label:hover {
color: #003B3B;
}
.actix-features h2 {
font-size: 1.5rem;
margin-top: 2.25rem;