mirror of
https://github.com/sakaljurgis/kob.git
synced 2026-07-08 22:17:41 +00:00
114 lines
1.5 KiB
CSS
114 lines
1.5 KiB
CSS
* { box-sizing: border-box; }
|
|
|
|
html, body {
|
|
width: 100%;
|
|
margin: 0;
|
|
}
|
|
|
|
body {
|
|
font-family: serif;
|
|
font-size: 1.6rem;
|
|
line-height: 1.5;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.add-form {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.add-form input[type="url"] {
|
|
flex: 1;
|
|
font-size: 1.6rem;
|
|
padding: 0.75rem;
|
|
border: 2px solid #000;
|
|
min-width: 0;
|
|
}
|
|
|
|
.add-form button,
|
|
.page-btn,
|
|
button {
|
|
font-size: 1.6rem;
|
|
padding: 0.75rem 1.25rem;
|
|
border: 2px solid #000;
|
|
background: #fff;
|
|
color: #000;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.page-btn.disabled {
|
|
opacity: 0.4;
|
|
}
|
|
|
|
.articles {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0 0 1.5rem 0;
|
|
}
|
|
|
|
.articles li {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
padding: 0.75rem 0;
|
|
border-bottom: 1px solid #999;
|
|
}
|
|
|
|
.articles .article-title {
|
|
flex: 1;
|
|
color: #000;
|
|
text-decoration: none;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.articles .delete {
|
|
font-size: 1.4rem;
|
|
padding: 0.5rem 0.75rem;
|
|
border: 2px solid #000;
|
|
text-decoration: none;
|
|
color: #000;
|
|
}
|
|
|
|
.empty {
|
|
font-style: italic;
|
|
color: #666;
|
|
}
|
|
|
|
.pagination {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.page-info {
|
|
font-size: 1.4rem;
|
|
}
|
|
|
|
.confirm {
|
|
text-align: center;
|
|
}
|
|
|
|
.confirm .article-title {
|
|
font-weight: bold;
|
|
margin: 1rem 0 2rem 0;
|
|
display: block;
|
|
}
|
|
|
|
.confirm form {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
button.danger {
|
|
border-color: #c00;
|
|
color: #c00;
|
|
}
|
|
|
|
.error p {
|
|
margin-bottom: 1.5rem;
|
|
}
|