Skip to content

Instantly share code, notes, and snippets.

@ae-elaine-axis
Created April 11, 2017 10:10
Show Gist options
  • Select an option

  • Save ae-elaine-axis/7f13d2fc8aed701cd50ade5ec729d1dd to your computer and use it in GitHub Desktop.

Select an option

Save ae-elaine-axis/7f13d2fc8aed701cd50ade5ec729d1dd to your computer and use it in GitHub Desktop.
Add custom font
@at-root {
@font-face {
font-family: 'Indie Flower';
font-style: normal;
font-weight: 400;
src: local('Indie Flower'), local('IndieFlower'), url(https://fonts.gstatic.com/s/indieflower/v8/10JVD_humAd5zP2yrFqw6hampu5_7CjHW5spxoeN3Vs.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}
}
.ecwid div, .ecwid span, .ecwid a, .ecwid p {
font-family: "Indie Flower", arial, sans-serif !important;
}
div.ecwid-productBrowser-details-descr {
font-family: "Indie Flower", cursive;
color: red;
font-size: 20px;
font-weight: bolder;
}
@ae-elaine-axis

Copy link
Copy Markdown
Author

Also,

@import url('https://fonts.googleapis.com/css?family=Rye');
.ecwid div, .ecwid span, .ecwid a, .ecwid p {
font-family: 'Rye', cursive !important;
}

@ae-elaine-axis

ae-elaine-axis commented May 28, 2017

Copy link
Copy Markdown
Author

Или

@at-root {
@font-face {
font-family: "Ubuntu BI";
src: url(http://~.ttf);}
}
}

body.proximanova {
font-family: "Ubuntu BI" !important;
}

.ecwid div, .ecwid span, .ecwid a, .ecwid p {
font-family: "Ubuntu BI" !important;
}

.header h2 {
font-family: "Ubuntu BI" !important;
color:red !important;
}

.tiles>[data-block]:not(.store) .description p {
font-family: "Ubuntu BI" !important;
color: green !important;}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment