Hasli4

Untitled

Jun 15th, 2026
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.16 KB | None | 0 0
  1.  
  2. .gallery-hero {
  3. min-height: 48vh;
  4. display: grid;
  5. grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.75fr);
  6. gap: clamp(24px, 5vw, 56px);
  7. align-items: center;
  8. padding: 52px 0 36px;
  9. }
  10.  
  11. .eyebrow {
  12. margin: 0 0 10px;
  13. font-family: "Archivo Black", Arial, sans-serif;
  14. text-transform: uppercase;
  15. color: var(--green);
  16. }
  17.  
  18. h1,
  19. h2,
  20. h3,
  21. p {
  22. margin-top: 0;
  23. }
  24.  
  25. h1,
  26. h2,
  27. h3 {
  28. font-family: "Archivo Black", Arial, sans-serif;
  29. line-height: 1.05;
  30. }
  31.  
  32. h1 {
  33. margin-bottom: 18px;
  34. font-size: clamp(2.8rem, 7vw, 6rem);
  35. }
  36.  
  37. h2 {
  38. margin-bottom: 14px;
  39. font-size: clamp(2rem, 4vw, 3.2rem);
  40. }
  41.  
  42. h3 {
  43. margin-bottom: 10px;
  44. font-size: 1.2rem;
  45. }
  46.  
  47. .gallery-hero__lead {
  48. max-width: 720px;
  49. margin-bottom: 0;
  50. color: var(--muted);
  51. font-size: 1.12rem;
  52. }
  53.  
  54. .gallery-panel,
  55. .section,
  56. .archive-note {
  57. border: 2px solid var(--black);
  58. border-radius: 8px;
  59. background: var(--white);
  60. box-shadow: 8px 8px 0 var(--black);
  61. }
  62.  
  63. .gallery-panel {
  64. padding: clamp(18px, 3vw, 28px);
  65. }
  66.  
  67. .gallery-panel__label {
  68. display: block;
  69. margin-bottom: 8px;
  70. color: var(--muted);
  71. font-weight: 700;
  72. }
  73.  
  74. .gallery-panel strong {
  75. display: block;
  76. font-family: "Archivo Black", Arial, sans-serif;
  77. font-size: clamp(2rem, 4vw, 3.4rem);
  78. }
  79.  
  80. .gallery-panel p {
  81. margin: 8px 0 0;
  82. color: var(--muted);
  83. }
  84.  
  85. .gallery-panel__actions {
  86. display: grid;
  87. gap: 10px;
  88. margin-top: 18px;
  89. }
  90.  
  91. .draw-button,
  92. .clear-gallery {
  93. display: inline-flex;
  94. align-items: center;
  95. justify-content: center;
  96. min-height: 52px;
  97. padding: 14px 18px;
  98. box-shadow: 5px 5px 0 var(--black);
  99. }
  100.  
  101. .draw-button {
  102. background: var(--green);
  103. }
  104.  
  105. .clear-gallery {
  106. width: 100%;
  107. }
  108.  
  109. .clear-gallery:disabled {
  110. opacity: 0.55;
  111. cursor: not-allowed;
  112. transform: none;
  113. box-shadow: 5px 5px 0 var(--black);
  114. }
  115.  
  116. .section,
  117. .archive-note {
  118. margin-bottom: 48px;
  119. padding: clamp(20px, 4vw, 36px);
  120. }
  121.  
  122. .section__head {
  123. max-width: 780px;
  124. margin-bottom: 24px;
  125. }
  126.  
  127. .section__head p,
  128. .empty-message,
  129. .archive-note p,
  130. .gallery-card p {
  131. color: var(--muted);
  132. }
  133.  
  134. .empty-message {
  135. max-width: 720px;
  136. margin-bottom: 20px;
  137. }
  138.  
  139. .empty-message[hidden] {
  140. display: none;
  141. }
  142.  
  143. .gallery-grid {
  144. display: grid;
  145. grid-template-columns: repeat(3, minmax(0, 1fr));
  146. gap: 18px;
  147. }
  148.  
  149. .gallery-card {
  150. min-width: 0;
  151. border: 2px solid var(--black);
  152. border-radius: 6px;
  153. padding: 16px;
  154. background: #f8fff4;
  155. }
  156.  
  157. .gallery-card__image,
  158. .placeholder-art {
  159. width: 100%;
  160. aspect-ratio: 16 / 10;
  161. margin-bottom: 16px;
  162. border: 2px solid var(--black);
  163. border-radius: 4px;
  164. background: var(--white);
  165. display: block;
  166. }
  167.  
  168. .gallery-card__image {
  169. object-fit: cover;
  170. image-rendering: pixelated;
  171. }
  172.  
  173. .gallery-card h3 {
  174. margin-bottom: 8px;
  175. }
  176.  
  177. .gallery-card p {
  178. margin-bottom: 14px;
  179. }
  180.  
  181. .gallery-card__meta {
  182. display: block;
  183. margin-bottom: 14px;
  184. color: var(--muted);
  185. font-size: 0.9rem;
  186. }
  187.  
  188. .gallery-card__actions {
  189. display: flex;
  190. flex-wrap: wrap;
  191. gap: 10px;
  192. }
  193.  
  194. .card-button {
  195. padding: 9px 12px;
  196. box-shadow: 3px 3px 0 var(--black);
  197. }
  198.  
  199. .card-button--danger {
  200. color: var(--danger);
  201. }
  202.  
  203. .placeholder-art {
  204. display: grid;
  205. grid-template-columns: repeat(5, 1fr);
  206. gap: 5px;
  207. padding: 12px;
  208. background: #f1f1f1;
  209. }
  210.  
  211. .placeholder-art span {
  212. border: 2px solid var(--black);
  213. background: var(--white);
  214. }
  215.  
  216. .placeholder-art span:nth-child(2),
  217. .placeholder-art span:nth-child(7),
  218. .placeholder-art span:nth-child(13),
  219. .placeholder-art span:nth-child(19),
  220. .placeholder-art span:nth-child(24) {
  221. background: var(--green-soft);
  222. }
  223.  
  224. .placeholder-art span:nth-child(4),
  225. .placeholder-art span:nth-child(9),
  226. .placeholder-art span:nth-child(14),
  227. .placeholder-art span:nth-child(18),
  228. .placeholder-art span:nth-child(22) {
  229. background: rgba(0, 0, 139, 0.12);
  230. }
  231.  
  232. .gallery-card--placeholder h3,
  233. .gallery-card--placeholder p {
  234. color: #6a746f;
  235. }
  236.  
  237. .archive-note {
  238. display: grid;
  239. grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  240. gap: 24px;
  241. }
  242.  
  243. .archive-note p {
  244. margin-bottom: 0;
  245. }
  246.  
  247. .footer {
  248. min-height: 96px;
  249. padding: 22px clamp(16px, 4vw, 56px);
  250. border-top: 2px solid var(--blue);
  251. background-color: var(--blue);
  252. color: var(--white);
  253. display: flex;
  254. justify-content: space-between;
  255. gap: 16px;
  256. align-items: center;
  257. flex-wrap: wrap;
  258. }
  259.  
  260. .footer a {
  261. padding: 10px 14px;
  262. border: 2px solid var(--white);
  263. border-radius: 6px;
  264. font-family: "Archivo Black", Arial, sans-serif;
  265. transition:
  266. transform 140ms ease,
  267. box-shadow 140ms ease;
  268. }
  269.  
  270. .modal {
  271. position: fixed;
  272. inset: 0;
  273. z-index: 50;
  274. display: grid;
  275. place-items: center;
  276. padding: 20px;
  277. }
  278.  
  279. .modal[hidden] {
  280. display: none;
  281. }
  282.  
  283. .modal__backdrop {
  284. position: absolute;
  285. inset: 0;
  286. background: rgba(0, 0, 0, 0.62);
  287. }
  288.  
  289. .modal__card {
  290. position: relative;
  291. width: min(900px, 100%);
  292. max-height: min(90vh, 820px);
  293. overflow: auto;
  294. padding: clamp(18px, 4vw, 28px);
  295. border: 3px solid var(--black);
  296. border-radius: 8px;
  297. background: var(--white);
  298. box-shadow: 10px 10px 0 var(--black);
  299. }
  300.  
  301. .modal__close {
  302. position: absolute;
  303. top: 12px;
  304. right: 12px;
  305. width: 40px;
  306. height: 40px;
  307. border: 2px solid var(--black);
  308. border-radius: 6px;
  309. background: var(--white);
  310. cursor: pointer;
  311. font-size: 1.4rem;
  312. line-height: 1;
  313. }
  314.  
  315. .modal__card img {
  316. width: 100%;
  317. max-height: 62vh;
  318. object-fit: contain;
  319. image-rendering: pixelated;
  320. border: 2px solid var(--black);
  321. background: var(--white);
  322. }
  323.  
  324. .modal__card p:last-child {
  325. margin: 14px 0 0;
  326. color: var(--muted);
  327. }
  328.  
  329. @media (max-width: 900px) {
  330. .header,
  331. .gallery-hero,
  332. .archive-note,
  333. .gallery-grid {
  334. grid-template-columns: 1fr;
  335. }
  336.  
  337. .header {
  338. display: grid;
  339. justify-items: center;
  340. }
  341. }
  342.  
  343. @media (max-width: 560px) {
  344. main {
  345. width: min(100%, calc(100% - 20px));
  346. }
  347.  
  348. .nav {
  349. display: none;
  350. }
  351.  
  352. .gallery-panel__actions,
  353. .draw-button,
  354. .clear-gallery {
  355. width: 100%;
  356. }
  357.  
  358. .footer {
  359. align-items: stretch;
  360. flex-direction: column;
  361. }
  362.  
  363. .footer a {
  364. text-align: center;
  365. }
  366. }
  367.  
Advertisement
Add Comment
Please, Sign In to add comment