aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed/css
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-10-12 16:27:49 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-10-12 19:00:21 -0400
commitceaeeb32dd23403c516f5aa5cb5527c40f2f21aa (patch)
tree5bc41b2b0f0a250c04241861f430415c14ec0614 /ext/mixed/css
parent696ea80e0681c9dab71e7b253acf4c87155004ba (diff)
Remove bootstrap styles from float.html
Diffstat (limited to 'ext/mixed/css')
-rw-r--r--ext/mixed/css/display.css40
1 files changed, 39 insertions, 1 deletions
diff --git a/ext/mixed/css/display.css b/ext/mixed/css/display.css
index 8a4cf4a7..e88372bb 100644
--- a/ext/mixed/css/display.css
+++ b/ext/mixed/css/display.css
@@ -30,9 +30,27 @@
* General
*/
+body {
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+ font-size: 14px;
+ line-height: 1.42857143;
+ color: #333;
+ background-color: #fff;
+ margin: 0;
+ border: 0;
+ padding: 0;
+}
+
hr {
padding: 0px;
margin: 0px;
+ border: 0;
+ border-top: 1px solid #eee;
+}
+
+ol, ul {
+ margin-top: 0;
+ margin-bottom: 10px;
}
#spinner {
@@ -60,6 +78,12 @@ hr {
padding-bottom: 10px;
}
+html:root.yomichan-float .entry,
+html:root.yomichan-float .note {
+ padding-left: 10px;
+ padding-right: 10px;
+}
+
.tag-default {
background-color: #8a8a91;
}
@@ -103,6 +127,7 @@ hr {
.actions .disabled img {
-webkit-filter: grayscale(100%);
+ filter: grayscale(100%);
opacity: 0.25;
}
@@ -111,7 +136,7 @@ hr {
}
.actions {
- display: inline-block;
+ display: block;
float: right;
}
@@ -234,3 +259,16 @@ div.glossary-item.compact-glossary {
.entry:not(.entry-current) .current {
display: none;
}
+
+.label {
+ display: inline;
+ padding: 0.2em 0.6em 0.3em;
+ font-size: 75%;
+ font-weight: 700;
+ line-height: 1;
+ color: #fff;
+ text-align: center;
+ white-space: nowrap;
+ vertical-align: baseline;
+ border-radius: 0.25em;
+}