portfolio content, styling
Some checks failed
Build / Deploy (push) Failing after 2m24s

This commit is contained in:
Rik Berkelder 2025-02-13 20:56:23 +01:00
parent afcdd8ed12
commit 2d182e6391
70 changed files with 367 additions and 120 deletions

View file

@ -22,116 +22,167 @@ body {
background-color: $grey-vdark;
font-family: $default-font-family;
line-height: 1.3rem;
margin: 0;
margin-top: 0.2rem;
.container {
max-width: 900px;
margin-left: auto;
margin-right: auto;
display: block;
}
.blog {
max-width: 700px;
margin-left: auto;
margin-right: auto;
.blog {
max-width: 700px;
margin-left: auto;
margin-right: auto;
&-header {
&>* {
display: block;
}
a,
a:visited {
color: $primary;
}
small {
margin-top: 0.1em;
margin-bottom: 0.4em;
}
&-header {
&>* {
display: block;
}
&-content {
border-top: 1px solid $grey-medium;
margin-top: 1em;
a,
a:visited {
color: $primary;
}
}
.portfolio-list-item {
padding: 0.5rem;
background-color: $grey-dark;
margin-top: 1rem;
.flex {
flex-wrap: nowrap;
align-items: center;
picture {
display: block;
height: 15rem;
img {
height: 100%;
max-height: 100%;
min-width: 100%;
object-fit: cover;
}
}
}
&-header {
margin-bottom: 0.3rem;
& * {
display: inline;
margin: 0;
padding: 0;
margin-right: 0.2rem;
}
a {
margin-left: auto;
float: right;
}
small {
margin-top: 0.1em;
margin-bottom: 0.4em;
}
}
ol:not(ol *, ul *),
ul:not(ol *, ul *) {
margin-left: 0rem;
margin-top: 0rem;
margin-bottom: 1rem;
padding-left: 1.5rem;
margin-right: 2rem;
list-style-position: outside;
}
ol ol,
ol ul,
ul ol,
ul ul {
padding-left: 1rem;
}
ol p,
ul p {
margin: 0.3rem 0rem;
display: inline;
}
ol {
list-style-type: decimal;
}
ul {
list-style-type: "- ";
&-content {
border-top: 1px solid $grey-medium;
margin-top: 1em;
}
}
.portfolio-list-item {
padding: 0.5rem;
background-color: $grey-dark;
margin-top: 1rem;
.flex {
flex-wrap: nowrap;
align-items: center;
width: 100%;
@media (max-width: 500px) {
flex-wrap: wrap !important;
}
picture {
display: block;
height: 15rem;
flex-grow: 1;
img {
height: 100%;
max-height: 100%;
min-width: 100%;
object-fit: cover;
}
}
}
&-header {
display: block;
width: 100%;
margin-bottom: 0.3rem;
& * {
display: inline;
margin: 0;
padding: 0;
margin-right: 0.2rem;
}
a {
margin-left: auto;
float: right;
}
}
}
.portfolio-detail {
width: 100vw;
&-header {
text-align: justify;
&>* {
display: block;
}
}
&-images {
display: flex;
flex-wrap: wrap;
margin-top: 1rem;
picture {
display: block;
height: 22vw;
flex-grow: 1;
max-width: 33.33%;
@media screen and (max-width: 1250px) {
height: 30vw;
max-width: 50%;
}
@media screen and (max-width: 750px) {
max-width: 100%;
height: 100%;
}
img {
max-height: 100%;
height: 100% !important;
min-width: 100%;
object-fit: cover;
}
}
}
}
ol:not(ol *, ul *),
ul:not(ol *, ul *) {
margin-left: 0rem;
margin-top: 0rem;
margin-bottom: 1rem;
padding-left: 1.5rem;
margin-right: 2rem;
list-style-position: outside;
}
ol ol,
ol ul,
ul ol,
ul ul {
padding-left: 1rem;
}
ol p,
ul p {
margin: 0.3rem 0rem;
display: inline;
}
ol {
list-style-type: decimal;
}
ul {
list-style-type: "- ";
}
figure {
background-color: $grey-dark;
display: inline-block;
@ -234,18 +285,18 @@ body {
padding: 0.1rem 0.4rem;
display: inline-block;
}
}
.d-inline-block {
display: inline-block;
}
.d-inline-block {
display: inline-block;
}
img {
max-width: 100%;
img {
max-width: 100%;
&[width][height] {
height: auto;
&[width][height] {
height: auto;
}
}
}