Update core CSS to new standards

This commit is contained in:
Alex Cabal 2023-07-21 10:30:50 -05:00
parent e78259633c
commit ee622b7738

View File

@ -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,