Skip to content

Commit a650e03

Browse files
committed
arbitrary changes #4
1 parent 4b7e790 commit a650e03

File tree

1 file changed

+21
-9
lines changed

1 file changed

+21
-9
lines changed

src/components/HeaderAlert.astro

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ import '../styles/globals.scss'
2121

2222
<div id="alertContainer">
2323
<div id="alertBox" class="alertBox">
24-
<p>
24+
<svg data-slot="icon" aria-hidden="true" fill="currentColor" viewBox="0 0 24 24"
25+
xmlns="http://www.w3.org/2000/svg">
26+
<path clip-rule="evenodd"
27+
d="M9 4.5a.75.75 0 0 1 .721.544l.813 2.846a3.75 3.75 0 0 0 2.576 2.576l2.846.813a.75.75 0 0 1 0 1.442l-2.846.813a3.75 3.75 0 0 0-2.576 2.576l-.813 2.846a.75.75 0 0 1-1.442 0l-.813-2.846a3.75 3.75 0 0 0-2.576-2.576l-2.846-.813a.75.75 0 0 1 0-1.442l2.846-.813A3.75 3.75 0 0 0 7.466 7.89l.813-2.846A.75.75 0 0 1 9 4.5ZM18 1.5a.75.75 0 0 1 .728.568l.258 1.036c.236.94.97 1.674 1.91 1.91l1.036.258a.75.75 0 0 1 0 1.456l-1.036.258c-.94.236-1.674.97-1.91 1.91l-.258 1.036a.75.75 0 0 1-1.456 0l-.258-1.036a2.625 2.625 0 0 0-1.91-1.91l-1.036-.258a.75.75 0 0 1 0-1.456l1.036-.258a2.625 2.625 0 0 0 1.91-1.91l.258-1.036A.75.75 0 0 1 18 1.5ZM16.5 15a.75.75 0 0 1 .712.513l.394 1.183c.15.447.5.799.948.948l1.183.395a.75.75 0 0 1 0 1.422l-1.183.395c-.447.15-.799.5-.948.948l-.395 1.183a.75.75 0 0 1-1.422 0l-.395-1.183a1.5 1.5 0 0 0-.948-.948l-1.183-.395a.75.75 0 0 1 0-1.422l1.183-.395c.447-.15.799-.5.948-.948l.395-1.183A.75.75 0 0 1 16.5 15Z"
28+
fill-rule="evenodd"></path>
29+
</svg>
30+
<p id="classic">
2531

26-
<svg data-slot="icon" aria-hidden="true" fill="currentColor" viewBox="0 0 24 24"
27-
xmlns="http://www.w3.org/2000/svg">
28-
<path clip-rule="evenodd"
29-
d="M9 4.5a.75.75 0 0 1 .721.544l.813 2.846a3.75 3.75 0 0 0 2.576 2.576l2.846.813a.75.75 0 0 1 0 1.442l-2.846.813a3.75 3.75 0 0 0-2.576 2.576l-.813 2.846a.75.75 0 0 1-1.442 0l-.813-2.846a3.75 3.75 0 0 0-2.576-2.576l-2.846-.813a.75.75 0 0 1 0-1.442l2.846-.813A3.75 3.75 0 0 0 7.466 7.89l.813-2.846A.75.75 0 0 1 9 4.5ZM18 1.5a.75.75 0 0 1 .728.568l.258 1.036c.236.94.97 1.674 1.91 1.91l1.036.258a.75.75 0 0 1 0 1.456l-1.036.258c-.94.236-1.674.97-1.91 1.91l-.258 1.036a.75.75 0 0 1-1.456 0l-.258-1.036a2.625 2.625 0 0 0-1.91-1.91l-1.036-.258a.75.75 0 0 1 0-1.456l1.036-.258a2.625 2.625 0 0 0 1.91-1.91l.258-1.036A.75.75 0 0 1 18 1.5ZM16.5 15a.75.75 0 0 1 .712.513l.394 1.183c.15.447.5.799.948.948l1.183.395a.75.75 0 0 1 0 1.422l-1.183.395c-.447.15-.799.5-.948.948l-.395 1.183a.75.75 0 0 1-1.422 0l-.395-1.183a1.5 1.5 0 0 0-.948-.948l-1.183-.395a.75.75 0 0 1 0-1.422l1.183-.395c.447-.15.799-.5.948-.948l.395-1.183A.75.75 0 0 1 16.5 15Z"
30-
fill-rule="evenodd"></path>
31-
</svg>
32-
Website version 0.2.
33-
<span><a href="https://github.com/cheddZy/design-repository" target="_blank">Github Page</a></span>
32+
Website version 0.2 - Feature incomplete! You may want to check in once in a while.
33+
<span><a href="https://github.com/cheddZy/design-repository" target="_blank">Github</a></span>
3434
</p>
3535
<button id="alertDismiss">
3636
<svg data-slot="icon" aria-hidden="true" fill="currentColor" viewBox="0 0 24 24"
@@ -45,6 +45,11 @@ import '../styles/globals.scss'
4545

4646

4747
<style>
48+
#classic {
49+
white-space: nowrap;
50+
text-overflow: ellipsis "...";
51+
overflow: clip;
52+
}
4853

4954
#alertContainer {
5055
top: 5rem;
@@ -99,5 +104,12 @@ import '../styles/globals.scss'
99104
p {
100105
font-size: 0.8rem !important;
101106
}
107+
@media screen and (max-width: 768px) {
108+
#classic {
109+
width: 70%;
110+
-webkit-mask-image: -webkit-gradient(linear, left right, left right, from(rgba(0, 0, 0, 1)), to(rgba(0, 0, 0, 0)));
111+
mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 90%, rgba(0, 0, 0, 0));
112+
}
113+
}
102114

103115
</style>

0 commit comments

Comments
 (0)