Skip to content

Commit

Permalink
Added markup and styling for top author block.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbum committed Jan 31, 2024
1 parent 3edff53 commit 895036d
Show file tree
Hide file tree
Showing 6 changed files with 61 additions and 4 deletions.
16 changes: 13 additions & 3 deletions docs/pages/data/forecasting-community-water-system-outages.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,21 @@ headerlabel: Papers
headericon: paper
---

<p class="text-lead">We forecasted the impact of drought on community water systems.</p>

[Monica G. Bobra](https://orcid.org/0000-0002-5662-9604)¹ <a href="https://orcid.org/0000-0002-5662-9604"><img class="orcid-cite" src="/img/orcid-icon.png"/></a>, Dan Wang², Hung Bui², Esa Eslami¹, Kimberly Hicks¹, Eric Zúñiga², [Arman Madani](https://orcid.org/0009-0002-4237-0213)¹ <a href="https://orcid.org/0009-0002-4237-0213"><img class="orcid-cite" src="/img/orcid-icon.png"/></a>
<div class="author-header-block">
<a href="https://orcid.org/0000-0002-5662-9604" title="California Office of Data and Innovation, 401 I Street, Ste 200, Sacramento, CA 95814">Monica G. Bobra</a> <a href="https://orcid.org/0000-0002-5662-9604"><img class="orcid-cite" src="/img/orcid-icon.png"/></a>, Dan Wang, Hung Bui, Esa Eslami, Kimberly Hicks, Eric Zúñiga, Arman Madani <a href="https://orcid.org/0009-0002-4237-0213"><img class="orcid-cite" src="/img/orcid-icon.png"/></a>
</div>
<!-- Dan Wang², Hung Bui², Esa Eslami¹, Kimberly Hicks¹, Eric Zúñiga², [Arman Madani](https://orcid.org/0009-0002-4237-0213)¹ <a href="https://orcid.org/0009-0002-4237-0213"><img class="orcid-cite" src="/img/orcid-icon.png"/></a>
¹ California Office of Data and Innovation, 401 I Street, Ste 200, Sacramento, CA 95814
² California State Water Resources Control Board, 1001 I Street, 24th Floor, Sacramento, CA 95814
-->
<p class="text-lead">We forecasted the impact of drought on community water systems.</p>

<div class="interaction-block">
<div class="interaction"><a href=""><img class="icon" src="/img/fcw-pdf-icon.svg" /> Download PDF</a></div>
<div class="interaction"><a href=""><img class="icon" src="/img/fcw-share-icon.svg" /> Share</a></div>
<div class="interaction"><a href=""><img class="icon" src="/img/fcw-cite-icon.svg" /> Cite</a></div>
<div class="interaction"><a href="https://doi.org/10.12688/loremipsum.16307.1"><img class="icon" src="/img/fcw-link-icon.svg" /> https://doi.org/10.12688/loremipsum.16307.1</a></div>
</div>

## Problem statement

Expand Down
4 changes: 4 additions & 0 deletions docs/src/assets/img/fcw-cite-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/src/assets/img/fcw-link-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/src/assets/img/fcw-pdf-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/src/assets/img/fcw-share-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 35 additions & 1 deletion docs/src/css/sass/ds-site-global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -742,4 +742,38 @@ div.cagov-content {
font-weight:400;
line-height:2.4375rem;
}
}
}

div.author-header-block {
font-size: 1.11rem;
line-height: 2rem;
margin-bottom: 1rem;
a {
text-decoration: none;
}
a:hover{
text-decoration: underline;
}
}
div.interaction-block {
display: grid;
grid-template-columns: 1fr 1fr 1fr 2fr;
border-top: 1px solid var(--ODI-Brand-Primary-primary-100, #C7D6E4);
border-bottom: 1px solid var(--ODI-Brand-Primary-primary-100, #C7D6E4);
padding-top: 1.5rem;
padding-bottom: 1.5rem;
margin-top: 3rem;
margin-bottom: 1rem;
div.interaction {
font-size: 0.875rem;
line-height: 1.625rem;
min-width: 10ch;
// &.right {
// text-align: right;
// }
img {
padding-right: 0.5rem;
vertical-align: middle;
}
}
}

0 comments on commit 895036d

Please sign in to comment.