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 12, 2024
1 parent 7a805d8 commit 2013733
Showing 1 changed file with 73 additions and 0 deletions.
73 changes: 73 additions & 0 deletions css/rt-ai-html.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@
box-sizing: border-box;
}

body {
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(135deg, var(--background-color) 0%, #ffffff 100%);
padding: 20px;
}

.email-container {
max-width: 100%;
padding: 1px;
Expand Down Expand Up @@ -344,3 +353,67 @@ dialog {
.contact-item:not(:has(a:not(:empty), span:not(:empty))) {
display: none;
}

@media (max-width: 768px) {
.business-card {
padding: 24px;
}

.card-content {
grid-template-columns: 1fr;
}

.left-column {
flex-direction: row;
justify-content: center;
flex-wrap: wrap;
}

.profile-picture {
width: 120px;
height: 120px;
}

.qr-code {
width: 100px;
height: 100px;
}

.name {
font-size: 1.6em;
}

.contact {
grid-template-columns: 1fr;
}
}

@media (max-width: 480px) {
.business-card {
padding: 8px;
}

.profile-picture {
width: 100px;
height: 100px;
}

.qr-code {
width: 80px;
height: 80px;
}

.name {
font-size: 1.4em;
}

.title {
font-size: 1.1em;
}

.note {
font-size: 0.9em;
padding: 6px;
}
}

0 comments on commit 2013733

Please sign in to comment.