Skip to content

Commit 533e07c

Browse files
committed
move svg styling to css
1 parent 8292edd commit 533e07c

File tree

2 files changed

+12
-13
lines changed

2 files changed

+12
-13
lines changed

index.html

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -102,23 +102,14 @@ <h3 class="widget-text">A heading widget...</h3>
102102
<a href="https://github.com/autumn-mck/dptoolkit-web">GitHub</a> &nbsp;∗&nbsp; Report issues
103103
<a href="https://github.com/autumn-mck/dptoolkit-web/issues">here</a> &nbsp;∗&nbsp; Join the
104104
<a href="https://everloste.github.io/discord">Discord server</a> for other things &nbsp;∗&nbsp;
105-
<!-- <svg style="vertical-align: bottom; margin-bottom: 0.1em; height: 1.1em;" xmlns="http://www.w3.org/2000/svg"
106-
viewBox="0 0 36 36" xml:space="preserve">
107-
<path fill="#880082" d="M0 27a4 4 0 0 0 4 4h28a4 4 0 0 0 4-4v-.5H0v.5z" />
108-
<path fill="#3558A0" d="M0 22.07h36v4.6H0z" />
109-
<path fill="#138F3E" d="M0 17.83h36v4.5H0z" />
110-
<path fill="#FAD220" d="M0 13.5h36V18H0z" />
111-
<path fill="#FF7300" d="M0 9.17h36v4.5H0z" />
112-
<path fill="#FF000E" d="M32 5H4a4 4 0 0 0-4 4v.33h36V9a4 4 0 0 0-4-4z" />
113-
</svg> -->
114-
<svg style="vertical-align: bottom; margin-bottom: 0.05em; height: 1.1em;" viewBox="0 0 36 36" xmlns="http://www.w3.org/2000/svg">
105+
<svg viewBox="0 0 36 36" xmlns="http://www.w3.org/2000/svg">
115106
<path fill="#5BCEFA" d="M0 27c0 2.209 1.791 4 4 4h28c2.209 0 4-1.791 4-4v-1.3H0V27z" id="path1" style="fill:#a30262;fill-opacity:1" />
116107
<path fill="#F5A9B8" d="M.026 20.5L0 25.8h36v-5.3z" id="path2" style="fill:#d362a4;fill-opacity:1" />
117108
<path fill="#EEE" d="M0 15.3h36v5.3H0z" id="path3" />
118109
<path fill="#F5A9B8" d="M0 9.902h36V15.4H0z" id="path4" style="fill:#ff9b57;fill-opacity:1" />
119110
<path fill="#5BCEFA" d="M36 9c0-2.209-1.791-4-4-4H4C1.791 5 0 6.791 0 9v1.2h36V9z" id="path5" style="fill:#d52d00;fill-opacity:1" />
120111
</svg>
121-
<svg style="vertical-align: bottom; margin-bottom: 0.05em; height: 1.1em;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36">
112+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36">
122113
<path fill="#5BCEFA" d="M0 27c0 2.209 1.791 4 4 4h28c2.209 0 4-1.791 4-4v-1.3H0V27z" />
123114
<path fill="#F5A9B8" d="M.026 20.5L0 25.8h36v-5.3z" />
124115
<path fill="#EEE" d="M0 15.3h36v5.3H0z" />

style.css

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,5 +205,13 @@ button:hover {
205205
}
206206
button:active {
207207
background-color: var(--background-below);
208-
color:#cba6f7;
209-
}
208+
color: #cba6f7;
209+
}
210+
211+
footer {
212+
svg {
213+
vertical-align: bottom;
214+
margin-bottom: 0.05em;
215+
height: 1.1em;
216+
}
217+
}

0 commit comments

Comments
 (0)