Commit graph

103 commits

Author SHA1 Message Date
Brett Smith
828fd09d11 css: Add a little style to the progressbar. 2017-11-27 13:30:27 -05:00
Brett Smith
cf20e691e6 frontpage: Reorganize the lower half of the page. 2017-11-22 12:51:09 -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
7202787092 supporter: Reorganize form post-input notes.
This makes it easier to keep baseline alignment between labels and their
respective inputs.  Declaring `margin-left: 51%;` for the post-input notes
is not exactly what we want, but it's much closer and less troublesome than
dealing with the vertical alignment of labels otherwise.
2017-01-09 16:56:42 -05:00
Brett Smith
5f9a4395f3 supporter: Add size information chart. 2017-01-05 13:46:46 -05:00
Brett Smith
b93cc61e8b supporter: New form styling.
This makes better use of bigger screens, and degrades better to smaller
ones.
2017-01-01 15:10:20 -05:00
Brett Smith
8605b65783 supporter: Move more presentation rules to CSS.
This commit keeps the presentation basically the same, it just moves
presentation rules out of HTML and into CSS.  It's not pixel-perfect but
pretty close.
2017-01-01 13:53:41 -05:00
Brett Smith
6392ae3a43 supporter: Fix redundant amount, error ids. 2017-01-01 10:24:34 -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
359cc7a068 css: <dl>s clear each other.
This prevents <dl>s from stacking horizontally when their <dt>s are short.
2016-12-31 14:30:19 -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
1b38fc338e css: Add max-width to bigscreen .picture. 2016-12-19 12:25:27 -05:00
Brett Smith
dd8d159fcb css: Add styles for blog pictures. 2016-12-01 15:04:55 -05:00
Brett Smith
4cbf566e31 contractpatch: Page layout adjustments.
Try to make sections clearer and avoid the "big monolith of text"
feeling.
2016-11-30 16:24:28 -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
c0fde4c92d Move forms.css to css directory. 2015-11-30 19:19:47 -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
Bradley M. Kuhn
63aa13ac23 Proper update to jQuery 1.7.2 and jQuery UI 1.8.22 2015-11-30 19:19:45 -08:00
Bradley M. Kuhn
1a612c75ed Multi-progress bar support.
Source code can be found for this at:

https://github.com/j-ulrich/jquery-ui-multiprogressbar
2015-11-30 19:19:44 -08:00
Bradley M. Kuhn
e358835058 Switch to jQuery 1.7.2 and jQuery UI 1.8.22 custom 2015-11-30 19:19:43 -08:00
Bradley M. Kuhn
7f78638faf Moved js and css from top level to subdirs 2015-11-30 19:19:43 -08:00