/** * This file is public domain. Do whatever you like with it. */ body { margin-left: 2em; margin-right: 2em; background-color: #ffffff; } /** * Overlays (Lightboxes): */ .overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; margin: 0; padding-top: 2em; padding-left: 2em; padding-right: 2em; background: rgba(0,0,0,0.5); } .overlay h2 { margin-top: 0; } .overlay > div { margin-left: auto; margin-right: auto; margin-top: auto; margin-bottom: auto; overflow: auto; width: 80%; height: 80%; border: 0.2em solid #000000; background-color: #ffffff; padding: 2em; } /** * Task tables: */ div.table { display: table; border-collapse: collapse; width: 100%; table-layout: fixed; } div.table > * { display: table-row; color: black; text-decoration: none; border-bottom: 1px solid #777777; } div.table > div:first-child { font-weight: bold; border-bottom: 1px solid black; } div.table > * > span { display: table-cell; padding: 0.3em; } /* Status columns */ div.table > * > span { width: 4em; text-align: center; } /* "Task Name" column */ div.table > * > span:first-child { width: 15em; text-align: left; } /* "Description" column */ div.table > * > span:nth-child(2) { width: 100%; text-align: left; } div.table > :nth-child(odd) { background-color: #f0f0f0 } div.table > :nth-child(even) { background-color: #e0e0e0 } /* Green */ div.table > .done:nth-child(odd) { background-color: #e6f9e6; } div.table > .done:nth-child(even) { background-color: #cef1ce; } div.table > :nth-child(odd) > .done { background-color: #e6f9e6; } div.table > :nth-child(even) > .done { background-color: #cef1ce; } /* Yellow */ div.table > .partial:nth-child(odd) { background-color: #fef8e2; } div.table > .partial:nth-child(even) { background-color: #fbefc5; } div.table > :nth-child(odd) > .partial { background-color: #fef8e2; } div.table > :nth-child(even) > .partial { background-color: #fbefc5; } /* Red */ div.table > .missing:nth-child(odd) { background-color: #f9e6e6; } div.table > .missing:nth-child(even) { background-color: #f1cece; } div.table > :nth-child(odd) > .missing { background-color: #f9e6e6; } div.table > :nth-child(even) > .missing { background-color: #f1cece; } b { font-weight: bold; }