Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the website look cool and modern. #39

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

JoshuaBrest
Copy link
Contributor

1

2

@JoshuaBrest
Copy link
Contributor Author

Maintainers, please don't merge this yet. I noticed some vestigial CSS and would like to fix it before it gets merged

@JoshuaBrest
Copy link
Contributor Author

Fixed!
1
2

Copy link
Member

@IsaacMarovitz IsaacMarovitz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Initial comments

<div class="menu-bar-inner menu-bar-left">
<label id="sidebar-toggle" for="sidebar-toggle-anchor" class="menu-bar-button"
title="Toggle Table of Contents" aria-label="Toggle Table of Contents" aria-controls="sidebar">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="currentColor">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't just dump the whole SVG here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't really like font awesome 4.0. Where else should I put the SVG? I prefer keeping it in line because it allows me to use the current color attribute. I don't have to statically set the color.

@@ -0,0 +1,98 @@
@font-face {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should use the same fonts as the main site.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The original website font is just the system font. I chose Rubik because it looks nice. Could we consider changing the font? Of course, I'm fine changing it back.


/* When checked */
#sidebar-toggle-anchor:checked + .page-wrapper .page {
border-radius: 2rem 0 0 0;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This radius doesn't persist when the page is scrolled, which is a little weird IMO.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This radius doesn't persist when the page is scrolled, which is a little weird IMO.

I'm trying to come up with ways to correct this. My first thought is using a pseudo element.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants