Documented Autism
|
High Quality Articles
|
Notable Members
|
Glowers Club
|
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| include:startheader [2021/01/14 20:53] – kakol | include:startheader [2024/11/26 03:19] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| @font-face { | @font-face { | ||
| font-family: | font-family: | ||
| - | src: local(' | + | src: local(' |
| } | } | ||
| - | + | .brand-header { | |
| - | @supports not (font-family: | + | font-family: |
| - | .brand-header { font-size: | + | |
| } | } | ||
| - | + | @media screen and (max-width: 550px) { | |
| - | .brand-header { font-family: GlowersBrand } | + | .brand-header { |
| - | </ | + | |
| - | // css is shit | + | } |
| - | function checkFont(strFamily) { | + | |
| - | var objDiv = document.createElement(' | + | |
| - | | + | |
| - | objDiv.appendChild(document.createTextNode(' | + | |
| - | if (window.getComputedStyle) | + | |
| - | return window.getComputedStyle(objDiv, | + | |
| - | return objDiv.currentStyle.fontFamily === strFamily; | + | |
| } | } | ||
| - | if (!checkFont(" | + | </style><h1 class=" |
| - | const a = document.createElement(" | + | |
| - | a.innerText = ' | + | |
| - | document.body.appendChild(a) | + | |
| - | } | + | |
| - | </script><h1 class=" | + | |