webapp/public/css/default.css

190 lines
2.5 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-06 19:50:47 +00:00
--color-warning: #ee784e;
--color-error: #ff6363;
--color-default: #999;
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
{
2023-12-06 20:01:42 +00:00
margin: 12px 0;
2023-12-05 02:15:41 +00:00
}
2023-12-06 19:50:47 +00:00
header > div > code
{
color: var(--color-error);
font-weight: bold;
}
header > div > sub > svg
{
fill: var(--color-error);
}
2023-12-05 02:15:41 +00:00
main
{
display: block;
2023-12-05 19:37:17 +00:00
margin: 16px auto 0 auto;
max-width: var(--container-max-width);
2023-12-08 01:46:44 +00:00
padding-bottom: 164px;
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-06 19:50:47 +00:00
border-bottom: 1px var(--color-default) solid;
2023-12-05 15:14:07 +00:00
}
main ul > li:last-child
{
border-bottom: none;
}
main ul > li > p
2023-12-05 15:14:07 +00:00
{
padding: 8px 0;
2023-12-05 03:16:06 +00:00
}
main ul > li > p > br /* tmp solution for current twig filters implementation */
{
display: block;
margin: 4px 0;
}
2023-12-06 00:32:39 +00:00
main ul li > span > svg
{
cursor: default;
2023-12-06 19:50:47 +00:00
fill: var(--color-default);
2023-12-06 00:32:39 +00:00
float: right;
}
2023-12-06 08:02:02 +00:00
main > sup > a > svg
{
2023-12-06 19:50:47 +00:00
fill: var(--color-warning);
2023-12-06 08:02:02 +00:00
}
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-08 00:10:43 +00:00
padding: 4px;
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 > textarea:focus
{
min-height: 100px;
}
2023-12-05 02:15:41 +00:00
footer > form > button
{
cursor: pointer;
float: right;
padding: 2px 8px;
2023-12-05 22:44:38 +00:00
}
footer > form > output
{
2023-12-06 19:50:47 +00:00
color: var(--color-error);
2023-12-05 22:44:38 +00:00
display: block;
font-weight: bolder;
margin-bottom: 16px;
2023-12-05 02:15:41 +00:00
}