diff options
Diffstat (limited to 'plugins/jetpack/modules/widgets/social-icons/social-icons.css')
-rw-r--r-- | plugins/jetpack/modules/widgets/social-icons/social-icons.css | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/plugins/jetpack/modules/widgets/social-icons/social-icons.css b/plugins/jetpack/modules/widgets/social-icons/social-icons.css new file mode 100644 index 00000000..505f0663 --- /dev/null +++ b/plugins/jetpack/modules/widgets/social-icons/social-icons.css @@ -0,0 +1,75 @@ +.jetpack_widget_social_icons ul, +.jetpack_widget_social_icons li { + list-style: none; +} + +.jetpack_widget_social_icons ul { + display: block; + margin: 0 0 1.5em; + padding: 0; +} + +.jetpack_widget_social_icons ul li { + border: 0; + display: inline-block; + line-height: 1; + margin: 0; + padding: 0; +} + +.jetpack_widget_social_icons ul li:before, +.jetpack_widget_social_icons ul li:after { + display: none; +} + +.jetpack_widget_social_icons a { + border: 0; + box-shadow: none; + display: block; + height: 24px; + text-decoration: none; + width: 24px; +} + +.jetpack_widget_social_icons svg { + color: inherit; + fill: currentColor; + height: inherit; + vertical-align: middle; + width: inherit; +} + +/* Sizes */ + +.jetpack_widget_social_icons ul.size-small a { + height: 24px; + width: 24px; +} + +.jetpack_widget_social_icons ul.size-medium a { + height: 32px; + width: 32px; +} + +.jetpack_widget_social_icons ul.size-large a { + height: 48px; + width: 48px; +} + +/* +Text meant only for screen readers. +Provides support for themes that do not bundle this CSS yet. +@see https://make.wordpress.org/accessibility/2015/02/09/hiding-text-for-screen-readers-with-wordpress-core/ +***********************************/ +.screen-reader-text { + border: 0; + clip: rect(1px, 1px, 1px, 1px); + clip-path: inset(50%); + height: 1px; + margin: -1px; + overflow: hidden; + padding: 0; + position: absolute ! important; + width: 1px; + word-wrap: normal ! important; +} |