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

129 lines
4.2 KiB
SCSS
Raw Normal View History

/**
* 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');
}
}
*/
.shadowed {
filter: drop-shadow(0 0 1px rgba(0, 0, 0, .6));
}
[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-windows:before { content: '\e800'; } /* '' */
.icon-web:before { content: '\e801'; } /* '' */
.icon-universal:before { content: '\e802'; } /* '' */
.icon-macosx:before { content: '\e803'; } /* '' */
.icon-linux:before { content: '\e804'; } /* '' */
.icon-firefox:before { content: '\e805'; } /* '' */
.icon-wrench:before { content: '\e806'; } /* '' */
.icon-touch:before { content: '\e807'; } /* '' */
.icon-privacy:before { content: '\e808'; } /* '' */
.icon-platforms:before { content: '\e809'; } /* '' */
.icon-person:before { content: '\e80a'; } /* '' */
.icon-open-external:before { content: '\e80b'; } /* '' */
.icon-menu:before { content: '\e80c'; } /* '' */
.icon-lookup:before { content: '\e80d'; } /* '' */
.icon-license:before { content: '\e80e'; } /* '' */
.icon-lang:before { content: '\e80f'; } /* '' */
.icon-keyboard:before { content: '\e810'; } /* '' */
.icon-free:before { content: '\e811'; } /* '' */
.icon-frameworks:before { content: '\e812'; } /* '' */
.icon-download:before { content: '\e813'; } /* '' */
.icon-documentation:before { content: '\e814'; } /* '' */
.icon-code:before { content: '\e815'; } /* '' */
.icon-bug:before { content: '\e816'; } /* '' */
.icon-apps:before { content: '\e817'; } /* '' */
.icon-about:before { content: '\e818'; } /* '' */
.icon-twitter:before { content: '\e819'; } /* '' */
.icon-stackoverflow:before { content: '\e81a'; } /* '' */
.icon-mastodon:before { content: '\e81b'; } /* '' */
.icon-mail:before { content: '\e81c'; } /* '' */
.icon-github:before { content: '\e81d'; } /* '' */
.icon-git:before { content: '\e81e'; } /* '' */