Fix h1 not being top level, move inline styling to css file

This commit is contained in:
Xevion
2022-04-05 11:56:28 -05:00
parent d012031468
commit fafa46ff2e
2 changed files with 14 additions and 3 deletions

View File

@@ -130,6 +130,7 @@ pre {
background: rgb(25, 25, 25); background: rgb(25, 25, 25);
border-radius: 7px; border-radius: 7px;
padding: 1em; padding: 1em;
code { code {
font-size: 1em; font-size: 1em;
border: 0; border: 0;
@@ -147,6 +148,7 @@ hr {
font-size: 1.5em; font-size: 1.5em;
margin: 1rem 0; margin: 1rem 0;
border: none; border: none;
&:before { &:before {
display: block; display: block;
text-align: center; text-align: center;
@@ -240,6 +242,7 @@ nav a {
a { a {
text-decoration: none; text-decoration: none;
} }
.date { .date {
font-size: 2em; font-size: 2em;
} }
@@ -247,6 +250,7 @@ nav a {
.post_combo { .post_combo {
margin-top: 0.75em; margin-top: 0.75em;
> h2 { > h2 {
display: inline; display: inline;
} }
@@ -295,6 +299,7 @@ figcaption {
font-size: 70%; font-size: 70%;
opacity: 40%; opacity: 40%;
padding-left: 0.4em; padding-left: 0.4em;
a { a {
text-decoration: none; text-decoration: none;
} }
@@ -315,3 +320,9 @@ article {
.text-center { .text-center {
text-align: center; text-align: center;
} }
.callout-section {
border: solid white;
border-width: thin 0;
padding: 10px;
}

View File

@@ -32,7 +32,7 @@ Since then, I've slowly been dedicating myself more and more to photography as a
I'm not the greatest, but it's a fun hobby, and I hope you like my work. The photos here are only a preview I'm not the greatest, but it's a fun hobby, and I hope you like my work. The photos here are only a preview
and are not updated on any sort of frequency. and are not updated on any sort of frequency.
<div style="border: thin solid white; border-width: thin 0; padding: 10px;" class="text-center"> <div class="text-center callout-section">
<span style="margin: 25px;">More available at</span> <span style="margin: 25px;">More available at</span>
<a href="https://www.rcw.photos/"><i><h1 style="margin: 0;">rcw.photos</h1></i></a> <h1 style="margin: 0;"><a href="https://www.rcw.photos/"><i>rcw.photos</i></a></h1>
</div> </div>