From d1642e8505be2e28a9cab40440821b475e53c9aa Mon Sep 17 00:00:00 2001 From: arf20 Date: Mon, 2 Sep 2024 17:26:15 +0200 Subject: Center? --- style.css | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) (limited to 'style.css') diff --git a/style.css b/style.css index d2554a9..9607793 100644 --- a/style.css +++ b/style.css @@ -1,11 +1,17 @@ @font-face { - font-family: 'terminus'; /*a name to be used later*/ - src: url('/fonts/terminus.ttf'); /*URL to font*/ + font-family: 'terminus'; + src: url('/fonts/terminus.ttf'); } @font-face { - font-family: 'fixedsys'; /*a name to be used later*/ - src: url('/fonts/FSEX300.ttf'); /*URL to font*/ + font-family: 'fixedsys'; + src: url('/fonts/FSEX300.ttf'); +} + +body { + background-image: url("tile1.jpg"); + background-repeat: repeat; + font-family: terminus; } header *{ @@ -19,10 +25,18 @@ header *{ font-family: fixedsys; } -body { - background-image: url("tile1.jpg"); - background-repeat: repeat; - font-family: terminus; +.navbar { + text-align: center; +} + +.navlink { + font-size: 20px; +} + +.content { + max-width: 1000px; + margin-left: auto; + margin-right: auto; } .fst { -- cgit v1.2.3