Rename portfolio to projects

This commit is contained in:
Hazem Krimi
2023-06-04 16:07:59 +01:00
parent 3a51b7fdb2
commit 69afc742a0
14 changed files with 161 additions and 128 deletions
+38
View File
@@ -0,0 +1,38 @@
import styled from 'styled-components';
export const Wrapper = styled.div`
min-height: 75vh;
padding: 1rem 0rem;
.back {
cursor: pointer;
text-align: left;
display: inline-flex;
align-items: center;
span {
color: ${({ theme }) => theme.colors.blue} !important;
}
}
h1 {
font-size: 1.7rem;
margin-bottom: 1rem;
}
h4 {
font-size: 1.3rem;
grid-column: 1 / -1;
align-self: center;
justify-self: center;
}
.projects-wrapper {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr));
grid-auto-rows: minmax(6.25rem, auto);
align-items: stretch;
justify-items: center;
gap: 1rem;
}
`;
+91
View File
@@ -0,0 +1,91 @@
import styled from 'styled-components';
export const Wrapper = styled.div`
min-height: 75vh;
padding: 1rem 0rem;
display: grid;
grid-template-rows: auto 1fr;
row-gap: 2rem;
@media (max-width: 768px) {
row-gap: 1rem;
}
.meta {
.back {
cursor: pointer;
text-align: left;
display: inline-flex;
align-items: center;
span {
color: ${({ theme }) => theme.colors.blue} !important;
}
}
.image {
margin: 1rem 0rem;
}
h1,
p {
text-align: left;
}
h1 {
font-size: 2rem;
}
h2 {
font-size: 1.2rem;
}
}
hr {
height: 0.1rem;
opacity: 0.3;
margin: 1rem auto 0rem auto;
}
.content {
h1 {
font-size: 1.5rem;
}
h2 {
font-size: 1.3rem;
}
h3 {
font-size: 1.1rem;
}
& > * {
margin: 0.5rem 0rem;
}
button {
margin: 1rem 0rem;
}
p * {
width: 100%;
height: auto;
}
ul,
ol {
margin-inline-start: 0.5rem;
list-style-position: inside;
}
.showcase-buttons {
width: 100%;
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 1rem;
justify-content: space-between;
align-items: center;
}
}
`;