Skip to content

Commit 757a773

Browse files
committed
Make McGonagallWhiteBoard a div and update style
1 parent ef2da84 commit 757a773

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

scripts/ebook/hpmor-ebook.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
\newcommand{\writtenNoteA}[1]{\par\textcolor{writtenNote}{#1}}
1515
\renewcommand{\parsel}[1]{\textcolor{parsel}{#1}}
16-
\renewcommand{\McGonagallWhiteBoard}[1]{\textcolor{McGonagallWhiteBoard}{#1}}
16+
\renewcommand{\McGonagallWhiteBoard}[1]{\textcolor{McGonagallWhiteBoard}{\par#1}}
1717
\renewcommand{\headline}[1]{\begin{center}\textcolor{headline}{#1}\end{center}}
1818
\renewcommand{\inlineheadline}[1]{\textcolor{headline}{#1}}
1919

scripts/ebook/html.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,10 @@ span.writtenNote {
102102
margin-left: 1em;
103103
}
104104

105-
span.McGonagallWhiteBoard {
105+
div.McGonagallWhiteBoard {
106106
color: #cc3333;
107+
text-align: center;
108+
text-transform: uppercase;
107109
text-decoration: underline;
108110
text-decoration-color: #3333cc;
109111
/* text-decoration-thickness: 1px; */

0 commit comments

Comments
 (0)