Commit graph

102 commits

Author SHA1 Message Date
0e03baf3c3 Improve the .small-left/right and .medium-left/right classes 2023-02-08 22:44:44 +11:00
c4c00a3ebf More margin probably looks better here. 2023-02-07 14:13:51 -08:00
fbff26f3fa small right should have margin on the right. 2023-02-07 14:10:18 -08:00
551761a461 Add small left 2023-02-07 14:03:36 -08:00
76d739392d increase font size for full match 2022-01-04 15:42:03 -08:00
79e5e3df2c separate divs and add css for exceeded 2022-01-04 14:34:28 -08:00
5323fd7434 Fix CSS selector. 2021-12-03 15:36:16 +11:00
e129f47a34 Fix Vizio CSS selector. 2021-12-03 15:19:28 +11:00
6b93bcc0ff Add selected highlight to top feature menu. 2021-12-03 15:04:54 +11:00
cd1eea1540 Move sub-menus to RHS and re-enable on mobile. 2021-11-19 17:02:59 +11:00
3e3a42b38c progress bar: Drop JS, make mobile friendly, match design to new site.
The existing jQuery UI-based fundraising progress bar used a float layout,
making it hard to adapt for mobile use. Given that there is not interactivity,
I've dropped all the JS and switched to a flexbox layout. This works well
because the bar will stretch to fit the text rather than always maintaining its scale.
2021-11-16 13:25:39 +11:00
e05f4bd5b4 Sidebar should disappear on small screens.
We've had a report that the sidebars are very distracting,
particularly for the blogs, on smaller screens.  This change to the
CSS will cause sidebars to disappear on smaller screens.
2021-10-23 12:42:59 -07:00
6c7dd008bc Format like previous with the <p> solution
<ul> is the right HTML way to format these, but they are all too
close.  Get it to look more like it did with <p>'s with CSS.
2021-10-21 20:36:41 -07:00
1793e6c99e Additional fixes for menu items related to news and press
A few additional places where the news and press pages were not
properly menu integrated.  This fixes various inconsistencies and
missing category and submenu markings in menus.
2021-10-21 12:40:09 -07:00
137203bf64 Fix minimal start of ourcoverage.html and correct various problems
ourcoverage.html was a reasonable minimal start but not really ready
for production.  Make changes necessary to put this into production,
as follows:

  * Rename ourcoverage.html to vizio-coverage.html.  This is just
    Vizio coverage for now.

  * Order articles by most in-depth/interesting.  Verified this
    ordering by consensus with Conservancy staff.

  * mailto: link for press coverage on the main inthenews page, but
    don't use that on Vizio page; it's unlikely we'll miss any of the
    Vizio coverage.

  * use &mdash; instead of -

  * put quotes around article titles.

  * Add missing PR Web article

  * Switch from <p>'s to <li>'s in vizio-coverage.html

  * Fix menu issues.  d4115b6 outlined the issues regarding how to
    add items to menu; it does require a CSS change as explained
    therein; merely using the right `base_` is not enough

  * Improve menu integration.  Per PR people's recommendation, the
    Vizio stuff that also goes in other areas needs to be placed in
    multiple menus.
2021-10-21 12:34:22 -07:00
d4115b6c6d Repair menu highlighting, both for main menu and submenus
During the recent improvements made on the website, the menus and
submenu highlighting for selected menus fell into disarray.
Correction requires changes to the CSS and templates both, because
Django doesn't really have a convenient way to set variables in
templates to use to solve this.

There are still a few submenu items highlighting not working even
after this commit.  More work needs  to be done.
2021-10-21 08:39:47 -07:00
359bc9517b Copyleft Compliance — Vizio — add missing CSS menu item thing 2021-10-20 07:49:45 -07:00
fac6b1306a Copyleft Compliance — Vizio — Improvements to Menu selection. 2021-10-20 07:41:58 -07:00
d6466c2efc Copyleft Compliance — Vizio — initial announcement 2021-10-19 11:05:16 -07:00
1f35b1f77b Generalize VMWare links page into a previous litigation links page
More will need to be added to make it true, this is the first step.
2021-10-19 08:36:32 -07:00
085740580b Add Help Compliance page and put it on the menu. 2021-10-19 08:36:32 -07:00
a1fb74899d Filings ⇒ Transparency, necessary rename operation & related first
The Filings page will ultimately be part of the Transparency page,
but for now, just rename it in prep for  later changes.
2021-10-19 06:50:26 -07:00
07a52eb36f Make the sidebar selected state less subtle. 2021-10-19 06:50:26 -07:00
884f3120b0 Fix a glitch in the pop-out donations box. 2021-10-19 06:47:58 -07:00
6aecf859e4 Move donation sidebar to pop out at bottom. 2021-10-19 06:47:58 -07:00
adf90acdbc Improve sidebar and inline images on mobile. 2021-10-19 06:47:58 -07:00
77ebc640da Fix issue with submenu items incorrectly marked as selected. 2021-10-19 06:47:58 -07:00
c8ad70fa1d Darken the selected menu item. 2021-10-19 06:47:58 -07:00
01aea60856 Add breadcrumb examples and expading FAQ sections. 2021-10-19 06:47:58 -07:00
d1a4125156 Display mobile menu above the supporter sidebar. 2021-10-19 06:47:58 -07:00
fd526f65fa Add mobile menu and DuckDuckGo-based search. 2021-10-19 06:47:58 -07:00
d1f9a1cdf4 Apply max widths and margins to all pages.
Due to the varying types of layouts used and the short time-frame the best
option seems to set a max-width etc. around the "outercontent" block. For now
this means we can't do "full bleed" body content, but that's not currently used
anyway.
2021-10-19 06:47:58 -07:00
ae0d9b955f Overhaul header, first pass at second level navigation. 2021-10-19 06:47:58 -07:00
e909b4588d Switch to SVG logo.
Will look better on mobile.
2021-10-19 06:47:58 -07:00
f9f83c98d8 Tune up frontpage news/blog items and term of week, add call out section. 2021-10-19 06:47:58 -07:00
e15ea88197 Add link and button focus/active states. 2021-10-19 06:47:58 -07:00
2c364a5a7f First-pass implementation of new design for home page.
Uses a combination of CSS changes and Tachyons classes to implement the design.

Adds the non-minified Tachyons CSS library itself and SVG icons from Font Awesome.
2021-10-19 06:32:45 -07:00
1d9b470853 Make tiny pictures a bit bigger. 2020-12-04 12:07:59 -08:00
a57641e017 Make font size smaller for picture-tiny 2020-12-04 11:32:49 -08:00
d170d87331 Create picture-tiny option; fix various formatting typos. 2020-12-04 11:29:18 -08:00
c770a08888 Add hr-like line after listed sponsors.
When one sponsor has a logo, and the next one doesn't, it looks like
the textual name of that sponsor is the sponsor above it.  This bit
of CSS corrects that problem.
2020-12-01 11:33:47 -08:00
776eb5cd4e Supporter: pictures: get picture-small working & apply throughout.
I pulled this from the `blog-left` style I used to use in blog posts
and created a new style called picture-small.  On smaller screen
real estate, Tony's picture was ultimately too big.
2020-11-25 21:03:24 -08:00
7dd86bcbd1 Supporters: Make my picture smaller with CSS. 2020-11-25 20:40:06 -08:00
f8263c694b a.expander: better way to center items in modern browsers. 2020-11-25 19:46:59 -08:00
141a2681ef Supporter page: Support a “Expand All” link for collapsible sections
I wrap the entire section that has material that can be expanded in a
div with class `expandable-section`.  Once doing so, if you provide an
anchor with the class of `expander`, that anchor will be created with
text in the `data-expand-link-text` attribute.

I've also added some CSS to make the link look a certain way, for
good measure.
2020-11-25 19:27:53 -08:00
Brett Smith
656505cd7c supporters: Dynamically construct "Read more" links in JS.
This provides better presentation to people without JavaScript,
and makes it easier to author the HTML.
2020-11-25 13:47:40 -05:00
Brett Smith
99020618af supporter: Collapse individual appeal sections. 2020-11-25 11:32:07 -05:00
bed6fa3819 Fix Compliance sidebar menu selection. 2020-10-02 19:49:50 -07:00
Bradley M. Kuhn
f09b733ddb Leadership and other bio updates, most notably Allison Randal.
Allison Randal joined Conservancy's board!
2019-10-08 11:07:54 -07:00
Brett Smith
828fd09d11 css: Add a little style to the progressbar. 2017-11-27 13:30:27 -05:00