Coder Social home page Coder Social logo

No CSS for Table about pelican-alchemy HOT 7 CLOSED

nairobilug avatar nairobilug commented on June 18, 2024
No CSS for Table

from pelican-alchemy.

Comments (7)

JohnTroony avatar JohnTroony commented on June 18, 2024

Hi @alanorth @raymondwanyoike, kindly check if this is a false positive or not.
I've opened the /theme/alchemy/static/css/style.css and I see there are styles for table and two classes defined too, table-responsive and table-bordered.

I've added the following style to the CSS file and the table showed up well..

table{border-collapse:collapse;border-spacing:0;empty-cells:show;border:1px solid #cbcbcb;margin:inherit}
table caption{color:#000;font:inherit;padding:1em 0;text-align:center}
table td, th{border-left:1px solid #cbcbcb;border-width:0 0 0 1px;font-size:inherit;margin:0;overflow:visible;padding:.5em 1em}
table td:first-child, th:first-child{border-left-width:0}
table thead{background-color:#e0e0e0;color:#000;text-align:left;vertical-align:bottom}
table td{background-color:transparent;border-bottom:1px solid #cbcbcb}
table tbody>tr:last-child>td{border-bottom-width:0}

nice

from pelican-alchemy.

alanorth avatar alanorth commented on June 18, 2024

style.css is generated by, or at least comes from, Bootstrap. I think we have to include these outside of there...

from pelican-alchemy.

JohnTroony avatar JohnTroony commented on June 18, 2024

Okay.. I know so little about the Bootstrap...

from pelican-alchemy.

JohnTroony avatar JohnTroony commented on June 18, 2024

Seems like Pelican-alchemy is going viral... 😻

from pelican-alchemy.

JohnTroony avatar JohnTroony commented on June 18, 2024

Hey @d-yu , You could have opened another issue with a question Label. Your problem is irrelevant to the current issue.

from pelican-alchemy.

rwanyoike avatar rwanyoike commented on June 18, 2024

Fixed in #54. Tables look good!

from pelican-alchemy.

JohnTroony avatar JohnTroony commented on June 18, 2024

👍

from pelican-alchemy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.