Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Heuzef 0bb3f6f6fd add WWW (for simple simple URL) pirms 8 gadiem
css add WWW (for simple simple URL) pirms 8 gadiem
site index.html: import from http://zocial.smcllns.com/ pirms 9 gadiem
src add WWW (for simple simple URL) pirms 8 gadiem
templates add WWW (for simple simple URL) pirms 8 gadiem
.fontcustom-manifest.json add WWW (for simple simple URL) pirms 8 gadiem
.nojekyll Host sample on gh-pages pirms 9 gadiem
CNAME Add CNAME pirms 9 gadiem
History.md Release v1.2.0 pirms 8 gadiem
LICENSE Add LICENSE file pirms 9 gadiem
README.md Update fontcustom link pirms 9 gadiem
bower.json Remove excess comma in main array pirms 9 gadiem
composer.json composer.json: cleanup pirms 9 gadiem
fontcustom.yml fontcustom config with comments pirms 9 gadiem
index.html index.html: Fix number of icons. s/42/100/ ! pirms 9 gadiem
package.json Release v1.2.0 pirms 8 gadiem
sample.html add WWW (for simple simple URL) pirms 8 gadiem

README.md

Zocial CSS social buttons

I basically rewrote this entire set so they are full vector buttons, meaning:

  • @font-face icons
  • custom font file for all social icons
  • icon font use private unicode spaces for accessibility
  • em sizing based on button font-size
  • support for about 83 different services
  • buttons and icons supported
  • no raster images (sweet)
  • works splendidly on any browser supporting @font-face
  • CSS3 degrades gracefully in IE8 and below etc.
  • also includes generic icon-less primary and secondary buttons

Demo

How to use these buttons

<button class="zocial facebook">Button label here</button>

or

<a class="zocial twitter">Button label</a>
  • Can be any element e.g. a, div, button etc.
  • Add class of .zocial
  • Add class for name of service e.g. .dropbox, .twitter, .github
  • Done :-)

Check out zocial.smcllns.com for code examples.

There’s also a LESS version from @gustavohenke here

Problems, questions or requests to @smcllns

CDN

This project is available on CDNJS: https://cdnjs.com/libraries/css-social-buttons

How to contribute

  1. Install Font Custom
  2. Add new font in the src/ folder.
  3. Set color settings in the templates/zocial.css file.
  4. Run fontcustom compile
  5. Update the sample.html file with both the button and icon.
  6. Test rendering. If broken go to step 2.
  7. Send pull-request !

License

Under MIT License