css sembra ok
All checks were successful
Linting markdown on PR / unicode-check (pull_request) Successful in 55s

This commit is contained in:
Paolo Asperti 2024-09-12 21:15:43 +02:00
parent a49074d370
commit a6ecd29fc2
Signed by: paspo
GPG Key ID: 06D46905D19D5182
2 changed files with 7 additions and 18 deletions

View File

@ -127,21 +127,6 @@ div.highlight pre code > span::before {
#importantwarning {
text-align: center;
padding: 3.5em 0;
header {
h2 {
display: inline-block;
vertical-align: middle;
margin: 0;
}
.button {
vertical-align: middle;
}
}
}
.wrapper.style4 {
background: _palette(bg);
.container header {
@ -168,15 +153,19 @@ div.highlight pre code > span::before {
vertical-align: middle;
margin-top: auto;
margin-bottom: auto;
display: inline-block;
margin: 0;
}
.button {
background: _palette(accent, fg);
color: _palette(fg);
display: flex;
display: inline-block;
margin-left: auto;
margin-right: 2em;
vertical-align: middle;
text-align: center;
&:hover {
color: _palette(accent, bg) !important;
}

View File

@ -1,5 +1,5 @@
{{- if .item.enabled -}}
<section id="importantwarning" class="wrapper style4">
<section id="importantwarning">
<div class="container">
<header>
<i class="warningicon fa-solid fa-triangle-exclamation"></i>