Commit a8b888ae authored by Sven Franck's avatar Sven Franck Committed by Xiaowu Zhang

erp5_corporate_identity: improve display of links and tables in minimal website

parent 227402e3
...@@ -197,26 +197,38 @@ ci-web-header-bar-search-right ...@@ -197,26 +197,38 @@ ci-web-header-bar-search-right
margin-top: .5em; margin-top: .5em;
} }
.ci-web .ci-web-page-content table { .ci-web .ci-web-page-content table {
border-collapse: collapse; margin: auto;
border: 1px solid #808080; border: 1px solid #808080;
border-collapse: collapse;
border-spacing: 0;
} }
.ci-web .ci-web-page-content table thead { .ci-web .ci-web-page-content table thead {
background: #F0F0F0; background: #F0F0F0;
} }
.ci-web .ci-web-page-content table thead th, .ci-web .ci-web-page-content table thead th,
.ci-web .ci-web-page-content table thead td { .ci-web .ci-web-page-content table thead td {
padding: 1em .25em; /* padding: 1em .25em; */
padding: 1em 0.5em;
border-bottom: 1px solid;
} }
.ci-web .ci-web-page-content table tbody th, .ci-web .ci-web-page-content table tbody th,
.ci-web .ci-web-page-content table tbody td { .ci-web .ci-web-page-content table tbody td {
padding: 0 .25em; /* padding: 0 .25em; */
padding: .25em 0.5em;
border-bottom: 1px solid;
} }
.ci-web .ci-web-page-content table tbody tr:last-child th,
.ci-web .ci-web-page-content table tbody tr:last-child td {
border-bottom: none;
}
.ci-web .ci-web-page-content img { .ci-web .ci-web-page-content img {
width: 100%; width: 100%;
} }
.ci-web .ci-web-page-content a { /* As header h* and link a use the same color,
/* As header h* and link a use the same color,
keep the underline to differenciate links */ keep the underline to differenciate links */
.ci-web .ci-web-page-content a {
text-decoration: underline; text-decoration: underline;
} }
...@@ -247,6 +259,12 @@ ci-web-header-bar-search-right ...@@ -247,6 +259,12 @@ ci-web-header-bar-search-right
.ci-web .ci-web-page-content tr { .ci-web .ci-web-page-content tr {
display: block; display: block;
} }
.ci-web .ci-web-page-content table thead th,
.ci-web .ci-web-page-content table thead td,
.ci-web .ci-web-page-content table tbody th,
.ci-web .ci-web-page-content table tbody td {
border-bottom: 0 none;
}
.ci-web .ci-web-page-content thead tr { .ci-web .ci-web-page-content thead tr {
position: absolute !important; position: absolute !important;
height: 1px; height: 1px;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment