aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlessio Vanni <vannilla@firemail.cc>2020-08-24 21:57:22 +0200
committerJesús <heckyel@hyperbola.info>2022-04-06 04:50:39 +0800
commitae13a8b65cfb55ceb53d1d1088f405222c8308e6 (patch)
tree4364f71ea4bfef9a5a3b67c6bb0ff75f4e4f6bc1
parent670ea69c6d2234817fb8fb28f8944d017f8e3773 (diff)
downloadematrix-ae13a8b65cfb55ceb53d1d1088f405222c8308e6.tar.lz
ematrix-ae13a8b65cfb55ceb53d1d1088f405222c8308e6.tar.xz
ematrix-ae13a8b65cfb55ceb53d1d1088f405222c8308e6.zip
Fix selectors
Signed-off-by: Jesús <heckyel@hyperbola.info>
-rw-r--r--css/common.css74
1 files changed, 37 insertions, 37 deletions
diff --git a/css/common.css b/css/common.css
index fa6eb7a..7553c0e 100644
--- a/css/common.css
+++ b/css/common.css
@@ -16,33 +16,33 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see {http://www.gnu.org/licenses/}.
- Home: https://libregit.spks.xyz/heckyel/ematrix
+ Home: https://notabug.org/heckyel/ematrix
uMatrix Home: https://github.com/gorhill/uMatrix
*/
@font-face {
- font-family: 'httpsb';
- font-style: normal;
- font-weight: normal;
- src: local('httpsb'), url(fonts/Roboto_Condensed/RobotoCondensed-Regular.ttf) format('truetype');
+ font-family: 'httpsb';
+ font-style: normal;
+ font-weight: normal;
+ src: local('httpsb'), url(fonts/Roboto_Condensed/RobotoCondensed-Regular.ttf) format('truetype');
}
@font-face {
- font-family: 'httpsb';
- font-style: normal;
- font-weight: bold;
- src: local('httpsb'), url(fonts/Roboto_Condensed/RobotoCondensed-Bold.ttf) format('truetype');
+ font-family: 'httpsb';
+ font-style: normal;
+ font-weight: bold;
+ src: local('httpsb'), url(fonts/Roboto_Condensed/RobotoCondensed-Bold.ttf) format('truetype');
}
@font-face {
- font-family: 'httpsb';
- font-style: normal;
- font-weight: 100;
- src: local('httpsb'), url(fonts/Roboto_Condensed/RobotoCondensed-Light.ttf) format('truetype');
+ font-family: 'httpsb';
+ font-style: normal;
+ font-weight: 100;
+ src: local('httpsb'), url(fonts/Roboto_Condensed/RobotoCondensed-Light.ttf) format('truetype');
}
@font-face {
- font-family: 'FontAwesome';
- src: url('fonts/fontawesome-webfont.ttf') format('truetype');
- font-weight: normal;
- font-style: normal;
+ font-family: 'FontAwesome';
+ src: url('fonts/fontawesome-webfont.ttf') format('truetype');
+ font-weight: normal;
+ font-style: normal;
}
.fa {
font-family: FontAwesome;
@@ -51,25 +51,25 @@
line-height: 1;
vertical-align: baseline;
display: inline-block;
-}
+ }
body[dir="ltr"] {
direction: ltr;
-}
+ }
body[dir="rtl"] {
direction: rtl;
-}
+ }
/* http://stackoverflow.com/questions/2011142/how-to-change-the-style-of-title-attribute-inside-the-anchor-tag?answertab=votes */
*[data-i18n-tip] {
position: relative;
cursor: pointer;
-}
-*[data-i18n-tip]:after {
+ }
+*[data-i18n-tip]::after {
content: "";
opacity: 0;
-}
-*[data-i18n-tip]:hover:after {
+ }
+*[data-i18n-tip]:hover::after {
background-color: #fffffa;
border: 1px solid gray;
border-radius: 3px;
@@ -89,15 +89,15 @@ body[dir="rtl"] {
transition: opacity 0.15s 0.5s;
white-space: pre-line;
z-index: 20;
-}
-body[dir="ltr"] .tip-anchor-left[data-i18n-tip]:hover:after,
-body[dir="rtl"] .tip-anchor-right[data-i18n-tip]:hover:after {
+ }
+body[dir="ltr"] .tip-anchor-left[data-i18n-tip]:hover::after,
+body[dir="rtl"] .tip-anchor-right[data-i18n-tip]:hover::after {
left: -3vw;
-}
-body[dir="ltr"] .tip-anchor-right[data-i18n-tip]:hover:after,
-body[dir="rtl"] .tip-anchor-left[data-i18n-tip]:hover:after {
+ }
+body[dir="ltr"] .tip-anchor-right[data-i18n-tip]:hover::after,
+body[dir="rtl"] .tip-anchor-left[data-i18n-tip]:hover::after {
right: -3vw;
-}
+ }
button.custom {
padding: 0.6em 1em;
border: 1px solid transparent;
@@ -108,10 +108,10 @@ button.custom {
background-repeat: repeat-x;
color: #000;
opacity: 0.8;
-}
+ }
button.custom:hover {
opacity: 1.0;
-}
+ }
button.custom.important {
padding: 0.6em 1em;
border: 1px solid transparent;
@@ -122,10 +122,10 @@ button.custom.important {
background-repeat: repeat-x;
color: #222;
opacity: 0.8;
-}
+ }
button.custom.important:hover {
opacity: 1.0;
-}
+ }
button.custom.disabled,
button.custom[disabled] {
border-color: #ddd #ddd hsl(36, 0%, 85%);
@@ -134,7 +134,7 @@ button.custom[disabled] {
color: #666;
opacity: 0.6;
pointer-events: none;
-}
+ }
code {
font-size: 90%;
-}
+ }