diff options
author | Rasmus <rasmus.luha@gmail.com> | 2023-05-05 18:37:52 +0300 |
---|---|---|
committer | Rasmus <rasmus.luha@gmail.com> | 2023-05-05 18:37:52 +0300 |
commit | 8f3d2b1b6ff3cb2378a2ce5403faebaadca61c11 (patch) | |
tree | a0c25f684b13444da069da1063653caa162fe426 /lehed/projekt | |
parent | 9a4d6be0ca9cb86ef56acdbf8bcc1fe9f920a19c (diff) |
Parandused
Former-commit-id: 5f3ba2029e5783e370d2a7808b5ede5448424e14
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; } + |