Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
add custom variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Freymaurer committed May 6, 2022
1 parent e863dac commit 9f40674
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions src/generators/layout.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,40 @@ let layout (ctx : SiteContents) active bodyCnt =
link [Rel "stylesheet"; Type "text/css"; Href "/style/style.css"]
link [Rel "stylesheet"; Type "text/css"; Href "https://cdn.jsdelivr.net/npm/@creativebulma/bulma-collapsible@1.0.4/dist/css/bulma-collapsible.min.css"]
script [ Type "module"; Src "/js/bundle.js"] []
style [] [
!! """
body {
margin: 0px;
color: red !important;
}
nfdi-navbar, nfdi-footer, nfdi-toc, nfdi-body {
--element-background-color: black;
--element-text-color: white;
--link-color: #4FB3D9;
--link-hover-color: #84cae4;
--header-color: white;
--outside-background-color: #191919;
--accent-text-color: #1FC2A7
}
thead tr th, strong {
color: var(--accent-text-color) !important
}
a {
color: var(--link-color, #4FB3D9) !important;
}
a:hover {
color: var(--link-hover-color, #3A3A3A) !important;
}
thead {
font-size: 1.2rem;
}
"""
]

]
body [] [
Expand Down

0 comments on commit 9f40674

Please sign in to comment.