-
Notifications
You must be signed in to change notification settings - Fork 683
docs: restyle docs to be more "Truffley" #4035
Conversation
Co-authored-by: David Murdoch <david@davidmurdoch.com>
Co-authored-by: David Murdoch <187813+davidmurdoch@users.noreply.github.com>
This looks great! |
@@ -44,7 +44,7 @@ | |||
font-family: "Open sans"; | |||
transform: translate(-3vw, calc(-100% + 3.05vw)); | |||
padding: 0.5vw 1vw 3vw; | |||
text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.5); | |||
/* text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.5); */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should probs delete this I guess?
/* text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.5); */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Totally. I just commented this out initially because I was unsure if it aided readability in dark mode (I was primarily working in light mode at the time).
@@ -65,7 +65,7 @@ | |||
*:not(pre) > code, | |||
.hljs { | |||
font-family: "Share Tech Mono", monospace; | |||
text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.7); | |||
/* text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.7); */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/* text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.7); */ |
UPDATE: They were caused by the padding. Outstanding issues:
I think these are both caused by the padding I added to |
764a928
to
cf8fe21
Compare
Closing because #4033 implements most of this now. Thanks, @OnlyOneJMJQ! I'll be sure to add you as a co-author on the eventual merge of #4033. |
Brought the styling of the docs closer to Truffle Dashboard, including fun things like a color changing theme switcher icon! Contrast is greater in the console elements in light mode as well. Other minor changes too numerous to list.