Commit graph

49 commits

Author SHA1 Message Date
26b014139c Make tiny pictures a bit bigger. 2020-12-04 12:07:59 -08:00
bdfb44e402 Make font size smaller for picture-tiny 2020-12-04 11:32:49 -08:00
8ea9fbd808 Create picture-tiny option; fix various formatting typos. 2020-12-04 11:29:18 -08:00
7cf6e58968 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
21ee13ee7e 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
1db8a47c81 Supporters: Make my picture smaller with CSS. 2020-11-25 20:40:06 -08:00
Brett Smith
fb6164926f 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
e397501bfa supporter: Collapse individual appeal sections. 2020-11-25 11:32:07 -05:00
242aa60fc7 Fix Compliance sidebar menu selection. 2020-10-02 19:49:50 -07:00
Bradley M. Kuhn
effbf23fce 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
Brett Smith
36b33927f7 css: Implement #sidebar and #mainContent without floats.
170aa38bb5 fixed one bug but added another:
#mainContent would always be the max-width of 1000px.  If the user's window
wasn't wide enough to accommodate that alongside the sidebar, it would be
rendered below the sidebar.

Fix that by using positioning instead of floats, so #mainContent can have a
flexible width.
2017-01-19 12:18:08 -05:00
Brett Smith
619bc033bc js: Render <video> inner HTML when no source is supported.
The HTML inside <video> is meant to be rendered by browsers that don't
support the tag at all.  You have to respond to the JavaScript error event
to deal with browsers that support video, but no available source.  See
<https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Using_HTML5_audio_and_video#Showing_fallback_content_when_no_source_could_be_decoded>.
2016-12-31 15:19:59 -05:00
Brett Smith
a04d85a1e8 css: Move rules intended for bigscreen to the dedicated stylesheet. 2016-12-31 14:23:03 -05:00
Brett Smith
55c0b3bb1c css: Remove unused rules.
The rationale given in the comments for these rules no longer applies: there
are no divs with class column or conservancy-blog on any pages.  Meanwhile,
they're causing unwanted styling: we started using the column class on the
front page for two-column layout, and the videos are appearing smaller than
desired there.  Just remove these.
2016-12-31 13:58:18 -05:00
Brett Smith
170aa38bb5 blog: Headlines clear floats.
This avoids a situation where multiple summaries have floats that stack on
top of each other vertically, which end up getting far away from the actual
text.

In order to make this work, we had to change the styling of #mainContent on
blog pages (and others with a sidebar).  Otherwise, headlines with
class="clear" would clear the sidebar as well.
2016-12-30 23:12:09 -05:00
Brett Smith
e7c1171b6e blog: Refactor entry rendering into a partial.
This helps ensure that entries are rendered consistently wherever they
appear.
2016-12-30 23:12:09 -05:00
Brett Smith
331b14b45e css: Remove noop rule.
This wasn't doing anything because "line-height" was misspelled.
2016-12-30 23:12:09 -05:00
Brett Smith
4409ac089a css: Center horizontal rules in frontpage columns. 2016-12-30 23:12:09 -05:00
Brett Smith
8739534e9f copyleft-compliance: The principles link to principles-discuss. 2016-12-21 11:16:28 -05:00
Brett Smith
dd8d159fcb css: Add styles for blog pictures. 2016-12-01 15:04:55 -05:00
Brett Smith
a1ec899670 css: Start a separate stylesheet for "big screen" styles.
I'm about to add more and I *suspect* this will be easier to maintain
in the long term, rather than duplicating the conditional many times.
2016-11-30 16:18:06 -05:00
Brett Smith
6f06967a30 frontpage: Reduce the two-column width split to 67em.
This brings the columns from a target width of about 60 characters to
about 52.
2016-11-22 08:20:04 -05:00
Brett Smith
7e8d0538aa site: Font size adjustments throughout. 2016-11-17 11:35:22 -05:00
Brett Smith
4663e609ec site: Use default font size globally. 2016-11-17 11:04:09 -05:00
Brett Smith
d2657eddd0 frontpage: Adjust column presentation. 2016-11-17 10:56:58 -05:00
Brett Smith
b331d52331 frontpage: Reorganize.
* Put news and blogs up front.
* Use 30 days as the cutoff for everything, consistently.
* Allow columns to collapse.  Hopefully this is the start of a nicer
  view on mobile.
* Reduce shading.
2016-11-17 10:40:22 -05:00
Bradley M. Kuhn
811d2b70b4 Rename Members->Projects in menu navigation et al
Due to confusion about "members" and "supporters", we want at least the
menu navigation to not use the phrase "members" since some Supporters
expect that to refer to a type of donor.

While we will not be rebranding "member projects" fully at this time, we
want to favor the term projects.

A few additional changes, in particular moving files from members/ ->
projects/ directory will be needed in next commit.
2016-09-30 13:46:51 -04:00
Brett Smith
86ef51db5d Supporter page: Refactor JavaScript.
This isn't intended to have any functional change, it's just DRYing up
the code to simplify functional changes later.
2016-09-09 12:10:41 -04:00
Bradley M. Kuhn
d77fc565f8 Add menu item to CSS 2016-08-09 06:01:19 -07:00
Kevin Brosnan
413d162e74 Remove problematic four digit CSS code
Text is not dislpayed correctly with newer browsers, such as Firefox 49,
because of CSS color values. In current browsers the four digit values
are discarded as invalid CSS. Browsers are adding support for RGBA as a
valid CSS color value.

https://github.com/webcompat/web-bugs/issues/2628
2016-06-08 13:39:35 -07:00
Bradley M. Kuhn
bc3eb80d40 Left Margin is too long. 2015-12-30 07:35:08 -08:00
Bradley M. Kuhn
5ab2dca89c I don't think justify is correct here. 2015-12-30 07:32:37 -08:00
Bradley M. Kuhn
eeeb084142 Move from #mainContent to #container #mainContent
A few adjustments as well.
2015-12-30 07:31:22 -08:00
Bradley M. Kuhn
11c6829c9d More suggestions from j-b.
<j-b> and also fixed the background from #fffff; to #ffffff;
2015-12-30 07:27:52 -08:00
Bradley M. Kuhn
4cdde460f8 Improvements suggested by j-b on IRC.
I didn't take all his suggestions, but a few.
2015-12-30 07:26:21 -08:00
Michal Nazarewicz
8b75276d5a Fix gradients broken by previous commit.
[0d89044: Replace gradient images with CSS gradients.] replaced gradient
images with CSS gradients but in doing so changed some of them from
light blue to gold.  Change the colours to correct ones where necessary.
2015-12-22 02:07:46 +01:00
Michal Nazarewicz
0d89044354 [PATCH 2/2] Replace gradient images with CSS gradients. 2015-12-21 11:09:02 -08:00
Michal Nazarewicz
828baca5a6 [PATCH 1/2] Fix unnucessary horizontal scroll bar; simplify header markup.
Because #logobutton had a fixed width, browser window narrower than 933
pixels resulted in an unnecessary horizontal scroll bar.  Fix that by
using a dynamic 100% width which results in the header image being
automatically clipped as necessary.

To avoid clipping the tree and the text though, include min-width so
that very narrow windows result in a horizontal scroll bar so the whole
name can be seen.

Furthermore, simplify the markup by removing wrapper DIV and SPAN
elements which weren’t really necessary.  As a consequence of that
change, the whole top of the page is now a link to the homepage (i.e.
‘/’).  Prior to this change, the link wasn’t clickable.
2015-12-21 11:09:02 -08:00
Bradley M. Kuhn
84cb9a2b85 Sizing class for images on the blog. 2015-12-18 11:57:00 -08:00
Bradley M. Kuhn
788880d092 Add legacy support for older firefox/iceweasel.
In this situation:

<body class="conservancy-blog">
...
<video>

it turned out that this CSS:

body.conservancy-blog video {}

Did not apply.

So, this adds a hack to force the issue.
2015-12-11 13:17:53 -08:00
Bradley M. Kuhn
59c6aa64de Add margins for videos. 2015-12-11 11:20:32 -08:00
Bradley M. Kuhn
2ec25639c9 Improved CSS for video tags on our blog. 2015-12-11 10:37:11 -08:00
Bradley M. Kuhn
b3d18b59cb Sizing of fundraising text on the top of each page. 2015-11-30 19:19:47 -08:00
Bradley M. Kuhn
389c94d967 Cause fundraising bar to disappear more quickly. 2015-11-30 19:19:47 -08:00
Bradley M. Kuhn
a8d53ca1dd Copyleft Principles is now on the side menu. 2015-11-30 19:19:46 -08:00
Bradley M. Kuhn
2b76361756 Attempt to improve fonts.
I noticed after I updated to jessie that fonts displayed strangely in
some browsers.  I still have strange fonts on our website with Chromium,
but this change seems to have helped iceweasel.
2015-11-30 19:19:46 -08:00
Bradley M. Kuhn
963c023eab site-wide supporter count fundraiser.
Using the jQuery UI multiprogress bar added earlier, this change allows
display of the of the progress bar on every page.
2015-11-30 19:19:46 -08:00
Bradley M. Kuhn
fdfbb6d65d Move CSS file for Conservancy to CSS directory. 2015-11-30 19:19:46 -08:00
Renamed from www/conservancy/static/conservancy.css (Browse further)