personal-site/content/site/styling_test.md
Seven Of Aces 468f59936e
All checks were successful
Publish to OCI / publish (push) Successful in 2m31s
.
2025-01-26 16:24:48 -08:00

7.1 KiB
Raw Blame History

title description date tags
Styling Test A test post to see how the site styling looks 2025-01-01
meta
web

Styling Test

This is a test post to see how the site styling looks. I'm going to try out a few different things to see how they look.

Headers

Header 1

Header 2

Header 3

Header 4

Header 5
Header 6

Text

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Lists

Unordered

  • Item 1
  • Item 2
  • Item 3
  • Item 4
  • Item 5

Ordered

  1. Item 1
  2. Item 2
  3. Item 3
  4. Item 4
  5. Item 5

Google GTA VII

Images

A cat

Code

def hello_world():
    print("Hello, world!")
struct Point {
    x: f64,
    y: f64,
}

impl Point {
    fn new(x: f64, y: f64) -> Point {
        Point { x, y }
    }
}

fn main() {
    let p = Point::new(1.0, 2.0);
    println!("({}, {})", p.x, p.y);
}

Tables

One Two Three
1 2 3
4 5 6
7 8 9

Blockquotes

This is a blockquote. It can span multiple lines. It can also contain bold and italic text. And even links: Google.

Horizontal Rules


Emphasis

Italic text

Bold text

Bold and italic text

Footnotes

This is a sentence with a footnote1.

Superscript and Subscript

This is a superscript: x2.

This is a subscript: H2O.

Marker

This is a highlight: ==highlighted text==.

Math

This is an inline math equation: e^{i\pi} + 1 = 0.

This is a block math equation:

\int_{-\infty}^{\infty} e^{-x^2} , dx = \sqrt{\pi}

Checkboxes

  • Checked
  • Unchecked

Alerts

[!info] This is an info alert.

[!danger] This is a danger alert.

[!success] This is a success alert.

Important

This is an important alert.

Caution

This is a caution alert.

Note

This is a note alert.

Tip

This is a tip alert.

[!question] This is a question alert.

[!quote] This is a quote alert.

[!deprecated] This is a deprecated alert.

[!example] This is an example alert.

[!todo] This is a todo alert.

[!done] This is a done alert.

::alert{type="warning"} The alert component - Warning ::

::alert{type="danger"} The alert component - Danger ::

::alert{type="info"} The alert component - Info ::

::alert{type="success"} The alert component - Success ::

::alert{type="example"} The alert component - Example ::

::alert{type="note"} The alert component - Note ::

::alert{type="tip"} The alert component - Tip ::

::alert{type="important"} The alert component - Important ::

::alert{type="caution"} The alert component - Caution ::

::alert{type="quote"} The alert component - Quote ::

Iframes

The colorations are supposed to automagically change based on what you're linking to.

YouTube:

Spotify:

Maps:

Audio

Bach's Prelude and Fugue in A minor:

Your browser does not support the audio element.

Tables of Contents

Embedded CSS

This text is red.

This text is glowing.

Embedded HTML

This is a div with a light blue background.
<p>This is a paragraph inside the div.</p>

<ul>
  <li>Item 1</li>
  <li>Item 2</li>
  <li>Item 3</li>
</ul>

Embedded SVG

Embedded LaTeX

Eulers identity e^{i\pi}+1=0 is a beautiful formula in \mathbb{R}^2.

\frac {\partial^r} {\partial \omega^r} \left(\frac {y^{\omega}} {\omega}\right) = \left(\frac {y^{\omega}} {\omega}\right) \left{(\log y)^r + \sum_{i=1}^r \frac {(-1)^ Ir \cdots (r-i+1) (\log y)^{ri}} {\omega^i} \right}

Interactive Scripting

On click, this button should change color:

On click, this button should run JavaScript and create an alert:

And this one uses a <script> tag to do the same thing:

Conclusion

This is the end of the test post. I hope everything looks good!

  • Luna

  1. This is the footnote. ↩︎