Skip to content
Snippets Groups Projects
Commit 9f5b404a authored by Marie's avatar Marie
Browse files

merge: use misskey shadow for the sharkey ticker, prevent clipping (#291)

Closes #290
parents 42be9512 499b2b03
No related branches found
No related tags found
No related merge requests found
......@@ -50,7 +50,19 @@ const bg = {
padding: 4px;
overflow: clip;
color: #fff;
text-shadow: -1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #000;
text-shadow: /* .866 sin(60deg) */
1px 0 1px #000,
.866px .5px 1px #000,
.5px .866px 1px #000,
0 1px 1px #000,
-.5px .866px 1px #000,
-.866px .5px 1px #000,
-1px 0 1px #000,
-.866px -.5px 1px #000,
-.5px -.866px 1px #000,
0 -1px 1px #000,
.5px -.866px 1px #000,
.866px -.5px 1px #000;
}
.icon {
......@@ -59,7 +71,9 @@ const bg = {
}
.name {
margin-left: 4px;
padding: 0.5ex;
margin: -0.5ex;
margin-left: calc(4px - 0.5ex);
line-height: 1;
font-size: 0.8em;
font-weight: bold;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment