Fix more things to be HTML5+CSS

This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2023-04-04 21:40:46 +02:00
parent c7b260c536
commit 2e128596a5
2 changed files with 20 additions and 19 deletions
+20 -19
View File
@@ -7,7 +7,7 @@ figure.block {
overflow: hidden;
}
figure.block > figcaption {
figure.block>figcaption {
display: block;
margin: 0;
padding: .25em .5em;
@@ -19,25 +19,26 @@ figure.block > figcaption {
// --------------------------------------------------------------------------------
// Block: Figure > Media
// --------------------------------------------------------------------------------
figure.block > picture,
figure.block > picture > img,
figure.block > video,
figure.block > audio {
figure.block>picture,
figure.block>img,
figure.block>video,
figure.block>audio {
display: block;
max-width: 100%;
width: auto;
max-height: 1005;
width: 100%;
height: auto;
margin: 0;
padding: 0;
object-fit: contain;
object-position: center center;
background: rgba(0, 0, 0, 0.5);
}
@import "_block-figure-player.scss"
@import "_block-figure-player.scss";
// --------------------------------------------------------------------------------
// Block: Figure > Table
// --------------------------------------------------------------------------------
figure.block > table {
figure.block>table {
margin: 0;
padding: 0;
display: table;
@@ -46,27 +47,27 @@ figure.block > table {
border-collapse: collapse;
}
figure.block > table > thead > tr,
figure.block > table > tbody > tr {
figure.block>table>thead>tr,
figure.block>table>tbody>tr {
margin: 0;
padding: 0;
vertical-align: top;
}
figure.block > table > thead > tr {
figure.block>table>thead>tr {
background: $theme-article-table-head-background;
}
figure.block > table > tbody > tr {
figure.block>table>tbody>tr {
background: $theme-article-table-body-background;
}
figure.block > table > tbody > tr:nth-child(2n) {
figure.block>table>tbody>tr:nth-child(2n) {
background: $theme-article-table-body-background-alt;
}
figure.block > table > thead > tr > th,
figure.block > table > tbody > tr > th {
figure.block>table>thead>tr>th,
figure.block>table>tbody>tr>th {
margin: 0;
padding: 0.75rem 1.5rem;
font-weight: bold;
@@ -78,8 +79,8 @@ figure.block > table > tbody > tr > th {
border-bottom: none;
}
figure.block > table > thead > tr > td,
figure.block > table > tbody > tr > td {
figure.block>table>thead>tr>td,
figure.block>table>tbody>tr>td {
margin: 0;
padding: 0.5rem 0.75rem;
border: 1px solid rgba(0, 0, 0, 0.5);