Spaces:
Running
Running
File size: 2,722 Bytes
7ee5f8f 7e2111f 7ee5f8f 0a9d77b 7e2111f 0a9d77b 7e2111f 885d7ee 7e2111f 885d7ee 7e2111f 885d7ee 0a9d77b 7ee5f8f 7e2111f 7ee5f8f c185003 b1d8a4c 7e2111f 7ee5f8f b1d8a4c e74bd6b b1d8a4c e74bd6b b1d8a4c 7ee5f8f 2b24c01 7ee5f8f |
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 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 |
html,
body {
font-family: 'Roboto', sans-serif;
background-color: #1a1b1e;
color: white;
margin: 0;
padding: 0;
height: 100%;
width: 100%;
overflow: hidden;
}
.banner {
width: 100%;
padding: 0 20px;
margin: 0;
border-bottom: 1px solid #333;
box-sizing: border-box;
cursor: pointer;
}
.banner h1 {
padding: 0;
margin: 20px 0 0 0;
cursor: pointer;
}
.banner p {
padding: 0;
margin: 4px 0 20px 0;
color: #aaa;
cursor: pointer;
}
.container {
padding: 10px 15px 80px 15px;
margin-left: auto;
margin-right: auto;
max-height: 100vh;
overflow-y: auto;
position: relative;
box-sizing: border-box;
@media (min-width: 576px) {
max-width: 540px;
}
@media (min-width: 768px) {
max-width: 720px;
}
@media (min-width: 992px) {
max-width: 960px;
}
@media (min-width: 1200px) {
max-width: 1140px;
}
}
.exit-button {
display: flex;
justify-content: center;
align-items: center;
position: absolute;
top: 10px;
right: 16px;
width: 36px;
height: 36px;
color: #aaa;
font-size: 24px;
cursor: pointer;
font-weight: bold;
transition: scale 0.2s ease;
}
.exit-button:hover {
scale: 1.1;
}
.header {
padding: 20px 0;
font-size: 24px;
font-weight: bold;
color: #aaa;
}
.viewer {
margin: 0;
padding: 0;
overflow: hidden;
}
.grid {
display: flex;
flex-wrap: wrap;
gap: 10px;
width: 100%;
}
.grid-item {
background: #333;
position: relative;
border: 1px solid #000;
box-sizing: border-box;
overflow: hidden;
width: 100%;
@media (min-width: 576px) {
width: calc(33.333% - 10px);
}
@media (min-width: 768px) {
width: calc(25% - 10px);
}
@media (min-width: 992px) {
width: calc(20% - 10px);
}
@media (min-width: 1200px) {
width: calc(16.666% - 10px);
}
}
.grid-item::before {
content: "";
display: block;
padding-top: 100%;
}
.grid-item:hover {
cursor: pointer;
}
.grid-item .title {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
background-color: rgba(0, 0, 0, 0.2);
color: #fff;
text-align: center;
padding: 10px;
box-sizing: border-box;
font-size: 14px;
height: 40px;
overflow: hidden;
transition: height 0.2s ease;
}
.grid-item:hover .title {
height: 48px;
}
.thumbnail {
position: absolute;
top: -10px;
;
left: 0;
width: 100%;
height: auto;
overflow: hidden;
scale: 1;
transition: scale 0.2s ease;
}
.grid-item:hover .thumbnail {
scale: 1.1;
} |