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:
@ -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;
|
||||
|
Reference in New Issue
Block a user