Improve styling for callouts
Update styles for callouts (warning, caution, note); also avoid applying callout-specific styles to general block quotes.
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
{{- end }}
|
||||
|
||||
<link rel="stylesheet" href="{{ "css/jquery-ui.min.css" | relURL }}">
|
||||
<link rel="stylesheet" href="{{ "css/callouts.css" | relURL }}">
|
||||
<link rel="stylesheet" href="{{ "css/feature-states.css" | relURL }}">
|
||||
<link rel="stylesheet" href="{{ "css/custom-jekyll/tags.css" | relURL }}">
|
||||
{{- if .Site.Params.announcement }}
|
||||
<link rel="stylesheet" href="{{ "css/announcement.css" | relURL }}">
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
<blockquote class="caution">
|
||||
<blockquote class="caution callout">
|
||||
<div><strong>{{ T "caution" }}</strong> {{ trim .Inner " \n" | markdownify }}</div>
|
||||
</blockquote>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
<blockquote class="deprecation_file_warning">
|
||||
<blockquote class="deprecation_file_warning callout">
|
||||
<div><h4>{{ T "deprecation_file_warning" }}</h4> {{ .Inner | markdownify }}</div>
|
||||
</blockquote>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
<blockquote class="note">
|
||||
<blockquote class="note callout">
|
||||
<div><strong>{{ T "note" }}</strong> {{ trim .Inner " \n" | markdownify }}</div>
|
||||
</blockquote>
|
||||
@@ -1,3 +1,3 @@
|
||||
<blockquote class="warning">
|
||||
<blockquote class="warning callout">
|
||||
<div><strong>{{ T "warning" }}</strong> {{ trim .Inner " \n" | markdownify }}</div>
|
||||
</blockquote>
|
||||
|
||||
Reference in New Issue
Block a user