]> git.plutz.net Git - confetti/blobdiff - templates/courses.css.sh
prevent faulty calendar wrapping
[confetti] / templates / courses.css.sh
index 5321300bf11dd8773917491e9f161944a8e1c197..2c34facdb252da24e784d43c505fb8fcd9442f58 100644 (file)
@@ -58,7 +58,7 @@ cat <<EOF
   float:left;
   width: 25ex;
   margin: .125em .5ex .5ex .5ex;
-  padding: 0 .2em .2em .2em;
+  padding: 0 .5ex .5ex .5ex;
   background: #EEE;
 }
 
@@ -100,17 +100,18 @@ cat <<EOF
 .courselist .course .dtstart .DTSCALHEAD{
   display: inline-block;
   font-weight: bold;
-  width: 4ex;
+  width: 4.5ex;
   margin: .25ex;
+  overflow: hidden;
 }
 .courselist .course .dtstart .DTSCAL{
   display: inline-block;
-  width: 4ex;
+  width: 4.5ex;
   margin: .25ex;
 }
-.courselist .course .dtstart .selected {
-  font-weight: bold;
-}
+.courselist .course .dtstart input[name=DTSDAY] { display: none; }
+.courselist .course .dtstart input[name=DTSDAY]:checked + label.DTSCAL { font-weight: bold; }
+
 .courselist .course .dtstart .DTSTIME{
   display: inline-block;
   width: 10ex;