Skip to content

Commit

Permalink
Add (provisional) color to the web docs (#50)
Browse files Browse the repository at this point in the history
Closes #48
  • Loading branch information
arthur-shaw authored May 9, 2024
1 parent efcfe8b commit c2b0f3e
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions src/dev/assets/labeller_site_theme.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/*-- scss:defaults --*/

// nav bar
$navbar-bg: black;
$navbar-fg: #88ff55;
// body
$body-bg: #343a40;
$body-color: white;
// font color
$link-color: #a6e3a1;
$code-block-bg: black;

/*-- scss:rules --*/

h1, h2, h3, h4, h1>code {
color: #88ff55;
text-shadow: 1px 1px 2px black, 0 0 1em #88ff55, 0 0 0.2em #88ff55;
}

// set package title's background color to the page's
h1 > code {
background-color: $body-bg;
}

// use Stata IDE colors
p > code, pre > code {
// background
background-color: #252526 !important;
// results
color: #b4ffb4;
}

0 comments on commit c2b0f3e

Please sign in to comment.