49 lines
1.7 KiB
CSS
49 lines
1.7 KiB
CSS
@font-face {
|
|
font-family: 'Material Symbols Outlined';
|
|
src: url('../fonts/materialsymbols/material_symbols_outlined/materialsymbolsoutlined-variablefont_fill,grad,opsz,wght.ttf') format('truetype');
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Material Symbols Rounded';
|
|
src: url('../fonts/materialsymbols/material_symbols_rounded/materialsymbolsrounded-variablefont_fill,grad,opsz,wght.ttf') format('truetype');
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Material Symbols Sharp';
|
|
src: url('../fonts/materialsymbols/material_symbols_sharp/materialsymbolssharp-variablefont_fill,grad,opsz,wght.ttf') format('truetype');
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
|
|
/* Enable the use of ligatures for Material Symbols */
|
|
.material-symbols {
|
|
font-family: 'Material Symbols Outlined';
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
font-size: 24px;
|
|
line-height: 1;
|
|
letter-spacing: normal;
|
|
text-transform: none;
|
|
display: inline-block;
|
|
white-space: nowrap;
|
|
word-wrap: normal;
|
|
direction: ltr;
|
|
-webkit-font-feature-settings: "liga";
|
|
-webkit-font-smoothing: antialiased;
|
|
color: white; /* Ensure the icon is white */
|
|
}
|
|
.icon-align {
|
|
display: flex; /* Enables flexbox layout */
|
|
justify-content: center; /* Centers content horizontally */
|
|
align-items: center; /* Centers content vertically */
|
|
height: 100%; /* Ensure the container has a defined height */
|
|
width: 100%; /* Ensure the container has a defined width */
|
|
text-align: center; /* Additional centering for inline elements */
|
|
position: relative; /* Ensure proper positioning of child elements */
|
|
}
|
|
|