allcollection.html 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>Coloring Page Collections - Art Number Coloring</title>
  7. <style>
  8. :root {
  9. --primary-color: #ff6b6b;
  10. --secondary-color: #4ecdc4;
  11. --accent-color: #ffd166;
  12. --background-color: #f9f9f9;
  13. --text-color: #333;
  14. --light-text: #666;
  15. }
  16. * {
  17. margin: 0;
  18. padding: 0;
  19. box-sizing: border-box;
  20. font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  21. }
  22. body {
  23. background-color: var(--background-color);
  24. color: var(--text-color);
  25. line-height: 1.6;
  26. }
  27. .container {
  28. max-width: 1200px;
  29. margin: 0 auto;
  30. padding: 0 20px;
  31. }
  32. header {
  33. background-color: var(--primary-color);
  34. color: white;
  35. padding: 30px 0;
  36. text-align: center;
  37. position: relative;
  38. }
  39. .header-logo {
  40. font-size: 1.8rem;
  41. font-weight: 700;
  42. letter-spacing: 1px;
  43. }
  44. .breadcrumb {
  45. margin: 20px 0;
  46. font-size: 0.9rem;
  47. color: var(--light-text);
  48. }
  49. .breadcrumb a {
  50. color: var(--primary-color);
  51. text-decoration: none;
  52. }
  53. .breadcrumb a:hover {
  54. text-decoration: underline;
  55. }
  56. .page-title {
  57. color: var(--secondary-color);
  58. font-size: 2.2rem;
  59. margin: 40px 0 20px;
  60. text-align: center;
  61. }
  62. .page-description {
  63. color: var(--light-text);
  64. max-width: 800px;
  65. margin: 0 auto 50px;
  66. text-align: center;
  67. }
  68. .collection-grid {
  69. display: grid;
  70. grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  71. gap: 30px;
  72. margin-bottom: 60px;
  73. }
  74. .collection-card {
  75. background-color: white;
  76. border-radius: 10px;
  77. overflow: hidden;
  78. box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  79. transition: transform 0.3s ease;
  80. text-decoration: none;
  81. display: block;
  82. }
  83. .collection-card:hover {
  84. transform: translateY(-8px);
  85. }
  86. .collection-image {
  87. height: 200px;
  88. background-color: #f0f0f0;
  89. overflow: hidden;
  90. }
  91. .collection-image img {
  92. width: 100%;
  93. height: 100%;
  94. object-fit: cover;
  95. transition: transform 0.5s ease;
  96. }
  97. .collection-card:hover .collection-image img {
  98. transform: scale(1.05);
  99. }
  100. .collection-info {
  101. padding: 20px;
  102. }
  103. .collection-title {
  104. font-weight: 700;
  105. font-size: 1.3rem;
  106. margin-bottom: 12px;
  107. color: var(--primary-color);
  108. }
  109. .collection-desc {
  110. color: var(--light-text);
  111. font-size: 0.95rem;
  112. margin-bottom: 18px;
  113. line-height: 1.5;
  114. display: -webkit-box;
  115. -webkit-line-clamp: 4;
  116. -webkit-box-orient: vertical;
  117. overflow: hidden;
  118. }
  119. .read-more-btn {
  120. display: inline-block;
  121. background-color: var(--primary-color);
  122. color: white;
  123. padding: 10px 20px;
  124. border-radius: 30px;
  125. text-decoration: none;
  126. font-weight: 600;
  127. transition: all 0.3s ease;
  128. border: none;
  129. cursor: pointer;
  130. text-align: center;
  131. }
  132. .read-more-btn:hover {
  133. background-color: var(--secondary-color);
  134. }
  135. footer {
  136. background-color: var(--text-color);
  137. color: white;
  138. text-align: center;
  139. padding: 30px 0;
  140. margin-top: 50px;
  141. }
  142. .footer-content {
  143. max-width: 600px;
  144. margin: 0 auto;
  145. }
  146. @media (max-width: 768px) {
  147. .page-title {
  148. font-size: 1.8rem;
  149. }
  150. .collection-grid {
  151. grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  152. gap: 20px;
  153. }
  154. .collection-image {
  155. height: 180px;
  156. }
  157. .collection-info {
  158. padding: 15px;
  159. }
  160. .collection-title {
  161. font-size: 1.2rem;
  162. }
  163. }
  164. </style>
  165. </head>
  166. <body>
  167. <header>
  168. <div class="container">
  169. <div class="header-logo">Art Number Coloring</div>
  170. <p>Free Printable Coloring Pages and Birthday Cards</p>
  171. </div>
  172. </header>
  173. <div class="container">
  174. <div class="breadcrumb">
  175. <a href="/">Home</a> &gt; Coloring Page Collections
  176. </div>
  177. <h1 class="page-title">Explore Coloring Page Collections</h1>
  178. <p class="page-description">
  179. Discover our handpicked collections of coloring pages for all ages and interests. Each collection features
  180. beautiful designs and themes to spark your creativity.
  181. </p>
  182. <div class="collection-grid">
  183. <!-- 合集卡片1 -->
  184. <a href="#" class="collection-card">
  185. <div class="collection-image">
  186. <img src="https://picsum.photos/600/400?random=101" alt="Flower Coloring Pages">
  187. </div>
  188. <div class="collection-info">
  189. <h3 class="collection-title">Flower Coloring Pages</h3>
  190. <p class="collection-desc">Explore our beautiful collection of flower coloring pages! From delicate roses to
  191. vibrant sunflowers, these designs offer endless possibilities for creativity. Perfect for all ages and skill
  192. levels.</p>
  193. <button class="read-more-btn">View Collection</button>
  194. </div>
  195. </a>
  196. <!-- 合集卡片2 -->
  197. <a href="#" class="collection-card">
  198. <div class="collection-image">
  199. <img src="https://picsum.photos/600/400?random=102" alt="Animal Coloring Pages">
  200. </div>
  201. <div class="collection-info">
  202. <h3 class="collection-title">Animal Coloring Pages</h3>
  203. <p class="collection-desc">Bring the animal kingdom to life with our animal coloring pages. From cute puppies
  204. and kittens to wild jungle animals, there's something for every animal lover. Great for kids and adults
  205. alike.</p>
  206. <button class="read-more-btn">View Collection</button>
  207. </div>
  208. </a>
  209. <!-- 合集卡片3 -->
  210. <a href="#" class="collection-card">
  211. <div class="collection-image">
  212. <img src="https://picsum.photos/600/400?random=103" alt="Mandala Coloring Pages">
  213. </div>
  214. <div class="collection-info">
  215. <h3 class="collection-title">Mandala Coloring Pages</h3>
  216. <p class="collection-desc">Discover the calming world of mandala coloring pages. These intricate patterns are
  217. perfect for relaxation and mindfulness. Explore different styles from simple to complex designs.</p>
  218. <button class="read-more-btn">View Collection</button>
  219. </div>
  220. </a>
  221. <!-- 合集卡片4 -->
  222. <a href="#" class="collection-card">
  223. <div class="collection-image">
  224. <img src="https://picsum.photos/600/400?random=104" alt="Holiday Coloring Pages">
  225. </div>
  226. <div class="collection-info">
  227. <h3 class="collection-title">Holiday Coloring Pages</h3>
  228. <p class="collection-desc">Celebrate every season with our holiday coloring pages. From Christmas and
  229. Halloween to Easter and Thanksgiving, find festive designs to get into the holiday spirit.</p>
  230. <button class="read-more-btn">View Collection</button>
  231. </div>
  232. </a>
  233. <!-- 合集卡片5 -->
  234. <a href="#" class="collection-card">
  235. <div class="collection-image">
  236. <img src="https://picsum.photos/600/400?random=105" alt="Cartoon Coloring Pages">
  237. </div>
  238. <div class="collection-info">
  239. <h3 class="collection-title">Cartoon Coloring Pages</h3>
  240. <p class="collection-desc">Bring your favorite cartoon characters to life with our cartoon coloring pages.
  241. Featuring popular characters from movies, TV shows, and comics, these designs are perfect for kids.</p>
  242. <button class="read-more-btn">View Collection</button>
  243. </div>
  244. </a>
  245. <!-- 合集卡片6 -->
  246. <a href="#" class="collection-card">
  247. <div class="collection-image">
  248. <img src="https://picsum.photos/600/400?random=106" alt="Nature Coloring Pages">
  249. </div>
  250. <div class="collection-info">
  251. <h3 class="collection-title">Nature Coloring Pages</h3>
  252. <p class="collection-desc">Immerse yourself in the beauty of nature with our nature coloring pages. From
  253. majestic mountains and serene lakes to colorful birds and butterflies, explore the natural world.</p>
  254. <button class="read-more-btn">View Collection</button>
  255. </div>
  256. </a>
  257. </div>
  258. </div>
  259. <footer>
  260. <div class="container footer-content">
  261. <p>Art Number Coloring - Free Printable Coloring Pages and Birthday Cards</p>
  262. <p>Bringing creativity to your fingertips, one coloring page at a time.</p>
  263. </div>
  264. </footer>
  265. <script>
  266. // 卡片点击事件增强
  267. const collectionCards = document.querySelectorAll('.collection-card');
  268. collectionCards.forEach(card => {
  269. card.addEventListener('click', (e) => {
  270. // 阻止按钮点击冒泡到卡片链接
  271. if (e.target.closest('.read-more-btn')) {
  272. return;
  273. }
  274. // 卡片本身是链接,无需额外处理
  275. });
  276. });
  277. </script>
  278. </body>
  279. </html>