Some UX improvements
Some checks are pending
Deploy to Pages / Build (push) Waiting to run
Deploy to Pages / Deploy (push) Blocked by required conditions

This commit is contained in:
Henry Hiles 2025-08-15 12:40:25 -04:00
commit 6b68290e48
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
2 changed files with 123 additions and 133 deletions

View file

@ -51,7 +51,7 @@ main {
flex-direction: column;
display: flex;
align-items: center;
gap: 2em;
gap: 3em;
padding: 1em;

View file

@ -1,7 +1,6 @@
header {
display: flex;
flex-direction: column;
font-size: 2em;
justify-content: center;
align-items: center;
@ -11,9 +10,15 @@ header {
}
& span {
font-size: 2em;
display: flex;
text-align: center;
padding: 0 0.5rem;
padding: 2rem 0.5rem;
padding-top: 0;
}
& a {
font-size: 0.5rem;
}
}
@ -23,14 +28,10 @@ mdui-card {
}
main > * > section {
&#certificates mdui-card {
&#certificates div {
padding: 1em;
flex-wrap: wrap;
@media (max-width: 500px) {
border: none;
}
& a {
min-width: 150px;
width: 15%;
@ -39,51 +40,42 @@ main > * > section {
&#projects div {
display: flex;
gap: 0;
flex-direction: column;
gap: 1em;
& mdui-card {
@media (max-width: 500px) {
border: none;
& section {
padding: 0;
& section {
margin: 0.5em;
padding: 1em;
display: flex;
gap: 2rem;
justify-content: center;
flex-wrap: wrap;
& article {
& h3 {
font-size: 2em;
margin: 0.5em 0;
}
& p {
margin: 0;
}
width: 420px;
}
& aside {
display: flex;
justify-content: center;
width: 380px;
gap: 1em;
& img {
border-radius: var(--mdui-shape-corner-medium);
border: 2px solid rgb(var(--primary));
.double > & {
width: 45%;
}
}
}
& section {
margin: 1em;
padding: 1em;
display: flex;
gap: 2rem;
justify-content: center;
flex-wrap: wrap;
& article {
& h3 {
font-size: 2em;
margin: 0.5em 0;
}
& p {
margin: 0;
}
width: 420px;
}
& aside {
display: flex;
justify-content: center;
width: 380px;
gap: 1em;
& img {
border-radius: var(--mdui-shape-corner-medium);
border: 2px solid rgb(var(--primary));
.double > & {
width: 45%;
}
}
}
:nth-child(even) > & {
flex-direction: row-reverse;
}
:nth-child(even) > & {
flex-direction: row-reverse;
}
}
}