This commit is contained in:
pmoreno.rodriguez 2023-01-05 22:07:45 +01:00
commit 6a8ac7e485
4 changed files with 17 additions and 4 deletions

View file

@ -3004,6 +3004,19 @@ body.single #wrapper {
position: relative; position: relative;
width: 4em; width: 4em;
} }
#intro .logo:before {
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100px' height='100px' viewBox='0 0 100 100' preserveAspectRatio='none' zoomAndPan='disable'%3E%3Cpolygon points='0,0 100,0 100,25 50,0 0,25' style='fill:%23f4f4f4' /%3E%3Cpolygon points='0,100 100,100 100,75 50,100 0,75' style='fill:%23f4f4f4' /%3E%3C/svg%3E");
background-position: top left;
background-repeat: no-repeat;
background-size: 100% 100%;
content: "";
display: block;
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
}
#intro .logo img { #intro .logo img {
display: block; display: block;
margin-left: -0.25em; margin-left: -0.25em;

File diff suppressed because one or more lines are too long

View file

@ -14,7 +14,7 @@
overflow: hidden; overflow: hidden;
position: relative; position: relative;
width: 4em; width: 4em;
&:before { &:before {
background-image: svg-url('<svg xmlns="http://www.w3.org/2000/svg" width="100px" height="100px" viewBox="0 0 100 100" preserveAspectRatio="none" zoomAndPan="disable"><polygon points="0,0 100,0 100,25 50,0 0,25" style="fill:#{_palette(bg-alt)}" /><polygon points="0,100 100,100 100,75 50,100 0,75" style="fill:#{_palette(bg-alt)}" /></svg>'); background-image: svg-url('<svg xmlns="http://www.w3.org/2000/svg" width="100px" height="100px" viewBox="0 0 100 100" preserveAspectRatio="none" zoomAndPan="disable"><polygon points="0,0 100,0 100,25 50,0 0,25" style="fill:#{_palette(bg-alt)}" /><polygon points="0,100 100,100 100,75 50,100 0,75" style="fill:#{_palette(bg-alt)}" /></svg>');
background-position: top left; background-position: top left;

View file

@ -60,7 +60,7 @@
{% endif %} {% endif %}
</div> </div>
<footer> <footer>
<ul class="actions"> <ul class="actions">
{% if truncate and page.summary != page.content %} {% if truncate and page.summary != page.content %}
@ -93,4 +93,4 @@
</ul> </ul>
</footer> </footer>
</article> </article>