Files
log/browser/src/App.css
2026-01-08 17:32:00 +09:00

204 lines
2.9 KiB
CSS

.container {
max-width: 800px;
margin: 0 auto;
padding: 2rem;
}
h1 {
font-size: 2rem;
margin-bottom: 1.5rem;
color: #333;
}
.input-section {
margin-bottom: 2rem;
display: flex;
gap: 0.5rem;
}
.at-uri-input {
flex: 1;
padding: 0.75rem;
font-size: 1rem;
border: 2px solid #ddd;
border-radius: 4px;
font-family: monospace;
}
.at-uri-input:focus {
outline: none;
border-color: #0066cc;
}
.input-section button {
padding: 0.75rem 2rem;
font-size: 1rem;
background: #0066cc;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-weight: 500;
}
.input-section button:hover {
background: #0052a3;
}
.info-section {
background: white;
padding: 1.5rem;
border-radius: 8px;
margin-bottom: 2rem;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.info-section h2 {
font-size: 1.5rem;
margin-bottom: 1rem;
color: #333;
}
.info-section ul {
list-style-position: inside;
color: #666;
}
.info-section li {
margin-bottom: 0.5rem;
}
.back-link {
display: inline-block;
color: #0066cc;
text-decoration: none;
font-weight: 500;
}
.back-link:hover {
text-decoration: underline;
}
.record-view {
background: white;
padding: 2rem;
border-radius: 8px;
margin-bottom: 2rem;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.record-view h2 {
font-size: 2rem;
margin-bottom: 1rem;
color: #333;
}
.record-meta {
margin-bottom: 1.5rem;
padding-bottom: 1rem;
border-bottom: 1px solid #eee;
}
.record-meta p {
margin: 0.5rem 0;
color: #666;
font-size: 0.9rem;
font-family: monospace;
}
.record-content {
line-height: 1.8;
color: #333;
}
.record-content pre {
white-space: pre-wrap;
word-wrap: break-word;
font-family: inherit;
margin: 0;
}
.error-section {
background: #fee;
padding: 1rem;
border-radius: 4px;
margin-bottom: 1rem;
color: #c33;
}
.records-list {
background: white;
padding: 2rem;
border-radius: 8px;
margin-bottom: 2rem;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.records-list h2 {
font-size: 1.5rem;
margin-bottom: 1rem;
color: #333;
}
.records-list ul {
list-style: none;
padding: 0;
margin: 0;
}
.records-list li {
border-bottom: 1px solid #eee;
}
.records-list li:last-child {
border-bottom: none;
}
.record-link {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
padding: 1rem;
background: none;
border: none;
cursor: pointer;
text-align: left;
transition: background 0.2s;
}
.record-link:hover {
background: #f5f5f5;
}
.record-title {
font-size: 1.1rem;
color: #0066cc;
font-weight: 500;
}
.record-date {
color: #666;
font-size: 0.9rem;
}
.back-button {
padding: 0.5rem 1rem;
margin-bottom: 1rem;
background: #f5f5f5;
border: 1px solid #ddd;
border-radius: 4px;
cursor: pointer;
font-size: 0.9rem;
color: #666;
}
.back-button:hover {
background: #eee;
}
.input-section button:disabled {
background: #ccc;
cursor: not-allowed;
}