Skip to content

Commit

Permalink
centering McGonagallWhiteBoard
Browse files Browse the repository at this point in the history
from d564954
  • Loading branch information
entorb committed Jan 24, 2024
1 parent 59f2f88 commit d5e3497
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion scripts/ebook/hpmor-ebook.tex
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

\newcommand{\writtenNoteA}[1]{\par\textcolor{writtenNote}{#1}}
\renewcommand{\parsel}[1]{\textcolor{parsel}{#1}}
\renewcommand{\McGonagallWhiteBoard}[1]{\begin{center}\textcolor{McGonagallWhiteBoard}{#1}\end{center}}
\renewcommand{\McGonagallWhiteBoard}[1]{\textcolor{McGonagallWhiteBoard}{\par#1}}
\renewcommand{\headline}[1]{\begin{center}\textcolor{headline}{#1}\end{center}}
\renewcommand{\inlineheadline}[1]{\textcolor{headline}{#1}}

Expand Down
7 changes: 4 additions & 3 deletions scripts/ebook/html.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

p {
text-align: justify;
line-height: 1.75;
}

em {
Expand Down Expand Up @@ -107,8 +106,10 @@ span.writtenNote {
margin-left: 1em;
}

span.McGonagallWhiteBoard {
div.McGonagallWhiteBoard p {
color: #cc3333;
text-align: center;
text-transform: uppercase;
text-decoration: underline;
text-decoration-color: #3333cc;
/* text-decoration-thickness: 1px; */
Expand All @@ -119,4 +120,4 @@ span.headline {
}


/* end html.css */
/* end html.css */

0 comments on commit d5e3497

Please sign in to comment.