Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tabular Bibliography Entries #27

Closed
pdessus opened this issue Jan 24, 2015 · 14 comments
Closed

Tabular Bibliography Entries #27

pdessus opened this issue Jan 24, 2015 · 14 comments

Comments

@pdessus
Copy link

pdessus commented Jan 24, 2015

Dear Jeff,
congrats for your alabaster ext. I love it!
I encounter problems in changing the ugly border of the bibliography entries (generated by sphinx-contrib-bibtex): they appear by default in tables with 1px border and I haven't succeeded in putting it without border (but I need that regular tables to keep their border as well).
This might be changed in the theme.conf file.
See end of this file: http://webcom.upmf-grenoble.fr/sciedu/pdessus/sapea/innovation.html
Thx for your help in advance!
best
philippe

@bitprophet
Copy link
Collaborator

Hi @pdessus, has your published document changed in the last few days? I'm not seeing the tables you speak of. The page I load looks like this: https://www.evernote.com/shard/s215/sh/7ce3842a-8a65-43d4-b566-b6a9a75cd48c/f7e6daedc70b7e40/res/1f68bc66-2fd4-4a8a-9f47-d60f1bedcb70/skitch.png

I outlined in red an actual table near the end of the doc (which in the ReST source looks like a real table, not a bibliography), and then the output of the .. bibliography:: directive, which looks relatively normal to me for a biblio format.

@pdessus
Copy link
Author

pdessus commented Jan 27, 2015

hi Jeff,
this is the updated version with a css tweak inserted at the end of the alabaster css:

/*----ajout pour supprimer les bordures des refs-------------------------------*/
table.docutils.citation, table.docutils.citation td, table.docutils.citation th {
  border:none; /* pour la bordure */
  /*Début de gestion de l'ombrage discret*/
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  /*fin de gestion de l'ombrage*/  

without this one, the "docutils citation" css style displays ugly (and unusual) table borders (the same as those of Tables). Would it be possible to add this border modification directly in the theme.conf file?
best!
ph

@bitprophet
Copy link
Collaborator

[I edited your comment to add a code block for readability :)]

Thanks, I will try manually removing those styles and see if it makes your problem appear for me.

EDIT: yup! now it looks terrible :D The shadow styles didn't appear to make a difference in my browser (Chrome) so I may just do border: none for now, but if you can take a screenshot showing that the shadows look bad on another browser, then I can add those styles too.

@pdessus
Copy link
Author

pdessus commented Jan 28, 2015

dear Jeff,
FYI, a screenshot attached, showing the refs tab. borders (refs being created thru http://sphinxcontrib-bibtex.readthedocs.org/en/latest/)
screendump
best!
ph

@bitprophet
Copy link
Collaborator

@pdessus Yup, that's exactly what I saw when I tweaked your page using my browser's developer tools :) Once the next release of Alabaster goes out, the stylesheet should include this change. Thanks!

@pdessus
Copy link
Author

pdessus commented Jan 29, 2015

cool, you got it! thanks for this beautiful theme;
best
ph

@pdessus
Copy link
Author

pdessus commented Mar 14, 2015

Dear Jeff,
thanks for acknowledging me in the new version of Alabaster 0.7.1 ;-)
However, I have to tell you that the modification you did is not sufficient to remove all the borders (the shadow still remains), see attached.
thx for your help,
best!
ph
capture d ecran 2015-03-14 a 19 00 36

@bitprophet bitprophet reopened this Mar 17, 2015
@bitprophet
Copy link
Collaborator

Hi @pdessus - which exact browser & operating system are you on? My (recently updated) Chrome (on Mac OS X 10.10/Yosemite) doesn't display those shadows. Neither does Safari.

@pdessus
Copy link
Author

pdessus commented Mar 18, 2015

hi Jeff,
I'm on Yosemite 10.10.2 and Safari 8.0.3, Sphinx 1.2.3.
best
ph

2015-03-17 22:29 GMT+01:00 Jeff Forcier notifications@github.com:

Hi @pdessus https://github.com/pdessus - which exact browser &
operating system are you on? My (recently updated) Chrome (on Mac OS X
10.10/Yosemite) doesn't display those shadows. Neither does Safari.


Reply to this email directly or view it on GitHub
#27 (comment).

@bitprophet
Copy link
Collaborator

Yea, I'm not seeing it on 10.10.2 + Safari 8.0.4 (I was on 8.0.3 the other day, same deal).

To be specific, I am looking at http://webcom.upmf-grenoble.fr/sciedu/pdessus/sapea/innovation.html which was your earlier link.

Screenshot:

My Safari is not customized (Chrome is my main browser)...do you have any custom stylesheets or plugins on your end that could possibly be causing this difference?

Either way, if you can identify the style rule that is causing this (I looked in Chrome's inspector and did not see anything appearing as "active" that would be the culprit) we can take a look.

@pdessus
Copy link
Author

pdessus commented Mar 19, 2015

dear Jeff,
indeed, but I tweaked again your alabaster.css_t file to have this
rendering;
these info has to be added in order to remove the shaded boxes (please try
it):
/Début de gestion de l'ombrage discret/
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
/fin de gestion de l'ombrage/

thx!
ph

2015-03-18 22:57 GMT+01:00 Jeff Forcier notifications@github.com:

Yea, I'm not seeing it on 10.10.2 + Safari 8.0.4 (I was on 8.0.3 the other
day, same deal).

To be specific, I am looking at
http://webcom.upmf-grenoble.fr/sciedu/pdessus/sapea/innovation.html which
was your earlier link.

Screenshot:
https://camo.githubusercontent.com/bfc2a62aeef3e56fc7d61f2ee012664ad889ecfd/68747470733a2f2f7777772e657665726e6f74652e636f6d2f73686172642f733231352f73682f38336666366364612d643836372d346135352d626563362d3964383333333236306236312f61326234383538323765623438626636666638646163666431333736393766342f7265732f33643330626538622d666437322d343936652d396163652d6535613939386331646265382f736b697463682e706e67

My Safari is not customized (Chrome is my main browser)...do you have any
custom stylesheets or plugins on your end that could possibly be causing
this difference?

Either way, if you can identify the style rule that is causing this (I
looked in Chrome's inspector and did not see anything appearing as "active"
that would be the culprit) we can take a look.


Reply to this email directly or view it on GitHub
#27 (comment).

@bitprophet
Copy link
Collaborator

Yup, I'm being dumb and keep forgetting your live website has your own changes applied on top of the core stylesheet. When I use my inspector to remove box-shadow: none, I do see the shadow. I'll add these lines. Thanks!

@bitprophet
Copy link
Collaborator

0.7.3 is out with that change.

@pdessus
Copy link
Author

pdessus commented Mar 21, 2015

Dear Jeff,
Thx to u for this awesome theme!
Best,
Ph

Le vendredi 20 mars 2015, Jeff Forcier notifications@github.com a écrit :

Closed #27 #27.


Reply to this email directly or view it on GitHub
#27 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants