0
Not a bug

Bug with name link formatting

pfvale 4 years ago updated 4 years ago 2

Hi,


The link on my name in each of the references appears as a large grey block (and in the filtering menu too).


http://pedrovale.bio.ed.ac.uk/bibbase


Is there any way to format this so my name doesn't awkwardly stand out?


Thanks, and also jsut to say this is great resource!

Answer

Answer
Not a bug

That sounds like a CSS issue. BibBase doesn't usually do that.


The link you provided gives me a "Page not found", but I found http://pedrovale.bio.ed.ac.uk/publications-0


On that page, it seems that this CSS in main.css is causing the awkward formatting:


.author {border-bottom: 1px solid #E1E1E1;padding: 20px;margin-bottom: 30px;clear: both;background: #f0f0f0;}

One way to fix that is to make your CSS rule more specific. The following seems to work:


:not(.bibbase).author {border-bottom: 1px solid #E1E1E1;padding: 20px;margin-bottom: 30px;clear: both;background: #f0f0f0;}
Answer
Not a bug

That sounds like a CSS issue. BibBase doesn't usually do that.


The link you provided gives me a "Page not found", but I found http://pedrovale.bio.ed.ac.uk/publications-0


On that page, it seems that this CSS in main.css is causing the awkward formatting:


.author {border-bottom: 1px solid #E1E1E1;padding: 20px;margin-bottom: 30px;clear: both;background: #f0f0f0;}

One way to fix that is to make your CSS rule more specific. The following seems to work:


:not(.bibbase).author {border-bottom: 1px solid #E1E1E1;padding: 20px;margin-bottom: 30px;clear: both;background: #f0f0f0;}

Thank you for replying so quickly Christian, and for offering a solution