mirror of
https://github.com/standardebooks/f-scott-fitzgerald_the-great-gatsby.git
synced 2025-09-05 11:25:50 -04:00
Update core CSS to new standards
This commit is contained in:
parent
2ad04eae5d
commit
a2005c2e6a
1 changed files with 30 additions and 0 deletions
|
@ -45,6 +45,32 @@ hgroup{
|
|||
text-align: center;
|
||||
}
|
||||
|
||||
/* simulate h3 in an hgroup */
|
||||
hgroup h2 + p{
|
||||
font-size: 1.17em;
|
||||
}
|
||||
|
||||
/* simulate h4 in an hgroup */
|
||||
hgroup h2 + p + p,
|
||||
hgroup h3 + p{
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
/* simulate h5 in an hgroup */
|
||||
hgroup h2 + p + p + p,
|
||||
hgroup h3 + p + p,
|
||||
hgroup h4 + p{
|
||||
font-size: .83em;
|
||||
}
|
||||
|
||||
/* simulate h6 in an hgroup */
|
||||
hgroup h2 + p + p + p + p,
|
||||
hgroup h3 + p + p + p,
|
||||
hgroup h4 + p + p,
|
||||
hgroup h5 + p{
|
||||
font-size: .67em;
|
||||
}
|
||||
|
||||
hgroup > *{
|
||||
font-weight: normal;
|
||||
margin: 0;
|
||||
|
@ -54,6 +80,10 @@ hgroup > *:first-child{
|
|||
font-weight: bold;
|
||||
}
|
||||
|
||||
hgroup > p{
|
||||
text-indent: 0;
|
||||
}
|
||||
|
||||
p.continued,
|
||||
h2 + p,
|
||||
h3 + p,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue