File tree Expand file tree Collapse file tree 2 files changed +9
-11
lines changed
Expand file tree Collapse file tree 2 files changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -350,7 +350,7 @@ def create_html_structure():
350350 visibility: visible;
351351 }}
352352 .project-modal-content {{
353- background: white ;
353+ background: #f9fafb ;
354354 border-radius: 1rem;
355355 max-width: 600px;
356356 width: 90%;
@@ -545,15 +545,13 @@ def create_html_structure():
545545 <!-- Project Modal -->
546546 <div id="project-modal" class="project-modal">
547547 <div class="project-modal-content shadow-2xl">
548- <div class="relative">
549- <div id="modal-image" class="h-48 bg-gray-200 dark:bg-gray-700 rounded-t-xl"></div>
550- <button id="modal-close" class="absolute top-4 right-4 w-8 h-8 bg-white dark:bg-gray-800 rounded-full flex items-center justify-center shadow-lg hover:bg-gray-100 dark:hover:bg-gray-700 transition-colors">
551- <ion-icon name="close-outline" class="text-xl text-gray-700 dark:text-gray-300"></ion-icon>
552- </button>
553- </div>
554- <div class="p-6">
548+ <button id="modal-close" class="sticky top-4 float-right mr-4 mt-4 w-8 h-8 bg-white dark:bg-gray-800 rounded-full flex items-center justify-center shadow-lg hover:bg-gray-100 dark:hover:bg-gray-700 transition-colors z-10">
549+ <ion-icon name="close-outline" class="text-xl text-gray-700 dark:text-gray-300"></ion-icon>
550+ </button>
551+ <div id="modal-image" class="h-48 bg-blue-100 dark:bg-gray-700 rounded-t-xl -mt-12"></div>
552+ <div class="p-6 bg-white dark:bg-gray-800 rounded-b-xl">
555553 <h3 id="modal-title" class="text-2xl font-bold text-gray-900 dark:text-white mb-2"></h3>
556- <p id="modal-category" class="text-sm text-blue-500 mb-4"></p>
554+ <p id="modal-category" class="text-sm text-blue-500 dark:text-blue-400 mb-4"></p>
557555 <p id="modal-description" class="text-gray-600 dark:text-gray-300 mb-4"></p>
558556 <div id="modal-details" class="text-gray-600 dark:text-gray-400 text-sm mb-4 space-y-2"></div>
559557 <div id="modal-tags" class="flex flex-wrap gap-2 mb-6"></div>
You can’t perform that action at this time.
0 commit comments