mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
b99bad47b5
- rebase sass files to ./sass - Place all theme files in ./sphinx_rtd_theme - Grunt now uses `default` and `build` tasks - `build` will minify css for committing / dist - Added Gemfile and requirements.txt for python/ruby requirements - Cleaned up Gruntfile, copying no longer needed. - moved compass config to compass.rb Squashed commits: - Move out sphinx_rtd_theme to root folder - Manifest unneeded - Move out sass to root dir - Remove dist from git - Reconfigure paths - Add requirements for sphinx - Add gemfile for compass - Udpate components path - Move to static/css - Add line for rbenv - Require livereload, don't need copy - Comment static path, update theme path for demo conf.py - Add css files - Correct name of .ruby-version... - Update path to theme.css - Remove unprefixed badge_only.css - Update location of theme.js - Update paths in Gruntfile, tasks - re-add __init__.py, bump version - Update setup.py to pick up version easily - Move config.rb to compass.rb - Correct compass import paths - Add debug / production environment - Commit with production built css - Add theme.conf, get requires from requirements.txt - rename tasks, use sphinx-build, add comments - Fix font path - Update css files
54 lines
1.0 KiB
Sass
54 lines
1.0 KiB
Sass
// Slimmer version of FA for use on the badge_only.sass file.
|
|
|
|
+font-face(fontawesome-webfont, '#{$font-awesome-dir}fontawesome_webfont')
|
|
|
|
.icon:before
|
|
display: inline-block
|
|
font-family: fontawesome-webfont
|
|
font-style: normal
|
|
font-weight: normal
|
|
line-height: 1
|
|
text-decoration: inherit
|
|
+font-smooth
|
|
|
|
a .icon
|
|
display: inline-block
|
|
text-decoration: inherit
|
|
|
|
|
|
li
|
|
.icon
|
|
display: inline-block
|
|
.icon-large:before,
|
|
.icon-large:before
|
|
/* 1.5 increased font size for icon-large * 1.25 width
|
|
width: 1.5 * 1.25em
|
|
|
|
ul.icons
|
|
list-style-type: none
|
|
margin-left: 2em
|
|
text-indent: -0.8em
|
|
li
|
|
.icon
|
|
width: .8em
|
|
.icon-large:before,
|
|
.icon-large:before
|
|
/* 1.5 increased font size for icon-large * 1.25 width
|
|
vertical-align: baseline
|
|
// width: 1.5*1.25em
|
|
|
|
.icon-book:before
|
|
content: "\f02d"
|
|
|
|
.icon-caret-down:before
|
|
content: "\f0d7"
|
|
|
|
.icon-caret-up:before
|
|
content: "\f0d8"
|
|
|
|
.icon-caret-left:before
|
|
content: "\f0d9"
|
|
|
|
.icon-caret-right:before
|
|
content: "\f0da"
|