Merge pull request #24 from welpo/style/no-image-border

Style/no image border
This commit is contained in:
Óscar
2023-02-10 02:42:45 +01:00
committed by GitHub
2 changed files with 10 additions and 1 deletions

View File

@@ -41,7 +41,6 @@
--meta-color: rgb(53, 53, 53);
--accent-color: #aacb73;
}
[data-theme='dark'] {
--bg-0: #818181;
--bg-1: rgba(133, 133, 133, 0.5);
@@ -60,7 +59,12 @@
--input-color: #294797;
--meta-color: rgb(198, 197, 197);
--accent-color: #ff9a8c;
.invertable-image {
filter: invert(1);
}
}
html {
background-color: var(--background-color);
color: var(--text-color);
@@ -138,6 +142,10 @@ h5 {
font-weight: bold;
}
img {
border: none;
}
@media only screen and (max-width: 1000px) {
.content {
max-width: var(--normal-layout-width);

View File

@@ -0,0 +1 @@
<img class="invertable-image" {% if src %}src="{{ src }}"{% endif %} {% if alt %}alt="{{ alt }}"{% endif %}/>