sfd
This commit is contained in:
parent
237e02e1e6
commit
399b02ff83
1 changed files with 2 additions and 2 deletions
|
@ -921,7 +921,7 @@
|
|||
{% endif %}
|
||||
|
||||
{% if not ajax and v and v.theme == 'midnight' %}
|
||||
<script>
|
||||
/* <script>
|
||||
const color = getComputedStyle(document.body).getPropertyValue('background-color');
|
||||
const markTemplate = (name) => {
|
||||
return `<svg xmlns='http://www.w3.org/2000/svg' version='1.1' width='50px' height='50px'><text transform='translate(10, 50) rotate(-45)' fill='rgba(45,45,45,0.1)' font-size='20'>${name}</text></svg>`;
|
||||
|
@ -931,7 +931,7 @@
|
|||
var style = document.createElement('style');
|
||||
style.innerHTML = `#post-text,.comment-section > .comment{background-image:url("data:image/svg+xml;base64,${base64Mark}")}`;
|
||||
document.getElementsByTagName('head')[0].appendChild(style);
|
||||
</script>
|
||||
</script> */
|
||||
{% endif %}
|
||||
|
||||
</body>
|
Loading…
Add table
Add a link
Reference in a new issue