Verified Commit 5a27ce8d authored by Jakob Moser's avatar Jakob Moser
Browse files

Improve look and feel of agenda

parent e2fc0867
Loading
Loading
Loading
Loading
Loading
+11 −5
Changes for css/main.css: 11 added lines, 5 removed lines.
Original line number Diff line number Diff line
@@ -130,7 +130,7 @@ a.detail:hover {
    color: white;
}

.agenda > section {
.agenda > * {
    padding: 1em;
}

@@ -143,12 +143,18 @@ a.detail:hover {
    margin: 0;
}

.agenda .edit p {
    margin: 0;
}

.agenda .edit {
    display: grid;
    grid-template-columns: max-content max-content;
    text-decoration: none;
    border-top: 1px solid gray;
    justify-content: center;
    align-content: center;
    column-gap: 0.5em;
}

.agenda .edit > i {
    font-size: 150%;
}

@media (max-width: 1670px) {
+2 −9
Changes for js/components/pieces/Agenda.mjs: 2 added lines, 9 removed lines.
Original line number Diff line number Diff line
@@ -9,21 +9,14 @@ export const Agenda = {
                    vnode.attrs.items.map(item => m("li", item)),
                ),
            ]),
            m("section.edit", [
                m("p", [
                    "Bearbeiten im ",
                    m("i.fa-solid.fa-list-check"),
                    " ",
            m(
                        "a",
                "a.edit",
                {
                    href: "https://fachschaft.cl.uni-heidelberg.de/todo",
                    target: "_blank",
                },
                        [, "Todo-Tool"],
                [m("i.fa-solid.fa-list-check"), "Bearbeiten im Todo-Tool"],
            ),
                ]),
            ]),
        )
    },
}