body { font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif; font-size: 10px; padding: 10px; } tr.months th { padding: 0; font-weight: normal; text-transform: uppercase; } td, th { width: 20px; height: 20px; } th { color: rgba(0, 0, 0, 0.8); padding-right: 5px; } td { color: rgba(0, 0, 0, 0); box-shadow: inset 1px 1px 0 0 rgba(0, 0, 0, 0.25); } .b_0 { border: none; box-shadow: none; } .b_r { border-right: 2px solid #000; } .b_l { box-shadow: inset 0 1px 0 0 rgba(0, 0, 0, 0.2), inset 2px 0 0 0 #000; } .b_t { box-shadow: inset 1px 0 0 0 rgba(0, 0, 0, 0.2), inset 0 2px 0 0 #000; } .b_l.b_t { box-shadow: inset 2px 2px 0 0 #000; } .b_b { border-bottom: 2px solid #000; } .legend th, .legend td { white-space: nowrap; text-align: left; border: none; } .legend th { padding-left: 5px; } table { float: left; margin-right: 30px; } .tt { position: relative; cursor: pointer; } .tt .ttt { visibility: hidden; width: 150px; background-color: rgba(0, 0, 0, 0.8); color: #fff; text-align: center; padding: 5px 0; border-radius: 6px; position: absolute; top: -5px; left: 110%; z-index: 1; } .tt .ttt::after { content: " "; position: absolute; top: 50%; right: 100%; margin-top: -5px; border-width: 5px; border-style: solid; border-color: transparent black transparent transparent; } .tt:hover .ttt { visibility: visible; } .tt:hover { box-shadow: inset 0 0 15px 15px rgba(255, 255, 255, 0.5); }