ktyl.dev/src/inc_css/gallery.css

58 lines
916 B
CSS
Raw Normal View History

2021-10-11 21:36:34 +01:00
.demoTile {
2021-12-21 00:35:20 +00:00
/*opacity: 0.7;*/
2021-10-11 21:36:34 +01:00
transition: opacity 0.3s;
max-width: 15vw;
display: inline;
}
.demoTile:hover {
2021-12-21 00:35:20 +00:00
/*opacity: 1.0;*/
2021-10-11 21:36:34 +01:00
}
.demoTiles {
position: absolute;
background-color:white;
2021-12-21 00:35:20 +00:00
/*left:27.5%;*/
2021-10-11 21:36:34 +01:00
top: var(--title-height);
margin-top:40px;
}
.page.portfolio {
padding-top: 0;
2021-12-21 00:35:20 +00:00
width: 50%;
margin-left:auto;
margin-right:auto;
transform: translate(-50%,0);
2021-10-11 21:36:34 +01:00
}
2021-12-01 01:38:46 +00:00
.portfolio h1 {
2021-12-21 00:35:20 +00:00
margin-top: 1.2em;
text-align: center;
2021-12-01 01:38:46 +00:00
}
.portfolio p {
2021-12-21 00:35:20 +00:00
background-color: var(--clear);
border-style: none;
text-align: center;
2021-12-01 01:38:46 +00:00
}
2021-12-21 00:35:20 +00:00
/* gallery img */
2021-10-11 21:36:34 +01:00
.wrapper {
2021-12-01 01:38:46 +00:00
margin-top: 1em;
2021-10-11 21:36:34 +01:00
width: 100%;
height: 100%;
background-color: transparent;
2021-10-11 21:36:34 +01:00
display: grid;
2021-12-21 00:35:20 +00:00
grid-template-columns: 1fr 1fr 1fr;
2021-10-11 21:36:34 +01:00
}
.wrapper img {
width: 100%;
height: 100%;
object-fit: cover;
2021-10-11 21:36:34 +01:00
transition: transform 0.1s ease-in;
}
.wrapper img:hover {
}