diff --git a/css/main.css b/css/main.css index d5537c6..8c36a56 100644 --- a/css/main.css +++ b/css/main.css @@ -1115,4 +1115,13 @@ input[type="button"], button { .login-button { cursor: pointer; +} + +h2:has(+ #exam-list:empty), h2:has(+ #packet-list:empty){ + opacity: 30%; +} + +#exam-list:empty::after, #packet-list:empty::after{ + content: "None available."; + opacity: 30%; } \ No newline at end of file diff --git a/index.html b/index.html index cf814df..979c9b8 100644 --- a/index.html +++ b/index.html @@ -68,14 +68,13 @@
Click buttons below to load an exam / packet
-