Browse Source

Light font-awesome

master
Nicolas Vinot 7 years ago
parent
commit
c506fcd16f
  1. 2
      rakefile
  2. 4
      source/_conferences.haml
  3. 2
      source/_footer.haml
  4. 10
      source/_projects.haml
  5. BIN
      source/images/profile-small.png
  6. BIN
      source/images/projects/sslcheck.png
  7. 36
      source/stylesheets/_font-awesome.scss
  8. 0
      source/stylesheets/_mixins.scss
  9. 0
      source/stylesheets/_theme.scss
  10. 7
      source/stylesheets/all.scss

2
rakefile

@ -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

4
source/_conferences.haml

@ -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

2
source/_footer.haml

@ -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

10
source/_projects.haml

@ -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'}

BIN
source/images/profile-small.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.8 KiB

After

Width:  |  Height:  |  Size: 9.2 KiB

BIN
source/images/projects/sslcheck.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

36
source/stylesheets/_font-awesome.scss

@ -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; }

0
source/stylesheets/mixins.scss → source/stylesheets/_mixins.scss

0
source/stylesheets/theme.scss → source/stylesheets/_theme.scss

7
source/stylesheets/all.scss

@ -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';

Loading…
Cancel
Save