Skip to content

Commit 4fda800

Browse files
microbit-josephinemicrobit-carlos
authored andcommitted
UI: Add shadow to button text for readability (#307)
Makes long strings text visible on the triangular background with the same colour as the text.
1 parent b513ef6 commit 4fda800

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

static/css/style.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,7 @@ html[data-useragent*='MSIE 10.0'] .small-icons .status-icon {
337337
font-size: 80%;
338338
text-align: center;
339339
color: #336699;
340+
text-shadow: -1px -1px #f2f2f2, 1px -1px #f2f2f2, -1px 1px #f2f2f2, 1px 1px #f2f2f2;
340341
}
341342

342343
body:not(.hasFota) .fota {

0 commit comments

Comments
 (0)