Skip to content

Instantly share code, notes, and snippets.

@mine-cetinkaya-rundel
Created October 26, 2020 10:16
Show Gist options
  • Save mine-cetinkaya-rundel/3dda7a3350861aa8397c35a5b5b3580a to your computer and use it in GitHub Desktop.
Save mine-cetinkaya-rundel/3dda7a3350861aa8397c35a5b5b3580a to your computer and use it in GitHub Desktop.
Sample (in no way perfect!) CSS for learnr tutorials with dark background
body {
font-size: 16px;
}
.topicsList .topic {
font-size: 18px;
}
p.caption {
font-size: 0.6em;
}
.pageContent {
background: #002b36;
}
body {
color: #93a1a1;
}
.btn-default {
background: ##217ebd;
color: #93a1a1;
}
.topicsList .topic.current {
background-color: ##217ebd;
}
.btn-primary{
color: white;
background-color: #1f7ab7;
}
.tutorial-question {
background: #002b36;
}
pre {
font-size: 22px;
}
.topicsList .topic {
border-bottom: 1px solid #002b36;
}
h3 {
font-weight: 500;
}
.ace-tm {
background-color: #002b36;
color: #93a1a1;
}
Style Attribute {
color: rgb(147, 161, 161);
}
@mine-cetinkaya-rundel
Copy link
Author

@acarzfr Hm, I'm not sure? I would suggest posting a question on RStudio Community or opening an issue on the learnr repo.

@acarzfr
Copy link

acarzfr commented Mar 21, 2022

Thanks @mine-cetinkaya-rundel. I created it in the learn repo.

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