File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5454/* Author metadata displayed below page title, right-aligned */
5555.page-author {
5656 float : right;
57- margin : -1 rem 0 1rem 1rem ;
57+ margin : -2 rem 0 1rem 1rem ;
5858 padding : .2rem .6rem ;
5959 border-radius : .2rem ;
6060 font-size : .75rem ;
6161 font-style : italic;
6262 color : var (--md-default-fg-color--light );
6363 background : var (--md-code-bg-color );
6464 border-left : 2px solid var (--md-primary-fg-color );
65+ clear : right;
66+ }
67+ [data-md-color-scheme = "slate" ] .page-author {
68+ color : var (--md-default-fg-color--lighter );
69+ }
70+
71+ /* Ensure content after author box clears the float */
72+ .md-typeset h1 + .page-author + * {
73+ clear : both;
74+ }
75+ .md-typeset h1 + .page-author + p ,
76+ .md-typeset h1 + .page-author + div {
77+ margin-top : 0 ;
6578}
6679[data-md-color-scheme = "slate" ] .page-author {
6780 color : var (--md-default-fg-color--lighter );
You can’t perform that action at this time.
0 commit comments