Use Docsy alert classes
Update the Kubernetes overrides from the Docsy theme to diverge less, specifically in the areas of callouts (alerts) and pageinfo blocks.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{{ if (.Site.Param "deprecated") }}
|
||||
<section id="deprecation-warning">
|
||||
<div class="content deprecation-warning">
|
||||
<div class="content deprecation-warning pageinfo">
|
||||
<h3>
|
||||
{{ T "deprecation_title" }} {{ .Param "version" }}
|
||||
</h3>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
<blockquote class="caution callout">
|
||||
<div><strong>{{ T "caution" }}</strong> {{ trim .Inner " \n" | markdownify }}</div>
|
||||
</blockquote>
|
||||
<div class="alert alert-warning caution callout" role="alert">
|
||||
<strong>{{ T "caution" }}</strong> {{ trim .Inner " \n" | markdownify }}
|
||||
</div>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
<blockquote class="note callout">
|
||||
<div><strong>{{ T "note" }}</strong> {{ trim .Inner " \n" | markdownify }}</div>
|
||||
</blockquote>
|
||||
<div class="alert alert-info note callout" role="alert">
|
||||
<strong>{{ T "note" }}</strong> {{ trim .Inner " \n" | markdownify }}
|
||||
</div>
|
||||
@@ -1,3 +1,4 @@
|
||||
<blockquote class="warning callout">
|
||||
<div><strong>{{ T "warning" }}</strong> {{ trim .Inner " \n" | markdownify }}</div>
|
||||
</blockquote>
|
||||
<div class="alert alert-danger warning callout" role="alert">
|
||||
<strong>{{ T "warning" }}</strong> {{ trim .Inner " \n" | markdownify }}
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user