Failing to set background color in distill

I am trying to change the background colour in using a theme/css file but nothing I do seems to change the background colour. I know the Rblog.css file I am using is working at least to change fonts. I'm no expert on css but I'm not finding obvious tips on the web. What I have is:

html {
  /*-- Main font sizes --*/
  --title-size:      50px;
  --body-size:       1.06rem;
  --code-size:       14px;
  --aside-size:      12px;
  --fig-cap-size:    13px;
  /*-- Main font colors --*/
  --title-color:     #000000;
  --header-color:    rgba(0, 0, 0, 0.8);
  --body-color:      rgba(0, 0, 0, 0.8); 
  --aside-color:     rgba(0, 0, 0, 0.6);
  --fig-cap-color:   rgba(0, 0, 0, 0.6);
  --background-color: #ffff99;
  --bkgd-color: #ffff99;
  /*-- Specify custom fonts ~~~ must be imported above   --*/
  --heading-font:    sans-serif;
  --mono-font:       "DM Mono", monospace;
  --body-font:       "Bitter", sans-serif;
  --navbar-font:     "Amiri", serif;
}

body {
  --background-color: #ffff99;
  --bkgd-color: #ffff99;
}

p {
  --background-color: #ffff99;
  --bkgd-color: #ffff99;
}

The current state of play is at https://www.psyctc.org/Rblog/ and I'd be very grateful to anyone who can put me straight on this. TIA,

Chris

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.