About page and home page

This commit is contained in:
Hazem Krimi
2023-11-14 19:34:03 +01:00
parent 6df17ff272
commit 33b8d792cf
13 changed files with 259 additions and 13 deletions
+46
View File
@@ -0,0 +1,46 @@
:root {
--about-card-light-background: #f2f2f2;
--about-card-dark-background: #131212;
}
#about-card {
background-color: var(--about-card-background);
color: var(--text);
border-radius: 1.875rem;
padding: 3.5rem 2.5rem;
margin-bottom: 2rem;
display: flex;
column-gap: 2rem;
}
#about-card img {
width: 8.9375rem;
height: 8.9375rem;
}
#about-card h3 {
font-size: 2rem;
margin-bottom: 1.75rem;
text-transform: capitalize;
}
#about-card p {
margin-bottom: 4rem;
}
#about-card #links {
display: flex;
align-items: center;
justify-content: space-between;
}
@media only screen and (max-width: 1024px) {
#about-card {
flex-direction: column;
row-gap: 2rem;
}
#about-card img {
align-self: center;
}
}
+3 -3
View File
@@ -1,10 +1,10 @@
:root {
--project-card-light-background: #f2f2f2;
--project-card-dark-background: #131212;
--card-light-background: #F2F2F2;
--card-dark-background: #131212;
}
article {
background-color: var(--project-card-background);
background-color: var(--card-background);
color: var(--text);
border-radius: 1.875rem;
padding: 3.5rem 2.5rem;