custom.scss 967 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. // Part of the Carbon Language project, under the Apache License v2.0 with LLVM
  2. // Exceptions. See /LICENSE for license information.
  3. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. // This is modifying the builtin scss, particularly:
  5. // https://github.com/just-the-docs/just-the-docs/blob/main/_sass/layout.scss
  6. .site-nav {
  7. // The navbar will typically overflow, so keep a scrollbar so that the zippies
  8. // don't move on open/close.
  9. overflow-y: scroll;
  10. }
  11. .side-bar {
  12. @include mq(lg) {
  13. // Allow left alignment instead of centering.
  14. width: #{$nav-width};
  15. }
  16. & + .main {
  17. @include mq(lg) {
  18. // Allow left alignment instead of centering.
  19. margin-left: #{$nav-width};
  20. }
  21. }
  22. }
  23. .site-footer {
  24. color: #57606a;
  25. }
  26. // Comments in code.
  27. .highlight .c {
  28. color: #57606a;
  29. }
  30. // Misc syntax in code.
  31. .highlight .nb,
  32. .highlight .nt,
  33. .highlight .nv {
  34. color: #a36000;
  35. }
  36. // Strings in code.
  37. .highlight .s2 {
  38. color: #3f7f3f;
  39. }