Skip to content

Commit

Permalink
Merge pull request #1302 from UN-OCHA/berliner/HPC-10022
Browse files Browse the repository at this point in the history
HPC-10022: Copy gho-separator component from CM
  • Loading branch information
berliner authored Jan 29, 2025
2 parents afb9aec + be9ad2e commit 44aee24
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,10 @@ gho-related-articles:
css:
theme:
components/gho-related-articles/gho-related-articles.css: {}
gho-separator:
css:
theme:
components/gho-separator/gho-separator.css: {}
gho-story:
css:
theme:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
HPC Content Module - Separator Component
==================================================

It's a horizontal rule. Half or Full width of the `reading-width`.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
.gho-separator {
margin: 2rem 0;
}
.gho-separator__separator {
width: 100%;
max-width: none;
height: 1px;
margin: 0;
border: none;
background: #d8d8d8;
}
.gho-separator__separator--half {
width: var(--reading-width);
}

0 comments on commit 44aee24

Please sign in to comment.