diff options
Diffstat (limited to 'lehed/projekt')
-rw-r--r-- | lehed/projekt/index.html | 10 | ||||
-rw-r--r-- | lehed/projekt/styles.css | 25 |
2 files changed, 26 insertions, 9 deletions
diff --git a/lehed/projekt/index.html b/lehed/projekt/index.html index 84f8a6a..4a9da9e 100644 --- a/lehed/projekt/index.html +++ b/lehed/projekt/index.html @@ -5,18 +5,14 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Projekt</title> - <link rel="stylesheet" href="styles.css"> - <link rel="preconnect" href="https://fonts.googleapis.com"> - <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> - - <link href="https://fonts.googleapis.com/css2?family=Cormorant+SC:wght@300&display=swap" rel="stylesheet"> <!-- Bootstrap - CSS only --> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous"> + <link rel="stylesheet" href="styles.css"> </head> -<body class="bg-dark"> +<body> <!-- navbar --> - <nav class="navbar navbar-expand-md navbar-dark pt-4 pb-2"> + <nav class="navbar navbar-expand-md"> <div class="container fs-5"> <!-- navbar brand / title --> <a class="navbar-brand" href="../../#intro"> diff --git a/lehed/projekt/styles.css b/lehed/projekt/styles.css index 9b02532..0c12a82 100644 --- a/lehed/projekt/styles.css +++ b/lehed/projekt/styles.css @@ -1,3 +1,24 @@ body{ - font-family: 'Cormorant SC', serif !important; -}
\ No newline at end of file + background-color: #43464b; + font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; +} + + +/* NavBar */ +.navbar{ + margin: 1.2rem; + margin-top: 0; + border-bottom: 2px solid white; +} + +.navbar span{ + font-weight: bold !important; + color: white !important; +} + +.navbar a:hover{ + color: snow; + font-weight: bolder; +} +.navbar a{ color: white; } + |