.page-wrapper { margin-top: 30px; } .page-title { text-align: center; font-size: 24px; margin-top: 20px; margin-bottom: 30px; font-weight: bold; } /* Main container */ #main-container { max-width: 800px; margin: auto; padding: 20px; border-radius: 5px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); } h2 { text-align: center; margin-bottom: 20px; color: #333; } #post-title { font-size: 1.8em; font-weight: bold; color: #000000; /* Green color for the title */ padding: 10px; border-bottom: 3px solid #000000; } #post-writer { display:flex; font-size: 1.0em; color: black; padding: 10px 0 10px 0; /* 글자와 테두리 사이의 간격 */ border-bottom: 2px solid gray; } #post-writer-files{ display:flex; font-size: 1.0em; color: black; padding: 10px 0 10px 0; /* 글자와 테두리 사이의 간격 */ border-bottom: 2px solid gray; } .regdater{ margin-left: auto; } #post-content { font-size: 1em; line-height: 1.6; margin-bottom: 30px; padding: 20px; border-radius: 5px; } #post-content img { max-width: 100%; height: auto; display: block; margin: 0 auto; } .file-list { padding-left: 20px; } .file-item { margin-bottom: 10px; } .action-buttons { display: flex; justify-content: flex-end; gap: 10px; } .action-buttons button { padding: 10px 15px; border: none; border-radius: 5px; cursor: pointer; transition: background-color 0.3s; font-size: 1em; color: white; /* Button text color */ } .action-buttons .edit-btn { background-color: #4CAF50; /* Green */ } .action-buttons .edit-btn:hover { background-color: #45a049; } .action-buttons .delete-btn { background-color: #f44336; /* Red */ } .action-buttons .delete-btn:hover { background-color: #da190b; } .action-buttons .reply-btn { background-color: #008CBA; /* Blue */ } .action-buttons .reply-btn:hover { background-color: #007bb5; } @media (max-width: 600px) { .action-buttons { flex-direction: column; align-items: center; } .action-buttons button { width: 100%; margin-bottom: 10px; } .action-buttons button:last-child { margin-bottom: 0; } } /* Modal styles */ .modal { display: none; position: fixed; z-index: 1; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0, 0, 0, 0.4); } .modal-content { background-color: #fefefe; margin: 15% auto; padding: 20px; border: 1px solid #888; width: 80%; border-radius: 5px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); } .close-button { color: #aaa; float: right; font-size: 28px; font-weight: bold; } .close-button:hover, .close-button:focus { color: black; text-decoration: none; cursor: pointer; }