File size: 1,544 Bytes
83e35a7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 |
body {
display: flex;
justify-content: center;
background-image: url('assets/bg.jpg');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: 100% 100%;
}
.button{
display: flex;
justify-content: center;
}
.button button{
background-color: rgba(0, 0, 0, 0.42);
}
.button button:hover {
box-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 1px #000000,
0 0 2px #000000, 0 0 3px #000000, 0 0 3px #000000;
}
.wrapper {
display: flex;
height: 400px;
width: 600px;
background-color: rgb(255, 255, 255);
}
.grid-container {
width: 100%;
height: 100%;
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: repeat(2, 1fr);
border: 0;
row-gap: 0;
column-gap: 0;
}
.grid-item {
background-position: center center;
background-repeat: no-repeat;
background-size: contain;
background-color: #000;
border: 0;
position: relative;
}
/* Image and overlay layers */
.grid-item .panel-img{
width: 100%;
height: 100%;
object-fit: contain;
display: block;
background: #000;
}
.grid-item .bubble-layer{
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
pointer-events: none; /* bubbles themselves will re-enable */
}
.grid-item .bubble-layer .bubble{
position: absolute;
pointer-events: auto;
}
/* Make navigation buttons small */
.button button {
padding: 4px;
}
.button button img {
width: 20px;
height: 20px;
}
|