Looks like the content type is application/octet-stream. Need it to be text/css.
If you haven't already, I think you need to reload your file using SAS Drive to get it set correctly.
DeMer, thanks for your help. You gave me more determination to keep insisting. And I did it.
I still don't know why, but the problem occurs that the .css file needs to have the <style></style> tag in the file. Example:
<style>
body {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #181c35;
font-family: Arial, sans-serif;
}
/* Your CSS styles */
</style>
This way, the link created from the SASDrive URI recognizes as CSS:
<link href="/files/files/########/content" type="text/css" rel="stylesheet">
Thanks guys for all the support!
The <style> tags being required is very odd, and maybe not as expected really, but good on you on insisting and finding a solution.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.