mirror of
https://github.com/Chalarangelo/mini.css.git
synced 2025-08-26 07:14:24 +02:00
Table polishing
This commit is contained in:
@@ -509,3 +509,9 @@
|
||||
- Updated stylesheet references for all live pages.
|
||||
- Fixed typos and proofread the `grid` documentation page.
|
||||
- Added sample `hr` to the `core` documentation page.
|
||||
|
||||
## 20161122
|
||||
|
||||
- Added side `padding` to the `horizontal` `table`s.
|
||||
- Fixed the way `th` elements display on `vertical` `table`s that contain `th` elements inside the `tbody` by adding a semi-specific rule for the `thead` `th` elements. More specificity caused problems.
|
||||
- Tested `table` module changes on mobile, Firefox and Chrome.
|
||||
|
@@ -2,7 +2,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<!-- Live demo styled as of 20161111 -->
|
||||
<link rel="stylesheet" href="https://cdn.rawgit.com/Chalarangelo/mini.css/f3acf0b06d3784e17b6bf89ed2913e6e53f3c5a0/dist/mini-default.min.css">
|
||||
<!-- <link rel="stylesheet" href="https://cdn.rawgit.com/Chalarangelo/mini.css/f3acf0b06d3784e17b6bf89ed2913e6e53f3c5a0/dist/mini-default.min.css"> -->
|
||||
<!-- Local stylesheet -->
|
||||
<link rel="stylesheet" href="../../dist/mini-default.min.css">
|
||||
<title>mini.css - A minimal Sass-y responsive mobile-first style-agnostic CSS framework</title>
|
||||
@@ -393,10 +393,13 @@
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
<style> .border-fix > td, .border-fix > th { border-top: 0; } </style>
|
||||
|
||||
<table class="preset">
|
||||
<caption>Hacker List</caption>
|
||||
<tbody>
|
||||
<tr>
|
||||
<tr class="border-fix">
|
||||
<th data-label="Name"></th>
|
||||
<th data-label="Surname">Surname</td>
|
||||
<th data-label="Email">Email</td>
|
||||
@@ -429,6 +432,37 @@
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
<table class="preset">
|
||||
<caption>Hacker List</caption>
|
||||
<tbody>
|
||||
<tr class="border-fix">
|
||||
<th data-label="Name">John</th>
|
||||
<td data-label="Surname">Smith</td>
|
||||
<td data-label="Email">johnsmith@mail.com</td>
|
||||
<td data-label="Handle">SmithereensJohn</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th data-label="Name">Lisa</th>
|
||||
<td data-label="Surname">Cody</td>
|
||||
<td data-label="Email">codyl@mail.com</td>
|
||||
<td data-label="Handle">Codyl</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th data-label="Name">Max</th>
|
||||
<td data-label="Surname">Roberts</td>
|
||||
<td data-label="Email">terminus@mail.com</td>
|
||||
<td data-label="Handle">T3rm1nu5</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th data-label="Name">Adam</th>
|
||||
<td data-label="Surname">Leeks</td>
|
||||
<td data-label="Email">leekt@mail.com</td>
|
||||
<td data-label="Handle">Leekt</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div></main>
|
||||
<!-- End of page content-->
|
||||
<footer><strong>mini.css</strong> was designed and built by <a href="https://github.com/Chalarangelo">@Chalarangelo</a>. It is licensed under the <a href="https://github.com/Chalarangelo/mini.css/blob/master/LICENSE">MIT License</a>. You can view the project's source code on <a href="https://github.com/Chalarangelo/mini.css">Github</a>.</footer>
|
||||
|
Reference in New Issue
Block a user