From 39a8ce24babbf55667e3f4be21e37c619f55f257 Mon Sep 17 00:00:00 2001 From: Fabrice Niessen Date: Tue, 26 Jan 2021 21:14:59 +0100 Subject: [PATCH] Re-add Fontawesome in ReadTheOrg --- src/readtheorg_theme/css/readtheorg.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/readtheorg_theme/css/readtheorg.css b/src/readtheorg_theme/css/readtheorg.css index 6903f2c..e9c9033 100644 --- a/src/readtheorg_theme/css/readtheorg.css +++ b/src/readtheorg_theme/css/readtheorg.css @@ -519,8 +519,19 @@ legend{ .fa:before,#content .admonition-title:before,#content h1 .headerlink:before,#content h2 .headerlink:before,#content h3 .headerlink:before,#content h4 .headerlink:before,#content h5 .headerlink:before,#content h6 .headerlink:before,#content dl dt .headerlink:before,.icon:before,.wy-dropdown .caret:before,.wy-inline-validate.wy-inline-validate-success .wy-input-context:before,.wy-inline-validate.wy-inline-validate-danger .wy-input-context:before,.wy-inline-validate.wy-inline-validate-warning .wy-input-context:before,.wy-inline-validate.wy-inline-validate-info .wy-input-context:before,.wy-alert,#content .note,#content .attention,#content .caution,#content .danger,#content .error,#content .hint,#content .important,#content .tip,#content .warning,#content .seealso,#content .admonitiontodo,.btn,input[type="text"],input[type="password"],input[type="email"],input[type="url"],input[type="date"],input[type="month"],input[type="time"],input[type="datetime"],input[type="datetime-local"],input[type="week"],input[type="number"],input[type="search"],input[type="tel"],input[type="color"],select,textarea,#table-of-contents li.on a,#table-of-contents li.current>a,.wy-side-nav-search>a,.wy-side-nav-search .wy-dropdown>a,.wy-nav-top a{ -webkit-font-smoothing:antialiased} +/*! + * Font Awesome 4.1.0 by @davegandy - http://fontawesome.io - @fontawesome + * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) + */@font-face{ + font-family:'FontAwesome'; + src:url("../fonts/fontawesome-webfont.eot?v=4.1.0"); + src:url("../fonts/fontawesome-webfont.eot?#iefix&v=4.1.0") format("embedded-opentype"),url("../fonts/fontawesome-webfont.woff?v=4.1.0") format("woff"),url("../fonts/fontawesome-webfont.ttf?v=4.1.0") format("truetype"),url("../fonts/fontawesome-webfont.svg?v=4.1.0#fontawesomeregular") format("svg"); + font-weight:normal; + font-style:normal} + .fa,#content .admonition-title,.icon{ display:inline-block; + font-family:FontAwesome; font-style:normal; font-weight:normal; line-height:1; @@ -554,6 +565,7 @@ legend{ font-family:inherit} .fa:before,#content .admonition-title:before{ + font-family:"FontAwesome"; display:inline-block; font-style:normal; font-weight:normal; @@ -596,6 +608,7 @@ a .fa,a #content .admonition-title,#content a .admonition-title{ #content .admonition-title.tip:before, #content .admonition-title.hint:before, #content .admonition-title.important:before, #content .admonition-title.error:before, #content .admonition-title.danger:before{ + font-family:FontAwesome; content: "";} #content .note,#content .seealso{ @@ -985,6 +998,7 @@ footer p{ #content h1 .headerlink:after,#content h2 .headerlink:after,#content h3 .headerlink:after,#content h4 .headerlink:after,#content h5 .headerlink:after,#content h6 .headerlink:after,#content dl dt .headerlink:after{ visibility:visible; content:""; + font-family:FontAwesome; display:inline-block} #content h1:hover .headerlink,#content h2:hover .headerlink,#content h3:hover .headerlink,#content h4:hover .headerlink,#content h5:hover .headerlink,#content h6:hover .headerlink,#content dl dt:hover .headerlink{