paulus.casa/src/styles/projects.css

233 lines
4.7 KiB
CSS

.projectArticleContainer {
min-height: 100vh;
height: 100%;
width: 100%;
padding: 4.5rem 2rem;
color: white;
}
.projectTypeSelectionContainer {
text-align: center;
padding: 0;
margin: 0;
display: flex;
flex-direction: row;
justify-content: center;
gap: 3rem;
position: relative;
}
.projectTypeSelection {
color: white;
padding: 1rem 1.25rem;
font-weight: bolder;
min-width: 10rem;
}
.projectNotSelected {
border-top: 3px white solid;
border-left: 3px white solid;
border-right: 3px white solid;
border-bottom: 0;
z-index: 1;
}
.projectTypeSelected {
position: relative;
border-top: 3px white solid;
border-bottom: 0;
}
.projectTypeSelected::after, .projectTypeSelected::before {
content: '';
height: 100%;
border: 3px solid;
position: absolute;
bottom: -3px;
border-top: 0;
z-index: 0;
}
.projectSelectedOne::after {
min-width: calc(43vw + 13rem);
border-image: linear-gradient(to left,rgba(255,255,255,0) 5%,rgba(255,255,255,1) 40%) 3;
}
.projectSelectedOne::before {
min-width: calc(43vw - 13rem);
border-image: linear-gradient(to right,rgba(255,255,255,0) 5%,rgba(255,255,255,1) 70%) 3;
}
.projectSelectedTwo::after {
min-width: 43vw;
border-image: linear-gradient(to left,rgba(255,255,255,0) 5%,rgba(255,255,255,1) 40%) 3;
}
.projectSelectedTwo::before {
min-width: 43vw;
border-image: linear-gradient(to right,rgba(255,255,255,0) 5%,rgba(255,255,255,1) 40%) 3;
}
.projectSelectedThree::after {
min-width: calc(43vw - 13rem);;
border-image: linear-gradient(to left,rgba(255,255,255,0) 5%,rgba(255,255,255,1) 70%) 3;
}
.projectSelectedThree::before {
min-width: calc(43vw + 13rem);
border-image: linear-gradient(to right,rgba(255,255,255,0) 5%,rgba(255,255,255,1) 40%) 3;
}
.projectTypeSelected::before {
border-left: 0;
right: calc(10rem - 3px);
}
.projectTypeSelected::after {
border-right: 0;
left: calc(10rem - 3px);
}
.projectInformationContainer {
display: flex;
flex-direction: row;
flex-wrap: wrap;
margin: 0.5rem;
padding-bottom: 4rem;
width: 100%;
height: 100%;
overflow-y: scroll;
}
.projectIndividualItemContainer {
display: flex;
flex-direction: column;
margin: 0.5rem;
padding: 1.5rem;
max-width: calc(33% - 1rem);
background: linear-gradient(109.6deg, rgb(15, 25, 25) 0%, rgb(14, 138, 130) 91.1%);
}
.projectImageContainer {
width: 100%;
padding: 0.5rem;
}
.projectImage {
width: 100%;
}
.projectTextContainer {
display: flex;
flex-direction: column;
text-align: center;
width: 100%;
padding: 0.5rem;
}
.projectTextTitle {
padding: 0.5rem;
font-size: 1.4rem;
font-weight: 900;
}
.projectTechnologies {
font-size: 1.1rem;
padding-bottom: 1rem;
}
.projectLinksContainer {
display: flex;
flex-direction: row;
gap: 2rem;
justify-content: center;
}
.individualProjectLinks {
color: white;
font-size: 1rem;
padding: 0.1rem 0.5rem;
text-decoration: none;
border-bottom: 1px solid white;
border-radius: 5px;
}
.individualProjectLinks:hover, .individualProjectLinks:visited, .individualProjectLinks:active {
color: white;
text-decoration: none;
}
.individualProjectLinks:hover {
background: white;
color: black;
}
@media screen and (max-width: 520px) and (orientation: portrait) {
.projectTypeSelectionContainer {
gap: 1rem;
}
.projectTypeSelection {
color: white;
padding: 1rem 0.75rem;
font-weight: bolder;
min-width: 8rem;
}
.projectTypeSelected::before {
border-left: 0;
right: calc(8rem - 2px);
}
.projectTypeSelected::after {
border-right: 0;
left: calc(8rem - 2px);
}
.projectIndividualItemContainer {
max-width: calc(100% - 1rem);
}
.projectIndividualItemContainer:last-child {
margin-bottom: 8rem;
}
}
@media screen and (min-width: 521px) and (max-width: 705px) and (orientation: portrait) {
.projectIndividualItemContainer {
max-width: calc(100% - 1rem);
}
}
@media screen and (min-width: 706px) and (max-width: 860px) and (orientation: portrait) {
.projectIndividualItemContainer {
max-width: calc(100% - 1rem);
}
}
@media screen and (min-width: 861px) and (max-width: 1048px) and (orientation: portrait) {
.projectIndividualItemContainer {
max-width: calc(100% - 1rem);
}
}
@media only screen
and (max-width: 800px)
and (orientation: landscape) {
.projectIndividualItemContainer {
max-width: calc(50% - 1rem);
}
}
@media only screen
and (min-width: 801px)
and (max-width: 1000px)
and (orientation: landscape) {
.projectIndividualItemContainer {
max-width: calc(50% - 1rem);
}
}
@media only screen
and (min-width: 1001px)
and (max-width: 1400px)
and (orientation: landscape) {
.projectIndividualItemContainer {
max-width: calc(50% - 1rem);
}
}