From 244ec72c6d7d554518ff89598cb999d39614af0d Mon Sep 17 00:00:00 2001 From: danix Date: Wed, 4 Nov 2020 15:35:56 +0100 Subject: Removed Genericons. Added dnxcf-font which is a subset of fontawesome. Removed every reference to gmaps. Added honeypot field. NEEDS TESTING!! modificato: danixland-contact-form.php modificato: include/dnxcf_helper.php modificato: include/dnxcf_mail_template_danixland.php modificato: include/dnxcf_options-display.php modificato: include/dnxcf_options-register.php modificato: include/dnxcf_settings.php nuovo file: style/dnxcf-font.css modificato: style/dnxcf_style.css nuovo file: style/font/dnxcf.eot nuovo file: style/font/dnxcf.svg nuovo file: style/font/dnxcf.ttf nuovo file: style/font/dnxcf.woff nuovo file: style/font/dnxcf.woff2 eliminato: style/genericons/Genericons.eot eliminato: style/genericons/Genericons.svg eliminato: style/genericons/Genericons.ttf eliminato: style/genericons/Genericons.woff eliminato: style/genericons/genericons.css --- style/dnxcf-font.css | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 style/dnxcf-font.css (limited to 'style/dnxcf-font.css') diff --git a/style/dnxcf-font.css b/style/dnxcf-font.css new file mode 100644 index 0000000..7acc636 --- /dev/null +++ b/style/dnxcf-font.css @@ -0,0 +1,65 @@ +@charset "UTF-8"; + + @font-face { + font-family: 'dnxcf'; + src: url('font/dnxcf.eot?94474171'); + src: url('font/dnxcf.eot?94474171#iefix') format('embedded-opentype'), + url('font/dnxcf.woff2?94474171') format('woff2'), + url('font/dnxcf.woff?94474171') format('woff'), + url('font/dnxcf.ttf?94474171') format('truetype'), + url('font/dnxcf.svg?94474171#dnxcf') format('svg'); + font-weight: normal; + font-style: normal; +} +/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */ +/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */ +/* +@media screen and (-webkit-min-device-pixel-ratio:0) { + @font-face { + font-family: 'dnxcf'; + src: url('../font/dnxcf.svg?94474171#dnxcf') format('svg'); + } +} +*/ + + [class^="dnxcf-"]:before, [class*=" dnxcf-"]:before { + font-family: "dnxcf"; + font-style: normal; + font-weight: normal; + speak: never; + + display: inline-block; + text-decoration: inherit; + width: 1em; + margin-right: .2em; + text-align: center; + /* opacity: .8; */ + + /* For safety - reset parent styles, that can break glyph codes*/ + font-variant: normal; + text-transform: none; + + /* fix buttons height, for twitter bootstrap */ + line-height: 1em; + + /* Animation center compensation - margins should be symmetric */ + /* remove if not needed */ + margin-left: .2em; + + /* you can be more comfortable with increased icons size */ + /* font-size: 120%; */ + + /* Font smoothing. That was taken from TWBS */ + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + + /* Uncomment for 3D effect */ + /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ +} + +.dnxcf-mail:before { content: '\2709'; } /* '✉' */ +.dnxcf-tag:before { content: '\e70d'; } /* '' */ +.dnxcf-message:before { content: '\f0e6'; } /* '' */ +.dnxcf-website:before { content: '🌎'; } /* '\1f30e' */ +.dnxcf-like:before { content: '👍'; } /* '\1f44d' */ +.dnxcf-user:before { content: '👤'; } /* '\1f464' */ -- cgit v1.2.3