From 2f64328f468f63bfbe5900c6b4eba0c7f9338955 Mon Sep 17 00:00:00 2001 From: manetta Date: Fri, 18 Sep 2020 15:51:00 +0200 Subject: [PATCH] adding an introduction header with css --- themes/default/static/css/main.css | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/themes/default/static/css/main.css b/themes/default/static/css/main.css index d69dd60..32c5edd 100644 --- a/themes/default/static/css/main.css +++ b/themes/default/static/css/main.css @@ -23,7 +23,7 @@ header#banner{ text-decoration: none; } nav#menu{ - width: calc(100% + 20em); + width: calc(100% + 18em); text-align: center; margin:0 0 0 -10em; } @@ -62,6 +62,13 @@ article{ background-color: beige; padding:2em 3em; } + article:first-of-type:before{ + content: "Introduction"; + display: block; + margin:0 auto; + position: relative; + font-style: italic; + } /* big pink boxes for the section titles */ h1.category{