body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
color: #333;
}
h3 a {
float: right;
font-size: 18px;
text-decoration: none;
color: green;
}
.file-container {
font-family: Arial, sans-serif;
padding: 10px;
max-width: 100vw;
margin: 0;
}
.file-item {
background: #f5f5f5;
padding: 10px;
margin-bottom: 10px;
border: 1px solid #ddd;
border-radius: 4px;
}
.file-title {
color: #0066cc;
margin-bottom: 10px;
}
.file-date {
font-size: 0.7em;
color: #666;
font-weight: normal;
}
.file-content {
background: #f8f9fa;
padding: 0px;
border-radius: 4px;
white-space: pre-wrap;
overflow: scroll;
max-height: 300px;
}
.file-separator {
border: 0;
height: 1px;
background: #ddd;
margin: 0;
}
.create-file-form {
background: #f5f5f5;
padding: 20px;
border-radius: 5px;
margin-bottom: 30px;
}
.form-group {
margin-bottom: 15px;
}
label {
display: block;
margin-bottom: 5px;
font-weight: bold;
}
input[type="text"], textarea {
width: 100%;
padding: 8px;
border: 1px solid #ddd;
border-radius: 3px;
}
textarea {
min-height: 120px;
resize: vertical;
white-space: pre-wrap;
}
#btnCreateFile {
background: #4CAF50;
color: white;
border: none;
padding: 10px 30px;
border-radius: 3px;
cursor: pointer;
}
#btnCreateFile:hover {
background: #45a049;
}
.success-message {
color: #4CAF50;
margin-top: 10px;
}
.error-message {
color: #f44336;
margin-top: 10px;
}