webapp/public/css/default.css

164 lines
2.0 KiB
CSS
Raw Normal View History

2023-12-05 02:15:41 +00:00
*
{
/* apply defaults */
margin: 0;
padding: 0;
/* allow draw */
font-family: monospace;
/* adaptive */
color-scheme: light dark;
/* vars */
2023-12-05 15:27:24 +00:00
--container-max-width: 768px;
2023-12-05 02:15:41 +00: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;
}
main
{
display: block;
2023-12-05 19:37:17 +00:00
margin: 16px auto 0 auto;
max-width: var(--container-max-width);
padding-bottom: 115px;
2023-12-05 02:15:41 +00:00
}
2023-12-05 15:51:14 +00:00
main > h2
2023-12-05 03:16:06 +00:00
{
2023-12-05 15:51:14 +00:00
display: inline-block;
font-size: 12px;
2023-12-05 15:54:25 +00:00
margin: 16px 0;
2023-12-05 03:16:06 +00:00
}
2023-12-05 02:15:41 +00:00
main > form > input[type="text"]
{
box-sizing: border-box;
padding: 4px;
width: 100%;
}
2023-12-05 15:14:07 +00:00
main ul
{
list-style: none;
}
main ul ul
2023-12-05 03:16:06 +00:00
{
margin-bottom: 16px;
margin-left: 16px;
margin-top: 16px;
}
2023-12-05 15:14:07 +00:00
main ul > li
2023-12-05 03:16:06 +00:00
{
margin: 8px 0;
2023-12-05 15:54:25 +00:00
padding: 8px 0;
2023-12-05 03:48:25 +00:00
word-wrap: break-word;
2023-12-05 15:14:07 +00:00
border-bottom: 1px #999 solid;
}
main ul > li:last-child
{
border-bottom: none;
}
2023-12-06 00:32:39 +00:00
main ul > li p
2023-12-05 15:14:07 +00:00
{
padding: 8px 0;
2023-12-05 03:16:06 +00:00
}
2023-12-06 00:32:39 +00:00
main ul li > span > svg
{
cursor: default;
fill: #999;
float: right;
}
2023-12-06 08:02:02 +00:00
main > sup > a > svg
{
fill: #ee784e;
}
2023-12-05 02:15:41 +00:00
footer
{
2023-12-05 19:37:17 +00:00
/*backdrop-filter: blur(100px);*/
background-color: Canvas;
bottom: 0;
2023-12-05 02:15:41 +00:00
display: block;
2023-12-05 19:37:17 +00:00
left: 0;
position: fixed;
right: 0;
z-index:2;
2023-12-05 02:15:41 +00:00
}
footer > form
{
bottom: 16px;
display: block;
2023-12-05 19:37:17 +00:00
margin: 16px auto;
2023-12-05 02:15:41 +00:00
max-width: var(--container-max-width);
2023-12-05 19:37:17 +00:00
overflow: hidden;
2023-12-05 02:15:41 +00:00
width: 100%;
}
footer > form > textarea
{
box-sizing: border-box;
display: block;
2023-12-05 19:37:17 +00:00
margin-bottom: 10px;
2023-12-05 02:15:41 +00:00
max-width: var(--container-max-width);
padding: 4px;
width: 100%;
}
footer > form > button
{
cursor: pointer;
float: right;
padding: 2px 8px;
2023-12-05 22:44:38 +00:00
}
footer > form > output
{
color: #ff6363;
display: block;
font-weight: bolder;
margin-bottom: 16px;
2023-12-05 02:15:41 +00:00
}