aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhiming Wang <zmwangx@gmail.com>2015-09-05 14:42:51 +0800
committerZhiming Wang <zmwangx@gmail.com>2015-09-05 14:42:51 +0800
commit5e4508a6e8435ba081437fbb5bff18efaf49afcb (patch)
tree00782f4d788910c19e35cc419a20105cf91dde81
parent9004bba9bbee3395ff074ea437bec33d673f2bdd (diff)
downloadmy_new_personal_website-5e4508a6e8435ba081437fbb5bff18efaf49afcb.tar.xz
my_new_personal_website-5e4508a6e8435ba081437fbb5bff18efaf49afcb.zip
theme.css: ix problematic baseline shift of rss-icon in Firefox
Before: http://git.io/vGxpJ ; After: http://git.io/vGxpk .
Diffstat (limited to '')
-rw-r--r--source/css/theme.css7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/css/theme.css b/source/css/theme.css
index bff49040..fb8954c9 100644
--- a/source/css/theme.css
+++ b/source/css/theme.css
@@ -227,6 +227,13 @@ noscript a {
top: 1px;
}
+/* fix problematic baseline shift in Firefox */
+@-moz-document url-prefix() {
+ .rss-icon {
+ top: 0;
+ }
+}
+
.cc-icon {
margin: 0 1px;
}