-
Notifications
You must be signed in to change notification settings - Fork 0
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
Style & layout improvements #126
Conversation
- Move left, right, center col styles to the layout style sheet since they use the same variables and styles are dependent on one another - Fix the full-page container style used in the 3-col layout. Add a full-width container as well. - Make the 3-col layout work on smaller screens - Remove unused CSS styles - Fix issue where the controls for the globe viz were overlapping the nav on mobile - Style the right-side nav - Tweak some misc styles Relates to #103, #17, #28, #67, #93
- Combine all of the list.html layouts into one where possible (make DRY) - Combine all of the cards partial templates into one - Combine the data-banner and sub-goals partials into one cardsTitle partial - Fix cards template to use proper BEM conventions - Make the cards template work on all screen sizes
- Use the term 'boxes' to avoid confusion and class mix-ups with the cards partial - Use BEM conventions. Make 'white' the default class, 'blue' the modifier class. Relates to #28
- Make sections and section headers responsive on index page - General style improvements to homepage (make more similar to original homepage) - Use semantic HTML tags + BEM conventions in index layout - Remove unused CSS styles - Rename cardsTitle layout to cards-title to be consistent with other filenames - Configure canonical urls (might help with images in demo site?) Relates to #28, #17, #103
Try to fix the issue with images not appearing on demo site
Temporarily - to demo style changes made in PR #126
To try and trigger the GH workflow
Temporarily - to demo style changes made in PR #126
- Links, images, and fonts not being referenced correctly on deployed demo
- Try and fix issue with fonts not showing up in the /OHI-science/ demo
- Enable emojis - Add styles to all the common markdown tags (mostly for content rendered from markdown, which has no classes) - Change some HTML tags to the semantic version in layouts - Make the csvTable styles the general table styles - Remove some CSS styles that were not needed Relates to #67, #28, #103
@bshalpern (aesthetic changes that look different from https://ohi-science.org/OHI-website vs. http://probable-cattle.nceas.ucsb.edu/) The changes all seem good to me. The only issue I noticed was that the left margin on the "Scores by Country" tab seem to small on my browser/screen. This is what I see: |
issue: when on a country's scores page, in the menu upper left, if you
click on Regions (in the Home -> Regions -> Country name menu) it takes
you to a blank page
On 10/13/21 5:13 PM, Melsteroni wrote:
@bshalpern <https://github.com/bshalpern> (aesthetic changes that look
different from https://ohi-science.org/OHI-website
<https://ohi-science.org/OHI-website> vs.
http://probable-cattle.nceas.ucsb.edu/
<http://probable-cattle.nceas.ucsb.edu/>)
The changes all seem good to me. The only issue I noticed was that the
left margin on the "Scores by Country" tab seem to small on my
browser/screen. This is what I see:
image
<https://user-images.githubusercontent.com/5685517/137229590-25df585d-f15b-4fa3-ad32-5249e0f5e961.png>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#126 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABXMU6Z4DYP4E7Z4UKW3LLTUGYOA7ANCNFSM5F3O3LJQ>.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
--
*********************************
Benjamin S. Halpern
Director, Nat'l. Center for Ecol. Anal. & Synth. (NCEAS)
University of California
735 State St., Suite 300, Santa Barbara, CA 93101
(ph) 805.893.7527 (web) http://www.nceas.ucsb.edu
Professor, Bren School of Environmental Science and Management
UCSB, Santa Barbara, CA 93106
*********************************
|
- The icons were not being displayed on the demo page
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.
These are awesome changes and the site is going to totally benefit from these!
Remove repeated layout code (make DRY)
In order to facilitate changing the CSS for these layouts
Improvements to Index (Home Page)
Make the default 3-column layout work on mobile
Make the cards template work on mobile
Misc. responsive enhancements
Improve general styles; clean up CSS files