-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSS adjustments in post-processed HTML manual #10497
Changes from 1 commit
f8390bc
a194d25
ef6d050
d5fe429
61764cc
8900ac5
b4eb567
a50a4d4
cfd3c03
7c1fd96
e311dab
afe24ba
f6355cf
cfb2545
321a227
27ae0f5
d56cbd0
49b9cd3
9671c87
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -280,6 +280,14 @@ blockquote.quote{ | |
color:#000; | ||
&::before{@include diamond} | ||
} | ||
.center { | ||
text-align: center; | ||
margin-left: auto; | ||
margin-right: auto; | ||
} | ||
.display { | ||
margin: 0 auto; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In the old manual css this styling was on There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The classes |
||
} | ||
span.c003{ | ||
color:#564233; | ||
font-family:"Fira Mono",courier; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Horizontally aligning text on the center seems like a mistake outside of tables?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is necessary to center the displayed syntax fragments, as in the screenshot. These rules are just copied from the old HTML manual CSS.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems to me that having some indenting would be better than centering texts.