diff options
author | Thijs Paelman <thijs.paelman+git@hotmail.be> | 2023-06-02 23:47:20 +0200 |
---|---|---|
committer | Thijs Paelman <thijs.paelman+git@hotmail.be> | 2023-06-02 23:47:20 +0200 |
commit | 9af8ec61bb78b60a83fce241ef0e5f485dcfda28 (patch) | |
tree | 9d4305aeccf27d3324769879a1ac3bc17fe4426b /themes/docsy/assets/vendor/forkawesome/src/doc/assets/less/bootstrap-3.3.5/mixins/clearfix.less | |
parent | d7f7c4b20cabb32bde00ff0e2fe9685ba041f3ab (diff) | |
download | website-9af8ec61bb78b60a83fce241ef0e5f485dcfda28.tar.gz website-9af8ec61bb78b60a83fce241ef0e5f485dcfda28.zip |
Add Matrix socials & fix typo
Add Matrix social element, by installing an extra font. It was pretty
painful to install, and has some impact on all css-styles that start
with the '.fa' class, due to global namespacing in scss (by using @import)
Diffstat (limited to 'themes/docsy/assets/vendor/forkawesome/src/doc/assets/less/bootstrap-3.3.5/mixins/clearfix.less')
-rw-r--r-- | themes/docsy/assets/vendor/forkawesome/src/doc/assets/less/bootstrap-3.3.5/mixins/clearfix.less | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/themes/docsy/assets/vendor/forkawesome/src/doc/assets/less/bootstrap-3.3.5/mixins/clearfix.less b/themes/docsy/assets/vendor/forkawesome/src/doc/assets/less/bootstrap-3.3.5/mixins/clearfix.less new file mode 100644 index 0000000..3f7a382 --- /dev/null +++ b/themes/docsy/assets/vendor/forkawesome/src/doc/assets/less/bootstrap-3.3.5/mixins/clearfix.less @@ -0,0 +1,22 @@ +// Clearfix +// +// For modern browsers +// 1. The space content is one way to avoid an Opera bug when the +// contenteditable attribute is included anywhere else in the document. +// Otherwise it causes space to appear at the top and bottom of elements +// that are clearfixed. +// 2. The use of `table` rather than `block` is only necessary if using +// `:before` to contain the top-margins of child elements. +// +// Source: http://nicolasgallagher.com/micro-clearfix-hack/ + +.clearfix() { + &:before, + &:after { + content: " "; // 1 + display: table; // 2 + } + &:after { + clear: both; + } +} |