
/* base variables */

/* Edit the CSS properties in this file to create a custom
   Distill theme. Only edit values in the right column
   for each row; values shown are the CSS defaults.
   To return any property to the default,
   you may set its value to: unset
   All rows must end with a semi-colon.                      */

/* Optional: embed custom fonts here with `@import`          */
/* This must remain at the top of this file.    */             

@import url('https://fonts.googleapis.com/css2?family=Chivo');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@1,300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital@1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cardo');
@import url('https://fonts.googleapis.com/css2?family=Alata');
@import url('https://fonts.googleapis.com/css2?family=Fira+Mono'); 
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300&display=swap');


html {
  /*-- Main font sizes --*/
  --title-size:      50px;
  --body-size:      25px;
  --code-size:       14px;
  --aside-size:      12px;
  --fig-cap-size:    13px;
  /*-- Main font colors --*/
  --title-color:  #A32826  /* #000000;*/;
  --header-color:   #A32826 /* rgba(0, 0, 0, 0.8)*/;
  --body-color:     #1f1f1f    /*#2A2C2B/* rgba(0, 0, 0, 0.8)*/;
  --aside-color:     rgba(0, 0, 0, 0.6);
  --fig-cap-color:   rgba(0, 0, 0, 0.6);
  /*-- Specify custom fonts ~~~ must be imported above   --*/
  --heading-font:    'Alata', sans-serif;
  --mono-font:       'Crimson Text', serif;
  --body-font:       'Cormorant Garamond', serif;
  --navbar-font:     'Alata', sans-serif;
}


/* Change appearance of headers */
h1, h2, h3, h4, h5 {
    font-family: 'Alata', sans-serif;
    font-weight: 700;
}


html, body, p {
    
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    line-height: 2.8;
    font-size: 1.095em;
    color: #1f1f1f;
    
}

body {
  background-color: #fffff8;
}

/*-- ARTICLE METADATA --*/
.d-byline {
  --heading-size:    0.6rem;
  --heading-color:   rgba(0, 0, 0, 0.5);
  --body-size:       0.8rem;
  --body-color:      rgba(0, 0, 0, 0.8);
}

/*-- ARTICLE TABLE OF CONTENTS --*/
.d-contents {
  --heading-size:    15px;
  --contents-size:   13px;
}

/*-- ARTICLE APPENDIX --*/
d-appendix {
  --heading-size:    15px;
  --heading-color:   rgba(0, 0, 0, 0.65);
  --text-size:       0.8em;
  --text-color:      rgba(0, 0, 0, 0.5);
}

/*-- WEBSITE HEADER + FOOTER --*/
/* These properties only apply to Distill sites and blogs  */

.distill-site-header {
  --title-size:       18px;
  --text-color:       #010326;
  --text-size:        15px;
  --hover-color:      #ff6700;
  --bkgd-color:       #F5E7E5 /*#F0F0DD*/;
}

.distill-site-footer {
  --text-color:       #000;
  --text-size:        15px;
  --hover-color:      #ff6700;
  --bkgd-color:       white;
}

.posts-list .post-preview .thumbnail img { width: 50%; display: block; }

/*changing bullet point colour of lists*/
li::marker {
  color: #A32826;
  font-size: 1.2em;
}


/* this weirdly changes colour of text for within all lists? */
ul,p {
  color: #404040;
  line-height: 1.5;
}

blockquote {
  background: #F7D8D5;
  border: 3px solid #ccc;
  margin: 1.5em 10px;
  padding: 0.5em 10px;
  quotes: "\201C""\201D""\2018""\2019";
}

blockquote p {
  display: inline;
}


code {
  color: #A32826;
  background-color: #f1f1f1;
  padding: 3px;
  font-size: 100%;
}


em { 
  color: #A32826;
}

