web/public/obj/css/main.css

159 lines
2.4 KiB
CSS
Raw Permalink Normal View History

2023-10-16 01:35:05 +02:00
* {
font-family: Arial, Helvetica, sans-serif;
}
html {
height: 100%;
}
body {
margin: 0;
padding: 0;
2023-10-16 01:36:03 +02:00
min-height: min-content;
2023-10-16 01:35:05 +02:00
height: 100%;
display: flex;
2023-10-16 01:36:02 +02:00
flex-direction: column;
2023-10-16 01:35:05 +02:00
justify-content: center;
align-items: center;
background-color: #f0f0f0;
}
2023-10-16 01:36:03 +02:00
#footer {
color: #ffffff44;
display: grid;
justify-content: center;
}
2023-10-16 01:36:02 +02:00
body > * {
width: 50%;
2023-10-16 01:35:05 +02:00
padding: 1rem 2rem;
2023-10-16 01:36:02 +02:00
}
2023-10-16 01:36:03 +02:00
@media (max-width: 800px) {
body {
padding: 1rem;
height: fit-content;
}
body > * {
margin: 0;
padding: 1rem 2rem;
width: calc(100% - 2rem - 2px);
}
}
2023-10-16 01:36:02 +02:00
main {
2023-10-16 01:35:05 +02:00
border: 1px solid #ddd;
background-color: #fff;
}
2023-10-16 01:35:06 +02:00
#service-holder {
display: flex;
flex-direction: column;
}
#service-holder .service {
display: grid;
grid-template-columns: 1fr 1fr;
}
#service-holder .service > .service-status {
text-align: right;
}
2023-10-16 01:36:02 +02:00
#issues {
display: flex;
flex-direction: column;
background: #555555;
color: #fff;
transition: all .3s ease-in-out;
/*box-shadow: inset 0 -10px 10px rgba(0,0,0,.3);*/
}
#issues > * {
margin: 0;
padding: 0;
}
#issues-holder {
display: flex;
flex-direction: column;
}
#issues-holder .issue {
display: grid;
grid-template-areas: "issue-details issue-data";
grid-template-columns: 8fr 2fr;
padding: 5px 0;
}
#issues-holder .issue + .issue {
border-top: 1px solid #777777;
}
#issues-holder .issue .issue-details {
grid-area: issue-details;
display: flex;
flex-direction: column;
}
#issues-holder .issue .issue-details .issue-title {
font-size: 1.2em;
font-weight: bold;
}
#issues-holder .issue .issue-data {
grid-area: issue-data;
display: grid;
align-content: start;
}
#issues-holder .issue .issue-data > span {
display: flex;
justify-content: right;
}
#issues-holder .issue .issue-data .issue-status {
font-weight: bold;
}
2023-10-16 01:35:05 +02:00
a {
color: #000;
transition: 0.5s all;
}
a:hover {
color: #333;
}
@media (prefers-color-scheme: dark) {
body {
background-color: #222;
}
main {
border-color: #333;
background-color: #333;
color: #fff;
}
a {
color: #0ff;
}
a:hover {
color: #0aa;
}
}
#links {
display: flex;
flex-direction: column;
}
#links a {
margin-bottom: 0.5rem;
2023-10-16 01:36:02 +02:00
}
[hidden] {
display: none !important;
2023-10-16 01:35:05 +02:00
}