| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141 |
- @use '../_variables';
- section#profile{
-
- max-width: 65em;
- margin: 1em auto;
- padding:0.5em 1em;
-
- img{
- max-width: 12em;
- height: 12em;
- border-radius: 50%;
- border: 0.3em solid variables.$primary-brown;
- margin-right: 2em;
- display: inline-block;
- vertical-align: middle;
- z-index: 1;
- position: relative;
-
- @media screen and (max-width: 800px){
- height: initial;
- max-height: initial;
- max-width: calc(30% - 2em);
- margin-right: 1em;
- margin-right: 0;
- }
- }
-
- div#profile-text{
- max-width: calc(100% - 18em);
- display: inline-block;
- height: 10em;
- max-height: 10em;
- vertical-align: middle;
- border-bottom: 0.2em solid variables.$primary-brown;
- border-top: 0.2em solid variables.$primary-brown;
- border-top-right-radius: 1em;
- border-bottom-right-radius: 1em;
- margin-left: -7em;
- padding: 0.5em 3em 0.5em 7em;
- z-index:0;
- position: relative;
- background: linear-gradient(90deg, #eeeeee 99%, #ffffff00 100%);
-
- @media screen and (max-width: 800px){
- max-width: 65%;
- font-size: 90%;
- border-bottom: 0;
- border-top: 0;
- background: initial;
- margin-left: initial;
- padding: 0.3em 0.3em 0.3em 0.8em;
- margin: 0;
- height: initial;
- max-height: initial;
- }
-
- p{margin: 0.3em 0;}
-
- p:first-child{font-weight: bold;}
- }
- }
- section#catalog{
- text-align: center;
- font-size: 0;
-
- article{
- position: relative;
- display: inline-block;
- vertical-align: top;
- width: calc(33% - 1.2em);
- max-width: 15em;
- aspect-ratio: 1;
- overflow: hidden;
- border: 0.1em solid variables.$primary-brown;
- border-radius: 0.3em;
- margin: 0.5em;
- font-size: initial;
-
- @media only screen and (max-width : 600px) {
- width: calc(33% - 0.12em);
- margin: 0;
- border-radius: 0;
- }
-
- img.project-image, img.project-image-alt{
- object-fit: cover;
- object-position: center;
- width: 100%;
- height: 100%;
- scale: 1;
- position: absolute;
- left: 0;
- transition: opacity 0.5s ease-in-out, scale 0.5s ease-in-out;
-
- @media only screen and (max-width : 600px) {
- width: 100%;
- height: 100%;
- }
- }
- div.project_details{
- position: absolute;
- bottom: 0em;
- width: 100%;
- height: 100%;
- text-align: right;
- margin: 0;
- padding: 0;
- opacity: 0;
- background: #000000;
- background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 12%, rgba(0, 0, 0, 0) 37%, rgba(0, 0, 0, 0) 100%);
- transition: opacity 0.5s ease-in-out;
-
- h3{
- margin: 0.3em;
- width: calc(100% - 0.6em);
- position: absolute;
- bottom: 0em;
- color: var(--accent-gold);
- font-size: 150%;
- line-height: 1;
-
- @media only screen and (max-width : 600px){font-size: 120%;}
- }
- }
- }
- }
- @media (hover: hover) {
- section#catalog article:hover img{scale: 1.2;}
- section#catalog article:hover div.project_details{opacity: 0.8;}
- }
- @media (hover: none) {
- section#catalog article div.project_details{opacity: 0.8;}
- }
|