Comments (6)
That is indeed the case, and the K-Scaffold framework I used injected it's own import before mine, hence the problem.
I fixed that by re-ordering stuff and forgot to close this issue, sorry about the noise
from roll20-character-sheets.
Hi @Riernar
If I was going to make a guess, I would presume that the CSS validator on the VTT is rejecting, for some reason, your CSS font imports. For obscure, arcane, and frankly silly reasons, the Custom Sheet option in campaigns, and the sheet sandbox uses a slightly more permissive CSS validator in contrast with what is piped from github, through the microservice, and delivered to the VTT.
Things I would suggest:
- Altering your font imports to use a single import.
- Ensuring no fonts are being sourced from anywhere other than google fonts.
- Ensuring that you're using the old google fonts reference methods.
- Removing any comments or extraneous code from your css file.
- Running your compiled CSS through a validator to ensure that nothing might be causing the error.
from roll20-character-sheets.
I will also note that often, but not always, CSS validation errors are thrown in the VTT, so I'd check your dev console when the sheet is loaded.
from roll20-character-sheets.
Hi Nic,
Thanks for the tips. I already checked the dev console, and found no error. Though I just found the <style>
element that contains rolltemplate's CSS and indeed only the first @import
is there. I'll investigate further to see what is causing the other two to be removed.
from roll20-character-sheets.
Sadly #11954 didn't fix it. If someone would be so kind as to re-open this issue (for some reasons I can't), that would be great for tracking.
As far as I can tell,
- Ensuring no fonts are being sourced from anywhere other than google fonts.
- Ensuring that you're using the old google fonts reference methods.
- Altering your font imports to use a single import.
Not possible with the kScaffold framework, but Scott C, the creator, never had issues due to that. - Removing any comments or extraneous code from your css file.
- Running your compiled CSS through a validator to ensure that nothing might be causing the error.
I'm starting to think the Material+Symbol+Outline
family contains a forbidden string, and cause its own line and the next line to be sanitized out.
from roll20-character-sheets.
Isn't the issue here that there can only be one font import statement? https://wiki.roll20.net/Character_Sheet_Development/CSS#Google_Fonts
from roll20-character-sheets.
Related Issues (20)
- [GURPS] 2.9.20 rollback and Roll20 issue with newly added field
- [Mongoose Traveller] Computers skill show/hide broken, Deception formula wrong HOT 1
- German Translation HOT 1
- Portuguese translation Mage V20 HOT 6
- Help! My local GIT keeps changing Skyfall/imgs/logo.png for some reason HOT 3
- [Paladin] Want to add a new logo to the Paladin SRC repository HOT 1
- Vaesen RPG character sheets HOT 3
- [Pendragon 5.2/6] Squire section bug, I may have a fix
- Files for Medievo Oscuro have wrong line endings HOT 4
- Fallout V&D - Sheet Appearance Issue
- Missing Sheet Contribution - The Unofficial Hollow Knight RPG HOT 1
- Old Dragon 2e sheet no longer showing up on Roll20 HOT 3
- ChroniquesOubliees: Roll20 displays documentation instead of sheet. HOT 3
- Character sheet is not displaying correctly on any browser HOT 2
- Roll template font issues HOT 1
- Skyfall sheet.json Line Ending Conflicts
- rpg
- trail of cthulhu HOT 1
- [Stars_Without_Number_Revised] Merged Changes not in sheet after 24h HOT 5
- [100DOS Mythic] useroptions dont show up in campaign settings HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from roll20-character-sheets.