128 lines
1.7 KiB
CSS
128 lines
1.7 KiB
CSS
body {
|
|
max-width: 800px;
|
|
margin: auto;
|
|
padding-top: 60px;
|
|
text-align: center;
|
|
font-family: Arial, sans-serif;
|
|
}
|
|
|
|
button {
|
|
width: 250px;
|
|
height: 100px;
|
|
margin: 10px;
|
|
font-size: 22px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
a {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.site-nav {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 16px;
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.admin-page .site-nav {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.page {
|
|
padding: 0 20px 60px;
|
|
}
|
|
|
|
.admin-page {
|
|
text-align: left;
|
|
}
|
|
|
|
.admin-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
}
|
|
|
|
.admin-header nav,
|
|
.row-actions,
|
|
.form-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
|
|
.admin-form {
|
|
display: grid;
|
|
gap: 10px;
|
|
max-width: 520px;
|
|
}
|
|
|
|
.admin-form input,
|
|
.admin-form textarea {
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
padding: 10px;
|
|
font: inherit;
|
|
}
|
|
|
|
.button-compact {
|
|
width: auto;
|
|
height: auto;
|
|
margin: 10px 0;
|
|
padding: 12px 18px;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.danger {
|
|
background: #b00020;
|
|
color: white;
|
|
}
|
|
|
|
.error {
|
|
color: #b00020;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.notice {
|
|
color: #245900;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.question-list {
|
|
display: grid;
|
|
gap: 14px;
|
|
}
|
|
|
|
.question-row {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 6px;
|
|
padding: 16px;
|
|
}
|
|
|
|
.question-row h2,
|
|
.question-row p {
|
|
margin: 0 0 8px;
|
|
}
|
|
|
|
.question-date {
|
|
color: #666;
|
|
font-weight: bold;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.admin-header,
|
|
.question-row {
|
|
display: block;
|
|
}
|
|
|
|
.admin-header nav,
|
|
.row-actions {
|
|
margin-top: 12px;
|
|
}
|
|
}
|