Skip to content

Commit

Permalink
Modify theme
Browse files Browse the repository at this point in the history
  • Loading branch information
bdfinst committed Nov 19, 2022
1 parent 5dacbe7 commit 4569fe3
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 19 deletions.
17 changes: 17 additions & 0 deletions assets/css/button.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
a.markdown-btn {
font-size: inherit;
font-family: inherit;
color: var(--font-color);
background-color: var(--md-bg-color-dark);
border-radius: 30;
text-align: center;
padding: 5px 1em 5px 1em;
text-decoration: none;
border: none;
cursor: pointer;
}
a.markdown-btn:hover, a.markdown-btn:active {
text-decoration: none;
background-color: var(--primary-color);
color: var(--bg-color);
}
12 changes: 12 additions & 0 deletions assets/css/overrides.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.content figure figcaption {
font-style: italic;
}

figcaption {
font-style: italic;
text-align: center;
}

.sc-alert {
text-align: center;
}
4 changes: 3 additions & 1 deletion config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,7 @@ copyrightUrl = "https://creativecommons.org/licenses/by-nc-sa/4.0/"

[params.includes]
css = [
"css/fontawesome6.min.css"
"css/fontawesome6.min.css",
"css/overrides.css",
"css/button.css"
]
6 changes: 3 additions & 3 deletions content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ description: Making enterprises feel better about DevOps transformation since 20
weight: 1
---

{{< figure src="/images/sadmf-logo.png"
attr="Making enterprises feel better about DevOps transformation since 2021"
width="300" >}}
{{< figure src="/images/sadmf-logo.png" caption=" Making enterprises feel better about DevOps transformation since 2021" width="300" >}}

{{< alert type="info" >}}
**Enterprise transformation without the risk of culture change!**
Expand All @@ -18,7 +16,9 @@ width="300" >}}

Real-world feedback from those who've been impacted by Scaled Agile DevOps!

{{< blockquote >}}
*"Thank you for making the world a better place by coming up with Scaled Agile DevOps!"* -- Joep Piscaer
{{< /blockquote >}}

Watch this [amazing training video](https://youtu.be/zMI2FykK7j4) presented by a senior Accredited Facilitator!

Expand Down
15 changes: 0 additions & 15 deletions layouts/partials/theme/navbar-items.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,6 @@
{{partial "theme/taxonomy-selector.html" .}}
</div>
{{end}}
{{range $.Page.Translations}}
{{if reflect.IsMap .Data.Terms}}
{{$.Scratch.Add "taxnomyTranslatedCount" (len .Data.Terms)}}
{{end}}
{{end}}
{{if and (.IsTranslated) (ne ($.Scratch.Get "taxnomyTranslatedCount") 0)}}
<div class='navbar-item'>
{{partial "theme/lang-selector.html" .}}
</div>
{{end}}
{{with $.Site.Params.navbar.versions}}
<div class='navbar-item'>
{{partial "theme/version-selector.html" $}}
</div>
{{end}}
<div class='navbar-item'>
<a id='siteInfo{{$.Scratch.Get "navbarExtendIdSuffix"}}' trigger='navbarInfo' class='button navbar-item-standard navbar-trigger' title='{{i18n "navbarinfo_title"}}'>
<span class='icon-text'>{{i18n "navbar_label_info"}}</span>
Expand Down
Empty file removed static/css/button.css
Empty file.

0 comments on commit 4569fe3

Please sign in to comment.