Skip to content

Commit

Permalink
Modify Chroma highlighting style; update code style
Browse files Browse the repository at this point in the history
  • Loading branch information
pmichaillat committed Jul 17, 2024
1 parent 1f6c295 commit e042297
Show file tree
Hide file tree
Showing 108 changed files with 489 additions and 441 deletions.
4 changes: 2 additions & 2 deletions assets/css/common/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ pre {
right: 4px;
color: var(--secondary);
background: rgba(229, 225, 244, 0.9);
border-radius: var(--radius);
border-radius: 4px;
border: 1px solid var(--purple);
padding: 0 5px;
padding: 1px 5px;
font-size: 13px;
user-select: none;
}
Expand Down
2 changes: 1 addition & 1 deletion assets/css/common/post-single.css
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@
font-size: var(--entry-size);
line-height: var(--line-height);
background: var(--code-bg);
border-radius: 1px;
border-radius: 2px;
}

.post-content pre code {
Expand Down
2 changes: 1 addition & 1 deletion assets/css/core/theme-vars.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
--footer-height: 70px;
--radius: 8px;
--content: rgb(30, 30, 30); /*text*/
--code-block-bg: rgb(30, 30, 30);
--primary: rgb(30, 30, 30);
--secondary: rgb(108, 108, 108); /*metadata*/
--tertiary: rgb(165, 165, 165); /*lines & items*/
--border: rgb(230, 230, 230); /*borders*/
--code-bg: rgb(245, 245, 245); /*areas*/
--code-block-bg: rgb(245, 245, 245);
--entry: rgb(255, 255, 255); /*background*/
--theme: rgb(255, 255, 255);
/*Custom variables*/
Expand Down
2 changes: 1 addition & 1 deletion config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ markup:
unsafe: true
highlight:
guessSyntax: true
style: autumn
style: xcode
tableOfContents:
endLevel: 2
ordered: false
Expand Down
14 changes: 9 additions & 5 deletions content/design/d5.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,8 @@ Most of the website produced by the template is in grayscale. For ease of naviga
It is easy to personalize the color used for links and buttons. The orange color is specified in the file `assets/css/core/theme-vars.css`. The code snippet specifying the color is:

```css
--purple: #d95f0e;
--graypurple: #fed582;
--darkcolor: #d95f0e;
--lightcolor: #fed582;
```

The two shades of orange are specifed by their hex code. Enter [other hex codes](https://www.colorhexa.com/) to modify the website's color scheme. Using the same hex codes, it is easy to produce [a new favicon](https://favicon.io/favicon-generator/) with a different color to match the website's color scheme.
Expand Down Expand Up @@ -348,18 +348,22 @@ The `public` folder can always be safely deleted. A new version of the `public`

It is easy to use a custom domain name for the website. For instance, the domain name `https://pascalmichaillat.org/` is registered with [Squarespace](https://domains.squarespace.com). Once you have registered a domain, you need to [link it](https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/about-custom-domains-and-github-pages) to your website. Make sure that the `baseURL` parameter in `config.yml` reflects the custom domain name. Make sure that the [page setting](https://github.com/pmichaillat/hugo-website/settings/pages) on GitHub also includes the domain name.

---

## Tips for job-market candidates

This template is designed for researchers at all levels, including students, postdocs, faculty members, and professional scientists. When preparing your website for the job market, it might make sense to adapt the website slightly.

### Job-market status

To announce your job-market status, you can modify the subtitle on the landing page. You could for instance add the following text as part of `params:profileMode:subtitle` in the `config.yml` file:
To announce your job-market status, you can modify the subtitle on the landing page. You could for instance add

```yml
"**In 2024/2025, I will be on the academic job market.**"
```markdown
**In 2024/2025, I will be on the academic job market.**
```

to the text under `params:profileMode:subtitle` in the `config.yml` file.

You could also add more information, such as who your references are, how to contact them, which job-market meetings you will attend, and so on.

### Buttons for job-market paper and CV
Expand Down
20 changes: 10 additions & 10 deletions public/1/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<meta name="description" content="This paper proposes a matching model of the labor market with job rationing: unemployment persists even without matching frictions. Published in AER, 2012.">
<meta name="author" content="Pascal Michaillat">
<link rel="canonical" href="https://pascalmichaillat.org/1/">
<link crossorigin="anonymous" href="/assets/css/stylesheet.fcbb670aee735ff7ebc3bdcc7cbc9398386ed246f7ea12d308d0a2d673c17d3f.css" integrity="sha256-/LtnCu5zX/frw73MfLyTmDhu0kb36hLTCNCi1nPBfT8=" rel="preload stylesheet" as="style">
<link crossorigin="anonymous" href="/assets/css/stylesheet.e70cb37c93992a405f5555aaffc0a5b0083e3e3f0bc70a620ec52cf461f1255b.css" integrity="sha256-5wyzfJOZKkBfVVWq/8ClsAg&#43;Pj8LxwpiDsUs9GHxJVs=" rel="preload stylesheet" as="style">
<link rel="icon" href="https://pascalmichaillat.org/favicon.ico">
<link rel="icon" type="image/png" sizes="16x16" href="https://pascalmichaillat.org/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://pascalmichaillat.org/favicon-32x32.png">
Expand Down Expand Up @@ -207,15 +207,15 @@ <h5 id="figure-5-rationing-and-frictional-unemployment-in-the-united-states-1964
<h5 id="citation">Citation</h5>
<p>Michaillat, Pascal. 2012. &ldquo;Do Matching Frictions Explain Unemployment? Not in Bad Times.&rdquo; <em>American Economic Review</em> 102 (4): 1721–1750. <a href="https://doi.org/10.1257/aer.102.4.1721" target="_blank">https://doi.org/10.1257/aer.102.4.1721</a>
.</p>
<div class="highlight"><pre tabindex="0" style="background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-BibTeX" data-lang="BibTeX"><span style="display:flex;"><span><span style="color:#0a0;text-decoration:underline">@article</span>{M12,
</span></span><span style="display:flex;"><span><span style="color:#1e90ff">author</span> = <span style="color:#a50">{Pascal Michaillat}</span>,
</span></span><span style="display:flex;"><span><span style="color:#1e90ff">year</span> = <span style="color:#a50">{2012}</span>,
</span></span><span style="display:flex;"><span><span style="color:#1e90ff">title</span> = <span style="color:#a50">{Do Matching Frictions Explain Unemployment? Not in Bad Times}</span>,
</span></span><span style="display:flex;"><span><span style="color:#1e90ff">journal</span> = <span style="color:#a50">{American Economic Review}</span>,
</span></span><span style="display:flex;"><span><span style="color:#1e90ff">volume</span> = <span style="color:#a50">{102}</span>,
</span></span><span style="display:flex;"><span><span style="color:#1e90ff">number</span> = <span style="color:#a50">{4}</span>,
</span></span><span style="display:flex;"><span><span style="color:#1e90ff">pages</span> = <span style="color:#a50">{1721--1750}</span>,
</span></span><span style="display:flex;"><span><span style="color:#1e90ff">url</span> = <span style="color:#a50">{https://doi.org/10.1257/aer.102.4.1721}</span>}
<div class="highlight"><pre tabindex="0" style="background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-BibTeX" data-lang="BibTeX"><span style="display:flex;"><span><span style="color:#3f6e75">@article</span>{<span style="color:#000">M12</span>,
</span></span><span style="display:flex;"><span><span style="color:#836c28">author</span> = <span style="color:#c41a16">{Pascal Michaillat}</span>,
</span></span><span style="display:flex;"><span><span style="color:#836c28">year</span> = <span style="color:#c41a16">{2012}</span>,
</span></span><span style="display:flex;"><span><span style="color:#836c28">title</span> = <span style="color:#c41a16">{Do Matching Frictions Explain Unemployment? Not in Bad Times}</span>,
</span></span><span style="display:flex;"><span><span style="color:#836c28">journal</span> = <span style="color:#c41a16">{American Economic Review}</span>,
</span></span><span style="display:flex;"><span><span style="color:#836c28">volume</span> = <span style="color:#c41a16">{102}</span>,
</span></span><span style="display:flex;"><span><span style="color:#836c28">number</span> = <span style="color:#c41a16">{4}</span>,
</span></span><span style="display:flex;"><span><span style="color:#836c28">pages</span> = <span style="color:#c41a16">{1721--1750}</span>,
</span></span><span style="display:flex;"><span><span style="color:#836c28">url</span> = <span style="color:#c41a16">{https://doi.org/10.1257/aer.102.4.1721}</span>}
</span></span></code></pre></div><hr>
<h5 id="related-material">Related material</h5>
<ul>
Expand Down
20 changes: 10 additions & 10 deletions public/10/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<meta name="description" content="This paper develops a model of science. Due to homophily in promotions, false paradigms may persist when a science has low power. Published in PNAS, 2018.">
<meta name="author" content="George Akerlof,&thinsp;Pascal Michaillat">
<link rel="canonical" href="https://pascalmichaillat.org/10/">
<link crossorigin="anonymous" href="/assets/css/stylesheet.fcbb670aee735ff7ebc3bdcc7cbc9398386ed246f7ea12d308d0a2d673c17d3f.css" integrity="sha256-/LtnCu5zX/frw73MfLyTmDhu0kb36hLTCNCi1nPBfT8=" rel="preload stylesheet" as="style">
<link crossorigin="anonymous" href="/assets/css/stylesheet.e70cb37c93992a405f5555aaffc0a5b0083e3e3f0bc70a620ec52cf461f1255b.css" integrity="sha256-5wyzfJOZKkBfVVWq/8ClsAg&#43;Pj8LxwpiDsUs9GHxJVs=" rel="preload stylesheet" as="style">
<link rel="icon" href="https://pascalmichaillat.org/favicon.ico">
<link rel="icon" type="image/png" sizes="16x16" href="https://pascalmichaillat.org/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://pascalmichaillat.org/favicon-32x32.png">
Expand Down Expand Up @@ -214,15 +214,15 @@ <h5 id="figure-1b--dynamics-of-the-share-of-better-scientists-in-the-tenured-pop
<h5 id="citation">Citation</h5>
<p>Akerlof, George A., and Pascal Michaillat. 2018. &ldquo;Persistence of False Paradigms in Low-Power Sciences.&rdquo; <em>Proceedings of the National Academy of Sciences</em> 115 (52): 13228–13233. <a href="https://doi.org/10.1073/pnas.1816454115" target="_blank">https://doi.org/10.1073/pnas.1816454115</a>
.</p>
<div class="highlight"><pre tabindex="0" style="background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-BibTeX" data-lang="BibTeX"><span style="display:flex;"><span><span style="color:#0a0;text-decoration:underline">@article</span>{AM18,
</span></span><span style="display:flex;"><span><span style="color:#1e90ff">author</span> = <span style="color:#a50">{George A. Akerlof and Pascal Michaillat}</span>,
</span></span><span style="display:flex;"><span><span style="color:#1e90ff">year</span> = <span style="color:#a50">{2018}</span>,
</span></span><span style="display:flex;"><span><span style="color:#1e90ff">title</span> = <span style="color:#a50">{Persistence of False Paradigms in Low-Power Sciences}</span>,
</span></span><span style="display:flex;"><span><span style="color:#1e90ff">journal</span> = <span style="color:#a50">{Proceedings of the National Academy of Sciences}</span>,
</span></span><span style="display:flex;"><span><span style="color:#1e90ff">volume</span> = <span style="color:#a50">{115}</span>,
</span></span><span style="display:flex;"><span><span style="color:#1e90ff">number</span> = <span style="color:#a50">{52}</span>,
</span></span><span style="display:flex;"><span><span style="color:#1e90ff">pages</span> = <span style="color:#a50">{13228--13233}</span>,
</span></span><span style="display:flex;"><span><span style="color:#1e90ff">url</span> = <span style="color:#a50">{https://doi.org/10.1073/pnas.1816454115}</span>}
<div class="highlight"><pre tabindex="0" style="background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-BibTeX" data-lang="BibTeX"><span style="display:flex;"><span><span style="color:#3f6e75">@article</span>{<span style="color:#000">AM18</span>,
</span></span><span style="display:flex;"><span><span style="color:#836c28">author</span> = <span style="color:#c41a16">{George A. Akerlof and Pascal Michaillat}</span>,
</span></span><span style="display:flex;"><span><span style="color:#836c28">year</span> = <span style="color:#c41a16">{2018}</span>,
</span></span><span style="display:flex;"><span><span style="color:#836c28">title</span> = <span style="color:#c41a16">{Persistence of False Paradigms in Low-Power Sciences}</span>,
</span></span><span style="display:flex;"><span><span style="color:#836c28">journal</span> = <span style="color:#c41a16">{Proceedings of the National Academy of Sciences}</span>,
</span></span><span style="display:flex;"><span><span style="color:#836c28">volume</span> = <span style="color:#c41a16">{115}</span>,
</span></span><span style="display:flex;"><span><span style="color:#836c28">number</span> = <span style="color:#c41a16">{52}</span>,
</span></span><span style="display:flex;"><span><span style="color:#836c28">pages</span> = <span style="color:#c41a16">{13228--13233}</span>,
</span></span><span style="display:flex;"><span><span style="color:#836c28">url</span> = <span style="color:#c41a16">{https://doi.org/10.1073/pnas.1816454115}</span>}
</span></span></code></pre></div><hr>
<h5 id="related-material">Related material</h5>
<ul>
Expand Down
20 changes: 10 additions & 10 deletions public/11/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<meta name="description" content="This paper resolves the New Keynesian model&#39;s anomalies at the zero lower bound by introducing wealth in the utility function. Published in REStat, 2021.">
<meta name="author" content="Pascal Michaillat,&thinsp;Emmanuel Saez">
<link rel="canonical" href="https://pascalmichaillat.org/11/">
<link crossorigin="anonymous" href="/assets/css/stylesheet.fcbb670aee735ff7ebc3bdcc7cbc9398386ed246f7ea12d308d0a2d673c17d3f.css" integrity="sha256-/LtnCu5zX/frw73MfLyTmDhu0kb36hLTCNCi1nPBfT8=" rel="preload stylesheet" as="style">
<link crossorigin="anonymous" href="/assets/css/stylesheet.e70cb37c93992a405f5555aaffc0a5b0083e3e3f0bc70a620ec52cf461f1255b.css" integrity="sha256-5wyzfJOZKkBfVVWq/8ClsAg&#43;Pj8LxwpiDsUs9GHxJVs=" rel="preload stylesheet" as="style">
<link rel="icon" href="https://pascalmichaillat.org/favicon.ico">
<link rel="icon" type="image/png" sizes="16x16" href="https://pascalmichaillat.org/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://pascalmichaillat.org/favicon-32x32.png">
Expand Down Expand Up @@ -219,15 +219,15 @@ <h5 id="figure-1d--wealth-in-the-utility-new-keynesian-model-is-a-source-at-the-
<h5 id="citation">Citation</h5>
<p>Michaillat, Pascal, and Emmanuel Saez. 2021. &ldquo;Resolving New Keynesian Anomalies with Wealth in the Utility Function.&rdquo; <em>Review of Economics and Statistics</em> 103 (2): 197–215. <a href="https://doi.org/10.1162/rest_a_00893" target="_blank">https://doi.org/10.1162/rest_a_00893</a>
.</p>
<div class="highlight"><pre tabindex="0" style="background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-BibTeX" data-lang="BibTeX"><span style="display:flex;"><span><span style="color:#0a0;text-decoration:underline">@article</span>{MS21,
</span></span><span style="display:flex;"><span><span style="color:#1e90ff">author</span> = <span style="color:#a50">{Pascal Michaillat and Emmanuel Saez}</span>,
</span></span><span style="display:flex;"><span><span style="color:#1e90ff">year</span> = <span style="color:#a50">{2021}</span>,
</span></span><span style="display:flex;"><span><span style="color:#1e90ff">title</span> =<span style="color:#a50">{Resolving {N}ew {K}eynesian Anomalies with Wealth in the Utility Function}</span>,
</span></span><span style="display:flex;"><span><span style="color:#1e90ff">journal</span> = <span style="color:#a50">{Review of Economics and Statistics}</span>,
</span></span><span style="display:flex;"><span><span style="color:#1e90ff">volume</span> = <span style="color:#a50">{103}</span>,
</span></span><span style="display:flex;"><span><span style="color:#1e90ff">number</span> = <span style="color:#a50">{2}</span>,
</span></span><span style="display:flex;"><span><span style="color:#1e90ff">pages</span> = <span style="color:#a50">{197--215}</span>,
</span></span><span style="display:flex;"><span><span style="color:#1e90ff">url</span> = <span style="color:#a50">{https://doi.org/10.1162/rest_a_00893}</span>}
<div class="highlight"><pre tabindex="0" style="background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-BibTeX" data-lang="BibTeX"><span style="display:flex;"><span><span style="color:#3f6e75">@article</span>{<span style="color:#000">MS21</span>,
</span></span><span style="display:flex;"><span><span style="color:#836c28">author</span> = <span style="color:#c41a16">{Pascal Michaillat and Emmanuel Saez}</span>,
</span></span><span style="display:flex;"><span><span style="color:#836c28">year</span> = <span style="color:#c41a16">{2021}</span>,
</span></span><span style="display:flex;"><span><span style="color:#836c28">title</span> =<span style="color:#c41a16">{Resolving {N}ew {K}eynesian Anomalies with Wealth in the Utility Function}</span>,
</span></span><span style="display:flex;"><span><span style="color:#836c28">journal</span> = <span style="color:#c41a16">{Review of Economics and Statistics}</span>,
</span></span><span style="display:flex;"><span><span style="color:#836c28">volume</span> = <span style="color:#c41a16">{103}</span>,
</span></span><span style="display:flex;"><span><span style="color:#836c28">number</span> = <span style="color:#c41a16">{2}</span>,
</span></span><span style="display:flex;"><span><span style="color:#836c28">pages</span> = <span style="color:#c41a16">{197--215}</span>,
</span></span><span style="display:flex;"><span><span style="color:#836c28">url</span> = <span style="color:#c41a16">{https://doi.org/10.1162/rest_a_00893}</span>}
</span></span></code></pre></div><hr>
<h5 id="related-material">Related material</h5>
<ul>
Expand Down
Loading

0 comments on commit e042297

Please sign in to comment.