style(credentials): refine education and certificate cards
This commit is contained in:
@@ -7,24 +7,25 @@
|
||||
|
||||
.card {
|
||||
width: 100%;
|
||||
background-color: transparent;
|
||||
background-color: var(--bg-raised);
|
||||
border: 1px solid var(--border-default);
|
||||
border-radius: var(--radius-lg);
|
||||
padding: 1.5rem 2rem;
|
||||
padding: 2rem 2.5rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
align-items: flex-start;
|
||||
gap: 2.25rem;
|
||||
transition:
|
||||
border-color var(--motion-duration-fast) ease,
|
||||
transform var(--motion-duration-default) var(--motion-ease-out);
|
||||
box-shadow: 0 0.75rem 2.5rem var(--shadow-color);
|
||||
}
|
||||
|
||||
.crestCol {
|
||||
width: 16.5rem;
|
||||
flex-shrink: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
align-items: flex-start;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.crestContainer {
|
||||
@@ -38,6 +39,7 @@
|
||||
|
||||
.crestImage {
|
||||
object-fit: contain;
|
||||
object-position: left top;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
@@ -77,13 +79,14 @@
|
||||
}
|
||||
|
||||
.description {
|
||||
max-width: 72ch;
|
||||
font-size: var(--font-size-body-default);
|
||||
line-height: var(--line-height-body-default);
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
[data-theme="dark"] .card {
|
||||
background-color: var(--bg-surface);
|
||||
background-color: var(--bg-raised);
|
||||
}
|
||||
|
||||
@media (max-width: 760px) {
|
||||
|
||||
Reference in New Issue
Block a user