summaryrefslogtreecommitdiff
path: root/ext/fg
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-04-16 22:54:19 -0700
committerAlex Yatskov <alex@foosoft.net>2016-04-16 22:54:19 -0700
commitc353ec04bc2b2e977d0788f676b5696dd5cf96dc (patch)
tree9e192ab257549a2289f9f3a09372819db27010db /ext/fg
parentf7fa1bc51c3fb6c483195e5d76f6e5e668037e30 (diff)
Styling
Diffstat (limited to 'ext/fg')
-rw-r--r--ext/fg/css/client.css2
-rw-r--r--ext/fg/css/popup.css28
2 files changed, 20 insertions, 10 deletions
diff --git a/ext/fg/css/client.css b/ext/fg/css/client.css
index e55ce2fd..0262e820 100644
--- a/ext/fg/css/client.css
+++ b/ext/fg/css/client.css
@@ -18,13 +18,11 @@
iframe.yomichan-popup {
all: initial;
- background-color: #fff;
border: 1px solid #999;
box-shadow: 0 0 10px rgba(0, 0, 0, .5);
height: 300px;
width: 500px;
resize: both;
- overflow-y: auto;
position: fixed;
visibility: hidden;
z-index: 256;
diff --git a/ext/fg/css/popup.css b/ext/fg/css/popup.css
index cef0a994..76c2589a 100644
--- a/ext/fg/css/popup.css
+++ b/ext/fg/css/popup.css
@@ -18,14 +18,16 @@
body {
background-color: #fff;
- color: #000;
- font-family: sans-serif;
- font-size: 12pt;
+ color: #333;
+ font-family: helvetica neue,helvetica,arial,sans-serif;
+ font-size: 14px;
+ line-height: 1.42857143;
+ overflow-y: auto;
}
.expression {
font-family: serif;
- font-size: 18pt;
+ font-size: 24px;
display: inline-block;
}
@@ -34,12 +36,22 @@ body {
display: inline-block;
}
-.tags {
- color: #777;
+.tag {
+ background-color: #777;
+ border-radius: 0.25em;
+ color: #fff;
+ display: inline;
+ font-size: 75%;
+ font-weight: 700;
+ line-height: 1;
+ padding: 0.2em 0.6em 0.3em;
+ text-align: center;
+ vertical-align: baseline;
+ white-space: nowrap;
}
-.glossary {
- font-size: 12pt;
+ol {
+ padding-left: 1.2em;
}
li {