Variable: cal-html-css-default

cal-html-css-default is a customizable variable defined in cal-html.el.gz.

Value

"<STYLE TYPE=\"text/css\">\n  BODY { background: #bde; }\n  H1   { text-align: center; }\n  TABLE  { padding: 2pt; }\n  TH { background: #dee; }\n  TABLE.year   { width: 100%; }\n  TABLE.agenda { width: 100%; }\n  TABLE.header { width: 100%; text-align: center; }\n  TABLE.minical TD { background: white; text-align: center; }\n  TABLE.agenda TD  { background: white; text-align: left; }\n  TABLE.agenda TH  { text-align: left; width: 20%; }\n  SPAN.NO-YEAR  { color: #0b3; font-weight: bold; }\n  SPAN.ANN      { color: #0bb; font-weight: bold; }\n  SPAN.BLOCK    { color: #048; font-style: italic; }\n  SPAN.HOLIDAY  { color: #f00; font-weight: bold; }\n</STYLE>\n\n"

Documentation

Default cal-html css style. You can override this with a "cal.css" file.

This variable was added, or its default value changed, in Emacs 24.3.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/cal-html.el.gz
(defcustom cal-html-css-default
  (concat
   "<STYLE TYPE=\"text/css\">\n"
   "  BODY { background: #bde; }\n"
   "  H1   { text-align: center; }\n"
   "  TABLE  { padding: 2pt; }\n"
   "  TH { background: #dee; }\n"
   "  TABLE.year   { width: 100%; }\n"
   "  TABLE.agenda { width: 100%; }\n"
   "  TABLE.header { width: 100%; text-align: center; }\n"
   "  TABLE.minical TD { background: white; text-align: center; }\n"
   "  TABLE.agenda TD  { background: white; text-align: left; }\n"
   "  TABLE.agenda TH  { text-align: left; width: 20%; }\n"
   "  SPAN.NO-YEAR  { color: #0b3; font-weight: bold; }\n"
   "  SPAN.ANN      { color: #0bb; font-weight: bold; }\n"
   "  SPAN.BLOCK    { color: #048; font-style: italic; }\n"
   "  SPAN.HOLIDAY  { color: #f00; font-weight: bold; }\n"
   "</STYLE>\n\n")
  "Default cal-html css style.  You can override this with a \"cal.css\" file."
  :type 'string
  :version "24.3"                       ; added SPAN.HOLIDAY
  :group 'calendar-html)