Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
44 lines
918 B
CSS
Executable file
44 lines
918 B
CSS
Executable file
/* Generated by grunt-webfont */
|
|
/* Based on https://github.com/endtwist/fontcustom/blob/master/lib/fontcustom/templates/fontcustom.css */
|
|
|
|
|
|
@font-face {
|
|
font-family: "gaia-icons";
|
|
src: url("fonts/gaia-icons.ttf") format("truetype");
|
|
font-weight: 500;
|
|
font-style: normal;
|
|
}
|
|
|
|
|
|
[data-icon]:after,
|
|
.ligature-icons {
|
|
font-family: "gaia-icons";
|
|
content: attr(data-icon);
|
|
display: inline-block;
|
|
font-weight: 500;
|
|
font-style: normal;
|
|
text-transform: none;
|
|
text-rendering: optimizeLegibility;
|
|
font-size: 24px;
|
|
-webkit-font-smoothing: antialiased;
|
|
position: absolute;
|
|
padding: 0 0.4rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.menu-item[data-icon]:after {
|
|
line-height: 4rem;
|
|
width: 4rem;
|
|
}
|
|
|
|
.option-menu[data-icon]:after {
|
|
width: 4rem;
|
|
/* use flex to align center */
|
|
display: flex;
|
|
justify-content: center; /* align horizontal */
|
|
align-items: center; /* algin vertical */
|
|
height: 100%;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
}
|