web/public/obj/css/main.css
2023-10-16 01:36:03 +02:00

153 lines
No EOL
2.3 KiB
CSS

* {
font-family: Arial, Helvetica, sans-serif;
}
html {
height: 100%;
}
body {
margin: 0;
padding: 0;
min-height: min-content;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: #f0f0f0;
}
body > * {
width: 50%;
padding: 1rem 2rem;
}
@media (max-width: 800px) {
body {
padding: 1rem;
height: fit-content;
}
body > * {
margin: 0;
padding: 1rem 2rem;
width: calc(100% - 2rem - 2px);
}
}
main {
border: 1px solid #ddd;
background-color: #fff;
}
#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;
}
#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;
}
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;
}
[hidden] {
display: none !important;
}