omegamma/assets/scss/components/common/icon.scss

122 lines
4.1 KiB
SCSS

/**
* Omegamma - Hugo theme for ad5001.eu and related websites.
* Copyright (C) 2021 Ad5001
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
.icon-as-text {
width: 1em;
height: 1em;
margin-top: -0.05em;
margin-right: 0.5em;
vertical-align: middle;
}
.icon-larger-text {
width: 1em;
height: 1em;
font-size: 1.4em;
margin-right: 0.35em;
margin-top: -0.14em;
vertical-align: middle;
}
.icon-larger2-text {
width: 1em;
height: 1em;
font-size: 1.6em;
margin-right: 0.31em;
margin-top: -0.19em;
vertical-align: middle;
}
.icon-twice-text {
width: 1em;
height: 1em;
font-size: 2em;
margin-right: 0.25em;
margin-top: -0.25em;
vertical-align: middle;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
@font-face {
font-family: 'omegicons';
src: url('../font/omegicons.svg?71804627#omegicons') format('svg');
}
}
*/
[class^="icon-"]:before, [class*=" icon-"]:before {
font-family: "omegicons";
font-style: normal;
font-weight: normal;
speak: never;
display: inline-block;
text-decoration: inherit;
text-align: center;
/* opacity: .8; */
/* For safety - reset parent styles, that can break glyph codes*/ /* fix buttons height, for twitter bootstrap */
line-height: 1em;
/* Animation center compensation - margins should be symmetric */
/* remove if not needed */
/* margin-left: .2em; */
/* you can be more comfortable with increased icons size */
/* font-size: 120%; */
/* Font smoothing. That was taken from TWBS */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
/* Uncomment for 3D effect */
/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
.icon-about:before { content: '\e800'; } /* '' */
.icon-apps:before { content: '\e801'; } /* '' */
.icon-bug:before { content: '\e802'; } /* '' */
.icon-code:before { content: '\e803'; } /* '' */
.icon-documentation:before { content: '\e804'; } /* '' */
.icon-download:before { content: '\e805'; } /* '' */
.icon-frameworks:before { content: '\e806'; } /* '' */
.icon-free:before { content: '\e807'; } /* '' */
.icon-git:before { content: '\e808'; } /* '' */
.icon-keyboard:before { content: '\e809'; } /* '' */
.icon-lang:before { content: '\e80a'; } /* '' */
.icon-license:before { content: '\e80b'; } /* '' */
.icon-lookup:before { content: '\e80c'; } /* '' */
.icon-menu:before { content: '\e80d'; } /* '' */
.icon-open-external:before { content: '\e80e'; } /* '' */
.icon-person:before { content: '\e80f'; } /* '' */
.icon-platforms:before { content: '\e810'; } /* '' */
.icon-privacy:before { content: '\e811'; } /* '' */
.icon-touch:before { content: '\e812'; } /* '' */
.icon-wrench:before { content: '\e813'; } /* '' */
.icon-firefox:before { content: '\e814'; } /* '' */
.icon-linux:before { content: '\e815'; } /* '' */
.icon-macosx:before { content: '\e816'; } /* '' */
.icon-universal:before { content: '\e817'; } /* '' */
.icon-web:before { content: '\e818'; } /* '' */
.icon-windows:before { content: '\e819'; } /* '' */
.icon-github:before { content: '\e81b'; } /* '' */
.icon-mail:before { content: '\e81c'; } /* '' */
.icon-mastodon:before { content: '\e81d'; } /* '' */
.icon-twitter:before { content: '\e81e'; } /* '' */