Thursday, 2014-11-13

*** Rixius has quit IRC01:42
*** Rixius has joined #copyleft01:47
*** mindspillage has joined #copyleft02:03
*** mindspillage has joined #copyleft02:03
*** Rixius has quit IRC02:17
*** Rixius has joined #copyleft02:19
*** Tichodroma has joined #copyleft02:34
*** wolftune has quit IRC02:41
*** Rixius has quit IRC02:42
*** Rixius has joined #copyleft02:42
*** Rixius has quit IRC02:46
*** Rixius has joined #copyleft02:49
*** clacke has joined #copyleft02:53
*** Rixius has quit IRC02:56
*** Rixius has joined #copyleft02:59
*** Rixius has quit IRC03:47
*** Rixius has joined #copyleft03:49
*** Rixius has quit IRC04:08
*** Rixius has joined #copyleft04:09
*** clacke has quit IRC04:22
*** clacke has joined #copyleft04:25
*** Rixius has quit IRC04:55
*** Rixius has joined #copyleft04:57
*** clacke1 has joined #copyleft06:33
*** clacke has quit IRC06:36
*** clacke1 has quit IRC07:05
*** bkuhnIdle is now known as bkuhn07:22
*** Rixius has quit IRC07:39
*** Rixius has joined #copyleft07:40
*** clacke has joined #copyleft07:43
*** Rixius has quit IRC07:50
*** Rixius has joined #copyleft07:55
*** Rixius has quit IRC08:13
*** Rixius has joined #copyleft08:14
* bkuhn is glad to now 21 non-bot idlers here during business hours in US/Eastern.08:16
bkuhnGreat!08:16
bkuhnthank you all for being here. :)08:16
*** karen_ has joined #copyleft08:20
warpbkuhn: 22!08:20
bkuhnYeah, but karen "has to come" ;)08:26
*** karen_ is now known as karen08:28
*** karen has joined #copyleft08:28
*** yrk has joined #copyleft08:31
*** yrk has joined #copyleft08:32
*** yrk has quit IRC08:53
*** yrk has joined #copyleft09:32
*** yrk has joined #copyleft09:33
*** Rixius has quit IRC09:46
*** Rixius has joined #copyleft09:51
*** keynote2k has joined #copyleft09:58
*** clacke has quit IRC10:05
*** karen has quit IRC10:09
*** karen has joined #copyleft10:15
*** hugoroyd has quit IRC10:28
*** hugoroyd has joined #copyleft10:28
*** Pessimist_ is now known as Pessimist10:58
*** Pessimist has joined #copyleft10:58
*** Pessimist has joined #copyleft10:58
bkuhnbotCopyleftBuild: force guide-production11:17
botCopyleftBuildtry 'force build [--branch=BRANCH] [--revision=REVISION] [--props=PROP1=VAL1,PROP2=VAL2...]  <WHICH> <REASON>'11:17
bkuhnbotCopyleftBuild: force build guide-production11:17
botCopyleftBuildbuild forced [ETA 57 seconds]11:17
botCopyleftBuildI'll give a shout when the build finishes11:17
botCopyleftBuildHey! build guide-production #78 is complete: Success [build successful]11:18
botCopyleftBuildBuild details are at http://copyleft.org:8010/builders/guide-production/builds/7811:18
*** Tichodroma has quit IRC11:31
*** jgay has joined #copyleft11:35
*** karen has quit IRC11:46
*** cmhobbs has joined #copyleft11:49
*** cmhobbs has joined #copyleft11:49
*** jgay has quit IRC12:26
bkuhnbotCopyleftBuild: force build guide-next13:25
botCopyleftBuildbuild forced [ETA 31 seconds]13:25
botCopyleftBuildI'll give a shout when the build finishes13:25
botCopyleftBuildHey! build guide-next #46 is complete: Success [build successful]13:26
botCopyleftBuildBuild details are at http://copyleft.org:8010/builders/guide-next/builds/4613:26
bkuhnbotCopyleftBuild: force build guide-production13:29
botCopyleftBuildbuild forced [ETA 37 seconds]13:29
botCopyleftBuildI'll give a shout when the build finishes13:29
botCopyleftBuildHey! build guide-production #80 is complete: Success [build successful]13:30
botCopyleftBuildBuild details are at http://copyleft.org:8010/builders/guide-production/builds/8013:30
*** Rixius has quit IRC13:58
*** Rixius has joined #copyleft14:03
*** Rixius has quit IRC14:21
*** Rixius has joined #copyleft14:23
*** wolftune has joined #copyleft14:28
*** Rixius has quit IRC14:31
*** Rixius has joined #copyleft14:33
*** Rixius has quit IRC15:11
*** Rixius has joined #copyleft15:13
bkuhnAnyone around particularly good with CSS?15:16
* warp knows CSS15:23
bkuhnwarp: here's my problem, you can see what it looks like first:15:26
bkuhnvisit http://copyleft.org/guide/comprehensive-gpl-guidech6.html#x9-460005.215:26
bkuhnThat *should* put your right at top of section 5.215:27
bkuhnit doesn't, it's a little further down.15:27
bkuhnReason: the fixed-width bar at the top.15:27
bkuhnThis is a known problem it seems with such bars.15:27
bkuhnUsual solutions talked about :15:27
bkuhnHere: http://pixelflips.com/blog/anchor-links-with-a-fixed-header15:27
bkuhnhere: http://stackoverflow.com/questions/14526334/bootstrap-anchors-and-body-top-margin-padding15:27
bkuhndon't work.15:27
bkuhnMain reason:15:27
bkuhnthe <a id="footnote-here" href="#footnote-return"><sup>1</sup></a>15:28
bkuhnmost of those solutions rely on doing something with ':target' or another element to make it reverse the padding and stay hidden15:28
bkuhnthe problem is, when you use those solutions either (a) the footnote number is hidden, or (b) the footnote number is moved to some weird place15:29
bkuhnwarp: any ideas on what to try next?15:29
* warp looks15:39
bkuhnAnother solution is to take the amount of the top bar in with padding-top and take it out with margin-top ...15:39
bkuhn... that doesn't work either, because it means the mouse pointer thinks the link is that much higher than it is15:40
bkuhnIt seems everyone I can find who has fought this battle before just NEVER does <a id="THIS" href="WHERETOGO">Some text</a>15:40
bkuhnI'm amazed because I always have deno that for footnotes and stuff (and tex4ht does it too)15:40
bkuhnThere are clearly solutions if you lose the "Some Text" or put the id="THIS" in some other tag (like an h4 or a span)15:41
warpI would probably just have the top bar scroll with the rest of the page15:41
bkuhnwarp: And if the client told you "that's not an option"?15:41
*** Rixius has quit IRC15:42
warpYeah, I guess you'd have to take the destination anchor out of the flow and move it up.  It looks like your anchor already doesn't have any content, so that's good.15:44
*** Rixius has joined #copyleft15:44
bkuhnwarp: huh?15:45
bkuhnMy point was the anchors do have content.15:45
warpThe entire heading which contains the target is:15:46
warp<h3 class="sectionHead"><span class="titlemark">5.2  </span> <a id="x9-460005.2"></a>GPLv2&#x00A0;<span class="cmsy-10"><A7></span>3: Producing Binaries</h3>15:46
bkuhnYeah, those are fine.15:46
bkuhnThe problem is footnotes:15:46
warpthe anchor is a <a> element without any text content15:46
bkuhn<span class="footnote-mark"><a15:47
bkuhnhref="#fn1x2" id="fn1x2-bk"><sup class="textsuperscript">1</sup></a></span><a15:47
bkuhn id="x1-5001f1"></a><span class="footnote-mark"><a15:47
bkuhnhref="#fn1x2" id="fn1x2-bk"><sup class="textsuperscript">1</sup></a></span><a15:47
bkuhn id="x1-5001f1"></a>15:47
warphm, if I visit http://copyleft.org/guide/comprehensive-gpl-guidech6.html#x9-460005.2, the page is scrolled to the section which starts with the "5.2 GPLv2 ยง3: Producing Binaries" heading15:48
warpbut the heading is obscured by the top-bar, I thought that was your problem.15:48
bkuhnwarp: yes, it is.15:49
bkuhnAre we miscommunicating?15:49
bkuhnMy point is, if you want a fixed bar, the only way to fix it is "fake" the padding on the id= element to offset the amount from the header that it's put in place.15:49
warpOk, the '#fn1x6-bk' anchor does have text, the #x9-460005.2 anchor does not.15:50
bkuhnMeanwhile, all solutions for doing that only work properly if you *don't* have this: <a id="THIS" href="WHERETOGO">Some text</a>15:50
bkuhnSo I need a solution that allows <a id="THIS" href="WHERETOGO">Some text</a>15:50
warpHow about <a id="THIS" href="GOSOMEWHERE"><some-element>Some Text</some-element></a> ? (you currently have <sup> as some-element for those footnotes).15:53
bkuhnoh hm.15:53
bkuhnlet me see if that works.15:53
warpSo, my idea would be:15:53
* bkuhn waits for it.15:53
warp.footnote-mark { position: relative; }15:53
warp.footnote-mark > a { position: absolute; bottom: 20px (or whatever the height of your top-bar is); }15:54
warpso that moves the anchor target up a bunch, and then use the same trick for what's contained in the anchor to move it down again.  so something like .footnote-mark > a > * { position: relative; top: 20px; }15:55
warpI don't know how well all of that would work, if you're not in a hurry I can try some of those things this evening and let you know.15:56
bkuhnok, thanks!15:57
bkuhnwarp: that's much appreciated!15:57
bkuhnFeel free to offer patches for it.15:57
bkuhnThe file you wanna patch against is:15:57
bkuhnwarp: https://gitorious.org/copyleft-org/tutorial/source/next:css/guide.css15:58
bkuhnwarp: Testing that locally is a bit tricky though... do you want a branch to push against tonight to test it on copyleft.org?15:58
bkuhn(Unless you already have an idea for workflow to test it locally)15:58
warpCan I use the included makefile to build the site?16:01
bkuhnwarp: yes, but, the URLs for some of the CCS/Javascript will be wrong.16:01
bkuhn(it doesn't do perfectly relative links for those)16:01
bkuhnReason being that some of the CCS/JS comes not from tutorial but from the copyleft.org site.16:01
bkuhnso anything with / in front is in a different place16:02
bkuhnwarp: but seriously, if you'd use it, I truly don't mind making a buildbot target so that botCopyleftBuild  can do it for you and deploy it on site.16:02
bkuhnI already have copyleft.org/guide-next/ for the next branch16:03
warpok, I'll see what I run into.  if all fails I can always do a "save as" of that page in a browser and make that work, and figure out how to turn that into a pull request later.16:03
bkuhnok, whatever works for you.16:03
bkuhnThanks for looking into this!16:03
*** Rixius has quit IRC16:12
*** Rixius has joined #copyleft16:16
*** Rixius has quit IRC16:42
*** Rixius has joined #copyleft16:43
*** Rixius has quit IRC17:08
*** Rixius has joined #copyleft17:08
*** Rixius has quit IRC17:26
*** Rixius has joined #copyleft17:27
*** Rixius has quit IRC17:58
*** Rixius has joined #copyleft18:02
*** Rixius has quit IRC18:09
*** Rixius has joined #copyleft18:09
*** keynote2k has quit IRC18:18
*** Rixius has quit IRC18:19
*** Rixius has joined #copyleft18:21
*** cmhobbs has quit IRC18:22
*** yrk has quit IRC18:23
*** Rixius has quit IRC19:06
*** Rixius has joined #copyleft19:12
*** Rixius has quit IRC19:22
*** Rixius has joined #copyleft19:25
*** Rixius has quit IRC19:33
*** Rixius has joined #copyleft19:35
*** Rixius has quit IRC19:40
*** Rixius has joined #copyleft19:43
*** Rixius has quit IRC19:48
*** Rixius has joined #copyleft19:52
*** Rixius has quit IRC20:02
*** Rixius has joined #copyleft20:02
*** Rixius has quit IRC20:17
*** Rixius has joined #copyleft20:22
*** Rixius has quit IRC20:28
*** Rixius has joined #copyleft20:29
*** Rixius has quit IRC20:48
*** Rixius has joined #copyleft20:52
*** Rixius has quit IRC21:01
*** Rixius has joined #copyleft21:01
*** Rixius has quit IRC21:07
*** Rixius has joined #copyleft21:10
*** Rixius has quit IRC21:19
*** Rixius has joined #copyleft21:26
*** Rixius has quit IRC21:35
*** mindspillage has quit IRC21:43
warpbkuhn: made a merge request with the css changes.21:45
*** Rixius has joined #copyleft21:45
warpRixius: fix your connection :)21:45
*** Rixius has quit IRC21:56
*** mindspillage has joined #copyleft21:58
*** Rixius has joined #copyleft22:01
*** Rixius has quit IRC22:07
*** Rixius has joined #copyleft22:20
*** Rixius has quit IRC22:31
*** karen has joined #copyleft23:04
*** karen has quit IRC23:43

Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!