summaryrefslogtreecommitdiff
path: root/data/about.css
diff options
context:
space:
mode:
Diffstat (limited to 'data/about.css')
-rw-r--r--data/about.css14
1 files changed, 10 insertions, 4 deletions
diff --git a/data/about.css b/data/about.css
index 98e5c468..01332848 100644
--- a/data/about.css
+++ b/data/about.css
@@ -86,6 +86,7 @@ button {
margin: 1%;
background-repeat: no-repeat;
background-position: center;
+ background-size: cover;
display: inline-block;
box-sizing: border-box;
overflow: hidden;
@@ -93,6 +94,10 @@ button {
box-shadow: 0 1px 3px rgba(0,0,0,0.12),
0 1px 2px rgba(0,0,0,0.24);
}
+/* Match style="background-image: url('favicon:///');" */
+.shortcut[style*='favicon'] {
+ background-size: auto;
+}
.shortcut a {
width: 100%;
@@ -108,14 +113,15 @@ button {
.shortcut a .title {
position: absolute;
- bottom: 4px;
- margin: 4px;
- width: 90%;
+ bottom: 0;
+ padding: 1em 4px;
+ width: 100%;
+ background-color: #dedede;
color: #222222;
text-align: center;
text-overflow: ellipsis;
white-space: nowrap;
- height: 2em;
+ height: 1em;
line-height: 1em;
overflow: hidden;
display: block;