diff --git a/main.css b/main.css index 3c61d33..1ae730c 100644 --- a/main.css +++ b/main.css @@ -1,13 +1,49 @@ h1 {color: #f1f3ce;} -h2 {color: white; - border-top: white solid medium; - border-bottom: white solid medium;} -h3 {color: white; - border-top: white solid medium; - border-bottom: white solid medium;} -h4 {color: white; - border-top: white solid medium; - border-bottom: white solid medium;} +h2 { + position: relative; + padding: 1rem 2rem calc(1rem + 10px); + background: #fff100; +} + +h2:before { + position: absolute; + top: -7px; + left: -7px; + width: 100%; + height: 100%; + content: ''; + border: 4px solid #000; +} +h3 { + position: relative; + padding: 1rem 2rem calc(1rem + 10px); + background: #fff100; +} + +h3:before { + position: absolute; + top: -7px; + left: -7px; + width: 100%; + height: 100%; + content: ''; + border: 4px solid #000; +} +h4 { + position: relative; + padding: 1rem 2rem calc(1rem + 10px); + background: #fff100; +} + +h4:before { + position: absolute; + top: -7px; + left: -7px; + width: 100%; + height: 100%; + content: ''; + border: 4px solid #000; +} p {color: #f1f3ce;} li {color: #0000FF; background-color: white;} th {background-color: white;}