Add table and figure styles

This commit is contained in:
panr 2019-02-01 09:26:51 +01:00
parent 88d7d5ddba
commit ebdcc29a72
7 changed files with 26 additions and 7 deletions

View File

@ -89,8 +89,11 @@ figure {
figcaption { figcaption {
font-size: 14px; font-size: 14px;
padding: 5px 10px;
margin-top: 5px; margin-top: 5px;
opacity: .8; background: var(--accent);
color: var(--background);
/* opacity: .8; */
&.left { &.left {
text-align: left; text-align: left;
@ -178,6 +181,22 @@ blockquote {
} }
} }
table {
table-layout: fixed;
border-collapse: collapse;
width: 100%;
margin: 40px 0;
}
table, th, td {
border: 1px dashed var(--accent);
padding: 10px;
}
th {
color: var(--accent);
}
ul, ol { ul, ol {
margin-left: 30px; margin-left: 30px;
padding: 0; padding: 0;

View File

@ -11,7 +11,7 @@
text-align: center; text-align: center;
margin: 0 auto; margin: 0 auto;
padding: 5px 10px; padding: 5px 10px;
background: var(color-mod(var(--accent) blend(#1D1E28 98%))); background: color-mod(var(--accent) blend(#1D1E28 98%));
font-size: .8rem; font-size: .8rem;
text-transform: uppercase; text-transform: uppercase;
text-decoration: none; text-decoration: none;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long