]> gitweb.hhaalo.de Git - calender.git/commitdiff
add: basic style
authorBastian Dehn <hhaalo@arcor.de>
Sun, 12 Dec 2021 18:28:58 +0000 (19:28 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Sun, 12 Dec 2021 18:28:58 +0000 (19:28 +0100)
cal.css [new file with mode: 0644]
index.html

diff --git a/cal.css b/cal.css
new file mode 100644 (file)
index 0000000..9b625b1
--- /dev/null
+++ b/cal.css
@@ -0,0 +1,8 @@
+table, th, td {
+       border: solid 1px black;
+       border-collapse: collapse;
+}
+
+th:nth-child(even) {
+       background-color: lightgray;
+}
index d0566d5d6e8b066fff99a56d3f05336bbce799ff..8e1b295163f66e8350dc021e95bf161b318cf2ee 100644 (file)
@@ -3,6 +3,7 @@
        <head>
                <title>Kalender</title>
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+               <link rel="stylesheet" type="text/css" href="cal.css" />
                <script src="cal.js" type="text/javascript"></script>
        </head>
        <body onload="calender()">