From 21fa719c03b358531effc6de91dba3d572715395 Mon Sep 17 00:00:00 2001 From: Xiao YiFang Date: Sun, 9 Apr 2023 19:41:41 +0800 Subject: [PATCH] style: minor css changes --- article-style-st-lingoes-blue.css | 9 ++++----- article-style-st-modern.css | 9 ++++----- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/article-style-st-lingoes-blue.css b/article-style-st-lingoes-blue.css index c42395ca..6789aaee 100644 --- a/article-style-st-lingoes-blue.css +++ b/article-style-st-lingoes-blue.css @@ -35,7 +35,7 @@ a:hover { } .gddictname { - display: -webkit-box; /* needed to be able to reorder elements, e.g. icon, dictionary name, collapse icon */ + display: flex; /* needed to be able to reorder elements, e.g. icon, dictionary name, collapse icon */ font-size: 12px; font-weight: normal; float: right; @@ -58,8 +58,7 @@ a:hover { .gddicttitle { display:block; - -webkit-box-ordinal-group: 1; - -webkit-box-flex: 1; + order: 1; } .gdactivearticle .gddictname { @@ -85,7 +84,7 @@ a:hover { .collapse_expand_area { display: block; - -webkit-box-ordinal-group: 3; + order: 3; } .gddicticon @@ -94,7 +93,7 @@ a:hover { vertical-align: text-bottom; padding-right: -1em; padding-left: 0.3em; - -webkit-box-ordinal-group: 2; + order: 2; } .gdexpandicon, .gdexpandicon:hover, .gdcollapseicon, .gdcollapseicon:hover diff --git a/article-style-st-modern.css b/article-style-st-modern.css index b1f48a73..f64c73e8 100644 --- a/article-style-st-modern.css +++ b/article-style-st-modern.css @@ -57,7 +57,7 @@ a:hover .gddictname { - display: -webkit-box; /* needed to be able to reorder elements, e.g. icon, dictionary name, collapse icon */ + display: flex; font-size: 12px; font-weight: normal; float: right; @@ -78,8 +78,7 @@ a:hover .gddicttitle { display:block; - -webkit-box-ordinal-group: 1; - -webkit-box-flex: 1; + order: 1; } .gdactivearticle .gddictname @@ -111,7 +110,7 @@ a:hover .collapse_expand_area { display: block; - -webkit-box-ordinal-group: 3; + order: 3; } .gddicticon @@ -120,7 +119,7 @@ a:hover vertical-align: text-bottom; padding-right: -1em; padding-left: 0.3em; - -webkit-box-ordinal-group: 2; + order: 2; } .gddicticon img {