From a986c2252687f5687fedf9941afa14f830c3e1ce Mon Sep 17 00:00:00 2001 From: Chris Wong <lambda.fairy@gmail.com> Date: Sat, 16 Mar 2019 19:36:07 +1300 Subject: [PATCH] Remove tagline --- docs/content/index.md | 4 ++++ docs/src/views.rs | 1 - docs/styles.css | 19 +++---------------- 3 files changed, 7 insertions(+), 17 deletions(-) diff --git a/docs/content/index.md b/docs/content/index.md index 9f26d61..d3b0545 100644 --- a/docs/content/index.md +++ b/docs/content/index.md @@ -1,3 +1,7 @@ +<!-- Comment that prevents the title from getting picked up --> + +# A macro for writing HTML + ```rust html! { h1 { "Hello, world!" } diff --git a/docs/src/views.rs b/docs/src/views.rs index 949299b..4e01222 100644 --- a/docs/src/views.rs +++ b/docs/src/views.rs @@ -63,7 +63,6 @@ crate fn main<'a>( "maud" } } - p { "a macro for writing html" } } nav { diff --git a/docs/styles.css b/docs/styles.css index 801f69e..4996242 100644 --- a/docs/styles.css +++ b/docs/styles.css @@ -14,12 +14,6 @@ body { max-width: 40rem; } -header { - display: flex; - flex-wrap: wrap; - align-items: baseline; -} - header h1 { margin: 0 0 0 -0.25rem; font-size: 5rem; @@ -30,10 +24,6 @@ header h1 a { color: #808; } -header p { - margin: 0 0.75em; -} - nav ul { padding: 0; list-style: none; @@ -57,12 +47,13 @@ a:focus, a:hover, a:active { body { max-width: 56rem; /* 15 + 1 + 40 */ display: grid; + grid-template-rows: auto minmax(0, 1fr); grid-template-columns: 15rem auto; grid-gap: 1rem; } header { - grid-column: 1 / 3; + grid-column: 1; grid-row: 1; } @@ -73,10 +64,6 @@ a:focus, a:hover, a:active { main { grid-column: 2; - grid-row: 2; - } - - main h2:first-child { - margin-top: .5rem; + grid-row: 1 / 3; } }