mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-09-22 09:18:44 +00:00
Better styles and documentation for tables
See https://groups.google.com/d/topic/tiddlywikidev/5UkATv0HjR0/discussion
This commit is contained in:
@@ -106,7 +106,9 @@ pre {
|
||||
|
||||
table {
|
||||
border: 1px solid #ddd;
|
||||
width: 100%;
|
||||
width: auto;
|
||||
max-width: 100%;
|
||||
caption-side: bottom;
|
||||
}
|
||||
|
||||
table th, table td {
|
||||
@@ -115,12 +117,21 @@ table th, table td {
|
||||
border-left: 1px solid #ddd;
|
||||
}
|
||||
|
||||
table thead tr td, table th {
|
||||
background-color: #f0f0f0;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
table tfoot tr td {
|
||||
background-color: #a8a8a8;
|
||||
}
|
||||
|
||||
.tw-tiddler-frame img, .tw-tiddler-frame svg, .tw-tiddler-frame canvas, .tw-tiddler-frame embed {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
embed {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
height: 20em;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user