frontend-dali/source/style/main.css

128 lines
1.7 KiB
CSS
Raw Permalink Normal View History

:root
{
--hue: 150;
}
html
{
2025-10-17 00:10:28 +02:00
background-color: hsl(var(--hue), 0%, 12.5%);
color: hsl(var(--hue), 0%, 100%);
2024-09-12 00:02:12 +02:00
font-family: sans-serif;
}
header
{
2024-09-21 10:56:55 +02:00
/*
2025-10-17 00:10:28 +02:00
background-color: hsl(0, 0%, 25%);
border-bottom: 2px solid #888;
padding-bottom: 16px;
2024-09-21 10:56:55 +02:00
*/
margin-bottom: 16px;
}
2025-10-14 00:16:22 +02:00
#overlay
{
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
right: 0;
bottom: 0;
2025-10-17 00:10:28 +02:00
background-color: hsla(var(--hue), 0%, 0%, 0.75);
2025-10-14 00:16:22 +02:00
z-index: 2;
}
#overlay_content
{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
-ms-transform: translate(-50%,-50%);
padding: 32px;
background-color: hsl(0, 0%, 12.5%);
color: hsl(0, 0%, 100%);
}
#overlay:not(.overlay_active)
{
display: none;
}
nav > ul
{
list-style-type: none;
margin: 0;
padding: 0;
}
nav > ul > li
{
display: inline-block;
2024-09-19 13:34:24 +02:00
margin: 8px;
padding: 8px;
}
nav > ul > li:not(.active)
{
display: none;
}
nav a
{
2024-09-21 10:56:55 +02:00
padding: 8px;
text-decoration: none;
color: hsl(var(--hue), 0%, 87.5%);
2024-09-21 10:56:55 +02:00
}
nav a:hover
{
color: hsl(var(--hue), 0%, 100%);
2024-09-21 10:56:55 +02:00
border-bottom: 2px solid hsl(0, 0%, 100%);
transition: 1s ease color;
}
a
{
text-decoration: none;
color: hsl(var(--hue), 0%, 87.5%);
}
a:hover
{
color: hsl(var(--hue), 0%, 100%);
border-bottom: 2px solid hsl(0, 0%, 100%);
transition: 1s ease color;
}
2024-10-21 19:19:33 +02:00
input,select,textarea
2024-09-30 20:20:28 +02:00
{
padding: 4px;
}
button
{
padding: 8px;
text-transform: uppercase;
cursor: pointer;
2025-10-17 00:10:28 +02:00
background-color: hsl(var(--hue), 0%, 6.125%);
border: 1px solid hsl(var(--hue), 0%, 6.125%);
color: hsl(0, 0%, 87.5%);
margin: 4px;
border-radius: 4px;
2024-09-30 20:20:28 +02:00
}
2025-10-17 00:10:28 +02:00
input,select,textarea
2024-09-30 20:20:28 +02:00
{
2025-10-17 00:10:28 +02:00
background-color: hsl(0, 0%, 25%);
border: 1px solid hsl(0, 0%, 25%);
2024-09-30 20:20:28 +02:00
color: hsl(0, 0%, 100%);
margin: 4px;
2025-10-17 00:10:28 +02:00
border-radius: 4px;
2024-09-30 20:20:28 +02:00
}