Skip to content

Commit

Permalink
Update rt-ai-html.css
Browse files Browse the repository at this point in the history
  • Loading branch information
ledangtrung committed Dec 13, 2024
1 parent ab2191a commit 07f09a9
Showing 1 changed file with 20 additions and 8 deletions.
28 changes: 20 additions & 8 deletions css/rt-ai-html.css
Original file line number Diff line number Diff line change
Expand Up @@ -424,24 +424,36 @@ dialog {
border-left: 4px solid var(--primary-color);
}


.contact {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 12px;
margin-top: 8px;
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
gap: 0.75rem;
margin-top: 0.5rem;
}

.contact-item {
display: flex;
align-items: center;
gap: 8px;
padding: 8px;
background: #f5f5f5;
border-radius: 6px;
gap: 0.75rem;
padding: 0.75rem;
background: var(--background-color);
border-radius: var(--border-radius);
transition: background-color var(--transition-speed);
}

@media screen and (min-width: 480px) {
.contact {
grid-template-columns: repeat(2, 1fr);
}
}

@media screen and (max-width: 479px) {
.contact-item {
width: 100%;
}
}


.contact-item:hover {
background: #e0e0e0;
}
Expand Down

0 comments on commit 07f09a9

Please sign in to comment.