mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-01 18:00:26 +00:00
About page and home page
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user