Light font-awesome

master
Nicolas Vinot 2015-08-12 21:56:35 +02:00
parent 3b0621d335
commit c506fcd16f
10 changed files with 46 additions and 15 deletions

View File

@ -5,5 +5,5 @@ task :build do
end
task deploy: :build do
system 'rsync -axPv build/ server:www/'
system 'rsync -axPv build/ server:www/ --exclude "glyphicons-*"'
end

View File

@ -95,9 +95,9 @@
%span.title SSL/TLS pour les nuls
%span.location 20/06/2015, Pas sage en Seine
%span.links
%a{href: 'https://confs.imirhil.fr/20150620_pses_tls.webm'}
%a{href: 'https://confs.imirhil.fr/20150620_pses_tls/'}
%i.fa.fa-slideshare
Support
%a{href: 'https://confs.imirhil.fr/20150620_pses_tls/'}
%a{href: 'https://confs.imirhil.fr/20150620_pses_tls.webm'}
%i.fa.fa-video-camera
Vidéo

View File

@ -11,7 +11,7 @@
%a{href: 'http://www.cacert.org/index.php?id=3'} leurs certificats
pour pouvoir y accéder.
%p
Pour vous assurez de la validité des certificats utilisés, ils sont aussi protégés par
Pour vous assurer de la validité des certificats utilisés, ils sont aussi protégés par
= succeed ',' do
%a{href: 'https://fr.wikipedia.org/wiki/Domain_Name_System_Security_Extensions'} DNSSec
= succeed ',' do

View File

@ -4,22 +4,22 @@
%hr
.projects
.project
%a{href: 'https//imirhil.fr/tls/'}
%a{href: 'https://imirhil.fr/tls/'}
%img{src: 'images/projects/sslcheck.png', alt: 'SSL Check'}
/
Image by Sean MacEntee
CC-BY 2.0 https//creativecommons.org/licenses/by/2.0/
https://www.flickr.com/photos/smemon/15944989872/
.project
%a{href: 'https//café-vie-privée.fr/'}
%a{href: 'https://café-vie-privée.fr/'}
%img{src: 'images/projects/chiffrofete.png', alt: 'Café vie privée'}
.project
%a{href: 'https//nsa.imirhil.fr/'}
%a{href: 'https://nsa.imirhil.fr/'}
%img{src: 'images/projects/nsa-observer.png', alt: 'NSA Observer'}
.projects
.project
%a{href: 'https//addons.mozilla.org/firefox/addon/enjoy-reading/'}
%a{href: 'https://addons.mozilla.org/firefox/addon/enjoy-reading/'}
%img{src: 'images/projects/enjoy-reading.png', alt: 'Enjoy Reading'}
.project
%a{href: 'https//addons.mozilla.org/firefox/addon/shaarli/'}
%a{href: 'https://addons.mozilla.org/firefox/addon/shaarli/'}
%img{src: 'images/projects/shaarli.png', alt: 'Shaarli'}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.8 KiB

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

@ -0,0 +1,36 @@
$fa-font-path: '../fonts/font-awesome/';
$fa-font-name: 'fontawesome-webfont';
$fa-font-size-base: 14px !default;
$fa-css-prefix: fa !default;
$fa-version: '4.3.0' !default;
$fa-border-color: #eee !default;
$fa-inverse: #fff !default;
$fa-li-width: (30em / 14) !default;
$fa-var-slideshare: '\f1e7';
$fa-var-video-camera: '\f03d';
@font-face {
font-family: 'FontAwesome';
src: url('#{$fa-font-path}#{$fa-font-name}.eot');
src: url('#{$fa-font-path}#{$fa-font-name}.eot?#iefix') format('embedded-opentype'),
url('#{$fa-font-path}#{$fa-font-name}.woff2') format('woff2'),
url('#{$fa-font-path}#{$fa-font-name}.woff') format('woff'),
url('#{$fa-font-path}#{$fa-font-name}.ttf') format('truetype'),
url('#{$fa-font-path}#{$fa-font-name}.svg#fontawesomeregular') format('svg');
font-weight: normal;
font-style: normal;
}
.#{$fa-css-prefix} {
display: inline-block;
font: normal normal normal #{$fa-font-size-base}/1 FontAwesome; // shortening font declaration
font-size: inherit; // can't have font-size inherit on line above, so need to override
text-rendering: auto; // optimizelegibility throws things off #1094
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
transform: translate(0, 0); // ensures no half-pixel rendering in firefox
}
.#{$fa-css-prefix}-slideshare:before { content: $fa-var-slideshare; }
.#{$fa-css-prefix}-video-camera:before { content: $fa-var-video-camera; }

View File

@ -1,9 +1,4 @@
@import "font-awesome/variables";
@import "font-awesome/mixins";
@import "font-awesome/path";
@import "font-awesome/core";
@import "font-awesome/icons";
@import './font-awesome';
@import 'mixins';
@import 'theme';