webapp/public/css/default.css

144 lines
1.7 KiB
CSS
Raw Normal View History

2023-12-05 04:15:41 +02:00
*
{
/* apply defaults */
margin: 0;
padding: 0;
/* allow draw */
font-family: monospace;
/* adaptive */
color-scheme: light dark;
/* vars */
2023-12-05 17:27:24 +02:00
--container-max-width: 768px;
2023-12-05 04:15:41 +02:00
}
*::placeholder
{
font-size: 12px;
}
a, a:active, a:visited
{
text-decoration: none;
}
a:hover
{
text-decoration: underline;
}
body
{
font-size: 12px;
padding: 0 16px;
}
header
{
max-width: var(--container-max-width);
margin: 16px auto;
display: block;
}
header > strong
{
font-size: 14px;
}
header > div
{
margin: 8px 0;
}
header > div > pre
{
display: inline-block;
}
main
{
max-width: var(--container-max-width);
margin: 16px auto;
display: block;
}
2023-12-05 05:16:06 +02:00
main > h1
{
font-size: 14px;
font-weight: normal;
margin: 16px 0;
padding: 0 4px;
2023-12-05 05:48:25 +02:00
text-align: right;
2023-12-05 05:16:06 +02:00
}
2023-12-05 04:15:41 +02:00
main > form > input[type="text"]
{
box-sizing: border-box;
padding: 4px;
width: 100%;
}
2023-12-05 17:14:07 +02:00
main ul
{
list-style: none;
}
main ul ul
2023-12-05 05:16:06 +02:00
{
margin-bottom: 16px;
margin-left: 16px;
margin-top: 16px;
}
2023-12-05 17:14:07 +02:00
main ul > li
2023-12-05 05:16:06 +02:00
{
margin: 8px 0;
2023-12-05 17:14:07 +02:00
padding: 8px 6px;
2023-12-05 05:48:25 +02:00
word-wrap: break-word;
2023-12-05 17:14:07 +02:00
border-bottom: 1px #999 solid;
}
main ul > li:last-child
{
border-bottom: none;
}
main ul > li > p
{
padding: 8px 0;
2023-12-05 05:16:06 +02:00
}
2023-12-05 04:15:41 +02:00
footer
{
display: block;
margin: 16px auto;
max-width: var(--container-max-width);
}
footer > form
{
bottom: 16px;
display: block;
max-width: var(--container-max-width);
position: fixed;
width: 100%;
}
footer > form > textarea
{
box-sizing: border-box;
display: block;
margin: 8px 0;
max-width: var(--container-max-width);
padding: 4px;
width: 100%;
}
footer > form > button
{
cursor: pointer;
float: right;
padding: 2px 8px;
}