Commit Graph

112 Commits (2ceb056f531476d0f1fe23dd88fbadc0393e17c3)

Author SHA1 Message Date
Joey Hess b24235c153 style.css: Add compatability definitions for more block-level html5 elements. Closes: #731199 2013-12-03 12:44:11 -04:00
Amitai Schlair 844710c0da Merge branch 'master' into fancypodcast 2013-06-27 00:50:17 -04:00
Joey Hess b8d65da266 calendar: When there are multiple pages for a given day, they're displayed in a popup on mouseover. Thanks, Louis 2013-06-23 14:11:39 -04:00
Amitai Schlair 984f2ab952 Style enclosures like content. 2013-02-21 00:45:10 -05:00
Joey Hess bad3c0089a Add back a 1em margin between archivepage divs.
This was lost in commit 954e2e4ef1
2012-10-15 13:53:43 -04:00
intrigeri 954e2e4ef1 Ease archivepage styling by using named classes, move styling to the CSS. 2012-08-25 10:37:28 -04:00
Simon McVittie b557b42155 Hide trails when printing a page 2012-04-09 17:01:24 +01:00
Simon McVittie 9be7d1490e Allow a bit more space around trails 2012-04-09 17:01:24 +01:00
Simon McVittie 156f709122 trail: new plugin (3rd attempt) 2011-11-09 22:49:37 +00:00
Joey Hess 5f0dfdd1ea move images around
jquery-ui expects to find them in a specific place relative to it
2011-06-15 20:12:16 -04:00
Joey Hess c901e1e80c move image 2011-06-15 19:48:33 -04:00
Joey Hess e2b43578a6 load attachment javascript into template the clean way 2011-06-15 19:08:40 -04:00
Francois Marier 7723e94218 comments: add avatar picture of comment author
Use Libravatar::URL to pull the avatar picture for the comment
author if we have an email address for him/her.
2011-03-30 20:59:17 +13:00
Øyvind A. Holm f256d4e7e6 style.css: Replace obsolete -moz-outline-style property with outline-style
The "-moz-outline-style" property generates an error at the W3C CSS
validator, saying the property doesn't exist. According to
<https://developer.mozilla.org/en/CSS/-moz-outline-style>, this property
is obsolete and the use of "outline-style" is preferred.
(cherry picked from commit e3b5eab2971109d18332fe44fd396322bb148cfc)
2011-02-22 15:53:10 -04:00
Joey Hess 34558e45ad continue to support #blogform in CSS
To support sites that upgraded but didn't fully rebuild. For now.
2011-01-14 14:37:09 -04:00
Giuseppe Bilotta 9c7d1c053f feedlink/blogpost templates: use class instead of id
There can be more than one feedlink group in a page, as well as (more
rarely) multiple blog forms, and using the same id for all of them
causes HTML validation errors. Replace the id with a class by the same
name and adjust in-repository CSS.
(cherry picked from commit 0c3b91e1f06fb357711cfa71d514f139cd8e04e3)
2011-01-14 14:31:45 -04:00
Joey Hess 7988a5aee3 revert html tweaking 2010-10-06 14:55:08 -04:00
Joey Hess 20ecef4d02 style.css: Use relative, not absolute font sizes. Thanks, Giuseppe Bilotta. 2010-08-17 16:37:48 -04:00
Joey Hess 80102c042d flattr: New plugin.
Thanks to jaywalk for the initial implementation at a flattr plugin!

This one is less configurable, but simpler.
2010-08-12 16:53:55 -04:00
Joey Hess f6db10df21 img: Add a margin around images displayed by this directive.
Particularly important for floating images, which could before be placed
uncomfortably close to text.
2010-07-05 14:04:49 -04:00
Joey Hess 3adde7a38c clear floats before comments begin 2010-06-15 13:44:42 -04:00
Joey Hess ec3cadb065 remove obsolete ol class=form for editpage and editcomment
The styling of labels on the form largely obsoleted the special styled ol,
so just a few br's sufficed. Using an ol like that was not too semantically
right (probably?) and could cause problems with customized local.css.
2010-06-13 08:47:21 -04:00
Joey Hess b86ca0ef8a add auto-scrolling pre's
let's see if anyone hates it :)
2010-06-10 16:05:29 -04:00
Joey Hess 04ff998c51 calendar styling
* calendar: Shorten day names, and improve styling of month calendar.
* style.css: Reduced sidebar width back to 20ex from 30; the month calendar
  will now fit in the smaller width, and 30 was feeling too large.
2010-06-10 15:07:28 -04:00
Joey Hess 685d10364f also set overflow: auto for blogform
This improves its display slighly when next to a sidebar or other floating
element.
2010-06-10 14:31:01 -04:00
Joey Hess 23aaa5ac45 style.css: Improvements to make floating sidebar fit better on pages with inlines.
The key is using width: auto; overflow: auto; -- this allows the div(s) to the
left of the floating sidebar to be resized to fit next to it, and prevents
any clear: both from pushing the div down below the end of the sidebar.

Many thanks for the Hurd wiki's developers for originally figuring this out.

The edit page recently developed the same problem with its textarea, now
that a sidebar can appear on that page too. In editpage.tmpl I needed to
add a new div around the editcontent textarea, as the above styles cannot
be applied directly to textareas. The textarea's own width is reduced to
98% because at least in chromium this avoids it getting unnecessary
horizonatl scrollbars when a sidebar is displayed next to it.
2010-06-10 14:14:46 -04:00
Joey Hess 5071347e2b tweak actionvar
for visual consistentcy when there are no actions
2010-05-14 23:02:29 -04:00
Joey Hess 378cae14bb openid_url was renamed to openid_identifier 2010-05-10 16:12:55 -04:00
Joey Hess a855fa1d18 bring back input#openid_url styling
Still used on prefs page.
2010-05-10 15:56:57 -04:00
Joey Hess f0914b386b Revert "add gmail button"
This reverts commit 32a79523bb.

Buggy and I need sleep.
2010-05-08 02:53:18 -04:00
Joey Hess 32a79523bb add gmail button
It uses the google profile openid url, which results in a nicer openid
than the o8/id url.
2010-05-08 02:38:54 -04:00
Joey Hess 5570d14441 improve selector highlight 2010-05-08 01:00:25 -04:00
Joey Hess ac8a91fe06 improve selector layout 2010-05-08 00:40:36 -04:00
Joey Hess 3a1d81bd9c avoid scaling favicons
chromium's rather impressive jaggy-free scaling spoiled me, but in
iceweasel, scaled favicons look crap
2010-05-07 21:54:58 -04:00
Joey Hess 62edf97941 openid signin style changes 2010-05-07 21:20:50 -04:00
Joey Hess f8c2a67b3c pretty openid login
* openid: Incorporated a fancy openid-selector signin form.
  (http://code.google.com/p/openid-selector/)
* openid: Use "openid_identifier" as the form field, as required
  by OpenID Authentication v2.0 spec.
2010-05-07 20:14:25 -04:00
Joey Hess a47e835f3a reordered some sections 2010-05-06 21:58:04 -04:00
Joey Hess 931045301a Gave comment and page editing forms some CSS and accessability love.
In particular, added <label> tags.

(However, could not find a good way to add a label tag for the main
page edit textarea.)
2010-05-06 21:45:17 -04:00
Joey Hess d37ff8d299 ff also needs footer and nav forced to block 2010-05-02 17:01:28 -04:00
Joey Hess 28dcb52a6c force article and header to display as blocks
iceweasel 3.5.9 does not know to display these as blocks, resulting
in bad displays of blogs
2010-05-02 16:54:31 -04:00
Joey Hess 677d2af18a adapt inlinepage.tmpl to html5
Needed to force tags to display inline, since <nav> is a block element.
2010-05-02 16:36:10 -04:00
Joey Hess 154732dc42 adapt comment.tmpl to html5
Note that I put comment-header in a <header> despite it being
below the comment. Using a <footer> would be confusing given
the class name. Also, the content is semantically closer to
a header than a footer.
2010-05-02 16:12:08 -04:00
Joey Hess d69f6057d1 use html5 semantic markup in page.tmpl
This is a first pass, it avoids needing to change style.css
except where it refers to tag types.

This goes a bit off the rails at the pageheader with its nested header.
Semantically, there should be an article around the whole page
header, content, and footer. Just as there will be an article around a
whole comment or inlined page header, content, and footer.

But that will mean changing the css that currently refers to pageheader to
refer to the enclosing article instead.
2010-05-02 15:09:33 -04:00
Joey Hess 142e025ae4 calendar: Improved display of arrows. 2010-04-15 20:12:03 -04:00
Joey Hess 425f6a8de2 reduce border 2010-04-15 19:21:01 -04:00
Joey Hess 5143d790b0 sidebar styling improvements
Added a visible border; tuned down the whitespace/borders.

Note the use of the -1 pixel margin-top -- this makes the sidebar appear
to hang down from the line under the actions at the top of the page.
2010-04-15 16:08:33 -04:00
Joey Hess 3fbc9e411e increase sidebar width from 20 to 30 ex
This makes it big enough to fit a month calendar.
2010-04-15 15:38:23 -04:00
Joey Hess baaa848f6c CSS and templates for sidebar changed to use a class, not an id.
Multiple sidebars should be possible; also, I want to add a sidebar
template.
2010-04-15 15:04:17 -04:00
Joey Hess cf5f1c3a3a remove align-top/middle/bottom
I think we only need left and right align. The other values including top,
middle, bottom, baseline, absbottom, etc, don't make much sense when
aligning an image that has a caption included. (They're mostly of value
when including a image in a line of text like a word.)
2010-01-07 16:07:47 -05:00
Giuseppe Bilotta 4bda18a50a Support align attribute for img with caption
This is achieved by preparing CSS definitions that emulates the behavior
of the align attribute, and passing it to the outermost IMG wrapper
(A or TABLE) instead of passing the align value to IMG directly.
2010-01-06 21:02:09 +01:00