MediaWiki:Common.css: различия между версиями

м Красивые иконки
мНет описания правки
Строка 104: Строка 104:
/* иконки */
/* иконки */
@font-face {
@font-face {
   font-family: 'Material Icons';
   font-family: 'Material Symbols Outlined';
   font-style: normal;
   font-style: normal;
   font-weight: 400;
   font-weight: 100 700;
   src: url(https://example.com/MaterialIcons-Regular.eot); /* For IE6-8 */
   src: url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v170/kJEhBvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oFsI.woff2) format('woff2');
  src: local('Material Icons'),
    local('MaterialIcons-Regular'),
    url(https://example.com/MaterialIcons-Regular.woff2) format('woff2'),
    url(https://example.com/MaterialIcons-Regular.woff) format('woff'),
    url(https://example.com/MaterialIcons-Regular.ttf) format('truetype');
}
}
.material-icons {
 
   font-family: 'Material Icons';
.material-symbols-outlined {
   font-family: 'Material Symbols Outlined';
   font-weight: normal;
   font-weight: normal;
   font-style: normal;
   font-style: normal;
   font-size: 24px;  /* Preferred icon size */
   font-size: 24px;
  display: inline-block;
   line-height: 1;
   line-height: 1;
  letter-spacing: normal;
   text-transform: none;
   text-transform: none;
   letter-spacing: normal;
   display: inline-block;
  white-space: nowrap;
   word-wrap: normal;
   word-wrap: normal;
  white-space: nowrap;
   direction: ltr;
   direction: ltr;
 
   -webkit-font-feature-settings: 'liga';
   /* Support for all WebKit browsers. */
   -webkit-font-smoothing: antialiased;
   -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;
  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;
  /* Support for IE. */
  font-feature-settings: 'liga';
}
}