From: Vladimír Vondruš Date: Wed, 23 Aug 2017 15:47:20 +0000 (+0200) Subject: css: introduce flat blocks. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=a2fe2c410436893f8ff3ad49162ffdd2e9a8a6c5;p=blog.git css: introduce flat blocks. I just needed to have the .m-flat used somewhere to justify using it for figures later. --- diff --git a/css/m-components.css b/css/m-components.css index 83874059..7929fab5 100644 --- a/css/m-components.css +++ b/css/m-components.css @@ -647,6 +647,8 @@ table.m-table td.m-dim { .m-block.m-dim a:hover, .m-block.m-dim a:focus, .m-block.m-dim a:active { color: var(--dim-link-active-color); } +.m-block.m-flat { border-color: transparent; } +.m-block.m-flat h3 { color: var(--default-color); } /* Colored note, table coloring */ .m-note.m-default { background-color: var(--default-filled-background-color); }