Varia: Revise #wpstats styles to appear on frontend only, update CSS hiding method

This commit is contained in:
Allan Cole 2019-07-29 12:01:51 -04:00
parent 40e33fdd01
commit dd88a55d92
6 changed files with 35 additions and 40 deletions

View file

@ -15,3 +15,5 @@
@import "comments/comments";
@import "widgets/widgets";
@import "utilities/utilities";

View file

@ -0,0 +1,11 @@
/* WP Stats */
img#wpstats {
position: absolute !important;
clip: rect(0, 0, 0, 0);
padding: 0 !important;
border: 0 !important;
height: 0 !important;
width: 0 !important;
overflow: hidden;
}

View file

@ -26,16 +26,6 @@ figcaption {
padding: 0;
}
/* WP Stats */
img#wpstats {
position: absolute;
opacity: 0;
left: 100%;
top: 100%;
height: 0;
width: 0;
}
/* Make sure embeds and iframes fit their containers. */
embed,
iframe,

View file

@ -233,16 +233,6 @@ figcaption {
padding: 0;
}
/* WP Stats */
img#wpstats {
position: absolute;
opacity: 0;
left: 100%;
top: 100%;
height: 0;
width: 0;
}
/* Make sure embeds and iframes fit their containers. */
embed,
iframe,

View file

@ -992,16 +992,6 @@ figcaption {
padding: 0;
}
/* WP Stats */
img#wpstats {
position: absolute;
opacity: 0;
right: 100%;
top: 100%;
height: 0;
width: 0;
}
/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
@ -2826,6 +2816,17 @@ table th,
flex: 0 0 100%;
}
/* WP Stats */
img#wpstats {
position: absolute !important;
clip: rect(0, 0, 0, 0);
padding: 0 !important;
border: 0 !important;
height: 0 !important;
width: 0 !important;
overflow: hidden;
}
/**
* Site Pages
* - Page specific styles

View file

@ -992,16 +992,6 @@ figcaption {
padding: 0;
}
/* WP Stats */
img#wpstats {
position: absolute;
opacity: 0;
left: 100%;
top: 100%;
height: 0;
width: 0;
}
/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
@ -2831,6 +2821,17 @@ table th,
flex: 0 0 100%;
}
/* WP Stats */
img#wpstats {
position: absolute !important;
clip: rect(0, 0, 0, 0);
padding: 0 !important;
border: 0 !important;
height: 0 !important;
width: 0 !important;
overflow: hidden;
}
/**
* Site Pages
* - Page specific styles